From alex at schnarff.com Tue Jul 1 00:04:58 2008 From: alex at schnarff.com (alex@schnarff.com) Date: Tue Jul 1 00:05:03 2008 Subject: Too Much Context Switching? - FIXED In-Reply-To: <48696EB0.6000906@FreeBSD.org> References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> <48692DE7.3020502@FreeBSD.org> <20080630192154.nj1sns26kg44w4w8@mail.schnarff.com> <48696EB0.6000906@FreeBSD.org> Message-ID: <20080630200456.uf01ro1obms40cok@mail.schnarff.com> Quoting Kris Kennaway : > alex@schnarff.com wrote: >> Quoting Kris Kennaway : >> >>> Michel Talon wrote: >>>> On Mon, Jun 30, 2008 at 07:53:00PM +0200, Kris Kennaway wrote: >>>>> Yep, it could be that -- what confuses me though is that it is >>>>> claimed that performance suddenly regressed. If so then this >>>>> cannot be the underlying cause. >>>> >>>> It may be that the load has augmented to the point that contention >>>> imposes a rapid regression on throughput. >>> >>> Yes, it could be that. I don't know off-hand whether multiple threads >>> are counted separately by vmstat (at a guess I'd say no), but ps/top/etc >>> should show how many are active in the python process. >> >> Just ran ktrace, and a bit of Googling seems to confirm my initial >> suspicion that the results I'm seeing are abnormal. The first >> several screenfulls of output look like this: >> >> 52929 python2.4 1214867016.469416 CALL kse_wakeup(0x811740c) >> 52929 python2.4 0.000060 RET kse_wakeup 0 >> 52929 python2.4 0.000008 RET kse_release 0 >> 52929 python2.4 0.000040 CALL kse_release(0x811df4c) >> 52929 python2.4 0.000515 CALL kse_wakeup(0x811740c) >> 52929 python2.4 0.000012 RET kse_wakeup 0 >> 52929 python2.4 0.000004 RET kse_release 0 >> 52929 python2.4 0.000012 CALL kse_release(0x811df4c) >> 52929 python2.4 0.000365 CALL kse_wakeup(0x811740c) >> 52929 python2.4 0.000012 RET kse_wakeup 0 >> 52929 python2.4 0.000003 RET kse_release 0 >> 52929 python2.4 0.000010 CALL kse_release(0x811df4c) >> 52929 python2.4 0.000413 CALL kse_wakeup(0x811740c) >> 52929 python2.4 0.000011 RET kse_wakeup 0 >> 52929 python2.4 0.000004 RET kse_release 0 >> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >> 52929 python2.4 0.000393 CALL kse_wakeup(0x811740c) >> 52929 python2.4 0.000012 RET kse_wakeup 0 >> 52929 python2.4 0.000004 RET kse_release 0 >> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >> >> I may be mistaken, but it seems like that's a lot of unnecessary >> activity managing the threads; the confirmation I found came from >> http://arkiv.freebsd.se/?ml=freebsd-threads&a=2007-02&t=3178634. >> >> Am I correct that this is abnormal behavior? If so, any idea what I >> may need to do to fix the issue? > > Looks exactly like the python thread problem Michel described. > > You will get some improvement by switching to libthr and/or updating to > 7.0 as I discussed, but ultimately you're hitting limits of python, not > FreeBSD. WOW...it's *amazing* how much of a difference a single sysctl can make. I went ahead and set kern.threads.virtual_cpu=1, as suggested in the thread above, and the difference is ridiculous -- Zope is now faster than I've ever seen. More importantly, my ktracing shows that all of the kse_* garabage is now gone. I'll probably be upgrading to 7.0 in the next month or so, given that this is obviously a thread issue and that that release has much improved thread code. However, for the time being, the pressing issue is fixed, and for anyone in my position stuck on 6.2...this is night & day. Alex From ges at wingfoot.org Tue Jul 1 00:06:49 2008 From: ges at wingfoot.org (Glenn Sieb) Date: Tue Jul 1 00:08:16 2008 Subject: freebsd-update key error In-Reply-To: <39DC135F7F0571489196E0B6F5D58B4A067D07FE@MWBEXCH.mweb.com> References: <327038.56826.qm@web25006.mail.ukl.yahoo.com> <39DC135F7F0571489196E0B6F5D58B4A067D07FE@MWBEXCH.mweb.com> Message-ID: <486970BD.5000908@wingfoot.org> Rudi Kramer - MWEB wrote: > Hey Robert, > > This error indicates that you are having some sort of connection issues, > I for instance get it when I forget to use our work proxy, here are > some steps you can try to remedy the problem: > > 1) Can you resolve update1.FreeBSD.org? > 2) Can you ping update1.FreeBSD.org? > 3) Can you telnet to update1.FreeBSD.org on port 80? > > That should give you a idea on what the problem is. > Hi Rudi! I can say that I'm getting the same issue as Robert, and I can answer to the affirmative to all three of your questions. I'm running: FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #28: Sun Jun 1 10:35:27 EDT 2008 amd64 Thanks in advance... Best, --Glenn -- ...destination is merely a byproduct of the journey --Eric Hansen From kurt.buff at gmail.com Tue Jul 1 00:11:53 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 00:12:06 2008 Subject: Configuring an older server for speed... Message-ID: All, I've got a Compaq ML570 with 2gb RAM, dual PIII Xeon 700s and 5x10k RPM drives in it attached to a Compaq 5300 RAID card that I'm going to be using as a squid box. I've configured two drives as RAID 1 with the third as a hot spare, and two drives as RAID0 - I intend to put the squid cache on the latter, and have mounted it as /squid. I'm running 7STABLE from a couple of days ago. What might I do to achieve better/best performance? I'm replacing a less capable whitebox. One of the big issues I've had has manifested itself recently - we've moved from a T1 to a DS3, and while overall throughput has increased dramatically, people are now complaining that "the Internet is slow", which I've found is all down to initial page load. I'm pursuing optimizing squid elsewhere, and want to focus on getting this box as fast as I reasonably can before sticking squid on it. I've got more RAM to put into it - I'd be stealing from another machine that's little used, but I should be able to get it to 4gb RAM. As a benchmark, there are about 230 people in my site who will be using this box for their proxy, and their usage is all over the map - worse, I haven't been given the time to put any analysis tools into play to figure out the load on the old box, as we're in the middle of a number of other projects of equal or higher priority. Kurt From kris at FreeBSD.org Tue Jul 1 00:15:24 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 1 00:15:28 2008 Subject: Too Much Context Switching? - FIXED In-Reply-To: <20080630200456.uf01ro1obms40cok@mail.schnarff.com> References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> <48692DE7.3020502@FreeBSD.org> <20080630192154.nj1sns26kg44w4w8@mail.schnarff.com> <48696EB0.6000906@FreeBSD.org> <20080630200456.uf01ro1obms40cok@mail.schnarff.com> Message-ID: <48697719.40101@FreeBSD.org> alex@schnarff.com wrote: > Quoting Kris Kennaway : > >> alex@schnarff.com wrote: >>> Quoting Kris Kennaway : >>> >>>> Michel Talon wrote: >>>>> On Mon, Jun 30, 2008 at 07:53:00PM +0200, Kris Kennaway wrote: >>>>>> Yep, it could be that -- what confuses me though is that it is >>>>>> claimed that performance suddenly regressed. If so then this >>>>>> cannot be the underlying cause. >>>>> >>>>> It may be that the load has augmented to the point that contention >>>>> imposes a rapid regression on throughput. >>>> >>>> Yes, it could be that. I don't know off-hand whether multiple threads >>>> are counted separately by vmstat (at a guess I'd say no), but >>>> ps/top/etc >>>> should show how many are active in the python process. >>> >>> Just ran ktrace, and a bit of Googling seems to confirm my initial >>> suspicion that the results I'm seeing are abnormal. The first several >>> screenfulls of output look like this: >>> >>> 52929 python2.4 1214867016.469416 CALL kse_wakeup(0x811740c) >>> 52929 python2.4 0.000060 RET kse_wakeup 0 >>> 52929 python2.4 0.000008 RET kse_release 0 >>> 52929 python2.4 0.000040 CALL kse_release(0x811df4c) >>> 52929 python2.4 0.000515 CALL kse_wakeup(0x811740c) >>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>> 52929 python2.4 0.000004 RET kse_release 0 >>> 52929 python2.4 0.000012 CALL kse_release(0x811df4c) >>> 52929 python2.4 0.000365 CALL kse_wakeup(0x811740c) >>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>> 52929 python2.4 0.000003 RET kse_release 0 >>> 52929 python2.4 0.000010 CALL kse_release(0x811df4c) >>> 52929 python2.4 0.000413 CALL kse_wakeup(0x811740c) >>> 52929 python2.4 0.000011 RET kse_wakeup 0 >>> 52929 python2.4 0.000004 RET kse_release 0 >>> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >>> 52929 python2.4 0.000393 CALL kse_wakeup(0x811740c) >>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>> 52929 python2.4 0.000004 RET kse_release 0 >>> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >>> >>> I may be mistaken, but it seems like that's a lot of unnecessary >>> activity managing the threads; the confirmation I found came from >>> http://arkiv.freebsd.se/?ml=freebsd-threads&a=2007-02&t=3178634. >>> >>> Am I correct that this is abnormal behavior? If so, any idea what I >>> may need to do to fix the issue? >> >> Looks exactly like the python thread problem Michel described. >> >> You will get some improvement by switching to libthr and/or updating to >> 7.0 as I discussed, but ultimately you're hitting limits of python, not >> FreeBSD. > > WOW...it's *amazing* how much of a difference a single sysctl can make. > > I went ahead and set kern.threads.virtual_cpu=1, as suggested in the > thread above, and the difference is ridiculous -- Zope is now faster > than I've ever seen. More importantly, my ktracing shows that all of the > kse_* garabage is now gone. > > I'll probably be upgrading to 7.0 in the next month or so, given that > this is obviously a thread issue and that that release has much improved > thread code. However, for the time being, the pressing issue is fixed, > and for anyone in my position stuck on 6.2...this is night & day. Seriously, try libthr. No matter what you do to libkse it is going to suck. That's why we removed it. Kris From alex at schnarff.com Tue Jul 1 00:20:37 2008 From: alex at schnarff.com (alex@schnarff.com) Date: Tue Jul 1 00:20:41 2008 Subject: Too Much Context Switching? - FIXED In-Reply-To: <48697719.40101@FreeBSD.org> References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> <48692DE7.3020502@FreeBSD.org> <20080630192154.nj1sns26kg44w4w8@mail.schnarff.com> <48696EB0.6000906@FreeBSD.org> <20080630200456.uf01ro1obms40cok@mail.schnarff.com> <48697719.40101@FreeBSD.org> Message-ID: <20080630202034.dt6mqbf5css444gg@mail.schnarff.com> Quoting Kris Kennaway : > alex@schnarff.com wrote: >> Quoting Kris Kennaway : >> >>> alex@schnarff.com wrote: >>>> Quoting Kris Kennaway : >>>> >>>>> Michel Talon wrote: >>>>>> On Mon, Jun 30, 2008 at 07:53:00PM +0200, Kris Kennaway wrote: >>>>>>> Yep, it could be that -- what confuses me though is that it is >>>>>>> claimed that performance suddenly regressed. If so then this >>>>>>> cannot be the underlying cause. >>>>>> >>>>>> It may be that the load has augmented to the point that contention >>>>>> imposes a rapid regression on throughput. >>>>> >>>>> Yes, it could be that. I don't know off-hand whether multiple threads >>>>> are counted separately by vmstat (at a guess I'd say no), but ps/top/etc >>>>> should show how many are active in the python process. >>>> >>>> Just ran ktrace, and a bit of Googling seems to confirm my initial >>>> suspicion that the results I'm seeing are abnormal. The first >>>> several screenfulls of output look like this: >>>> >>>> 52929 python2.4 1214867016.469416 CALL kse_wakeup(0x811740c) >>>> 52929 python2.4 0.000060 RET kse_wakeup 0 >>>> 52929 python2.4 0.000008 RET kse_release 0 >>>> 52929 python2.4 0.000040 CALL kse_release(0x811df4c) >>>> 52929 python2.4 0.000515 CALL kse_wakeup(0x811740c) >>>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>>> 52929 python2.4 0.000004 RET kse_release 0 >>>> 52929 python2.4 0.000012 CALL kse_release(0x811df4c) >>>> 52929 python2.4 0.000365 CALL kse_wakeup(0x811740c) >>>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>>> 52929 python2.4 0.000003 RET kse_release 0 >>>> 52929 python2.4 0.000010 CALL kse_release(0x811df4c) >>>> 52929 python2.4 0.000413 CALL kse_wakeup(0x811740c) >>>> 52929 python2.4 0.000011 RET kse_wakeup 0 >>>> 52929 python2.4 0.000004 RET kse_release 0 >>>> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >>>> 52929 python2.4 0.000393 CALL kse_wakeup(0x811740c) >>>> 52929 python2.4 0.000012 RET kse_wakeup 0 >>>> 52929 python2.4 0.000004 RET kse_release 0 >>>> 52929 python2.4 0.000009 CALL kse_release(0x811df4c) >>>> >>>> I may be mistaken, but it seems like that's a lot of unnecessary >>>> activity managing the threads; the confirmation I found came from >>>> http://arkiv.freebsd.se/?ml=freebsd-threads&a=2007-02&t=3178634. >>>> >>>> Am I correct that this is abnormal behavior? If so, any idea what >>>> I may need to do to fix the issue? >>> >>> Looks exactly like the python thread problem Michel described. >>> >>> You will get some improvement by switching to libthr and/or updating to >>> 7.0 as I discussed, but ultimately you're hitting limits of python, not >>> FreeBSD. >> >> WOW...it's *amazing* how much of a difference a single sysctl can make. >> >> I went ahead and set kern.threads.virtual_cpu=1, as suggested in the >> thread above, and the difference is ridiculous -- Zope is now faster >> than I've ever seen. More importantly, my ktracing shows that all of >> the kse_* garabage is now gone. >> >> I'll probably be upgrading to 7.0 in the next month or so, given >> that this is obviously a thread issue and that that release has much >> improved thread code. However, for the time being, the pressing >> issue is fixed, and for anyone in my position stuck on 6.2...this is >> night & day. > > Seriously, try libthr. No matter what you do to libkse it is going to > suck. That's why we removed it. I will, probably as part of upgrading to 7.0 (which I may accelerate, given this point). I'm just ecstatic at the difference I'm already seeing, and specifically wanted to make note of it in the archives. Point very much taken, though. :-) Alex From kline at thought.org Tue Jul 1 01:10:51 2008 From: kline at thought.org (Gary Kline) Date: Tue Jul 1 01:10:55 2008 Subject: which font previewer? Message-ID: <20080701011041.GA43264@thought.org> A fellow compunerd got tired of being first-hired and first-fired, went back to school in art/computer animation. long-story-story, this guy came up with the right kind of logo for my website; he sent a united t+u that at least *i* liked. Now that I'm learning to use the GIMP --*thanks* to the patient and thouhtful -questions members who have help me with Layers--now i need to find which typeface(s) looks best. i'd be much obliged for the top couple font viewer a apps so i can compare the bunches [scores] of fonts I've collected? gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From josh.carroll at gmail.com Tue Jul 1 01:21:14 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Tue Jul 1 01:21:17 2008 Subject: Too Much Context Switching? - FIXED In-Reply-To: <20080630202034.dt6mqbf5css444gg@mail.schnarff.com> References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> <48692DE7.3020502@FreeBSD.org> <20080630192154.nj1sns26kg44w4w8@mail.schnarff.com> <48696EB0.6000906@FreeBSD.org> <20080630200456.uf01ro1obms40cok@mail.schnarff.com> <48697719.40101@FreeBSD.org> <20080630202034.dt6mqbf5css444gg@mail.schnarff.com> Message-ID: <8cb6106e0806301753l6cdec42if37bf2a442ab43d9@mail.gmail.com> > I will, probably as part of upgrading to 7.0 (which I may accelerate, given > this point). I'm just ecstatic at the difference I'm already seeing, and > specifically wanted to make note of it in the archives. Point very much > taken, though. :-) It's trivial to change to libthr, as pointed out earlier in this thread. You simply add an entry/entries to /etc/libmap.conf (see man libmap.conf for details) and then restart whatever it is that is currently running against libkse. I'll second Kris' recommendation to move to libthr. I saw a drastic improvement in MySQL and ffmpeg performance on 6.2 when I switched from libkse to libthr. Certainly 7.0 would give it to you automatically, but there's no reason not to use libmap to use it now, as an interim solution. Josh From ryan.coleman at cwis.biz Tue Jul 1 01:39:11 2008 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Jul 1 01:39:16 2008 Subject: Configuring an older server for speed... In-Reply-To: References: Message-ID: <48698AB9.7070802@cwis.biz> Kurt Buff wrote: > All, > > I've got a Compaq ML570 with 2gb RAM, dual PIII Xeon 700s and 5x10k > RPM drives in it attached to a Compaq 5300 RAID card that I'm going to > be using as a squid box. > > I've configured two drives as RAID 1 with the third as a hot spare, > and two drives as RAID0 - I intend to put the squid cache on the > latter, and have mounted it as /squid. > > I'm running 7STABLE from a couple of days ago. > > What might I do to achieve better/best performance? I'm replacing a > less capable whitebox. One of the big issues I've had has manifested > itself recently - we've moved from a T1 to a DS3, and while overall > throughput has increased dramatically, people are now complaining that > "the Internet is slow", which I've found is all down to initial page > load. I'm pursuing optimizing squid elsewhere, and want to focus on > getting this box as fast as I reasonably can before sticking squid on > it. I've got more RAM to put into it - I'd be stealing from another > machine that's little used, but I should be able to get it to 4gb RAM. > > As a benchmark, there are about 230 people in my site who will be > using this box for their proxy, and their usage is all over the map - > worse, I haven't been given the time to put any analysis tools into > play to figure out the load on the old box, as we're in the middle of > a number of other projects of equal or higher priority. > > Kurt > I would recommend fBSD 6.3 instead of 7. You don't need it, unless you have a documented reason it has to be 7.0 From prad at towardsfreedom.com Tue Jul 1 02:09:30 2008 From: prad at towardsfreedom.com (prad) Date: Tue Jul 1 02:09:34 2008 Subject: Configuring an older server for speed... In-Reply-To: <48698AB9.7070802@cwis.biz> References: <48698AB9.7070802@cwis.biz> Message-ID: <20080630190821.1e0cc713@gom.home> On Mon, 30 Jun 2008 20:39:05 -0500 Ryan Coleman wrote: > I would recommend fBSD 6.3 instead of 7. You don't need it, unless > you have a documented reason it has to be 7.0 > really?! i thought 7 was supposed to be a big improvement over 6.3: "Dramatic improvements in performance and SMP scalability shown by various database and other benchmarks,in some cases showing peak performance improvements as high as 350% over FreeBSD 6.X under normal loads and 1500% at high loads." http://www.freebsd.org/releases/7.0R/announce.html we've had a lot of trouble though installing 7 on some of our older machines (6.3 is easy and worked well too) because the cdrom doesn't always cooperate. but we got it to work with some extra effort, because we thought it would be better. is it possible that the older versions work better on older machines? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From prad at towardsfreedom.com Tue Jul 1 02:12:48 2008 From: prad at towardsfreedom.com (prad) Date: Tue Jul 1 02:12:55 2008 Subject: second pre-emptive raid: stripes and the os In-Reply-To: <20080629145657.05b7a462@gom.home> References: <20080629145657.05b7a462@gom.home> Message-ID: <20080630191246.4e128acf@gom.home> On Sun, 29 Jun 2008 14:56:57 -0700 prad wrote: > based on the excellent ideas from the first pre-emptive raid thread we > have been considering raid1+0 or raid5 for our server > our server just arrived today!! and there was an unexpected surprise in it - a raid card mylex extreme raid2000 which worked right away. does anyone know about the quality of this card? so we will be using that instead of software raid, though i still would like to know how you setup a stripe and keep the os on it. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From prad at towardsfreedom.com Tue Jul 1 02:16:07 2008 From: prad at towardsfreedom.com (prad) Date: Tue Jul 1 02:16:13 2008 Subject: searching freebsd-questions Archives Message-ID: <20080630191604.077228ea@gom.home> i've gone to freebsd-questions Archives: http://lists.freebsd.org/pipermail/freebsd-questions/ and tried typing all sorts of things in the search box and playing with the other fields (eg all and any, but i always get No matches were found for '...' how is one supposed to use the search in the archives? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From devinbhullar at hotmail.com Tue Jul 1 02:51:54 2008 From: devinbhullar at hotmail.com (Devinder Singh) Date: Tue Jul 1 02:51:57 2008 Subject: Fatal Trap 12 Page Fault while in Kernel Moder Message-ID: Hi I am using Free BSD 6.3 and am intergating Monowal and FreeRadius When i make the image i get this error Fatal Trap 12 :page fault while in kernel mode Fault virtual addres 0xbffle000 fault code -= supervisor write, page not present instruction pointer = 0*28 = trap number 12 panic = page fault Pls can some one help me on this _________________________________________________________________ NEW! Get Windows Live FREE. http://www.get.live.com/wl/all From tdeboer at gmail.com Tue Jul 1 03:13:55 2008 From: tdeboer at gmail.com (Tim DeBoer) Date: Tue Jul 1 03:13:59 2008 Subject: Making changes to ports default install Message-ID: Hi everyone, I've been working on a new server, and I'd like to install apache from ports to make maintenance easier. The problem is the default layout drives me nuts. I'd like to use a more intuitive layout. Is it possible to pass a custom layout file during make build? Something like make build WITH_LAYOUT=/path/to/layout/file or something along those lines? If it makes any difference, I also need to install PHP and MySQL along with apache. I don't know if using a different layout file would cause issues with either of those. Anyone have any advice on that? Thanks all :) Tim -- Ronald Reagan - "Recession is when a neighbor loses his job. Depression is when you lose yours." From david.gurvich at verizon.net Tue Jul 1 03:17:22 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Tue Jul 1 03:17:26 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080630190821.1e0cc713@gom.home> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> Message-ID: <20080630231705.02193cae@verizon.net> There are improvements in the wireless system and in locking. One of the most interesting is the possibility of using zfs and dtrace from Solaris. Many of these features have undiscovered bugs that you might prefer not discovering on your own server. For desktop and laptop use I would certainly have no issues with using 7.0. From prad at towardsfreedom.com Tue Jul 1 03:35:10 2008 From: prad at towardsfreedom.com (prad) Date: Tue Jul 1 03:35:14 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080630231705.02193cae@verizon.net> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> Message-ID: <20080630203436.1cc7505d@gom.home> On Mon, 30 Jun 2008 23:17:05 -0400 David Gurvich wrote: > Many of these features have undiscovered bugs that you might > prefer not discovering on your own server. > oh oh. but what if we are just running a plain webserver (mainly static html) and email. we are sticking to ufs of course. it is an older machine - dual 1.3G with 2G ram and a raid card. we've run 7 since the beginning of june on 2 desktops (700Hz with 192M and 128M ram) doing the above serving without any problems and are just about to set up this server to replace the other 2. should we use 7 or think about going with 6.3? -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From kurt.buff at gmail.com Tue Jul 1 03:38:58 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 03:39:01 2008 Subject: Configuring an older server for speed... In-Reply-To: <48698AB9.7070802@cwis.biz> References: <48698AB9.7070802@cwis.biz> Message-ID: On Mon, Jun 30, 2008 at 6:39 PM, Ryan Coleman wrote: > Kurt Buff wrote: >> >> All, >> >> I've got a Compaq ML570 with 2gb RAM, dual PIII Xeon 700s and 5x10k >> RPM drives in it attached to a Compaq 5300 RAID card that I'm going to >> be using as a squid box. >> >> I've configured two drives as RAID 1 with the third as a hot spare, >> and two drives as RAID0 - I intend to put the squid cache on the >> latter, and have mounted it as /squid. >> >> I'm running 7STABLE from a couple of days ago. >> >> What might I do to achieve better/best performance? I'm replacing a >> less capable whitebox. One of the big issues I've had has manifested >> itself recently - we've moved from a T1 to a DS3, and while overall >> throughput has increased dramatically, people are now complaining that >> "the Internet is slow", which I've found is all down to initial page >> load. I'm pursuing optimizing squid elsewhere, and want to focus on >> getting this box as fast as I reasonably can before sticking squid on >> it. I've got more RAM to put into it - I'd be stealing from another >> machine that's little used, but I should be able to get it to 4gb RAM. >> >> As a benchmark, there are about 230 people in my site who will be >> using this box for their proxy, and their usage is all over the map - >> worse, I haven't been given the time to put any analysis tools into >> play to figure out the load on the old box, as we're in the middle of >> a number of other projects of equal or higher priority. >> >> Kurt >> > > I would recommend fBSD 6.3 instead of 7. You don't need it, unless you have > a documented reason it has to be 7.0 Why not? It installed really well, and I've had no issues with it on other machines. From sahil at tandon.net Tue Jul 1 03:47:28 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Jul 1 03:47:32 2008 Subject: Making changes to ports default install In-Reply-To: References: Message-ID: <20080701034723.GA20712@shepherd> Tim DeBoer wrote: > I've been working on a new server, and I'd like to install apache from ports > to make maintenance easier. > The problem is the default layout drives me nuts. I'd like to use a more > intuitive layout. Is it possible to pass a custom layout file during make > build? Something like make build WITH_LAYOUT=/path/to/layout/file or > something along those lines? Look into --enable-layout. See the various options in config.layout; if none of them suit you, you can add your custom rules. I believe you can also point to a file that contains your custom layout if you are uncomfortable editing the config.layout. [...] -- Sahil Tandon From sahil at tandon.net Tue Jul 1 03:50:21 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue Jul 1 03:50:23 2008 Subject: Configuring an older server for speed... In-Reply-To: <48698AB9.7070802@cwis.biz> References: <48698AB9.7070802@cwis.biz> Message-ID: <20080701035016.GB20712@shepherd> Ryan Coleman wrote: > Kurt Buff wrote: [...] > I would recommend fBSD 6.3 instead of 7. You don't need it, unless you have > a documented reason it has to be 7.0 Please qualify that recommendation; as it stands, it is pure FUD. -- Sahil Tandon From ryan.coleman at cwis.biz Tue Jul 1 04:55:30 2008 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Jul 1 04:55:36 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080701035016.GB20712@shepherd> References: <48698AB9.7070802@cwis.biz> <20080701035016.GB20712@shepherd> Message-ID: <4869B8BF.5060803@cwis.biz> Sahil Tandon wrote: > Ryan Coleman wrote: > > >> Kurt Buff wrote: >> > > [...] > > >> I would recommend fBSD 6.3 instead of 7. You don't need it, unless you have >> a documented reason it has to be 7.0 >> > > Please qualify that recommendation; as it stands, it is pure FUD. > > I don't see the need. And I couldn't get 7 to install on my brand new machine. Once I got the 6.3 amd64 build it went in without an issue. I don't see the reason to run the latest and greatest for a file/web server. Desktops are one thing, but you can get more out of your CPU and RAM with less clutter out of the box. From perrin at apotheon.com Tue Jul 1 05:10:01 2008 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jul 1 05:10:07 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <48694CFB.1030004@pixelhammer.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> Message-ID: <20080701050444.GA2142@kokopelli.hydra> On Mon, Jun 30, 2008 at 05:15:39PM -0400, DAve wrote: > Steve Franks wrote: > >So call me a sociopath, but times are a bit scary. I'd like to do the > >2000's equivalent of the 1960's bomb shelter, and have my very own > >snapshot in case of major local/regional internet disruption, etc. > > > >What would be the best way to go about this. I see with <1T words, it > >appears doable on current technology. Maybe they should offer a > >snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort > >of officially licenced copy, I suspect there are other freaks that > >would too... > > When the world gets that bad, Wikipedia is the least of my concerns, > slightly ahead of who is winning American Idol. If it comes to the point > the internet goes down for a long period of time, that $300 is better > spent on a garden. > > Just my thoughts. Actually . . . if things get that bad, you're going to need some firepower to protect your garden (and everything else you don't want taken from you by force). To properly protect a garden, you'd need to make it a community farm, with community members who have and will use firearms to protect it (and your Wikipedia mirror). Of course, I greatly admire the impulse to protect the collected knowledge of Wikipedia from disaster. It's also practical -- because it contains a lot of information that might be of use (including good subsistence gardening information, for those of us who don't have naturally green thumbs). Them's are just *my* thoughts. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Larry Wall: "Perl is, in intent, a cleaned up and summarized version of that wonderful semi-natural language known as 'Unix'." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/258efef8/attachment.pgp From m.seaman at infracaninophile.co.uk Tue Jul 1 05:12:42 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 1 05:12:45 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080630203436.1cc7505d@gom.home> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> Message-ID: <4869BCB8.9060906@infracaninophile.co.uk> prad wrote: > On Mon, 30 Jun 2008 23:17:05 -0400 > David Gurvich wrote: > >> Many of these features have undiscovered bugs that you might >> prefer not discovering on your own server. >> > oh oh. > but what if we are just running a plain webserver (mainly static html) > and email. we are sticking to ufs of course. > it is an older machine - dual 1.3G with 2G ram and a raid card. > > we've run 7 since the beginning of june on 2 desktops (700Hz with 192M > and 128M ram) doing the above serving without any problems and are just > about to set up this server to replace the other 2. > > should we use 7 or think about going with 6.3? > I'd go with 7.x every time. It wipes the floor with 6.3 performance-wise and it is just as stable and bug-free as you'ld expect from FreeBSD. You've seen it works for you: there's no conceivable reason to downgrade. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/1bd93507/signature.pgp From proace at gmail.com Tue Jul 1 05:50:06 2008 From: proace at gmail.com (ProAce) Date: Tue Jul 1 05:50:09 2008 Subject: Is it reliable to increase the MAXCPU in param.h ? Message-ID: <737a6d270806302225y4763ca70ge9dc5084847e05de@mail.gmail.com> Server: HP DL785G5 with 8 CPU ( 32 cores ) , 16G RAM OS: FreeBSD 7.0-amd64 Kernel 1: MAXCPU = 16 ( default ) Kernel 2: MAXCPU = 32 DL785G5 run with kernel 1 and kernel 2 both successfully, and the FreeBSD can detect the 16 CPUs and 32 CPUs normally ( using top -S command). If I use kernel 2 for postgresql 8.3, is it reliable and stable? From vas at mpeks.tomsk.su Tue Jul 1 05:57:54 2008 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Tue Jul 1 05:57:59 2008 Subject: Using freebsd-update after upgrading from source In-Reply-To: <4868CD28.3080508@gmail.com> References: <20080630080600.GA37177@admin.sibptus.tomsk.ru> <4868CD28.3080508@gmail.com> Message-ID: <20080701055750.GA66331@admin.sibptus.tomsk.ru> Manolis Kiagias wrote: > > > >I have been updating 6.2-RELEASE with freebsd-update. Recently I > >upgraded it to RELENG_6_3 from source. Can I continue using > >freebsd-update or must I upgrade only from source from now on? > > > > > > I don't see why not. I was wondering if freebsd-update will break if my binaries happen to be different from those in the official release. > freebsd-update will download binary updates to the > system as well as the relevant sources for them (look at > /etc/freebsd-update.conf to verify). I don't update sources with freebsd-update. I mount them from an NFS server running cvsup. > > >I conducted an experiment and got inconclusive results. I had upgraded > >to RELENG_6_3-p2 where the problems with libpthread and ssh are > >already fixed. However, when I ran freebsd-update, it did replace > >libpthread and libssh. It also replaced the kernel, downgrading it > >from 6.3-RELEASE-p2 to 6.3-RELEASE-p1! > > > > Don't be so sure. If you are running a GENERIC kernel, freebsd-update > simply downloaded the latest. If -p2 did not have any kernel updates (it > did not IIRC) you got the kernel for -p1. The fact it replaced your > GENERIC (which had a -p2 deisgnation in uname) is probably because this > was compiled on your system so freebsd-update did not recognize the > version. These two should be functionally identical. In fact if you just > recompile the kernel now, it will report -p2 If i recompile GENERIC now, freebsd-update will suggest updating it again and again P.S. I know that freebsd-update will leave the kernel alone if "uname -i" is not GENERIC|SMP, but my question is more generic. How well can freebsd-update handle a system compiled from source? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 06:25:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 06:25:33 2008 Subject: Maximum swap size? In-Reply-To: <486960E8.5010108@cwis.biz> References: <18204938.post@talk.nabble.com> <486960E8.5010108@cwis.biz> Message-ID: <20080701082423.F6879@wojtek.tensor.gdynia.pl> > > My first question is, why are you partitioning more than 2x your RAM? I > highly doubt you have 16GB of RAM. probably because he need it. 2x is just rough estimate, real requirements depends on load From rob at cissp.org.uk Tue Jul 1 07:10:57 2008 From: rob at cissp.org.uk (Rob Mason) Date: Tue Jul 1 07:11:01 2008 Subject: Proliant ML115 G5 Message-ID: <4868E1F8.4040406@cissp.org.uk> Hi - has anyone come across the HP Proliant ML115 G5 (Opteron Dual Core) and had any install success with 7.0-STABLE or 6.3-STABLE? I've got one of these boxes at my disposal but the boot sequence freezes mid-way through the startup? I guess this means it's not yet compatible? Rgds Rob The original of this email was scanned for known viruses at 14:36 on 30/06/2008 and was found to be virus free. From devinbhullar at hotmail.com Tue Jul 1 07:58:49 2008 From: devinbhullar at hotmail.com (Devinder Singh) Date: Tue Jul 1 07:58:54 2008 Subject: Fatal Trap 12: Page Fault While in Kernel Mode Message-ID: _________________________________________________________________ Check out Barclays Premier League exclusive video clips here! http://fc.sg.msn.com/index.aspx From devinbhullar at hotmail.com Tue Jul 1 08:01:43 2008 From: devinbhullar at hotmail.com (Devinder Singh) Date: Tue Jul 1 08:01:50 2008 Subject: Fatal Trap 12: Page Fault While in Kernel Mode In-Reply-To: References: Message-ID: Hi I am getign this serios error message when i have packaged free radius in freebsd 6.3 Fatal Trap 12: page fault while in kernel mode fault virtual address fault code = supervisor write , page not present instruction pointer = 0*20 stack pointer = curent process = 0 trap njumber 12 > From: devinbhullar@hotmail.com> To: freebsd-questions@freebsd.org> Date: Tue, 1 Jul 2008 15:58:49 +0800> Subject: Fatal Trap 12: Page Fault While in Kernel Mode> > > > _________________________________________________________________> Check out Barclays Premier League exclusive video clips here!> http://fc.sg.msn.com/index.aspx_______________________________________________> 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" _________________________________________________________________ Easily edit your photos like a pro with Photo Gallery. http://get.live.com/photogallery/overview From que_deseja at hotmail.com Tue Jul 1 08:23:37 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Tue Jul 1 08:23:43 2008 Subject: sysctl enabled but HAL non-existant (Reid Linnemann) Message-ID: I've installed HAL and the same message comes up with the gnome desktop- and this happens in the install of NetBSD that I also have- the HAL problem of not being enabled or installed. I may be wrong in assuming this; but, isn't there some basic compatibility between bsd systems that what would work for freebsd and mounting would also work for netbsd? chmod 0777 /dev/acd0 and chmod 0777 /dev/cd0a allows me to see the icons in konqueror and nautilus. sysctrl v allows me some access but full access is only as root. I did a search for a command line that would help me set up HAL for both desktops. _________________________________________________________________ Introducing Live Search cashback . It's search that pays you back! http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=introsrchcashback From kris at FreeBSD.org Tue Jul 1 08:46:50 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 1 08:46:53 2008 Subject: Fatal Trap 12 Page Fault while in Kernel Moder In-Reply-To: References: Message-ID: <4869EEF5.9000908@FreeBSD.org> Devinder Singh wrote: > Hi I am using Free BSD 6.3 and am intergating Monowal and FreeRadius > > When i make the image i get this error > > Fatal Trap 12 :page fault while in kernel mode > > Fault virtual addres 0xbffle000 > fault code -= supervisor write, page not present > instruction pointer = 0*28 = > > > trap number 12 > panic = page fault > > Pls can some one help me on this You need to obtain more debugging information before anyone can help you. See the chapter on kernel debugging in the developers handbook. Kris From kris at FreeBSD.org Tue Jul 1 08:49:15 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 1 08:49:18 2008 Subject: Is it reliable to increase the MAXCPU in param.h ? In-Reply-To: <737a6d270806302225y4763ca70ge9dc5084847e05de@mail.gmail.com> References: <737a6d270806302225y4763ca70ge9dc5084847e05de@mail.gmail.com> Message-ID: <4869EF87.4040707@FreeBSD.org> ProAce wrote: > Server: HP DL785G5 with 8 CPU ( 32 cores ) , 16G RAM > OS: FreeBSD 7.0-amd64 > Kernel 1: MAXCPU = 16 ( default ) > Kernel 2: MAXCPU = 32 > > DL785G5 run with kernel 1 and kernel 2 both successfully, and the > FreeBSD can detect the 16 CPUs and 32 CPUs normally ( using top -S > command). > > If I use kernel 2 for postgresql 8.3, is it reliable and stable? 32 should be OK, but we haven't had access to such a machine yet (we briefly had access to a 16-core system but it melted) so we have not yet tuned for performance on it. FreeBSD 8.0 will run better if you are willing to use a development version of FreeBSD. Kris From mail25 at bzerk.org Tue Jul 1 09:09:24 2008 From: mail25 at bzerk.org (Ruben de Groot) Date: Tue Jul 1 09:09:28 2008 Subject: filesystem information In-Reply-To: <80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com> References: <80f4f2b20806300401x71483882x8e9a6cf919f1ff9@mail.gmail.com> <20080630073059.be11304d.wmoran@potentialtech.com> <80f4f2b20806300930p67ca1fd5xf9ad59d16889df36@mail.gmail.com> <20080630170400.GB65282@slackbox.xs4all.nl> <80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com> Message-ID: <20080701091048.GA31499@ei.bzerk.org> On Mon, Jun 30, 2008 at 03:12:59PM -0400, Jim typed: > > I'm aware of nothing but a UPS can completely protect me from an > outage. I was just wondering why that ONE file system was misbehaving, > and the rest are prefectly fine - which seemed odd. Additionally, why > were files that are read, but not written, being lost? I can > understand losing files that are being written, but if there's a file > that has bene written several restarts ago, not written to thereafter, > and has been fine ever since, why is it being lost now? Just a thought, but in normal circumstances files *are* written to, even when they are just being read: the access time is updated (unless you mount the fs with the noatime flag). Ruben From shinjii at maydias.com Tue Jul 1 10:43:21 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Jul 1 10:43:27 2008 Subject: cant su to root Message-ID: <200807012043.21155.shinjii@maydias.com> When i try to su to root from konsole within kde it tells me.. $ su su: Sorry i got a feeling when i added my user client to operators group this may have done this an sadly now i cant run or do anything that requires root access. Any thoughts? From beech at freebsd.org Tue Jul 1 10:49:33 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue Jul 1 10:49:40 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <200807010249.26819.beech@freebsd.org> On Tuesday 01 July 2008, Warren Liddell said: > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this > may have done this an sadly now i cant run or do anything that > requires root access. > > Any thoughts? Can you log into root directly? If so make sure your user is part of the wheel group then you should be able to su to root. If not you'll have to boot into single user and change the root password you have access then do the above. -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From peter at boosten.org Tue Jul 1 10:49:41 2008 From: peter at boosten.org (Peter Boosten) Date: Tue Jul 1 10:49:45 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <486A0BC0.1040802@boosten.org> Warren Liddell wrote: > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this may have > done this an sadly now i cant run or do anything that requires root access. > > Any thoughts? wheel group ;-) Peter -- http://www.boosten.org From patfbsd at davenulle.org Tue Jul 1 10:49:57 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Tue Jul 1 10:50:02 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <20080701124952.7b033c3e@baby-jane-lamaiziere-net.local> Le Tue, 1 Jul 2008 20:43:21 +1000, Warren Liddell a ?crit : Hi, > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this > may have done this an sadly now i cant run or do anything that > requires root access. > > Any thoughts? The user must be in the group wheel. Regards. From thavinci at thavinci.za.net Tue Jul 1 10:51:07 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Tue Jul 1 10:51:11 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <00bc01c8db68$4be8d150$e3ba73f0$@za.net> It should have been added to the wheel group if you wanted to su from it. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Warren Liddell Sent: Tuesday, July 01, 2008 12:43 PM To: freebsd-questions@freebsd.org Subject: cant su to root When i try to su to root from konsole within kde it tells me.. $ su su: Sorry i got a feeling when i added my user client to operators group this may have done this an sadly now i cant run or do anything that requires root access. Any thoughts? _______________________________________________ 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" __________ NOD32 3223 (20080627) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From cpghost at cordula.ws Tue Jul 1 10:51:20 2008 From: cpghost at cordula.ws (cpghost) Date: Tue Jul 1 10:51:24 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <20080701125116.0735ae6d@epia-2.farid-hajji.net> On Tue, 1 Jul 2008 20:43:21 +1000 Warren Liddell wrote: > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this > may have done this an sadly now i cant run or do anything that > requires root access. > > Any thoughts? Add the the users who should be able to su to root to the 'wheel' group: In /etc/group: wheel:*:0:root,user1,user2,... From su(1) manpage: PAM is used to set the policy su(1) will use. In particular, by default only users in the ``wheel'' group can switch to UID 0 (``root''). This group requirement may be changed by modifying the ``pam_group'' section of /etc/pam.d/su. See pam_group(8) for details on how to modify this setting. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From sonic2000gr at gmail.com Tue Jul 1 10:53:42 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Tue Jul 1 10:53:47 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <486A0CB0.5090302@gmail.com> Warren Liddell wrote: > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this may have > done this an sadly now i cant run or do anything that requires root access. > > Any thoughts? > > Maybe you added your account to the operators group, but removed it from the wheel group? Try: id and see if you have wheel in your groups. as root you can use pw usermod to restore this, e.g. pw usermod -g -G wheel,operator,... (there are other ways to do this as well.) From shinjii at maydias.com Tue Jul 1 10:59:31 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Jul 1 10:59:36 2008 Subject: cant su to root In-Reply-To: <486A0CB0.5090302@gmail.com> References: <200807012043.21155.shinjii@maydias.com> <486A0CB0.5090302@gmail.com> Message-ID: <200807012059.31277.shinjii@maydias.com> On Tuesday 01 July 2008 20:53:36 Manolis Kiagias wrote: > Warren Liddell wrote: > > When i try to su to root from konsole within kde it tells me.. > > > > $ su > > su: Sorry > > > > i got a feeling when i added my user client to operators group this may > > have done this an sadly now i cant run or do anything that requires root > > access. > > > > Any thoughts? > > Maybe you added your account to the operators group, but removed it from > the wheel group? remote logged in via another user an edited group file an all good now, tnxs to all From dez at accid.net Tue Jul 1 11:04:20 2008 From: dez at accid.net (Dez Accid) Date: Tue Jul 1 11:04:26 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <486A0B70.6000506@accid.net> Warren Liddell wrote: > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this may have > done this an sadly now i cant run or do anything that requires root access. Your user needs to be in wheel group to be able to su to root. To add the user to wheel group, you can use pw(8): # pw usermod your_username -G wheel hth -- Dez Accid From vasile at cristescu.org Tue Jul 1 11:15:19 2008 From: vasile at cristescu.org (Vasile Cristescu) Date: Tue Jul 1 11:15:26 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <200807011346.07763.vasile@cristescu.org> Hello, Your username needs to be in wheel group. > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this may > have done this an sadly now i cant run or do anything that requires root > access. > > Any thoughts? > _______________________________________________ > 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" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/e6466ba1/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 11:18:49 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 11:18:53 2008 Subject: cant su to root In-Reply-To: <200807012043.21155.shinjii@maydias.com> References: <200807012043.21155.shinjii@maydias.com> Message-ID: <20080701131737.L8185@wojtek.tensor.gdynia.pl> > When i try to su to root from konsole within kde it tells me.. > > $ su > su: Sorry > > i got a feeling when i added my user client to operators group this may have to wheel group > done this an sadly now i cant run or do anything that requires root access. > > Any thoughts? > _______________________________________________ > 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 sudakov at sibptus.tomsk.ru Tue Jul 1 06:57:08 2008 From: sudakov at sibptus.tomsk.ru (Victor Sudakov) Date: Tue Jul 1 11:34:50 2008 Subject: Using freebsd-update after upgrading from source In-Reply-To: <4868CD28.3080508@gmail.com> References: <20080630080600.GA37177@admin.sibptus.tomsk.ru> <4868CD28.3080508@gmail.com> Message-ID: <20080701055702.GA66013@admin.sibptus.tomsk.ru> Manolis Kiagias wrote: > > > >I have been updating 6.2-RELEASE with freebsd-update. Recently I > >upgraded it to RELENG_6_3 from source. Can I continue using > >freebsd-update or must I upgrade only from source from now on? > > > > > > I don't see why not. I was wondering if freebsd-update will break if my binaries happen to be different from those in the official release. > freebsd-update will download binary updates to the > system as well as the relevant sources for them (look at > /etc/freebsd-update.conf to verify). I don't update sources with freebsd-update. I mount them from an NFS server running cvsup. > > >I conducted an experiment and got inconclusive results. I had upgraded > >to RELENG_6_3-p2 where the problems with libpthread and ssh are > >already fixed. However, when I ran freebsd-update, it did replace > >libpthread and libssh. It also replaced the kernel, downgrading it > >from 6.3-RELEASE-p2 to 6.3-RELEASE-p1! > > > > Don't be so sure. If you are running a GENERIC kernel, freebsd-update > simply downloaded the latest. If -p2 did not have any kernel updates (it > did not IIRC) you got the kernel for -p1. The fact it replaced your > GENERIC (which had a -p2 deisgnation in uname) is probably because this > was compiled on your system so freebsd-update did not recognize the > version. These two should be functionally identical. In fact if you just > recompile the kernel now, it will report -p2 If i recompile GENERIC now, freebsd-update will suggest updating it again and again P.S. I know that freebsd-update will leave the kernel alone if "uname -i" is not GENERIC|SMP, but my question is more generic. How well can freebsd-update handle a system compiled from source? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 11:45:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 11:46:01 2008 Subject: Configuring an older server for speed... In-Reply-To: References: Message-ID: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> > be using as a squid box. > > I've configured two drives as RAID 1 with the third as a hot spare, > and two drives as RAID0 - I intend to put the squid cache on the > latter, and have mounted it as /squid. it would be better to turn off RAID at all and use all five disks as fine squid partitions. use diskd "driver" in squid. add any used IDE drive for system. should go fine on it. squid is fast, if configured right. From shinjii at maydias.com Tue Jul 1 11:54:51 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Jul 1 11:54:59 2008 Subject: autoconf problem when trying to portupgrade Message-ID: <200807012154.49185.shinjii@maydias.com> # pkgdb -F ---> Checking the package registry database Stale origin: 'devel/autoconf262': perhaps moved or obsoleted. How do i fix this issue so i can update my ports ? From Sahil.Tandon at morganstanley.com Tue Jul 1 12:38:27 2008 From: Sahil.Tandon at morganstanley.com (Tandon, Sahil (IM)) Date: Tue Jul 1 12:38:31 2008 Subject: Configuring an older server for speed... In-Reply-To: <4869B8BF.5060803@cwis.biz> References: <48698AB9.7070802@cwis.biz><20080701035016.GB20712@shepherd> <4869B8BF.5060803@cwis.biz> Message-ID: Ryan Coleman wrote: > I don't see the need. And I couldn't get 7 to install on my > brand new machine. Once I got the 6.3 amd64 build it went in > without an issue. Just because you could not install 7.0 does not mean 7.0 is flawed. > I don't see the reason to run the latest and greatest for a > file/web server. Desktops are one thing, but you can get more > out of your CPU and RAM with less clutter out of the box. You make the false assumption that latest and greatest somehow implies clutter. You needn't install what you do not use. This is true for 7.0 as much as it was for 6.3 and prior releases. I am not questioning your preference for 6.3, but please do not discourage others from upgrading based on an idiosyncratic problem you had with the 7.0 installation. -- Sahil Tandon -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. From nightrecon at verizon.net Tue Jul 1 12:48:37 2008 From: nightrecon at verizon.net (Michael Powell) Date: Tue Jul 1 12:48:42 2008 Subject: Too Much Context Switching? - FIXED References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> <48692DE7.3020502@FreeBSD.org> <20080630192154.nj1sns26kg44w4w8@mail.schnarff.com> <48696EB0.6000906@FreeBSD.org> <20080630200456.uf01ro1obms40cok@mail.schnarff.com> Message-ID: alex@schnarff.com wrote: [snip] > > I'll probably be upgrading to 7.0 in the next month or so, given that > this is obviously a thread issue and that that release has much > improved thread code. However, for the time being, the pressing issue > is fixed, and for anyone in my position stuck on 6.2...this is night & > day. > It has been over a year and a half, or so, since I last experimented with Zope. I only have 9 FreeBSD servers, but in my circumstance I've had good results with 7. When you build Python set the HUGE_STACK_SIZE to yes. I believe the default is to have thread support already on. Even when Python app code is written with multithreading, the execution still runs through the 'Global_Interpreter_Lock' when run. So with this limitation in mind, should you still observe Zope/Python only utilizing only one core in an SMP machine an alternative may be to see if you can run Zope as FastCGI and start more than one instance, ie one for each core. Keep in mind that FastCGI brings in a whole new dimension of it's own problems and instabilities. A problem that may arise in such a situation is loss of session if a request should "switch" instances somehow. Test for this if you can. Before attempting such I would profile/bench the box as it is now. Since this might be considered expiremental I'd *not* use the production box unless you are in a downtime, and have sufficient time to play around. Best would be to try this kind of stuff on a second box and not mess with the production one, ala - "if it works don't FIX it"! :-) If you succeed in getting multiple Zope instances using multiple cores, and have lots of RAM you may also consider giving memcached a go. As I said earlier I'd only play with these ideas in a lab testing scenario and *not* the production box. YMMV -Mike From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 13:35:47 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 13:35:49 2008 Subject: Configuring an older server for speed... In-Reply-To: References: Message-ID: <20080701153429.X1864@wojtek.tensor.gdynia.pl> > less capable whitebox. One of the big issues I've had has manifested > itself recently - we've moved from a T1 to a DS3, and while overall > throughput has increased dramatically, people are now complaining that > "the Internet is slow", which I've found is all down to initial page > load. I'm pursuing optimizing squid elsewhere, and want to focus on > getting this box as fast as I reasonably can before sticking squid on > it. I've got more RAM to put into it - I'd be stealing from another > machine that's little used, but I should be able to get it to 4gb RAM. you need only as much ram as to make squid database fit. roughly 7-8MB/GB storage, with 5 18GB disks it's <1GB, still less if you allow big files to be cached From stapleton.41 at gmail.com Tue Jul 1 13:52:46 2008 From: stapleton.41 at gmail.com (Jim) Date: Tue Jul 1 13:52:50 2008 Subject: filesystem information In-Reply-To: <20080701091048.GA31499@ei.bzerk.org> References: <80f4f2b20806300401x71483882x8e9a6cf919f1ff9@mail.gmail.com> <20080630073059.be11304d.wmoran@potentialtech.com> <80f4f2b20806300930p67ca1fd5xf9ad59d16889df36@mail.gmail.com> <20080630170400.GB65282@slackbox.xs4all.nl> <80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com> <20080701091048.GA31499@ei.bzerk.org> Message-ID: <80f4f2b20807010652w3a5215fas1f62ff682606e444@mail.gmail.com> > Just a thought, but in normal circumstances files *are* written to, > even when they are just being read: the access time is updated (unless > you mount the fs with the noatime flag). > quite true, but isn't that file metadata and not the actual file? I thought most filesystems had a file-entry section, with all the metadata, permissions, etc, and a file data section, which contains the information of the actual file. I guess I wouldn't be surprised if the metadata being edited were corrupted, but to corrupt the file data/location seems odd to me. Especially with soft updates; unless I'm mistaken, that's what it is supposed to minimise. -Jim From rvm at CBORD.com Tue Jul 1 14:34:48 2008 From: rvm at CBORD.com (Bob McConnell) Date: Tue Jul 1 14:34:55 2008 Subject: filesystem information In-Reply-To: <80f4f2b20807010652w3a5215fas1f62ff682606e444@mail.gmail.com> References: <80f4f2b20806300401x71483882x8e9a6cf919f1ff9@mail.gmail.com><20080630073059.be11304d.wmoran@potentialtech.com><80f4f2b20806300930p67ca1fd5xf9ad59d16889df36@mail.gmail.com><20080630170400.GB65282@slackbox.xs4all.nl><80f4f2b20806301212n1bf6137bq75f40464212c2304@mail.gmail.com><20080701091048.GA31499@ei.bzerk.org> <80f4f2b20807010652w3a5215fas1f62ff682606e444@mail.gmail.com> Message-ID: On Behalf Of Jim >> Just a thought, but in normal circumstances files *are* written to, >> even when they are just being read: the access time is updated (unless >> you mount the fs with the noatime flag). >> > > quite true, but isn't that file metadata and not the actual file? I > thought most filesystems had a file-entry section, with all the > metadata, permissions, etc, and a file data section, which contains > the information of the actual file. > > I guess I wouldn't be surprised if the metadata being edited were > corrupted, but to corrupt the file data/location seems odd to me. > Especially with soft updates; unless I'm mistaken, that's what it is > supposed to minimise. > -Jim But if the power failure interrupts an update, all files with data in the sector(s) it was writing are at risk. A corrupted sector can contain multiple file entries, and any or all of their entries may be lost. It is up to fsck and friends to determine which of them can still be safely accessed and restore those entries. It is not only possible, but likely that some will be lost each time this occurs. On the other hand, I thought this was one of the problems that journal led file systems were invented to solve. Bob McConnell From kurt.buff at gmail.com Tue Jul 1 15:25:44 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 15:25:51 2008 Subject: Fwd: Configuring an older server for speed... In-Reply-To: References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> <20080701134914.D1377@wojtek.tensor.gdynia.pl> Message-ID: Sorry. This should also have been sent to the list. ---------- Forwarded message ---------- From: Kurt Buff Date: Tue, Jul 1, 2008 at 8:22 AM Subject: Re: Configuring an older server for speed... To: Wojciech Puchar On Tue, Jul 1, 2008 at 4:51 AM, Wojciech Puchar wrote: > what is DS3? how fast it is. > > it sounds somehow like "E3" which is 34Mbit/s > > i have 4 4Mbit/s DSL's in one place - total 16Mbit/s, and have no dedicated > hard drives for it, but 3 partitions on 3 SATA hard drives. > > it EASILY works taking few% CPU (at most) on core 2 duo and at most 30% of > each drive. > > it could easily make E3 on even 2 dedicated 10K RPM drives, not mentioning > five. Nominally, a DS3 is 45mbits/sec - we have a soft cap at 5mbits/sec, but I've seen lots of bursting to between 10 and 20 so far. From kurt.buff at gmail.com Tue Jul 1 15:26:18 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 15:26:20 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> Message-ID: On Tue, Jul 1, 2008 at 4:45 AM, Wojciech Puchar wrote: >> be using as a squid box. >> >> I've configured two drives as RAID 1 with the third as a hot spare, >> and two drives as RAID0 - I intend to put the squid cache on the >> latter, and have mounted it as /squid. > > it would be better to turn off RAID at all and use all five disks as fine > squid partitions. > > use diskd "driver" in squid. > > add any used IDE drive for system. > > should go fine on it. squid is fast, if configured right. I'm hoping that 137gb striped across two RAID0 volumes should be sufficient space for our needs, and also hoping that it will be faster than individual drives. However, I'll look up the diskd docs for squid, and see what that's all about. From kurt.buff at gmail.com Tue Jul 1 15:29:02 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 15:29:08 2008 Subject: Configuring an older server for speed... In-Reply-To: References: Message-ID: On Mon, Jun 30, 2008 at 5:11 PM, Kurt Buff wrote: > All, > > I've got a Compaq ML570 with 2gb RAM, dual PIII Xeon 700s and 5x10k > RPM drives in it attached to a Compaq 5300 RAID card that I'm going to > be using as a squid box. > > I've configured two drives as RAID 1 with the third as a hot spare, > and two drives as RAID0 - I intend to put the squid cache on the > latter, and have mounted it as /squid. > > I'm running 7STABLE from a couple of days ago. > > What might I do to achieve better/best performance? I'm replacing a > less capable whitebox. One of the big issues I've had has manifested > itself recently - we've moved from a T1 to a DS3, and while overall > throughput has increased dramatically, people are now complaining that > "the Internet is slow", which I've found is all down to initial page > load. I'm pursuing optimizing squid elsewhere, and want to focus on > getting this box as fast as I reasonably can before sticking squid on > it. I've got more RAM to put into it - I'd be stealing from another > machine that's little used, but I should be able to get it to 4gb RAM. > > As a benchmark, there are about 230 people in my site who will be > using this box for their proxy, and their usage is all over the map - > worse, I haven't been given the time to put any analysis tools into > play to figure out the load on the old box, as we're in the middle of > a number of other projects of equal or higher priority. > > Kurt To further extend the question - what about things like mounting the RAID0 noatime, or other speed-enhancing settings? I've been reading and googleing, trying to figure out how to mount it at boot, and I'm finding it a bit confusing. Kurt From freebsd-questions-local at be-well.ilk.org Tue Jul 1 15:30:42 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Jul 1 15:30:49 2008 Subject: PPS and thunderbird In-Reply-To: <4867C63F.30207@gmail.com> (=?iso-8859-1?Q?=22S=E9bastien?= Morand"'s message of "Sun\, 29 Jun 2008 17\:28\:31 +0000") References: <4867C63F.30207@gmail.com> Message-ID: <44y74ltye7.fsf@be-well.ilk.org> S?bastien Morand writes: > I'm using thunderbird to read my mail and I'm not able to open > directly the attachments ".pps". Actually I get a lot of file like > this for my work, and it's quite boring to have to save them in a > directory and then read them with openoffice. > > When I try to read them zith tunderbird, the mime type is not > recognized, this is an "unknown" type and the application proposed is > mplayer (don't ask why...). > > Then i could choose the right application and open it, but the button > remember the choice is not available, so I have to choose manually the > program evertytime, this is also quite boring. > > So my questions are: > Why pps file are not recognized as powerpoint file? > Why am I not able to keep remember the choice to open .pps file with openoffice? I don't have a recent copy of Thunderbird at hand to check with, but I remember Thunderbird having a configuration screen for "Attachments" which (among other things) let you configure an "action" for different file types. It probably depends on MIME types rather than file extensions, though, so if you are getting these ".pps" files with the wrong MIME type, you have a different problem. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From zanchey at ucc.gu.uwa.edu.au Tue Jul 1 15:44:33 2008 From: zanchey at ucc.gu.uwa.edu.au (David Adam) Date: Tue Jul 1 15:44:38 2008 Subject: BTX errors on Intel SR1200 following gvinum ?crash Message-ID: I have a reasonably old (P3-class) Intel SR1200 which has three SCSI drives installed. I've installed FreeBSD 7.0-RELEASE over NFS onto the first drive. While configuring gvinum, I issued the following commands: --- blade# gvinum gvinum -> list 1 drive: D r0 State: down /dev/da0s1b A: 32677/32677 MB (100%) 0 volumes: 0 plexes: 0 subdisks: gvinum -> rm r0 --- At this point, my SSH session to the machine stopped responding and eventually timed out. I presume it rebooted; I didn't get to the console in time, and this was all that was displayed: int=00000006 err=00000000 efl=00010246 eip=0000275c eax=00091300 ebx=00000000 ecx=00000000 edx=00000000 esi=00000004 edi=00003dd4 ebp=00000000 esp=000903fc cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 cs:eip=f0 49 08 28 00 82 07 28-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 ss:esp=29 20 00 00 00 00 00 00-00 00 00 00 00 00 00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 BTX halted This error persists on reboot. I have tried using sysinstall to rewrite the MBR (with /boot/mbr-style booting). The partition table looks like this: --- blade# bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 66924544 4.2BSD 0 0 0 b: 66924544 0 vinum c: 71119692 0 unused 0 0 # "raw" part, don't edit --- Some web searching of the various values has turned up no information that I can understand; where should I go from here? The FreeBSD installer disc1 boots ok on this machine, as did the 7.0-RELEASE install until the gvinum crash. Getting a dmesg out of the machine is proving to be a little challenging but if required I will provide this tomorrow. Please keep me in the reply chain; I am not subscribed to -questions. Thanks, David Adam zanchey@ucc.gu.uwa.edu.au From tmclaugh at sdf.lonestar.org Tue Jul 1 16:30:28 2008 From: tmclaugh at sdf.lonestar.org (Tom McLaughlin) Date: Tue Jul 1 16:30:30 2008 Subject: FreeBSD and Active Directory In-Reply-To: <0d1f01c8d7c1$bcf79020$36e6b060$@net> References: <0d1f01c8d7c1$bcf79020$36e6b060$@net> Message-ID: <1214929824.3394.6.camel@tomcat.straycat.dhs.org> On Thu, 2008-06-26 at 15:20 -0400, Chris Edwards wrote: > I have been put in charge of creating a single sign-on mechanism for our > Windows 2003 and FreeBSD servers. We are wanting to use Active Directory as > our LDAP server. I know of four different methods that could possibly work. > > 1. OpenLDAP > 2. Radius > 3. NIS > 4. WinBind / Samba > > Which is the most excepted/supported way to do this? Several of the severs > are very old, 4+ years old. > > Thanks for any help, > > --- > > Chris Edwards You need to handle two things, user identification and user authentication. OpenLDAP (actually nss_ldap) will do the id part and kerberos will do the authentication part. Unfortunately my AD related links for this are at work and I'm at home today. tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | From stevefranks at ieee.org Tue Jul 1 16:45:20 2008 From: stevefranks at ieee.org (Steve Franks) Date: Tue Jul 1 16:45:26 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080701050444.GA2142@kokopelli.hydra> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> <20080701050444.GA2142@kokopelli.hydra> Message-ID: <539c60b90807010945j5da0fa99j4520d7f962b76fe5@mail.gmail.com> > Actually . . . if things get that bad, you're going to need some > firepower to protect your garden (and everything else you don't want > taken from you by force). To properly protect a garden, you'd need to > make it a community farm, with community members who have and will use > firearms to protect it (and your Wikipedia mirror). And where better to get knowledge on constructing firepower (and gardening for that matter) than wikipedia ;) All part of my integrated plan...did I mention we are going to occupy our local library as well? From bsd at todoo.biz Tue Jul 1 16:53:39 2008 From: bsd at todoo.biz (bsd) Date: Tue Jul 1 16:53:44 2008 Subject: PAE support using freebsd-update procedure Message-ID: <644BFB4B-2E15-4C90-BB7B-E0FA7653C5A3@todoo.biz> Hello folks, I have just baught brand new servers with an 8Gb memory attached to each of these server. I generaly use the "freebsd-update" procedure to update and apply patches to the system. Problem is the default kernel provided with freebsd-update does not seem to have the PAE support enabled by default. My question is: --------------- --->> What will be the best way to upgrade smoothly my system and have my PAE support enabled? --->> What procedure would you suggest to do that properly and on regular basis (every time a patch is issued). Thanks for your answer(s). Sincerly yours. ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From bcook at poughkeepsieschools.org Tue Jul 1 16:55:26 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Tue Jul 1 16:55:35 2008 Subject: OpenNTPd howto? Message-ID: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> Hello All, Not sure what I am missing, but I am. so I put openntpd on a machine (10.20.0.16) cat ntpd.conf | egrep -v ^# listen on 0.0.0.0 server clock.nyc.he.net then start it and it looks like it does: USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS _ntp ntpd 15751 4 udp4 10.20.0.16:55180 209.51.161.238:123 _ntp ntpd 15751 6 udp4 *:123 *:* Strange thing one: root@core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting root@core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop Stopping openntpd. root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset 358.732506 sec Why when it was running did it not update the clock on the server? Strange thing two: From a different computer I can not get the time from the server running openntpd. # ntpdate -b 10.20.0.16 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization found What am I missing? From steve at ibctech.ca Tue Jul 1 17:13:51 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 1 17:13:54 2008 Subject: Configuring an older server for speed... In-Reply-To: <4869BCB8.9060906@infracaninophile.co.uk> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> <4869BCB8.9060906@infracaninophile.co.uk> Message-ID: <486A65D0.4090103@ibctech.ca> Matthew Seaman wrote: >> should we use 7 or think about going with 6.3? >> > > I'd go with 7.x every time. It wipes the floor with 6.3 performance-wise > and it is just as stable and bug-free as you'ld expect from FreeBSD. > You've > seen it works for you: there's no conceivable reason to downgrade. I agree with Matthew here. We have a few production 7 boxes now, some being re-deployed completely from 4.x, and a couple that have come from 6.x. Although I don't have any documentation to show a performance increase, it certainly hasn't gotten worse. (I went to 7 for testing for particular reasons very early on). Any issues I've run into with 7 are just as prevalent in 6, so my vote would be to follow the 7 train. (Note: the only issues that I have *personally* run into so far are related to the 're' driver, which is out of context here). IMHO, more eyes are on the 7 track, so if you have the choice to build a new box, why 'downgrade' right off the bat (its not my intention to knock 6.x BTW)? Eventually you will be forced to jump a major revision which in some cases given user applications can be a bit of a headache. Stick with what is here and now, and leave 6.x as your upgrade path for your current 6.x boxen until you can get those boxes upgraded too. BTW, to the OP.... I would suspect that your initial delay that causes the 'Internet to be slow' is related to DNS somehow. Hit a webserver by its IP and see if the problem goes away. Steve From wmoran at potentialtech.com Tue Jul 1 17:23:01 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jul 1 17:23:05 2008 Subject: OpenNTPd howto? In-Reply-To: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> Message-ID: <20080701132153.650e302a.wmoran@potentialtech.com> In response to B. Cook : > Hello All, > > Not sure what I am missing, but I am. > > so I put openntpd on a machine (10.20.0.16) > > cat ntpd.conf | egrep -v ^# > > listen on 0.0.0.0 > server clock.nyc.he.net > > then start it and it looks like it does: > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > ADDRESS > _ntp ntpd 15751 4 udp4 10.20.0.16:55180 > 209.51.161.238:123 > _ntp ntpd 15751 6 udp4 *:123 *:* > > > Strange thing one: > > root@core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net > 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting > > root@core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop > Stopping openntpd. > > root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net > 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 > offset 358.732506 sec > > Why when it was running did it not update the clock on the server? It was working on it. You should read up on NTP a bit so you understand how it works. NTP does not "set" the clock unless you explicitly tell it to (I believe the -s switch in openntpd). Instead, it speeds up or slows down the clock to bring it into adjustment, which prevents software from seeing a sudden and space-time fabric-ripping shift in time. If you let openntpd run for a while, possibly a few hours, you'd see the time come in to sync. > From a different computer I can not get the time from the server > running openntpd. What error do you get? Run ntpdate -d on the other computer to see _why_ it's refusing to sync. I would guess it's because the OpenNTPd server knows that it's not in sync yet, and thus refuses to sync other machines. -- Bill Moran http://www.potentialtech.com From steve at ibctech.ca Tue Jul 1 17:28:56 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 1 17:29:03 2008 Subject: OpenNTPd howto? In-Reply-To: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> Message-ID: <486A6959.7090805@ibctech.ca> B. Cook wrote: > Hello All, Hey, > root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net > 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 offset > 358.732506 sec > > Why when it was running did it not update the clock on the server? My first guess, which is only a guess, is that your secure level is too high for this to work. If your securelevel is set above zero, then your clock can only be adjusted by a maximum of one second (please correct me if this has changed since 4.x). Check the output of: sysctl -a kern.securelevel > Strange thing two: > > From a different computer I can not get the time from the server > running openntpd. > > # ntpdate -b 10.20.0.16 > 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization found Have you confirmed that a clock server runs on that IP? Is the IP reachable? If securelevel still has its place with affecting time changes, I'd try 'breaking' that to see if the time will actually update. Note that securelevel must be changed via a startup variable of some sort, and a reboot is required. Then I would proceed to ensure that 10.20.0.16 is actually running a timeserver that the network can reach. Steve From freebsd-questions-local at be-well.ilk.org Tue Jul 1 17:36:54 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Jul 1 17:37:00 2008 Subject: autoconf problem when trying to portupgrade In-Reply-To: <200807012154.49185.shinjii@maydias.com> (Warren Liddell's message of "Tue\, 1 Jul 2008 21\:54\:49 +1000") References: <200807012154.49185.shinjii@maydias.com> Message-ID: <448wwlpkui.fsf@be-well.ilk.org> Warren Liddell writes: > # pkgdb -F > ---> Checking the package registry database > Stale origin: 'devel/autoconf262': perhaps moved or obsoleted. Have you tried "pkg_deinstall devel/autoconf262"? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From bsd at todoo.biz Tue Jul 1 17:39:15 2008 From: bsd at todoo.biz (bsd) Date: Tue Jul 1 17:39:20 2008 Subject: PAE support using freebsd-update procedure In-Reply-To: <644BFB4B-2E15-4C90-BB7B-E0FA7653C5A3@todoo.biz> References: <644BFB4B-2E15-4C90-BB7B-E0FA7653C5A3@todoo.biz> Message-ID: Adding some infos to the issue, plus partial answer? Main answer still needed !! Le 1 juil. 08 ? 18:53, bsd a ?crit : > Hello folks, > > > I have just baught brand new servers with an 8Gb memory attached to > each of these server. > I generaly use the "freebsd-update" procedure to update and apply > patches to the system. > > Problem is the default kernel provided with freebsd-update does not > seem to have the PAE support enabled by default. > > > My question is: > --------------- > > --->> What will be the best way to upgrade smoothly my system and > have my PAE support enabled? PAE seems to disable kld module used for example if you have a firewal such as ipf (and haven't compiled it in the kernel). --->> Wouldn't It be better to run amd64 instead of i386? I have seen that this will allow to take full capacity of the memory - on the other hand there seems to have restriction on the ports Can anyone let me know if these restrictions will apply to: - postfix - postgreSQL - amavisd-new - dovecot > > --->> What procedure would you suggest to do that properly and on > regular basis (every time a patch is issued). > > > > Thanks for your answer(s). > > > Sincerly yours. > > > > ???????????????????????????????????????????????? > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ???????????????????????????????????????????????? > > P "Please consider your environmental responsibility before printing > this e-mail" > > > _______________________________________________ > 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 > " ???????????????????????????????????????????????? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ???????????????????????????????????????????????? P "Please consider your environmental responsibility before printing this e-mail" From kurt.buff at gmail.com Tue Jul 1 18:15:16 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 18:15:20 2008 Subject: Configuring an older server for speed... In-Reply-To: <486A65D0.4090103@ibctech.ca> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> <4869BCB8.9060906@infracaninophile.co.uk> <486A65D0.4090103@ibctech.ca> Message-ID: On Tue, Jul 1, 2008 at 10:13 AM, Steve Bertrand wrote: > Matthew Seaman wrote: > >>> should we use 7 or think about going with 6.3? >>> >> >> I'd go with 7.x every time. It wipes the floor with 6.3 performance-wise >> and it is just as stable and bug-free as you'ld expect from FreeBSD. >> You've >> seen it works for you: there's no conceivable reason to downgrade. > > I agree with Matthew here. > > We have a few production 7 boxes now, some being re-deployed completely from > 4.x, and a couple that have come from 6.x. > > Although I don't have any documentation to show a performance increase, it > certainly hasn't gotten worse. (I went to 7 for testing for particular > reasons very early on). > > Any issues I've run into with 7 are just as prevalent in 6, so my vote would > be to follow the 7 train. (Note: the only issues that I have *personally* > run into so far are related to the 're' driver, which is out of context > here). > > IMHO, more eyes are on the 7 track, so if you have the choice to build a new > box, why 'downgrade' right off the bat (its not my intention to knock 6.x > BTW)? Eventually you will be forced to jump a major revision which in some > cases given user applications can be a bit of a headache. > > Stick with what is here and now, and leave 6.x as your upgrade path for your > current 6.x boxen until you can get those boxes upgraded too. > > BTW, to the OP.... I would suspect that your initial delay that causes the > 'Internet to be slow' is related to DNS somehow. Hit a webserver by its IP > and see if the problem goes away. > > Steve It's been suggested off-list that I put up a caching DNS server. I'm in the process of doing that. Initial page load delay, however, is a new phenomenon, cropping up after our move from the T1 to the DS3, so I was putting it down to increased use of cache - I'm certainly willing to be schooled on that, though. We'll see what happens with a caching DNS server. Thanks, Kurt From bcook at poughkeepsieschools.org Tue Jul 1 19:10:32 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Tue Jul 1 19:10:36 2008 Subject: OpenNTPd howto? In-Reply-To: <20080701132153.650e302a.wmoran@potentialtech.com> References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> <20080701132153.650e302a.wmoran@potentialtech.com> Message-ID: <5B002715-AE80-493E-8461-D027E1D77E98@poughkeepsieschools.org> On Jul 1, 2008, at 1:21 PM, Bill Moran wrote: > In response to B. Cook : > >> Hello All, >> >> Not sure what I am missing, but I am. >> >> so I put openntpd on a machine (10.20.0.16) >> >> cat ntpd.conf | egrep -v ^# >> >> listen on 0.0.0.0 >> server clock.nyc.he.net >> >> then start it and it looks like it does: >> >> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN >> ADDRESS >> _ntp ntpd 15751 4 udp4 10.20.0.16:55180 >> 209.51.161.238:123 >> _ntp ntpd 15751 6 udp4 *:123 *:* >> >> >> Strange thing one: >> >> root@core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net >> 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting >> >> root@core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop >> Stopping openntpd. >> >> root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net >> 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 >> offset 358.732506 sec >> >> Why when it was running did it not update the clock on the server? > > It was working on it. You should read up on NTP a bit so you > understand > how it works. NTP does not "set" the clock unless you explicitly tell > it to (I believe the -s switch in openntpd). Instead, it speeds up or > slows down the clock to bring it into adjustment, which prevents > software > from seeing a sudden and space-time fabric-ripping shift in time. > > If you let openntpd run for a while, possibly a few hours, you'd see > the > time come in to sync. > >> From a different computer I can not get the time from the server >> running openntpd. > > What error do you get? Run ntpdate -d on the other computer to see > _why_ > it's refusing to sync. I would guess it's because the OpenNTPd server > knows that it's not in sync yet, and thus refuses to sync other > machines. > > -- > Bill Moran > http://www.potentialtech.com Thanks for the clue to the answer. Here is the output: pmsbsdsrv# ntpdate -d 10.20.0.16 1 Jul 13:31:00 ntpdate[899]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) 10.20.0.16: Server dropped: strata too high server 10.20.0.16, port 123 stratum 16, precision -21, leap 11, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.00000 transmitted 4, in filter 4 reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 originate timestamp: cc14e855.037077ff Tue, Jul 1 2008 13:31:01.013 transmit timestamp: cc14e855.14ea3cc5 Tue, Jul 1 2008 13:31:01.081 filter delay: 0.02605 0.02600 0.02599 0.02599 0.00000 0.00000 0.00000 0.00000 filter offset: -0.06838 -0.06845 -0.06845 -0.06845 0.000000 0.000000 0.000000 0.000000 delay 0.02599, dispersion 0.00000 offset -0.068452 1 Jul 13:31:01 ntpdate[899]: no server suitable for synchronization found What I would like to have is a time server that works like how I think it works. this 10.20.0.16 machine was updated and rebooted, and I was installing two new machines today and saw it wasn't syncing.. Is there a way to make a time server serve the time of the local computer, and then every hour update the server from a time server? Or just serve the time as soon as the server is enabled? On the server I have done this: # 30 > /usr/local/sbin/ntpd -s -d -f /usr/local/etc/ntpd.conf listening on 10.20.0.16 ntp engine ready reply from 209.51.161.238: offset 0.005419 delay 0.016668, next query 6s reply from 209.51.161.238: offset 0.005236 delay 0.016233, next query 6s reply from 209.51.161.238: offset 0.005288 delay 0.015782, next query 9s peer 209.51.161.238 now valid reply from 209.51.161.238: offset 0.005271 delay 0.016006, next query 9s reply from 209.51.161.238: offset 0.005550 delay 0.015967, next query 7s reply from 209.51.161.238: offset 0.005616 delay 0.016308, next query 7s reply from 209.51.161.238: offset 0.005714 delay 0.015999, next query 30s reply from 209.51.161.238: offset 0.005995 delay 0.016138, next query 32s adjusting local clock by 0.005288s but the client still sees this: # ntpdate -d 10.20.0.16 1 Jul 15:09:14 ntpdate[1105]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) 10.20.0.16: Server dropped: Leap not in sync server 10.20.0.16, port 123 stratum 2, precision -21, leap 11, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.00000 transmitted 4, in filter 4 reference time: cc14feea.d26147ff Tue, Jul 1 2008 15:07:22.821 originate timestamp: cc14ff5a.7657d7ff Tue, Jul 1 2008 15:09:14.462 transmit timestamp: cc14ff5a.9fabbfcc Tue, Jul 1 2008 15:09:14.623 filter delay: 0.02602 0.02600 0.02599 0.02599 0.00000 0.00000 0.00000 0.00000 filter offset: -0.16169 -0.16162 -0.16163 -0.16162 0.000000 0.000000 0.000000 0.000000 delay 0.02599, dispersion 0.00000 offset -0.161631 1 Jul 15:09:14 ntpdate[1105]: no server suitable for synchronization found it looks different/closer.. but clients still can not sync to it.. suggestions? From bcook at poughkeepsieschools.org Tue Jul 1 19:19:25 2008 From: bcook at poughkeepsieschools.org (B. Cook) Date: Tue Jul 1 19:19:28 2008 Subject: OpenNTPd howto? [success] In-Reply-To: <486A6959.7090805@ibctech.ca> References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> <486A6959.7090805@ibctech.ca> Message-ID: <14C9AAF4-8356-4575-8435-443700C91CF1@poughkeepsieschools.org> I did sync finally.. root@core [/usr/local/man]# 30 > /usr/local/sbin/ntpd -s -d -f /usr/ local/etc/ntpd.conf listening on 10.20.0.16 listening on 10.20.0.29 ntp engine ready reply from 209.51.161.238: offset 0.005419 delay 0.016668, next query 6s reply from 209.51.161.238: offset 0.005236 delay 0.016233, next query 6s reply from 209.51.161.238: offset 0.005288 delay 0.015782, next query 9s peer 209.51.161.238 now valid reply from 209.51.161.238: offset 0.005271 delay 0.016006, next query 9s reply from 209.51.161.238: offset 0.005550 delay 0.015967, next query 7s reply from 209.51.161.238: offset 0.005616 delay 0.016308, next query 7s reply from 209.51.161.238: offset 0.005714 delay 0.015999, next query 30s reply from 209.51.161.238: offset 0.005995 delay 0.016138, next query 32s adjusting local clock by 0.005288s reply from 209.51.161.238: offset 0.001272 delay 0.016006, next query 301s reply from 209.51.161.238: offset 0.004713 delay 0.016379, next query 307s reply from 209.51.161.238: offset 0.008287 delay 0.016782, next query 307s adjusting local clock by 0.005550s clock is now synced # ntpdate -d 10.20.0.16 1 Jul 15:19:01 ntpdate[2017]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC 2008 (1) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) receive(10.20.0.16) transmit(10.20.0.16) server 10.20.0.16, port 123 stratum 2, precision -21, leap 00, trust 000 refid [10.20.0.16], delay 0.02599, dispersion 0.00000 transmitted 4, in filter 4 reference time: cc15016a.d35167ff Tue, Jul 1 2008 15:18:02.825 originate timestamp: cc1501a5.98b65fff Tue, Jul 1 2008 15:19:01.596 transmit timestamp: cc1501a5.98d9b8dd Tue, Jul 1 2008 15:19:01.597 filter delay: 0.02605 0.02599 0.02599 0.02599 0.00000 0.00000 0.00000 0.00000 filter offset: -0.00067 -0.00072 -0.00072 -0.00072 0.000000 0.000000 0.000000 0.000000 delay 0.02599, dispersion 0.00000 offset -0.000727 1 Jul 15:19:01 ntpdate[2017]: adjust time server 10.20.0.16 offset -0.000727 sec On Jul 1, 2008, at 1:28 PM, Steve Bertrand wrote: > B. Cook wrote: >> Hello All, > > Hey, > >> root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net >> 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 >> offset 358.732506 sec >> Why when it was running did it not update the clock on the server? > > My first guess, which is only a guess, is that your secure level is > too high for this to work. If your securelevel is set above zero, > then your clock can only be adjusted by a maximum of one second > (please correct me if this has changed since 4.x). > > Check the output of: > > sysctl -a kern.securelevel > >> Strange thing two: >> From a different computer I can not get the time from the server >> running openntpd. >> # ntpdate -b 10.20.0.16 >> 1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization >> found > > Have you confirmed that a clock server runs on that IP? Is the IP > reachable? > > If securelevel still has its place with affecting time changes, I'd > try 'breaking' that to see if the time will actually update. Note > that securelevel must be changed via a startup variable of some > sort, and a reboot is required. > > Then I would proceed to ensure that 10.20.0.16 is actually running a > timeserver that the network can reach. > > Steve -- B. Cook Network Analyst Poughkeepsie City School District Mobile: 845.264.5827 | Desk: 845.451.4791 From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 19:26:11 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 19:26:14 2008 Subject: Configuring an older server for speed... In-Reply-To: References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> Message-ID: <20080701212501.P3432@wojtek.tensor.gdynia.pl> > I'm hoping that 137gb striped across two RAID0 volumes should be > sufficient space for our needs, and also hoping that it will be faster > than individual drives. there is NO point to assume it will be faster than sum of speed of each drive, with program that already have logic to spread load across drives. squid do have From wmoran at potentialtech.com Tue Jul 1 19:26:39 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jul 1 19:26:45 2008 Subject: OpenNTPd howto? In-Reply-To: <5B002715-AE80-493E-8461-D027E1D77E98@poughkeepsieschools.org> References: <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org> <20080701132153.650e302a.wmoran@potentialtech.com> <5B002715-AE80-493E-8461-D027E1D77E98@poughkeepsieschools.org> Message-ID: <20080701152530.73e705cd.wmoran@potentialtech.com> In response to "B. Cook" : > > On Jul 1, 2008, at 1:21 PM, Bill Moran wrote: > > > In response to B. Cook : > > > >> Hello All, > >> > >> Not sure what I am missing, but I am. > >> > >> so I put openntpd on a machine (10.20.0.16) > >> > >> cat ntpd.conf | egrep -v ^# > >> > >> listen on 0.0.0.0 > >> server clock.nyc.he.net > >> > >> then start it and it looks like it does: > >> > >> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > >> ADDRESS > >> _ntp ntpd 15751 4 udp4 10.20.0.16:55180 > >> 209.51.161.238:123 > >> _ntp ntpd 15751 6 udp4 *:123 *:* > >> > >> > >> Strange thing one: > >> > >> root@core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net > >> 1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting > >> > >> root@core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop > >> Stopping openntpd. > >> > >> root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net > >> 1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238 > >> offset 358.732506 sec > >> > >> Why when it was running did it not update the clock on the server? > > > > It was working on it. You should read up on NTP a bit so you > > understand > > how it works. NTP does not "set" the clock unless you explicitly tell > > it to (I believe the -s switch in openntpd). Instead, it speeds up or > > slows down the clock to bring it into adjustment, which prevents > > software > > from seeing a sudden and space-time fabric-ripping shift in time. > > > > If you let openntpd run for a while, possibly a few hours, you'd see > > the > > time come in to sync. > > > >> From a different computer I can not get the time from the server > >> running openntpd. > > > > What error do you get? Run ntpdate -d on the other computer to see > > _why_ > > it's refusing to sync. I would guess it's because the OpenNTPd server > > knows that it's not in sync yet, and thus refuses to sync other > > machines. > > > > -- > > Bill Moran > > http://www.potentialtech.com > > Thanks for the clue to the answer. > > Here is the output: > > pmsbsdsrv# ntpdate -d 10.20.0.16 > 1 Jul 13:31:00 ntpdate[899]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 UTC > 2008 (1) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > 10.20.0.16: Server dropped: strata too high > server 10.20.0.16, port 123 > stratum 16, precision -21, leap 11, trust 000 > refid [10.20.0.16], delay 0.02599, dispersion 0.00000 > transmitted 4, in filter 4 > reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000 > originate timestamp: cc14e855.037077ff Tue, Jul 1 2008 13:31:01.013 > transmit timestamp: cc14e855.14ea3cc5 Tue, Jul 1 2008 13:31:01.081 > filter delay: 0.02605 0.02600 0.02599 0.02599 > 0.00000 0.00000 0.00000 0.00000 > filter offset: -0.06838 -0.06845 -0.06845 -0.06845 > 0.000000 0.000000 0.000000 0.000000 > delay 0.02599, dispersion 0.00000 > offset -0.068452 > > 1 Jul 13:31:01 ntpdate[899]: no server suitable for synchronization > found This is because the server is not in sync yet, therefore your client doesn't trust it. Notice the stratum is 16, which (I believe) is the highest possible. > What I would like to have is a time server that works like how I think > it works. this 10.20.0.16 machine was updated and rebooted, and I was > installing two new machines today and saw it wasn't syncing.. > > Is there a way to make a time server serve the time of the local > computer, and then every hour update the server from a time server? > Or just serve the time as soon as the server is enabled? Don't use NTP if that's what you require. Sounds like you want some sort of Windows software, but see below. > On the server I have done this: > > # 30 > /usr/local/sbin/ntpd -s -d -f /usr/local/etc/ntpd.conf > listening on 10.20.0.16 > ntp engine ready > reply from 209.51.161.238: offset 0.005419 delay 0.016668, next query 6s > reply from 209.51.161.238: offset 0.005236 delay 0.016233, next query 6s > reply from 209.51.161.238: offset 0.005288 delay 0.015782, next query 9s > peer 209.51.161.238 now valid > reply from 209.51.161.238: offset 0.005271 delay 0.016006, next query 9s > reply from 209.51.161.238: offset 0.005550 delay 0.015967, next query 7s > reply from 209.51.161.238: offset 0.005616 delay 0.016308, next query 7s > reply from 209.51.161.238: offset 0.005714 delay 0.015999, next query > 30s > reply from 209.51.161.238: offset 0.005995 delay 0.016138, next query > 32s > adjusting local clock by 0.005288s > > but the client still sees this: > > # ntpdate -d 10.20.0.16 > 1 Jul 15:09:14 ntpdate[1105]: ntpdate 4.2.0-a Sun Feb 24 16:32:49 > UTC 2008 (1) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > receive(10.20.0.16) > transmit(10.20.0.16) > 10.20.0.16: Server dropped: Leap not in sync > server 10.20.0.16, port 123 > stratum 2, precision -21, leap 11, trust 000 > refid [10.20.0.16], delay 0.02599, dispersion 0.00000 > transmitted 4, in filter 4 > reference time: cc14feea.d26147ff Tue, Jul 1 2008 15:07:22.821 > originate timestamp: cc14ff5a.7657d7ff Tue, Jul 1 2008 15:09:14.462 > transmit timestamp: cc14ff5a.9fabbfcc Tue, Jul 1 2008 15:09:14.623 > filter delay: 0.02602 0.02600 0.02599 0.02599 > 0.00000 0.00000 0.00000 0.00000 > filter offset: -0.16169 -0.16162 -0.16163 -0.16162 > 0.000000 0.000000 0.000000 0.000000 > delay 0.02599, dispersion 0.00000 > offset -0.161631 > > 1 Jul 15:09:14 ntpdate[1105]: no server suitable for synchronization > found > > it looks different/closer.. but clients still can not sync to it.. The server is still not confident that it's synchronized yet. Again, I recommend you take a bit of time to read up on NTP and it's design. NTP specifically does NOT make any quick or drastic decisions. If you just started OpenNTPd, it's not going to be confident in its own time sync, and therefore clients won't trust it. Give OpenNTPd some time to settle (perhaps a few hours, although 10 - 15 minutes seems to be enough in my experience) and it will consider itself reliable and other client's will use it. -- Bill Moran http://www.potentialtech.com From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 19:27:42 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 19:27:47 2008 Subject: Configuring an older server for speed... In-Reply-To: References: Message-ID: <20080701212613.X3432@wojtek.tensor.gdynia.pl> >> As a benchmark, there are about 230 people in my site who will be it's strange. my squid supports 300 users, with just 3 partitions on 3 drives (and other part of drives used for other things). and it EASILY do this. > > To further extend the question - what about things like mounting the > RAID0 noatime, or other speed-enhancing settings? I've been reading noatime and soft dependencies. From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 19:29:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 19:29:09 2008 Subject: Configuring an older server for speed... In-Reply-To: References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> <4869BCB8.9060906@infracaninophile.co.uk> <486A65D0.4090103@ibctech.ca> Message-ID: <20080701212737.R3432@wojtek.tensor.gdynia.pl> >> Steve > > It's been suggested off-list that I put up a caching DNS server. I'm > in the process of doing that. Initial page load delay, however, is a > new phenomenon, cropping up after our move from the T1 to the DS3, so > I was putting it down to increased use of cache - I'm certainly > willing to be schooled on that, though. We'll see what happens with a > caching DNS server. it's strange at least you haven't it already for a long time. no matter you use squid or not. it takes 5 minutes to set up, and saves a bit of bandwidth and a lot of time on resolving hostnames From kurt.buff at gmail.com Tue Jul 1 19:58:11 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 1 19:58:15 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080701212737.R3432@wojtek.tensor.gdynia.pl> References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> <4869BCB8.9060906@infracaninophile.co.uk> <486A65D0.4090103@ibctech.ca> <20080701212737.R3432@wojtek.tensor.gdynia.pl> Message-ID: On Tue, Jul 1, 2008 at 12:28 PM, Wojciech Puchar wrote: >>> Steve >> >> It's been suggested off-list that I put up a caching DNS server. I'm >> in the process of doing that. Initial page load delay, however, is a >> new phenomenon, cropping up after our move from the T1 to the DS3, so >> I was putting it down to increased use of cache - I'm certainly >> willing to be schooled on that, though. We'll see what happens with a >> caching DNS server. > > it's strange at least you haven't it already for a long time. no matter you > use squid or not. it takes 5 minutes to set up, and saves a bit of bandwidth > and a lot of time on resolving hostnames I just looked at my configuration - looks like I had it going at one point, but disabled it, and I can't remember why. This may be the issue. Kurt From wojtek at wojtek.tensor.gdynia.pl Tue Jul 1 20:19:22 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Jul 1 20:19:25 2008 Subject: Configuring an older server for speed... In-Reply-To: References: <48698AB9.7070802@cwis.biz> <20080630190821.1e0cc713@gom.home> <20080630231705.02193cae@verizon.net> <20080630203436.1cc7505d@gom.home> <4869BCB8.9060906@infracaninophile.co.uk> <486A65D0.4090103@ibctech.ca> <20080701212737.R3432@wojtek.tensor.gdynia.pl> Message-ID: <20080701221830.O3763@wojtek.tensor.gdynia.pl> >> it's strange at least you haven't it already for a long time. no matter you >> use squid or not. it takes 5 minutes to set up, and saves a bit of bandwidth >> and a lot of time on resolving hostnames > > I just looked at my configuration - looks like I had it going at one > point, but disabled it, and I can't remember why. This may be the > issue. only extra delays for DNS query and little more bandwidth used. From cwhiteh at onetel.com Tue Jul 1 20:59:53 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Tue Jul 1 20:59:57 2008 Subject: PPS and thunderbird In-Reply-To: <44y74ltye7.fsf@be-well.ilk.org> References: <4867C63F.30207@gmail.com> <44y74ltye7.fsf@be-well.ilk.org> Message-ID: <486A9AC3.5020308@onetel.com> Lowell Gilbert wrote: > S?bastien Morand writes: > >> I'm using thunderbird to read my mail and I'm not able to open >> directly the attachments ".pps". Actually I get a lot of file like >> this for my work, and it's quite boring to have to save them in a >> directory and then read them with openoffice. >> >> When I try to read them zith tunderbird, the mime type is not >> recognized, this is an "unknown" type and the application proposed is >> mplayer (don't ask why...). >> >> Then i could choose the right application and open it, but the button >> remember the choice is not available, so I have to choose manually the >> program evertytime, this is also quite boring. >> >> So my questions are: >> Why pps file are not recognized as powerpoint file? >> Why am I not able to keep remember the choice to open .pps file with openoffice? > > I don't have a recent copy of Thunderbird at hand to check with, but > I remember Thunderbird having a configuration screen for "Attachments" > which (among other things) let you configure an "action" for different > file types. It probably depends on MIME types rather than file > extensions, though, so if you are getting these ".pps" files with the > wrong MIME type, you have a different problem. > In Thunderbird 2.0.0.14 Edit/Preferences/Attachments/View & Edit Actions to see a list of filetypes. But until you download a file of a particular type it won't appear in the list. I think when you download a filetype for the first time you get a dialogue box asking what to do and if this action should be used in future. Chris From freebsd-questions at slightlystrange.org Tue Jul 1 20:59:58 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Tue Jul 1 21:00:02 2008 Subject: PAE support using freebsd-update procedure In-Reply-To: References: <644BFB4B-2E15-4C90-BB7B-E0FA7653C5A3@todoo.biz> Message-ID: <20080701205949.GA3911@torus.slightlystrange.org> On Tue, Jul 01, 2008 at 07:39:12PM +0200, bsd wrote: > --->> Wouldn't It be better to run amd64 instead of i386? > > I have seen that this will allow to take full capacity of the memory - > on the other hand there seems to have restriction on the ports > Can anyone let me know if these restrictions will apply to: > > - postfix > - postgreSQL > - amavisd-new > - dovecot I think all of those will work just fine. You can check by inspecting the respective ports' Makefiles. If a port won't build on a particular platform, the Makefile will have that knowledge - there will be a flag called ONLY_FOR_ARCHS whose value will be set to a list of the platforms the port works on. lang/ezm3 is a good illustrative example: ONLY_FOR_ARCHS= alpha amd64 i386 sparc64 If you try to build the port on an unsupported platform, you'll get an error message and the build will halt. I don't use FreeBSD/AMD64, but I would think by now that most ports will work on it, particularly the type of things you mention above. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/3f2e3ad7/attachment-0001.pgp From kline at thought.org Tue Jul 1 21:27:13 2008 From: kline at thought.org (Gary Kline) Date: Tue Jul 1 21:27:17 2008 Subject: Let me re-phrase this: [was:Re: which font previewer?] In-Reply-To: <20080701011041.GA43264@thought.org> References: <20080701011041.GA43264@thought.org> Message-ID: <20080701212708.GA16233@thought.org> On Mon, Jun 30, 2008 at 06:10:46PM -0700, Gary Kline wrote: > > Now that I'm learning to use the GIMP > --*thanks* to the patient and thouhtful -questions members who have help > me with Layers--now i need to find which typeface(s) looks best. > > i'd be much obliged for the top couple font viewer a apps so i > can compare the bunches [scores] of fonts I've collected? > i've spent hours looking around (both in ports and via Google) and haven't found a font viewer that will let me preview all the fonts i've collected. some are ghostscriptt, others are ttf; others are labeled "system fonts" and the others don't show up on the utilities i *have* found. is there a viewer out ther that will display all fonts? thnks in advance, gary > > -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From jnatola at familycareintl.org Tue Jul 1 21:43:44 2008 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Tue Jul 1 21:43:48 2008 Subject: Data recovery Message-ID: <3A85D7EF44E1C744BF6434691F5659E9703529@www.fcimail.org> Hi all, I'm throwing this out to this list because our SNAP drive has a *nix kernel- One of the folders mysteriously lost a large portion of its data today, I immediately powered down the unit as to prevent further writing to the disks (raid 5)- Is there any tool or utlity you can recommend to try to get this data back? If memory server *nix does not erase the data , it merely marks as empty space that can be written to , I think I remember that from school Any and all help is GREATLY appreciated thanks jp From keramida at ceid.upatras.gr Tue Jul 1 21:44:57 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Jul 1 21:45:03 2008 Subject: Let me re-phrase this: In-Reply-To: <20080701212708.GA16233@thought.org> (Gary Kline's message of "Tue, 1 Jul 2008 14:27:08 -0700") References: <20080701011041.GA43264@thought.org> <20080701212708.GA16233@thought.org> Message-ID: <87myl19t4k.fsf@kobe.laptop> On Tue, 1 Jul 2008 14:27:08 -0700, Gary Kline wrote: > I've spent hours looking around (both in ports and via Google) and > haven't found a font viewer that will let me preview all the fonts > I've collected. Some are ghostscriptt, others are ttf; others are > labeled "system fonts" and the others don't show up on the utilities I > *have* found. Is there a viewer out ther that will display all fonts? No, not really. There are far too many font formats and locations to look for. A few of the things that may affect the places and formats the `font viewer' would have to check are: * Do you have PostScript fonts? * Do you have TrueType fonts? * Do you have a TeX installation? + Does it support OpenType or TrueType fonts? + Do you have bitmap TeX font collections? + What resolution do these bitmap fonts use? * Do you have bitmap X11 fonts? * etc. From pprocacci at datapipe.com Tue Jul 1 22:27:22 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Tue Jul 1 22:27:26 2008 Subject: Data recovery In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9703529@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9703529@www.fcimail.org> Message-ID: <486AAF35.6000903@datapipe.com> Jean-Paul Natola wrote: > Hi all, > > I'm throwing this out to this list because our SNAP drive has a *nix kernel- > One of the folders mysteriously lost a large portion of its data today, > > I immediately powered down the unit as to prevent further writing to the > disks (raid 5)- > > Is there any tool or utlity you can recommend to try to get this data back? > > If memory server *nix does not erase the data , it merely marks as empty > space that can be written to , I think I remember that from school > > Any and all help is GREATLY appreciated > > > thanks > > > > > > > jp > _______________________________________________ > 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" > fsdb might be what your looking for, though I can't be certain as this has never happened to me. ~Paul From rsmith at xs4all.nl Tue Jul 1 22:52:32 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Jul 1 22:52:37 2008 Subject: Data recovery In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9703529@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9703529@www.fcimail.org> Message-ID: <20080701225213.GA12477@slackbox.xs4all.nl> On Tue, Jul 01, 2008 at 05:27:41PM -0400, Jean-Paul Natola wrote: > Hi all, > > I'm throwing this out to this list because our SNAP drive has a *nix kernel- > One of the folders mysteriously lost a large portion of its data today, Oops. Am I correct in assuming that you have a NetApp appliance that is managed with SnapDrive? Are there any indications of hardware failure? > I immediately powered down the unit as to prevent further writing to the > disks (raid 5)- That is probably wise. > Is there any tool or utlity you can recommend to try to get this data back? It would probably be best to use the tools that come with the SnapDrive software. According to the manufacturer's website it can e.g. do automated backups and restores. First check if the storage appliance is working as it should, and have it repaired if necessary. If it is a NetApp appliance, you'll have to talk to the NetApp people, because they use a heavily modified FreeBSD. If the hardware is OK, restore the data from backup. You do have backups, right? > If memory server *nix does not erase the data , it merely marks as empty > space that can be written to , I think I remember that from school Yes. But that doesn't necessarily make piecing the data back together easy! Restoring from backup is easier. If that isn't an option, use dd(1) to make an exact copy of the partition, save that to another machine and start piecing your data back together. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/3ce86c79/attachment.pgp From kline at thought.org Tue Jul 1 23:02:11 2008 From: kline at thought.org (Gary Kline) Date: Tue Jul 1 23:02:15 2008 Subject: Let me re-phrase this: In-Reply-To: <87myl19t4k.fsf@kobe.laptop> References: <20080701011041.GA43264@thought.org> <20080701212708.GA16233@thought.org> <87myl19t4k.fsf@kobe.laptop> Message-ID: <20080701230159.GA19052@thought.org> On Wed, Jul 02, 2008 at 12:44:43AM +0300, Giorgos Keramidas wrote: > On Tue, 1 Jul 2008 14:27:08 -0700, Gary Kline wrote: > > I've spent hours looking around (both in ports and via Google) and > > haven't found a font viewer that will let me preview all the fonts > > I've collected. Some are ghostscriptt, others are ttf; others are > > labeled "system fonts" and the others don't show up on the utilities I > > *have* found. Is there a viewer out ther that will display all fonts? > > No, not really. > > There are far too many font formats and locations to look for. A few of > the things that may affect the places and formats the `font viewer' > would have to check are: > > * Do you have PostScript fonts? > > * Do you have TrueType fonts? > > * Do you have a TeX installation? > > + Does it support OpenType or TrueType fonts? I've got PS, TT, and TeX; never heard of OT. > > + Do you have bitmap TeX font collections? > > + What resolution do these bitmap fonts use? > > * Do you have bitmap X11 fonts? > And dont-knows to the last three. At least I'm beginning to understand some of the issues, thanks Giorgos. --Another point-of-interest is when I tried to creat a blue italix font from the New Century SchoolBook class. GIMP couldn't do it at 98pt; it was probably the default of 18pt/px. Back to the drawing/image widget. gary > * etc. > -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From ryan.coleman at cwis.biz Tue Jul 1 23:05:34 2008 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Tue Jul 1 23:05:39 2008 Subject: Let me re-phrase this: In-Reply-To: <20080701230159.GA19052@thought.org> References: <20080701011041.GA43264@thought.org> <20080701212708.GA16233@thought.org> <87myl19t4k.fsf@kobe.laptop> <20080701230159.GA19052@thought.org> Message-ID: <486AB83B.4030609@cwis.biz> Gary Kline wrote: > On Wed, Jul 02, 2008 at 12:44:43AM +0300, Giorgos Keramidas wrote: > > I've got PS, TT, and TeX; never heard of OT. > OT = OpenType. From perrin at apotheon.com Tue Jul 1 23:17:12 2008 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jul 1 23:17:17 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90807010945j5da0fa99j4520d7f962b76fe5@mail.gmail.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> <20080701050444.GA2142@kokopelli.hydra> <539c60b90807010945j5da0fa99j4520d7f962b76fe5@mail.gmail.com> Message-ID: <20080701231152.GA72286@kokopelli.hydra> On Tue, Jul 01, 2008 at 09:45:19AM -0700, Steve Franks wrote: > > Actually . . . if things get that bad, you're going to need some > > firepower to protect your garden (and everything else you don't want > > taken from you by force). To properly protect a garden, you'd need to > > make it a community farm, with community members who have and will use > > firearms to protect it (and your Wikipedia mirror). > > And where better to get knowledge on constructing firepower (and > gardening for that matter) than wikipedia ;) All part of my > integrated plan...did I mention we are going to occupy our local > library as well? No, you didn't, but that sounds like an excellent idea. How zombie-defensible is it? -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] "Blind faith is an ironic gift to return to the Creator of human intelligence." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080701/8cc3aa98/attachment.pgp From gary at pattersonsoftware.com Wed Jul 2 00:57:27 2008 From: gary at pattersonsoftware.com (Gary Newcombe) Date: Wed Jul 2 00:57:32 2008 Subject: freebsd-update & linker.hints Message-ID: <20080702104127.516a02ca.gary@pattersonsoftware.com> Hi all, I'm having a problem updating my freebsd 7 amd64 box. After a recent freebsd-update, the kernel and linker.hints were updated. However with subsequent freebsd-updates, it reports that linker.hints still needs to be updated. I can (re)install but always the same. The linker.hints timestamp is being updated and the md5 isn't changed after reboot, so why this? I have tried removing /var/db/freebsd-update and rebuilding with no success. Btw, my freebsd 7 i386 box updated in one go with no problems. Anyone else seen this? FreeBSD fac51.pattersonsoftware.com 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 06:48:16 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Cheers, Gary. From chip at wiegand.org Wed Jul 2 01:58:56 2008 From: chip at wiegand.org (chip) Date: Wed Jul 2 01:59:01 2008 Subject: XFCE Themes don't work Message-ID: <486AE17E.6070203@wiegand.org> I am using FreeBSD 7.0 Release and XFCE4. I have downloaded and extracted some themes into /usr/local/share/themes/ and reset the permissions to 777, they do not appear on the themes list in the Settings control panel. I also copied them into ~./themes, reset the permissions and they still do not appear on the list. I do have the gtk-xfce-engine-2.4.2_1 installed. What do I have to do to get these themes to appear on the themes list? From ml at t-b-o-h.net Wed Jul 2 02:24:11 2008 From: ml at t-b-o-h.net (Tuc at T-B-O-H.NET) Date: Wed Jul 2 02:24:39 2008 Subject: [freebsd-questions] Re: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90807010945j5da0fa99j4520d7f962b76fe5@mail.gmail.com> Message-ID: <200807020221.m622LMhK003621@himinbjorg.tucs-beachin-obx-house.com> > > > Actually . . . if things get that bad, you're going to need some > > firepower to protect your garden (and everything else you don't want > > taken from you by force). To properly protect a garden, you'd need to > > make it a community farm, with community members who have and will use > > firearms to protect it (and your Wikipedia mirror). > > And where better to get knowledge on constructing firepower (and > gardening for that matter) than wikipedia ;) All part of my > integrated plan...did I mention we are going to occupy our local > library as well? > Guys, you seem to be jumping the gun a bit. Theres plenty of time until 03:14:07 UTC on Tuesday, January 19, 2038. (http://en.wikipedia.org/wiki/Year_2038_problem) Tuc From kalin at el.net Wed Jul 2 04:32:20 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 04:32:28 2008 Subject: httpd php dump Message-ID: <486B04D2.8050700@el.net> ok... what to do? freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2) if the line: LoadModule php5_module modules/libphp5.so is in the httpd.conf httpd dumps core. no matter which version of php. php was configured with just this : ./configure --with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs here is some relevant information: # gdb /etc/httpd/bin/httpd httpd.core 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 "amd64-marcel-freebsd"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done. Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3 Reading symbols from /etc/httpd/lib/libexpat.so.1...done. Loaded symbols for /etc/httpd/lib/libexpat.so.1 Reading symbols from /etc/httpd/lib/libapr-1.so.3...done. Loaded symbols for /etc/httpd/lib/libapr-1.so.3 Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /etc/httpd/modules/libphp5.so...done. Loaded symbols for /etc/httpd/modules/libphp5.so Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done. Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000008004a8060 in ?? () [New Thread 0x801101120 (LWP 100329)] (gdb) # httpd -l Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_include.c mod_filter.c mod_log_config.c mod_env.c mod_headers.c mod_unique_id.c mod_setenvif.c mod_ssl.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c so... yea.... what to do? ?!? thanks... From vas at mpeks.tomsk.su Wed Jul 2 04:50:23 2008 From: vas at mpeks.tomsk.su (Victor Sudakov) Date: Wed Jul 2 04:50:29 2008 Subject: Using freebsd-update after upgrading from source In-Reply-To: <20080701055750.GA66331@admin.sibptus.tomsk.ru> References: <20080630080600.GA37177@admin.sibptus.tomsk.ru> <4868CD28.3080508@gmail.com> <20080701055750.GA66331@admin.sibptus.tomsk.ru> Message-ID: <20080702044617.GB97106@admin.sibptus.tomsk.ru> Victor Sudakov wrote: > > > > > >I have been updating 6.2-RELEASE with freebsd-update. Recently I > > >upgraded it to RELENG_6_3 from source. Can I continue using > > >freebsd-update or must I upgrade only from source from now on? > > > > > > > > > > I don't see why not. > > I was wondering if freebsd-update will break if my binaries happen to > be different from those in the official release. I conducted another experiment: cp /bin/ls /usr/lib/libssh.so.2 apply freebsd-update fetch install And freebsd-update did replace the bogus /usr/lib/libssh.so.2. So I can conclude that it WILL replace modified files (unless they are listed in UpdateIfUnmodified). I have not yet understood freebsd-update.sh well enough to figure out how it finds modified files. However, it seems safe to be used after a buildworld. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From kalin at el.net Wed Jul 2 05:19:05 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 05:19:08 2008 Subject: httpd php dump In-Reply-To: <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> Message-ID: <486B0FC4.3090805@el.net> there is no extensions.ini anywhere on this machine... a brand new one. httpd/logs/error_log has 6 lines in it. something about session cash (SSL) not configured... httpd runs fine without loading the php module.... Odhiambo Washington wrote: > Normally caused by one of the php extensions modules if you installed > them, which I believe you did. Take a look at > /usr/local/etc/php/extensions.ini and try commenting the modules one > by one and restarting apache until you find the culprit. Also look at > httpd-error.log for clues. > > ./Wash > > > > On 7/2/08, kalin m wrote: > >> ok... >> >> what to do? >> >> freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2) >> >> >> if the line: >> LoadModule php5_module modules/libphp5.so >> >> is in the httpd.conf httpd dumps core. no matter which version of php. >> >> php was configured with just this : ./configure >> --with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs >> >> here is some relevant information: >> >> # gdb /etc/httpd/bin/httpd httpd.core >> 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 "amd64-marcel-freebsd"... >> Core was generated by `httpd'. >> Program terminated with signal 11, Segmentation fault. >> Reading symbols from /lib/libm.so.5...done. >> Loaded symbols for /lib/libm.so.5 >> Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done. >> Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3 >> Reading symbols from /etc/httpd/lib/libexpat.so.1...done. >> Loaded symbols for /etc/httpd/lib/libexpat.so.1 >> Reading symbols from /etc/httpd/lib/libapr-1.so.3...done. >> Loaded symbols for /etc/httpd/lib/libapr-1.so.3 >> Reading symbols from /lib/libcrypt.so.4...done. >> Loaded symbols for /lib/libcrypt.so.4 >> Reading symbols from /lib/libthr.so.3...done. >> Loaded symbols for /lib/libthr.so.3 >> Reading symbols from /lib/libc.so.7...done. >> Loaded symbols for /lib/libc.so.7 >> Reading symbols from /etc/httpd/modules/libphp5.so...done. >> Loaded symbols for /etc/httpd/modules/libphp5.so >> Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done. >> Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15 >> Reading symbols from /usr/local/lib/libxml2.so.5...done. >> Loaded symbols for /usr/local/lib/libxml2.so.5 >> Reading symbols from /usr/local/lib/libiconv.so.3...done. >> Loaded symbols for /usr/local/lib/libiconv.so.3 >> Reading symbols from /lib/libz.so.4...done. >> Loaded symbols for /lib/libz.so.4 >> Reading symbols from /libexec/ld-elf.so.1...done. >> Loaded symbols for /libexec/ld-elf.so.1 >> #0 0x00000008004a8060 in ?? () >> [New Thread 0x801101120 (LWP 100329)] >> (gdb) >> >> >> # httpd -l >> Compiled in modules: >> core.c >> mod_authn_file.c >> mod_authn_default.c >> mod_authz_host.c >> mod_authz_groupfile.c >> mod_authz_user.c >> mod_authz_default.c >> mod_auth_basic.c >> mod_include.c >> mod_filter.c >> mod_log_config.c >> mod_env.c >> mod_headers.c >> mod_unique_id.c >> mod_setenvif.c >> mod_ssl.c >> prefork.c >> http_core.c >> mod_mime.c >> mod_status.c >> mod_autoindex.c >> mod_asis.c >> mod_cgi.c >> mod_negotiation.c >> mod_dir.c >> mod_actions.c >> mod_userdir.c >> mod_alias.c >> mod_rewrite.c >> mod_so.c >> >> >> so... yea.... what to do? ?!? >> >> thanks... >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > > From kurt.buff at gmail.com Wed Jul 2 05:36:23 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Wed Jul 2 05:36:27 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <48694CFB.1030004@pixelhammer.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> Message-ID: On Mon, Jun 30, 2008 at 2:15 PM, DAve wrote: > Steve Franks wrote: >> >> So call me a sociopath, but times are a bit scary. I'd like to do the >> 2000's equivalent of the 1960's bomb shelter, and have my very own >> snapshot in case of major local/regional internet disruption, etc. >> >> What would be the best way to go about this. I see with <1T words, it >> appears doable on current technology. Maybe they should offer a >> snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort >> of officially licenced copy, I suspect there are other freaks that >> would too... > > When the world gets that bad, Wikipedia is the least of my concerns, > slightly ahead of who is winning American Idol. If it comes to the point the > internet goes down for a long period of time, that $300 is better spent on a > garden. > > Just my thoughts. > > DAve We're advising our clients to stock up on canned goods and shotguns - Brain Gremlin From z.szalbot at lc-words.com Wed Jul 2 06:22:07 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Wed Jul 2 06:22:11 2008 Subject: upgrading portupgrade Message-ID: <486B1E87.2050700@lc-words.com> Hi there, In order to upgrade portupgrade, is it enough to run make, make install && make clean? I am not familiar with make but something tells me I won't be able to upgrade portupgrade by means of portupgrade ;) Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/dfde439d/smime.bin From kalin at el.net Wed Jul 2 06:30:45 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 06:30:50 2008 Subject: httpd php dump In-Reply-To: <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> Message-ID: <486B2091.1060909@el.net> sure. ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id like i said there is pretty much nothing in the error log for httpd. it's a brand new install. here is the whole file: [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not exist: /usr/web/favicon.ico [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down ~ (just changed my ip there) i suspect the apache so module...... but not really sure.... executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together..... that's why core dump without any messages is a bit weired..... Odhiambo Washington wrote: > On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: > >> there is no extensions.ini anywhere on this machine... a brand new one. >> httpd/logs/error_log has 6 lines in it. something about session cash (SSL) >> not configured... >> >> httpd runs fine without loading the php module.... >> > > Would you like to provide details on how you compiled your apache > then? Did you use the ports to install? > What options did you compile with? > What is this that you have in the error_log that you don't want to reveal? > > > From frase at frase.id.au Wed Jul 2 06:39:43 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Wed Jul 2 06:39:47 2008 Subject: upgrading portupgrade In-Reply-To: <486B1E87.2050700@lc-words.com> References: <486B1E87.2050700@lc-words.com> Message-ID: <20080702063937.GA40592@bacardi> On Wed, Jul 02, 2008 at 08:21:59AM +0200, Zbigniew Szalbot wrote: > Hi there, > > In order to upgrade portupgrade, is it enough to run make, make install > && make clean? > > I am not familiar with make but something tells me I won't be able to > upgrade portupgrade by means of portupgrade ;) > > Thanks! > > -- > Zbigniew Szalbot > www.LCWords.com Upgrading portupgrade via portupgrade has always worked for me. If you're paranoid though, you can always do: cd /usr/ports/ports-mgmt/portupgrade make && make deinstall && make reinstall ...which is the essence of what portupgrade does anyway, minus all the extra stuff ;) frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/87dcb499/attachment.pgp From z.szalbot at lc-words.com Wed Jul 2 06:42:45 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Wed Jul 2 06:42:50 2008 Subject: upgrading portupgrade In-Reply-To: <20080702063937.GA40592@bacardi> References: <486B1E87.2050700@lc-words.com> <20080702063937.GA40592@bacardi> Message-ID: <486B235F.4020601@lc-words.com> Hi there, >> I am not familiar with make but something tells me I won't be able to >> upgrade portupgrade by means of portupgrade ;) > Upgrading portupgrade via portupgrade has always worked for me. Thanks a lot! I should have tried it before writing to the list. It worked very well indeed! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/3594c8f5/smime.bin From Kevin at RawFedDogs.net Wed Jul 2 07:31:18 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Jul 2 07:31:22 2008 Subject: upgrading portupgrade In-Reply-To: <486B1E87.2050700@lc-words.com> References: <486B1E87.2050700@lc-words.com> Message-ID: Zbigniew, On Wed, 2 Jul 2008, Zbigniew Szalbot wrote: > In order to upgrade portupgrade, is it enough to run make, make install && > make clean? If you already have portupgrade installed and tried the above technique I think you'd get an error at the end of make install saying the port is already installed. You'd need to use either make reinstall or make deinstall followed by make reinstall. I've been using portupgrade so long I forget which. > I am not familiar with make but something tells me I won't be able to upgrade > portupgrade by means of portupgrade ;) I've never had any trouble upgrading portupgrade via portupgrade. Boy, that's almost a tongue twister. :-) If there's a change to portupgrade that would require a special upgrade procedure, it will be noted in /usr/ports/UPDATING. Earlier today I switched my home PC from portupgrade to portupgrade-devel to try out some new features just added to the devel version. All that was involved was: portupgrade -fo ports-mgmt/portupgrade-devel portupgrade Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From ronggui.huang at gmail.com Wed Jul 2 07:38:43 2008 From: ronggui.huang at gmail.com (ronggui) Date: Wed Jul 2 07:38:46 2008 Subject: Execute the command when login Message-ID: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> I would like to execute "xmodmap ~/.xmodmaprc" whenever login or start the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but it doesn't take effects. What should I do? Thanks. -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. From tl32 at next.online.no Wed Jul 2 07:58:24 2008 From: tl32 at next.online.no (Tore Lund) Date: Wed Jul 2 07:58:29 2008 Subject: Execute the command when login In-Reply-To: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> Message-ID: <486B3509.9090605@next.online.no> ronggui wrote: > I would like to execute "xmodmap ~/.xmodmaprc" whenever login or start > the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but > it doesn't take effects. > > What should I do? Thanks. How do you start X? That command should normally be in ~/.xsession or ~/.xinitrc, all depending. Personally I put the xmodmap command in ~/.xinitrc, and my ~/.xsession is a symlink to ~/.xinitrc. That way, xmodmap will be executed whether I start X from the command line or use xdm. -- Tore From matthias.apitz at oclc.org Wed Jul 2 08:00:20 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Wed Jul 2 08:00:31 2008 Subject: Execute the command when login In-Reply-To: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> Message-ID: <20080702080013.GA2989@rebelion.Sisis.de> El d?a Wednesday, July 02, 2008 a las 03:11:45PM +0800, ronggui escribi?: > I would like to execute "xmodmap ~/.xmodmaprc" whenever login or start > the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but > it doesn't take effects. > > What should I do? Thanks. You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde and in xmodmap.sh you must take care that you set the $DISPLAY accordingly, for example as 'setenv DISPLAY :0.0' and make sure that you let first come up the Xorg and the desktop too, before launching the xmodmap commands; if you use KDE as desktop, like I do, it is more simple to just put your script into the ~/.kde/Autostart/ directory; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ?...una sola vez, que es cuanto basta si se trata de verdades definitivas.? ?...only once, which is enough if it has todo with definite truth.? Jos? Saramago, Historia del Cerca de Lisboa From nicolas at nicoelro.net Wed Jul 2 08:46:01 2008 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Wed Jul 2 08:46:04 2008 Subject: mysql log and newsyslog Message-ID: <20080702104554.6b1ebb45@nogrod.nicoelro.net> Hello. I have a problem with mysql logs and newsyslog. I archive mysql log with this in my my.cnf: log=/var/log/mysql My log works fine. However, when newsylog archives the log and create a new log file, mysql doesn't log anymore anything. See my newsyslog.conf: /var/log/mysql mysql:wheel 640 100 * @T23 Z And after 23:00: -rw-r----- 1 mysql wheel 62 1 jul 23:00 mysql -rw-r----- 1 mysql wheel 213993 1 jul 23:00 mysql.0.gz The old log is archived, the new is created, but mysql doestn't log anymore anything. Any idea to solve this problem? Thanks! -- - Nicolas. From robby at grab.co.za Wed Jul 2 09:08:08 2008 From: robby at grab.co.za (Robby Balona) Date: Wed Jul 2 09:08:12 2008 Subject: eee pc asus In-Reply-To: <20080702080013.GA2989@rebelion.Sisis.de> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> Message-ID: <486B3F40.1060808@grab.co.za> Hi Guys Anyone had any luck running freebsd on asus eee pc. I have tried and got it running without the network cause dont think i have enough knowledge to create wifi/nic from the Athos driver. Any Idea's Regards Robby From matthias.apitz at oclc.org Wed Jul 2 09:13:16 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Wed Jul 2 09:13:20 2008 Subject: eee pc asus In-Reply-To: <486B3F40.1060808@grab.co.za> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <486B3F40.1060808@grab.co.za> Message-ID: <20080702091311.GB4537@rebelion.Sisis.de> El d?a Wednesday, July 02, 2008 a las 10:41:36AM +0200, Robby Balona escribi?: > Hi Guys > > > Anyone had any luck running freebsd on asus eee pc. I have tried and got > it running without the network cause dont think i have enough knowledge > to create wifi/nic from the Athos driver. > > Any Idea's See: http://wiki.freebsd.org/AsusEee and my installation guide http://www.unixarea.de/installEeePC.txt matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ?...una sola vez, que es cuanto basta si se trata de verdades definitivas.? ?...only once, which is enough if it has todo with definite truth.? Jos? Saramago, Historia del Cerca de Lisboa From robby at grab.co.za Wed Jul 2 09:31:15 2008 From: robby at grab.co.za (Robby Balona) Date: Wed Jul 2 09:31:21 2008 Subject: eee pc asus In-Reply-To: <20080702091311.GB4537@rebelion.Sisis.de> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <486B3F40.1060808@grab.co.za> <20080702091311.GB4537@rebelion.Sisis.de> Message-ID: <486B4AED.6040404@grab.co.za> cool thanks!!! Matthias Apitz wrote: > El d?a Wednesday, July 02, 2008 a las 10:41:36AM +0200, Robby Balona escribi?: > > >> Hi Guys >> >> >> Anyone had any luck running freebsd on asus eee pc. I have tried and got >> it running without the network cause dont think i have enough knowledge >> to create wifi/nic from the Athos driver. >> >> Any Idea's >> > > See: > http://wiki.freebsd.org/AsusEee > and my installation guide > http://www.unixarea.de/installEeePC.txt > > matthias > From jeff at jeffawaddell.com Wed Jul 2 11:32:52 2008 From: jeff at jeffawaddell.com (Jeff Waddell) Date: Wed Jul 2 11:32:55 2008 Subject: ZFS xattr attribute "temporary" off status? Message-ID: I've recently begun playing around with zfs on a freebsd7 build, as well as a recent nightly build of FreeNAS (based on freebsd7) and have noticed something peculiar that I haven't experienced with ZFS on either Solaris or Mac OS X. For some reason, freebsd (on both systems) is setting the zfs xattr (extended attributes) attribute "temporarily" off. Setting xattr=on appears to work, but actually does nothing. The xattr attribute is also the only ZFS attribute with a temporary setting, and no matter what I try, I can't set it on. Why is this happening on freebsd, and is it fixable or an issue with freebsd's zfs implementation (such as xattrs not being implemented yet)? Thanks for your assistance! -- -Jeff From bseklecki at collaborativefusion.com Wed Jul 2 11:42:24 2008 From: bseklecki at collaborativefusion.com (Brian A. Seklecki (Mobile)) Date: Wed Jul 2 11:42:28 2008 Subject: Jail problem while starting In-Reply-To: <485ABB6F.7080507@gmail.com> References: <485ABB6F.7080507@gmail.com> Message-ID: <1214999020.9810.1.camel@localhost.localdomain> On Fri, 2008-06-20 at 01:02 +0500, Jo Pesko wrote: > Hi, > > I'm using FreeBSD 7.0 version and expecting some problems with jail. > /etc/rc.d/jail script hangs when it try to map jail's interface to alias > address of my nic. Script successfully starting if i removing alias Hard to say. Paste your config and rc.d/* output? ~BAS > address from rc.conf(or manually via ifconfig). Any info will be > helpful. Thanks. > > Best Regards, > Jo Pesko > _______________________________________________ > 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" IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 12:37:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 12:37:33 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> Message-ID: <20080702143434.J9414@wojtek.tensor.gdynia.pl> > So call me a sociopath, but times are a bit scary. I'd like to do the > 2000's equivalent of the 1960's bomb shelter, and have my very own > snapshot in case of major local/regional internet disruption, etc. wikipedia is just a pile of junk. everyone can put in it, and unfortunately do. in EVERY article i watched in area i have knowlege there were bugs. in most - big nonsenses. in others - probably too, i just don't have required knowledge to check it. > snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort > of officially licenced copy, I suspect there are other freaks that > would too... wget should do. select an option to limit downloads to wikipedia, but with unlimited recursion, start from almost any place. From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 12:38:05 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 12:38:08 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <48694CFB.1030004@pixelhammer.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> Message-ID: <20080702143748.U9414@wojtek.tensor.gdynia.pl> > ahead of who is winning American Idol. If it comes to the point the internet > goes down for a long period of time, that $300 is better spent on a garden. exactly :) From barry.byrne at wbtsystems.com Wed Jul 2 12:57:26 2008 From: barry.byrne at wbtsystems.com (Barry Byrne) Date: Wed Jul 2 12:57:30 2008 Subject: Problem with samba 3.0.30 with NT4 domain Message-ID: <005f01c8dc40$64577510$72010c0a@wbt.wbtsystems.com> All: In case anyone else has this problem. Seems like there's a bug in samba 3.0.30 (and 3.0.29) that causes joining an NT4 domain to fail. Looks like it will be fixed for 3.0.31 whenever that comes: http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28a-td17678565.h tml After upgrading to 3.0.30 via portupgrade this morning, I got failures connecting the server with a failed trust relationship. On removing and attempting to rejoin the domain, I got: Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Downgrading to 3.0.28a worked fine. Barry From fbsd06 at mlists.homeunix.com Wed Jul 2 14:30:36 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Jul 2 14:30:40 2008 Subject: Configuring an older server for speed... In-Reply-To: References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> Message-ID: <20080702151515.0e7da28e@gumby.homeunix.com.> On Tue, 1 Jul 2008 08:26:16 -0700 "Kurt Buff" wrote: > However, I'll look up the diskd docs for > squid, and see what that's all about. I'm not sure that diskd is still preferred for FreeBSD. The three cache types: ufs,aufs and diskd are all the same on disk. diskd is ufs with extra processes to handle disk access, aufs uses threads instead. The reason for using diskd was that earlier versions FreeBSD had poor threading support, but good shared memory support. From what I've read on the squid mailing list, aufs with libthr is being recommended these days. libthr is the default on FreeBSD 7, you need a libmap.conf entry on FreeBSD 6. From cedwards at smartechcorp.net Wed Jul 2 15:07:57 2008 From: cedwards at smartechcorp.net (Chris Edwards) Date: Wed Jul 2 15:08:01 2008 Subject: Problem with samba 3.0.30 with NT4 domain In-Reply-To: <005f01c8dc40$64577510$72010c0a@wbt.wbtsystems.com> References: <005f01c8dc40$64577510$72010c0a@wbt.wbtsystems.com> Message-ID: <059301c8dc55$664aad00$32e00700$@net> I get this problem even when using version 3.0.28a. I have no clue what is causing it. --- Chris Edwards Smartech Corp. Div. of AirNet Group http://www.airnetgroup.com http://www.smartechcorp.net cedwards@smartechcorp.net P: 423-664-7678 x114 C: 423-593-6964 F: 423-664-7680 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Barry Byrne Sent: Wednesday, July 02, 2008 8:37 AM To: freebsd-questions@freebsd.org Cc: timur@FreeBSD.org Subject: Problem with samba 3.0.30 with NT4 domain All: In case anyone else has this problem. Seems like there's a bug in samba 3.0.30 (and 3.0.29) that causes joining an NT4 domain to fail. Looks like it will be fixed for 3.0.31 whenever that comes: http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28a-td17678565.h tml After upgrading to 3.0.30 via portupgrade this morning, I got failures connecting the server with a failed trust relationship. On removing and attempting to rejoin the domain, I got: Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Downgrading to 3.0.28a worked fine. Barry _______________________________________________ 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 wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 15:16:13 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 15:16:16 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080702151515.0e7da28e@gumby.homeunix.com.> References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> <20080702151515.0e7da28e@gumby.homeunix.com.> Message-ID: <20080702171507.W1806@wojtek.tensor.gdynia.pl> > > I'm not sure that diskd is still preferred for FreeBSD. The three > cache types: ufs,aufs and diskd are all the same on disk. diskd is ufs > with extra processes to handle disk access, aufs uses threads instead. i don't know what is preferred. i know what works. only ufs and diskd is reliable, ufs is single threaded and blocking, diskd=one process for each spool dedicated just for disk I/O From mkbucc at gmail.com Wed Jul 2 15:24:18 2008 From: mkbucc at gmail.com (Mark B.) Date: Wed Jul 2 15:24:22 2008 Subject: multi-platform dump and restore? Message-ID: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> If I dump on amd64 should I be able to extract files from the dump on i386? If so, should it be possible to restore a FreeBSD amd64 dump on OpenBSD i386? Note there is ticket that may be related: bin/67723: restore(8) FreeBSD 5.x restore cannot handle other platforms/Linux(extfs)-dumps anymore ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723&cat= I thought the dump file format was sacrosanct. Has there been heresy here? Thanks, m P.S. Please CC, I'm not subscribed. Thanks. From barry.byrne at wbtsystems.com Wed Jul 2 15:27:37 2008 From: barry.byrne at wbtsystems.com (Barry Byrne) Date: Wed Jul 2 15:27:41 2008 Subject: Problem with samba 3.0.30 with NT4 domain In-Reply-To: <059301c8dc55$664aad00$32e00700$@net> References: <005f01c8dc40$64577510$72010c0a@wbt.wbtsystems.com> <059301c8dc55$664aad00$32e00700$@net> Message-ID: <00bc01c8dc58$2583b340$72010c0a@wbt.wbtsystems.com> > -----Original Message----- > From: Chris Edwards [mailto:cedwards@smartechcorp.net] > I get this problem even when using version 3.0.28a. I have > no clue what is > causing it. > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Barry Byrne > Seems like there's a bug in samba 3.0.30 (and 3.0.29) that > causes joining an > NT4 domain to fail. Looks like it will be fixed for 3.0.31 > whenever that > comes: > > http://www.nabble.com/unable-to-join-a-NT4-Domain-since-3.0.28 > a-td17678565.h > tml > > After upgrading to 3.0.30 via portupgrade this morning, I got failures > connecting the server with a failed trust relationship. On > removing and > attempting to rejoin the domain, I got: > > Error in domain join verification (credential setup failed): > NT_STATUS_ACCESS_DENIED > > Downgrading to 3.0.28a worked fine. Chris, Just a guess really - but after reverting to 3.0.28a, I removed the domain account for the server in question and then added it on the domain controller before doing a 'net join' on the samba machine. After starting samba again, all was well. In case it's of relevance - the samba server is 6.2 RELEASE-p12. - barry From jerrymc at msu.edu Wed Jul 2 16:01:56 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Jul 2 16:02:00 2008 Subject: multi-platform dump and restore? In-Reply-To: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> Message-ID: <20080702153530.GE46386@gizmo.acns.msu.edu> On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > If I dump on amd64 should I be able to > extract files from the dump on i386? > > If so, should it be possible to restore a > FreeBSD amd64 dump on OpenBSD i386? > > Note there is ticket that may be related: > > bin/67723: > > restore(8) FreeBSD 5.x restore cannot handle > other platforms/Linux(extfs)-dumps anymore > > ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723&cat= > > I thought the dump file format was sacrosanct. > Has there been heresy here? I am not sure what the heresy is here, but dump/restore can be sensitive to OS and OS version. There are many that it cannot cross, but some it can. The main thing is to check it before depending on it. ////jerry > > Thanks, > > m > > P.S. Please CC, I'm not subscribed. Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From rsmith at xs4all.nl Wed Jul 2 16:02:07 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Jul 2 16:02:12 2008 Subject: multi-platform dump and restore? In-Reply-To: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> Message-ID: <20080702154252.GB38419@slackbox.xs4all.nl> On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > If I dump on amd64 should I be able to > extract files from the dump on i386? Yes. > If so, should it be possible to restore a > FreeBSD amd64 dump on OpenBSD i386? Probably. OpenBSD 4.2 supports UFS2. > Note there is ticket that may be related: > > bin/67723: > > restore(8) FreeBSD 5.x restore cannot handle > other platforms/Linux(extfs)-dumps anymore > > ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723&cat= This should be closed unless it is still reproducable on 6.x or 7.x. The release mentioned is ancient. > I thought the dump file format was sacrosanct. > Has there been heresy here? The BSDs all use variants of UFS, and dump/restore understand UFS1 & 2. The EXT2FS in use on Linux is a different animal altogether. I'm surprised that it ever worked. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/9a50e4a7/attachment.pgp From z.szalbot at lc-words.com Wed Jul 2 16:11:53 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Wed Jul 2 16:11:58 2008 Subject: 7.0-release / systat / 3GB Message-ID: <486BA8C1.90107@lc-words.com> Hello, It seems that when I check bandwidth with systat -ifstat, I can see something along these lines: Traffic Peak Total in 32.854 KB/s 35.591 KB/s 1.341 GB out 39.760 KB/s 130.318 KB/s 430.087 MB I am a bit curious though why once the outgoing bandwidth exceeds (more or less) 3GB, the Total counter gets reset and starts counting from scratch. Is it because of the network interface? Jun 20 14:17:49 relay kernel: re0: port 0xd000-0xd0ff mem 0xf1000000-0xf1000fff irq 16 at device 0.0 on pci3 If it matters, 'uname -ris' says FreeBSD 7.0-RELEASE-p2 RELAY Many thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/145140d5/smime.bin From lists at duanewinner.net Wed Jul 2 16:12:50 2008 From: lists at duanewinner.net (D W) Date: Wed Jul 2 16:12:54 2008 Subject: sendmail on server with ip aliases Message-ID: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com is the host. Five ip aliases for apache virtual servers: From kalin at el.net Wed Jul 2 16:16:07 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 16:16:12 2008 Subject: [users@httpd] Re: httpd php dump In-Reply-To: <486B2091.1060909@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> Message-ID: <486BA9BF.1030109@el.net> i'd be assuming than that i'd need to build an older apache. this is probably a stupid question but is there anybody out there that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi processor) without problems? thanks... kalin m wrote: > sure. > > ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl > --enable-rewrite --enable-so --enable-headers --enable-unique-id > > like i said there is pretty much nothing in the error log for httpd. > it's a brand new install. here is the whole file: > > [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not > configured [hint: SSLSessionCache] > [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 > OpenSSL/0.9.8h configured -- resuming normal operations > [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not > exist: /usr/web/favicon.ico > [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down > [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not > configured [hint: SSLSessionCache] > [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 > OpenSSL/0.9.8h configured -- resuming normal operations > [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down > [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not > configured [hint: SSLSessionCache] > [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 > OpenSSL/0.9.8h configured -- resuming normal operations > [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down > ~ > (just changed my ip there) > > i suspect the apache so module...... but not really sure.... > executing php files on the cli is working fine to.. it must be the so... > > httpd and php are supposed to just work together..... > that's why core dump without any messages is a bit weired..... > > > > Odhiambo Washington wrote: >> On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: >> >>> there is no extensions.ini anywhere on this machine... a brand new one. >>> httpd/logs/error_log has 6 lines in it. something about session cash (SSL) >>> not configured... >>> >>> httpd runs fine without loading the php module.... >>> >> >> Would you like to provide details on how you compiled your apache >> then? Did you use the ports to install? >> What options did you compile with? >> What is this that you have in the error_log that you don't want to reveal? >> >> >> From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 16:21:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 16:21:45 2008 Subject: multi-platform dump and restore? In-Reply-To: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> Message-ID: <20080702182055.Y2069@wojtek.tensor.gdynia.pl> > If I dump on amd64 should I be able to > extract files from the dump on i386? i'm almost sure yes but please check > > If so, should it be possible to restore a > FreeBSD amd64 dump on OpenBSD i386? probably not. From jerrymc at msu.edu Wed Jul 2 16:22:13 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Wed Jul 2 16:22:18 2008 Subject: multi-platform dump and restore? In-Reply-To: <20080702153530.GE46386@gizmo.acns.msu.edu> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> <20080702153530.GE46386@gizmo.acns.msu.edu> Message-ID: <20080702161955.GB46892@gizmo.acns.msu.edu> On Wed, Jul 02, 2008 at 11:35:30AM -0400, Jerry McAllister wrote: > On Wed, Jul 02, 2008 at 10:59:27AM -0400, Mark B. wrote: > > > If I dump on amd64 should I be able to > > extract files from the dump on i386? > > > > If so, should it be possible to restore a > > FreeBSD amd64 dump on OpenBSD i386? > > > > Note there is ticket that may be related: > > > > bin/67723: > > > > restore(8) FreeBSD 5.x restore cannot handle > > other platforms/Linux(extfs)-dumps anymore > > > > ref: http://www.freebsd.org/cgi/query-pr.cgi?pr=67723&cat= > > > > I thought the dump file format was sacrosanct. > > Has there been heresy here? > > I am not sure what the heresy is here, but > dump/restore can be sensitive to OS and OS version. > There are many that it cannot cross, but some it can. > The main thing is to check it before depending on it. I should add for clarity. So, the conflict would not be the different hardware but differences in OS and filesystem versions. Mostly I have been able to dump on one version of BSD and restore on another, apparently because the filesystems have been sufficiently similar. But, as I said before, Check it before you depend on it. ////jerry > > ////jerry > > > > > > > > Thanks, > > > > m > > > > P.S. Please CC, I'm not subscribed. 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" > _______________________________________________ > 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 lists at duanewinner.net Wed Jul 2 16:26:51 2008 From: lists at duanewinner.net (D W) Date: Wed Jul 2 16:26:55 2008 Subject: sendmail on server with ip aliases and virtual hosts Message-ID: <97351faa0807020926k6419806bhf705f6af12e23888@mail.gmail.com> Hello, Having a problem with sendmail on some of my servers supporting several virtual apache hosts. Because these servers have 5-10 ip aliases bound, it sometimes trips up sendmail when sending outbound mail to my smarthost. All servers are configured to use the same smarthost. But on one of the hosts, sendmail will send out as the one of the virtual hosts instead of the main host, which is what I need. Example: webhost01.webdomain.com (10.10.0.1) is the main host. mail01.webdomain.com (10.10.10.2) is the smarthost. Five ip aliases for apache virtual servers: www.siteA.com (10.10.20.1) www.siteB.com (10.10.20.2) www.siteC.com (10.10.20.3) www.siteD.com (10.10.20.4) www.siteE.com (10.10.20.5) But when one I try to: $ telnet mail01.webdomain.com 25 and watch the maillog on the smarthost, it tells me the connection is coming from www.siteA.com (or one of the other virtual ip aliases/hosts) instead of the main host, webhost01.webdomian.com. This will cause "relaying denied" failures on the smarthost, unless I go into the local-host-names and account for every virtual host and add it. The other puzzling thing is that I have 9 other "main" hosts with many virtual hosts, and they all seem to be working the way I expect; ie., outbound mail is coming from the main host name/ip instead of one of the aliases. It's just this webhost01 that is messed up I can't figure out why. The other thing is that if I destroy an alias, sendmail will use another aliases, then if I put the destroyed virtual alias back, it may or may not use it again when sending email. How do I get sendmail to just send *everything* as from the main host and connect on the main ip address instead of one of the aliases? I have in /etc/mail/webhost01.webdomain.com.mc: OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(masquerade_envelope) FEATURE(`genericstable') GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') MASQUERADE_AS(`webhost01.webdomain.com') define(`confDOMAIN_NAME', `webhost01.webdomain.com') define(`SMART_HOST', `mail01.webdomain.com') and in generics-domains: webhost01.webdomain.com Thanks for any help. From kirk at strauser.com Wed Jul 2 16:32:32 2008 From: kirk at strauser.com (Kirk Strauser) Date: Wed Jul 2 16:32:36 2008 Subject: Too Much Context Switching? In-Reply-To: <20080630170633.3f28620b@epia-2.farid-hajji.net> References: <20080629222123.n0rgkjka50c084k4@mail.schnarff.com> <20080630104825.hm91ul0focsgg0s0@mail.schnarff.com> <20080630170633.3f28620b@epia-2.farid-hajji.net> Message-ID: <200807021132.23449.kirk@strauser.com> On Monday 30 June 2008, cpghost wrote: > You need to run ZEO if you want to make use of multiple CPUs in Zope. > Here's a small HOWTO. It's for gentoo, but easily adaptable to > FreeBSD: > > http://gentoo-wiki.com/HOWTO_ZEO/Zope_and_Plone > > Good luck optimizing the Beast! ;-) This is *so* critically important that I can't overstress it. You *have* to use ZEO if you're running a busy Zope site. On our dual P4-Xeon system, I run 8 Zope instances and use Apache to spread the load across 7 of them (reserving the 8th for admin use) like so: I $ cat /usr/local/etc/apache22/zope.txt zeoclients 9080|10080|11080|12080|13080|14080|15080 $ cat mydomain.conf [...] # Load-balance the Zope servers RewriteMap zope rnd:/usr/local/etc/apache22/zope.txt RewriteRule ^/(.*) http://web2.daycos.com: ${zope:zeoclients}/VirtualHostBase/http/web2.xrsnet.com:80/XRSnet/VirtualHostRoot/$1 [P] On each new connection, Apache picks a random port from the list defined in zope.txt and passes the connection to that Zope process. -- Kirk Strauser -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 155 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/ea83bbc1/attachment.pgp From mkbucc at gmail.com Wed Jul 2 16:34:36 2008 From: mkbucc at gmail.com (Mark B.) Date: Wed Jul 2 16:34:40 2008 Subject: multi-platform dump and restore? In-Reply-To: <20080702182055.Y2069@wojtek.tensor.gdynia.pl> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> <20080702182055.Y2069@wojtek.tensor.gdynia.pl> Message-ID: <59f4cb420807020934p3404d7bei9307e4526922c90c@mail.gmail.com> On Wed, Jul 2, 2008 at 12:21 PM, Wojciech Puchar wrote: >> If I dump on amd64 should I be able to >> extract files from the dump on i386? > > i'm almost sure yes but please check > I did and it does. >> >> If so, should it be possible to restore a >> FreeBSD amd64 dump on OpenBSD i386? > > probably not. > You are correct. # gunzip -c var_www_log.1214712054.1.dmp.gz | restore -i -f - . is not on the tape Root directory is not on tape abort? [yn] y dump core? [yn] n # uname -a OpenBSD dev.example.com 4.2 GENERIC#375 i386 How did you guess? m From westr at connection.ca Wed Jul 2 17:35:38 2008 From: westr at connection.ca (Ross) Date: Wed Jul 2 17:35:42 2008 Subject: FB7.0 - ifconfig clone error - "SIOCIFCREATE2: Invalid argument" Message-ID: <19710256683.20080702131816@connection.ca> Hi there, I've been playing with a new FB7.0 setup (using the standard iso distribution), and trying to create some vlans by doing cloning via the rc.conf "cloned_interfaces" command - but that fails. (I'm using bce interfaces on a HP bl760c blade, if that makes any difference) Doing manual testing of "ifconfig xyz0 create" causes the error "ifconfig: SIOCIFCREATE2: Invalid argument" error to come up and the interface then doesn't get created. Has anyone gotten this error at all, and how did you get it resolved? My digging further shows that a patch was committed to src/sys/net/if_clone.c (rev 1.11) which adds a new argument for parameter data to the if_clone_create() function. But it looks like src/sys/net/if.c has not been updated to provide this new parameter data to the if_clone_create function call, thereby failing the call, and not setting the interface up. Any help or pointing in the right direction would be appreciated! Thanks, Ross. -- From westr at connection.ca Wed Jul 2 17:43:02 2008 From: westr at connection.ca (Ross) Date: Wed Jul 2 17:43:06 2008 Subject: FB7.0 - ifconfig clone error - "SIOCIFCREATE2: Invalid argument" In-Reply-To: <19710256683.20080702131816@connection.ca> References: <19710256683.20080702131816@connection.ca> Message-ID: <1422452947.20080702134258@connection.ca> R> My digging further shows that a patch was committed to R> src/sys/net/if_clone.c (rev 1.11) which adds a new argument for R> parameter data to the if_clone_create() function. Ignore my further digging (I blame the holidays), I was looking at if_clone_createif - not if_clone_create, which has a different number of parameters. The function if_clone_create checks out fine. The issue looks to be something within /src/sbin/ifconfig/ifclone.c and the ioctl setup of the interface. R. -- From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 18:07:33 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 18:07:35 2008 Subject: multi-platform dump and restore? In-Reply-To: <59f4cb420807020934p3404d7bei9307e4526922c90c@mail.gmail.com> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> <20080702182055.Y2069@wojtek.tensor.gdynia.pl> <59f4cb420807020934p3404d7bei9307e4526922c90c@mail.gmail.com> Message-ID: <20080702200531.Q2523@wojtek.tensor.gdynia.pl> > dump core? [yn] n > # uname -a > OpenBSD dev.example.com 4.2 GENERIC#375 i386 > > How did you guess? > actually second was a guess. first was natural, as amd64 and i386 are both little endian, int&long are same sized under gcc, and memory pointers are not stored in dump files. second - because dump was never intended to be portable, nobody cares about it. From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 18:09:00 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 18:09:02 2008 Subject: multi-platform dump and restore? In-Reply-To: <59f4cb420807020934p3404d7bei9307e4526922c90c@mail.gmail.com> References: <59f4cb420807020759o797a33c7xf295b0066e9d9256@mail.gmail.com> <20080702182055.Y2069@wojtek.tensor.gdynia.pl> <59f4cb420807020934p3404d7bei9307e4526922c90c@mail.gmail.com> Message-ID: <20080702200732.A2523@wojtek.tensor.gdynia.pl> >> > > I did and it does. you may try to compile OpenBSD restore from sources under FreeBSD and use it. compared to dump, restore does not do anything filesystem specific, just reads input and make files. if any - there should not be many fixes needed to make it compile. From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 18:09:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 18:09:32 2008 Subject: 7.0-release / systat / 3GB In-Reply-To: <486BA8C1.90107@lc-words.com> References: <486BA8C1.90107@lc-words.com> Message-ID: <20080702200904.T2523@wojtek.tensor.gdynia.pl> > > I am a bit curious though why once the outgoing bandwidth exceeds (more or > less) 3GB, the Total counter gets reset and starts counting from scratch. isn't it 4GB - because of 32-bit unsigned counter? > > Is it because of the network interface? > > Jun 20 14:17:49 relay kernel: re0: > port 0xd000-0xd0ff mem 0xf1000000-0xf1000fff irq 16 at device 0.0 on pci3 > > If it matters, 'uname -ris' says > FreeBSD 7.0-RELEASE-p2 RELAY > > Many thanks! > > -- > Zbigniew Szalbot > www.LCWords.com > From perrin at apotheon.com Wed Jul 2 18:41:16 2008 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jul 2 18:41:21 2008 Subject: [freebsd-questions] Re: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <200807020221.m622LMhK003621@himinbjorg.tucs-beachin-obx-house.com> References: <539c60b90807010945j5da0fa99j4520d7f962b76fe5@mail.gmail.com> <200807020221.m622LMhK003621@himinbjorg.tucs-beachin-obx-house.com> Message-ID: <20080702183600.GA4709@kokopelli.hydra> On Tue, Jul 01, 2008 at 10:21:22PM -0400, Tuc at T-B-O-H.NET wrote: > > > > > Actually . . . if things get that bad, you're going to need some > > > firepower to protect your garden (and everything else you don't want > > > taken from you by force). To properly protect a garden, you'd need to > > > make it a community farm, with community members who have and will use > > > firearms to protect it (and your Wikipedia mirror). > > > > And where better to get knowledge on constructing firepower (and > > gardening for that matter) than wikipedia ;) All part of my > > integrated plan...did I mention we are going to occupy our local > > library as well? > > > Guys, you seem to be jumping the gun a bit. Theres plenty > of time until 03:14:07 UTC on Tuesday, January 19, 2038. > > (http://en.wikipedia.org/wiki/Year_2038_problem) Bah. That's basically a solved problem. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] C. Hoare: "Two ways of constructing software: (1) make it so simple that there are obviously no bugs, (2) make it so complicated that there are no obvious bugs. Making it simple is far more difficult." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/f341bf1a/attachment.pgp From perrin at apotheon.com Wed Jul 2 18:44:18 2008 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jul 2 18:44:25 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> Message-ID: <20080702183902.GB4709@kokopelli.hydra> On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: > > We're advising our clients to stock up on canned goods and shotguns - > Brain Gremlin Seriously? What kind of business are you in that makes that an appropriate bit of advice? -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Malaclypse the Younger: "'Tis an ill wind that blows no minds." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/8e7fa15f/attachment.pgp From perrin at apotheon.com Wed Jul 2 18:48:59 2008 From: perrin at apotheon.com (Chad Perrin) Date: Wed Jul 2 18:49:03 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702143434.J9414@wojtek.tensor.gdynia.pl> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> Message-ID: <20080702184345.GC4709@kokopelli.hydra> On Wed, Jul 02, 2008 at 02:37:20PM +0200, Wojciech Puchar wrote: > >So call me a sociopath, but times are a bit scary. I'd like to do the > >2000's equivalent of the 1960's bomb shelter, and have my very own > >snapshot in case of major local/regional internet disruption, etc. > > wikipedia is just a pile of junk. everyone can put in it, and > unfortunately do. Meanwhile, in print encyclopedias, I see that with restricted writing access and strict editing processes there are typically systemic biases and subtler mistakes that are much easier to overlook -- and the mistakes not only persist until the next edition, but often exist for decades, whereas finding a mistake in Wikipedia is fixable within five minutes. > > in EVERY article i watched in area i have knowlege there were bugs. in > most - big nonsenses. The key is that an encyclopedia should never be the *end* of your research. It's basically just a place to look for key terms to research elsewhere, and to get a general overview of some common takes on various subjects. That's as true of Wikipedia as it is of any other encyclopedia. > > >snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort > >of officially licenced copy, I suspect there are other freaks that > >would too... > > wget should do. select an option to limit downloads to wikipedia, but with > unlimited recursion, start from almost any place. Bad idea. Just get one of the periodic database dumps. Using recursive wget downloads is a good way to consume mass bandwidth and get your IP banned from accessing it. Please be aware of others' needs, and courteous in your treatment of those needs. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Friedrich Nietzche: "Those who know that they are profound strive for clarity. Those who would like to seem profound to the crowd strive for obscurity." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080702/320cef30/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Wed Jul 2 19:12:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 2 19:13:03 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702184345.GC4709@kokopelli.hydra> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> <20080702184345.GC4709@kokopelli.hydra> Message-ID: <20080702211133.Y2931@wojtek.tensor.gdynia.pl> >> >> wikipedia is just a pile of junk. everyone can put in it, and >> unfortunately do. > > Meanwhile, in print encyclopedias, I see that with restricted writing > access and strict editing processes there are typically systemic biases > and subtler mistakes that are much easier to overlook -- and the mistakes > not only persist until the next edition, but often exist for decades, > whereas finding a mistake in Wikipedia is fixable within five minutes. and 3 others are added. > The key is that an encyclopedia should never be the *end* of your > research. It's basically just a place to look for key terms to research actually what i do - to get the first glance on subject, THEN checking more precisely. but quite often it's crap even at the first glance From jhary at unsane.co.uk Wed Jul 2 19:35:02 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Wed Jul 2 19:35:05 2008 Subject: FB7.0 - ifconfig clone error - "SIOCIFCREATE2: Invalid argument" In-Reply-To: <19710256683.20080702131816@connection.ca> References: <19710256683.20080702131816@connection.ca> Message-ID: <486BD80A.2000902@unsane.co.uk> Ross wrote: > Hi there, > > I've been playing with a new FB7.0 setup (using the standard iso > distribution), and trying to create some vlans by doing cloning via > the rc.conf "cloned_interfaces" command - but that fails. (I'm using > bce interfaces on a HP bl760c blade, if that makes any difference) > > Doing manual testing of "ifconfig xyz0 create" causes the error > "ifconfig: SIOCIFCREATE2: Invalid argument" error to come up and the > interface then doesn't get created. > what command are you using exactly? it certainly works here. root@crab (20:30:15 <~>) 0 # ifconfig em1.5 ifconfig: interface em1.5 does not exist root@crab (20:30:20 <~>) 0 # ifconfig em1.5 create root@crab (20:30:25 <~>) 0 # ifconfig em1.5 em1.5: flags=8842 metric 0 mtu 1500 options=3 ether 00:07:e9:17:db:c9 media: Ethernet autoselect (100baseTX ) status: active vlan: 5 parent interface: em1 root@crab (20:30:26 <~>) 0 # ifconfig em1.5 destroy Or root@crab (20:30:55 <~>) 0 # ifconfig bge0.5 create root@crab (20:31:04 <~>) 0 # ifconfig bge0.5 bge0.5: flags=8842 metric 0 mtu 1500 options=3 ether 00:e0:81:2d:a3:16 media: Ethernet autoselect (100baseTX ) status: active vlan: 5 parent interface: bge0 root@crab (20:31:16 <~>) 0 # ifconfig bge0.5 destroy root@crab (20:31:20 <~>) 0 # Vince > Has anyone gotten this error at all, and how did you get it resolved? > > My digging further shows that a patch was committed to > src/sys/net/if_clone.c (rev 1.11) which adds a new argument for > parameter data to the if_clone_create() function. > > But it looks like src/sys/net/if.c has not been updated to provide > this new parameter data to the if_clone_create function call, thereby > failing the call, and not setting the interface up. > > Any help or pointing in the right direction would be appreciated! > > Thanks, > Ross. > From westr at connection.ca Wed Jul 2 19:46:46 2008 From: westr at connection.ca (Ross) Date: Wed Jul 2 19:46:51 2008 Subject: FB7.0 - ifconfig clone error - "SIOCIFCREATE2: Invalid argument" In-Reply-To: <486BD80A.2000902@unsane.co.uk> References: <19710256683.20080702131816@connection.ca> <486BD80A.2000902@unsane.co.uk> Message-ID: <658785581.20080702154645@connection.ca> VH> what command are you using exactly? it certainly works here. The standard ones! Which has gotten me confused greatly. Using yours as an example: -= [root@controller ~]# ifconfig bce0.5 create ifconfig: SIOCIFCREATE2: Invalid argument [root@controller ~]# and playing a bit: [root@controller ~]# ifconfig bce0.5 create vlandev bce0 ifconfig: must specify a tag for vlan create [root@controller ~]# ifconfig bce0.5 create vlandev bce0 vlan 5 ifconfig: SIOCIFCREATE2: Invalid argument [root@controller ~]# ifconfig bce0 bce0: flags=8843 metric 0 mtu 1500 options=1bb ether 00:1e:0b:c7:e1:d0 inet w.x.y.z netmask 0xffffff00 broadcast w.x.y.z media: Ethernet autoselect (1000baseSX ) status: active [root@controller ~]# -= I'm wondering if it's because of the bce driver or something along those lines, and ioctl isn't able to pick up the root device or something. The annoying part is that these are new servers/network cards on these boxes, so I don't have an equivalent FB6.x setup to test against. (Other boxes running 6.x are working just fine). R. -- From nejc at skoberne.net Wed Jul 2 19:52:44 2008 From: nejc at skoberne.net (=?ISO-8859-2?Q?Nejc_=A9koberne?=) Date: Wed Jul 2 19:52:46 2008 Subject: re0: PHY write failed - RTL8110SB problem Message-ID: <486BDAF9.7050509@skoberne.net> Hello, my network card is failing - dmesg is full of this: re0: PHY write failed re0: reset never completed! re0: reset never completed! re0: PHY write failed re0: reset never completed! re0: PHY write failed re0: link state changed to DOWN re0: link state changed to DOWN re0: reset never completed! re0: link state changed to DOWN re0: link state changed to DOWN It can work nicely for days (although the server is not yet in production, so there is little to no traffic) and then starts failing. What could be the problem? It's FreeBSD 7.0 with this card: re0@pci0:4:1:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller' class = network subclass = ethernet "ifconfig re0": re0: flags=8843 metric 0 mtu 1500 options=399b ether 00:0e:2e:cc:1e:c9 inet 192.168.2.10 netmask 0xffffff00 broadcast 192.168.2.255 media: Ethernet autoselect (1000baseTX ) status: active The hardware is a PC with Asus P5K-SE motherboard. Thanks, Nejc From derek at computinginnovations.com Wed Jul 2 20:21:32 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Jul 2 20:21:35 2008 Subject: sendmail on server with ip aliases and virtual hosts In-Reply-To: <97351faa0807020926k6419806bhf705f6af12e23888@mail.gmail.co m> References: <97351faa0807020926k6419806bhf705f6af12e23888@mail.gmail.com> Message-ID: <6.0.0.22.2.20080702151800.02595a10@mail.computinginnovations.com> At 11:26 AM 7/2/2008, D W wrote: >Hello, > >Having a problem with sendmail on some of my servers supporting several >virtual apache hosts. Because these servers have 5-10 ip aliases bound, it >sometimes trips up sendmail when sending outbound mail to my smarthost. All >servers are configured to use the same smarthost. But on one of the hosts, >sendmail will send out as the one of the virtual hosts instead of the main >host, which is what I need. > >Example: > >webhost01.webdomain.com (10.10.0.1) is the main host. >mail01.webdomain.com (10.10.10.2) is the smarthost. > >Five ip aliases for apache virtual servers: >www.siteA.com (10.10.20.1) >www.siteB.com (10.10.20.2) >www.siteC.com (10.10.20.3) >www.siteD.com (10.10.20.4) >www.siteE.com (10.10.20.5) > >But when one I try to: >$ telnet mail01.webdomain.com 25 > >and watch the maillog on the smarthost, it tells me the connection is coming >from www.siteA.com (or one of the other virtual ip aliases/hosts) instead of >the main host, webhost01.webdomian.com. > >This will cause "relaying denied" failures on the smarthost, unless I go >into the local-host-names and account for every virtual host and add it. > >The other puzzling thing is that I have 9 other "main" hosts with many >virtual hosts, and they all seem to be working the way I expect; ie., >outbound mail is coming from the main host name/ip instead of one of the >aliases. It's just this webhost01 that is messed up I can't figure out why. >The other thing is that if I destroy an alias, sendmail will use another >aliases, then if I put the destroyed virtual alias back, it may or may not >use it again when sending email. > >How do I get sendmail to just send *everything* as from the main host and >connect on the main ip address instead of one of the aliases? > >I have in /etc/mail/webhost01.webdomain.com.mc: > >OSTYPE(freebsd6) >DOMAIN(generic) >FEATURE(access_db, `hash -o -T /etc/mail/access') >FEATURE(blacklist_recipients) >FEATURE(local_lmtp) >FEATURE(mailertable, `hash -o /etc/mail/mailertable') >FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') >FEATURE(masquerade_envelope) >FEATURE(`genericstable') >GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') >MASQUERADE_AS(`webhost01.webdomain.com') >define(`confDOMAIN_NAME', `webhost01.webdomain.com') >define(`SMART_HOST', `mail01.webdomain.com') > >and in generics-domains: >webhost01.webdomain.com > > >Thanks for any help. I would suggest you check both your forward and reverse DNS's for all these domains. Sendmail will use the DNS listings. Are your virtual apache server's sending the emails from webpages? If so, check your setup on those virtual servers that you are specifying the from address including the correct domain. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From westr at connection.ca Wed Jul 2 20:46:06 2008 From: westr at connection.ca (Ross) Date: Wed Jul 2 20:46:12 2008 Subject: FB7.0 - ifconfig clone error - "SIOCIFCREATE2: Invalid argument" In-Reply-To: <486BD80A.2000902@unsane.co.uk> References: <19710256683.20080702131816@connection.ca> <486BD80A.2000902@unsane.co.uk> Message-ID: <148097470.20080702164605@connection.ca> >> Doing manual testing of "ifconfig xyz0 create" causes the error >> "ifconfig: SIOCIFCREATE2: Invalid argument" error to come up and the >> interface then doesn't get created. VH> what command are you using exactly? it certainly works here. After enough tinkering around, I've found the issue. Looks like I need to issue a "ifconfig bce0 -vlanhwtag" command to the interface before issuing the vlan "ifconfig bce0.10 create" command. Surprisingly, it looks like I can issue a "ifconfig bce0 vlanhwtag" command afterwards, and everything is good. Very weird. But I'm happy I found a work around for the time being. R. -- From pisymbol at gmail.com Wed Jul 2 20:48:28 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Wed Jul 2 20:48:31 2008 Subject: RT2790 Wireless miniCard - ral not working on Eee Box Message-ID: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> Hi Everybody: I cc'ed questions since if this turns out NOT be a driver related issue then hopefully someone can tell me what's going on. I have a Asus Eee Box PC with Intel Atom NS270 1.6Ghz model B202. I've installed FreeBSD 7.0-i386-RELEASE and currently going to try 7.0-i386-STABLE on it. I've done a lot of Googling and Nabbling to no avail! :D! My first issue is the onboard wireless card, PCI id: 1814:0781: RT2790 Wireless 802.11n 1T/2R miniCard, does not work. It looks like its a ral derivative which the driver doesn't recognize (from the driver source as well as man, looks like it doesn't even support this family of chipset). Is there a driver for this chipset? If not, why not? :D! Thanks! -aps From kline at thought.org Wed Jul 2 21:05:25 2008 From: kline at thought.org (Gary Kline) Date: Wed Jul 2 21:05:30 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702211133.Y2931@wojtek.tensor.gdynia.pl> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> <20080702184345.GC4709@kokopelli.hydra> <20080702211133.Y2931@wojtek.tensor.gdynia.pl> Message-ID: <20080702210513.GA64418@thought.org> On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: > >> > >>wikipedia is just a pile of junk. everyone can put in it, and > >>unfortunately do. > > > >Meanwhile, in print encyclopedias, I see that with restricted writing > >access and strict editing processes there are typically systemic biases > >and subtler mistakes that are much easier to overlook -- and the mistakes > >not only persist until the next edition, but often exist for decades, > >whereas finding a mistake in Wikipedia is fixable within five minutes. > > and 3 others are added. > > >The key is that an encyclopedia should never be the *end* of your > >research. It's basically just a place to look for key terms to research > > actually what i do - to get the first glance on subject, THEN checking > more precisely. > > but quite often it's crap even at the first glance I'll add my dime's worth, given the years of pure research I've done in recent years. wiki-anything is usually *not* my first choice; but if there are citations that i can find on-line or at my local library in a wiki article, I'll use them. point of fact: i just spent some 45 minutes tracking down an obscure quote. the citation (from the Feb. 1981 ACM) was in a German PDF file. no help from wikipedia, but an example of how much effort it takes to get things right. (or as close-to right as possible.) > _______________________________________________ > 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 www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From fbsd06 at mlists.homeunix.com Wed Jul 2 21:13:17 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Jul 2 21:13:23 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080702171507.W1806@wojtek.tensor.gdynia.pl> References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> <20080702151515.0e7da28e@gumby.homeunix.com.> <20080702171507.W1806@wojtek.tensor.gdynia.pl> Message-ID: <20080702221313.6ba07082@gumby.homeunix.com.> On Wed, 2 Jul 2008 17:15:58 +0200 (CEST) Wojciech Puchar wrote: > > > > I'm not sure that diskd is still preferred for FreeBSD. > > > i don't know what is preferred. i know what works. > > only ufs and diskd is reliable, The squid developers recommend aufs: http://www.squid-cache.org/mail-archive/squid-users/200709/0150.html Most people seem to regard it as stable. From pschmehl_lists at tx.rr.com Wed Jul 2 21:14:27 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Wed Jul 2 21:14:32 2008 Subject: Upgrade and change distro? Message-ID: <83ED840B6C782182D5FE8B0F@Macintosh.local> I have a dual core Intel server running 6.1 RELEASE i386. I want to update it to 7.0 RELEASE. Can I also switch to the AMD release at the same time? (It's my understanding that all dual core processors should be running AMD not i386.) If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer. From stevefranks at ieee.org Wed Jul 2 21:47:07 2008 From: stevefranks at ieee.org (Steve Franks) Date: Wed Jul 2 21:47:09 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702210513.GA64418@thought.org> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> <20080702184345.GC4709@kokopelli.hydra> <20080702211133.Y2931@wojtek.tensor.gdynia.pl> <20080702210513.GA64418@thought.org> Message-ID: <539c60b90807021447s152bd3a9n164b88b49e3c568f@mail.gmail.com> You know, the Wikipedia is crap argument is becoming tiresome. Maybe they should have picked a different name. It is not a research tool. However, I use it daily when someone mentions Microsoft's latest TLA, or my daughter wants to see a picture of a blue whale, or I forget what port subversion needs open in my firewall, or the webpage & market cap for some obscure company. I consider it to be like the browseable companion to google search. Instead of 100,000 useless references and 'buy it now' links, I can find out a layman's introduction to nearly anything in one click. I fail to see how this makes people so angry. Several of my best friends are english teachers, and they teach all their students 'use wiki, but don't cite it'. This seems to be the defacto social/professional rule for wiki usage, at least in the western USA. I fail to see where the moral panic is. I know it's another slippery argument, but I think there's an interesting observation to be made that the majority of my google searches lately have been putting the wikipedia article for a given topic in the top 5 links. Or maybe I'm just the American Idol poster child. It's a social product, not a professional one. We have those already. Steve On Wed, Jul 2, 2008 at 2:05 PM, Gary Kline wrote: > On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: >> >> >> >>wikipedia is just a pile of junk. everyone can put in it, and >> >>unfortunately do. >> > >> >Meanwhile, in print encyclopedias, I see that with restricted writing >> >access and strict editing processes there are typically systemic biases >> >and subtler mistakes that are much easier to overlook -- and the mistakes >> >not only persist until the next edition, but often exist for decades, >> >whereas finding a mistake in Wikipedia is fixable within five minutes. >> >> and 3 others are added. >> >> >The key is that an encyclopedia should never be the *end* of your >> >research. It's basically just a place to look for key terms to research >> >> actually what i do - to get the first glance on subject, THEN checking >> more precisely. >> >> but quite often it's crap even at the first glance > > I'll add my dime's worth, given the years of pure research I've done in > recent years. wiki-anything is usually *not* my first choice; but if there > are citations that i can find on-line or at my local library in a wiki > article, I'll use them. > > point of fact: i just spent some 45 minutes tracking down an obscure > quote. the citation (from the Feb. 1981 ACM) was in a German PDF file. > no help from wikipedia, but an example of how much effort it takes to get > things right. (or as close-to right as possible.) > >> _______________________________________________ >> 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 www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.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" > -- Steve Franks, KE7BTE Staff Engineer La Palma Devices, LLC http://www.lapalmadevices.com (520) 312-0089 From millenia2000 at hotmail.com Wed Jul 2 21:51:07 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Wed Jul 2 21:51:12 2008 Subject: Upgrade and change distro? In-Reply-To: <83ED840B6C782182D5FE8B0F@Macintosh.local> References: <83ED840B6C782182D5FE8B0F@Macintosh.local> Message-ID: > Date: Wed, 2 Jul 2008 15:55:58 -0500 > From: pschmehl_lists@tx.rr.com > To: questions@freebsd.org > CC: > Subject: Upgrade and change distro? > > I have a dual core Intel server running 6.1 RELEASE i386. I want to > update it to 7.0 RELEASE. Can I also switch to the AMD release at the > same time? (It's my understanding that all dual core processors should be > running AMD not i386.) > > If so, do I simply point to the GENERIC kernconf under AMD? Any gotchas? > > Paul Schmehl > If it isn't already obvious, > my opinions are my own and not > those of my employer. AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core is beside. run i386 still if you want/need 32-bit operating system. there are some features and programs that will NOT work with AMD64. -Sean From pschmehl_lists at tx.rr.com Wed Jul 2 22:13:13 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Wed Jul 2 22:13:18 2008 Subject: Upgrade and change distro? In-Reply-To: References: <83ED840B6C782182D5FE8B0F@Macintosh.local> Message-ID: <75B578228C8512F4925570B5@Macintosh.local> --On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh wrote: > >> Date: Wed, 2 Jul 2008 15:55:58 -0500 >> From: pschmehl_lists@tx.rr.com >> To: questions@freebsd.org >> CC: >> Subject: Upgrade and change distro? >> >> I have a dual core Intel server running 6.1 RELEASE i386. I want to >> update it to 7.0 RELEASE. Can I also switch to the AMD release at the >> same time? (It's my understanding that all dual core processors should >> be running AMD not i386.) >> >> If so, do I simply point to the GENERIC kernconf under AMD? Any >> gotchas? >> > AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core > is beside. run i386 still if you want/need 32-bit operating system. > there are some features and programs that will NOT work with AMD64. > Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) Will I need to rebuild all my ports after compiling the kernel and world? Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer. From LConrad at Go2France.com Wed Jul 2 22:15:05 2008 From: LConrad at Go2France.com (Len Conrad) Date: Wed Jul 2 22:15:08 2008 Subject: wordpress package install failure Message-ID: <200807030008656.SM01616@TX2.Go2France.com> When I try to install wordpress: pkg_add ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz... Done. Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mysql-client-5.0.51a.tbz... Done. pkg_add: package 'mysql-client-5.0.51a' conflicts with mysql-client-5.1.22 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-5.0.51a' failed! Fetching ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/php5-mysql-5.2.6.tbz... Done. pkg_add: could not find package mysql-client-5.0.51a ! pkg_add: pkg_add of dependency 'php5-mysql-5.2.6' failed! Of course, downgrading mysql-client-5.0.51a won't work because you have to downgrade the server, and then who knows where that ball of string will lead. I'd really like the follow the advice of using the packages, but the above happens frequently. Suggestions about how to fix the above? Thanks, Len From Kevin at RawFedDogs.net Wed Jul 2 22:31:17 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Jul 2 22:31:22 2008 Subject: "New" user with a possible ZFS problem Message-ID: FreeBSD Fans, Okay, I'm not exactly a "new" user. I've been running FreeBSD for about a year or so on my web/mail server, which I only have remote access to. It's currently running 6.3. Saturday I finally found one of those "round tuits" and switched my home PC from Debian to FreeBSD. I've been a Linux user since the 1.xx Linux kernel days, so it took quite a bit of convincing myself to make the switch. But other than needing to unlearn some bad habits I got into thanks to Linux, I'm feeling right at home. After getting a taste of ZFS while trying out OpenSolaris Indiana under VMware, I decided to give FreeBSD's ZFS implementation a try. Actually before installing FreeBSD I tried a native OpenSolaris Indiana install briefly, but ended up deciding it's new package system wasn't quite ready for prime time yet. Do I really need ZFS? Not really. But after getting a taste of ZFS it'd be hard to go back to "regular" file systems. I've had a couple of problems and I'm not sure if there ZFS related or not. When I switched my PC to FreeBSD this past Saturday I went by the article located at: http://www.ish.com.au/solutions/articles/freebsdzfs to set up ZFS. I followed the article's loader.conf tweaks advice and added: vm.kmem_size_max="512M" vm.kmem_size="512M" vfs.zfs.zil_disable=1 to /boot/loader.conf. All went well at first, then eventually I experienced my first hang. If I remember correctly, I had an mp3 playing via mplayer and was moving a large file from one ZFS "partition" to another. Both the mp3 player and mv command appeared to hang. Checking top one of the processes was in a zfs:lo state and the other was, I think, in a zfs:&b state, or something similar. I forget which was which. Eventually they recovered. Eventually I encountered a similar hang with similar symptoms. The second hang might have eventually recovered on it's own but I finally resorted to hitting the power switch. After a little Googling on the process states I tried adding: vfs.zfs.prefetch_disable="1" to /boot/loader.conf. After doing so I gave ZFS a bit of a workout. I shuffled some large files around, etc., and all appeared well. When I went to bed this morning, I had to work graveyards last night, I had an openoffice.org build running, which had been running for eight hours or so. Okay, although I usually install everything from ports maybe I should go with the binary package for OpenOffice. Anyway, when I got up this afternoon my PC was completely locked up. I had no video signal, caps lock and num lock wouldn't change the keyboard LEDs, etc. I finally resorted to hitting the power button. After getting things back up, I freebsd-updated to 7.0-RELEASE-p2, after some Googling and commenting out the chflag calls in freebsd-update. I know, I should have checked for updates right after I finished installing FreeBSD. Anyway, does the above hangs all sound like they're ZFS related. Are there any other settings I should try? Is there a FreeBSD ZFS mailing list? I searched but couldn't find one. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From kalin at el.net Wed Jul 2 22:37:31 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 22:37:35 2008 Subject: [users@httpd] Re: httpd php dump In-Reply-To: <486BA9BF.1030109@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> <486BA9BF.1030109@el.net> Message-ID: <486C0329.40300@el.net> this is getting to ridiculous levels.... if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache starts and httpd/php works ok. anything else added to the configuration - and i tried different stuff - ( --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - alone or in combination builds fine but at the time of apache startup it dumps core... apparently the httpd - currently 2.2.9 - configure doesn't matter. so right now the httpd is configured - as intended - with: ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id i tried also with httpd 2.0.63. same thing. i can't imagine anymore what the hell can it be. i've done many other installs and never had this things happening. the machine is freebsd 7. its a 64 bit build on a multiprocessor machine. dual quad core... and identifies itself as amd64... i just don't get it.... what to look at?! thanks... kalin m wrote: > i'd be assuming than that i'd need to build an older apache. > this is probably a stupid question but is there anybody out there that > is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 (multi > processor) without problems? > > thanks... > > > > kalin m wrote: >> sure. >> >> ./configure --prefix=/etc/httpd --enable-ssl >> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so >> --enable-headers --enable-unique-id >> >> like i said there is pretty much nothing in the error log for httpd. >> it's a brand new install. here is the whole file: >> >> [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not >> configured [hint: SSLSessionCache] >> [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 >> OpenSSL/0.9.8h configured -- resuming normal operations >> [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not >> exist: /usr/web/favicon.ico >> [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down >> [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not >> configured [hint: SSLSessionCache] >> [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 >> OpenSSL/0.9.8h configured -- resuming normal operations >> [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down >> [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not >> configured [hint: SSLSessionCache] >> [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 >> OpenSSL/0.9.8h configured -- resuming normal operations >> [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down >> ~ >> (just changed my ip there) >> >> i suspect the apache so module...... but not really sure.... >> executing php files on the cli is working fine to.. it must be the so... >> httpd and php are supposed to just work together..... that's why >> core dump without any messages is a bit weired..... >> >> >> >> Odhiambo Washington wrote: >>> On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: >>> >>>> there is no extensions.ini anywhere on this machine... a brand new >>>> one. >>>> httpd/logs/error_log has 6 lines in it. something about session >>>> cash (SSL) >>>> not configured... >>>> >>>> httpd runs fine without loading the php module.... >>>> >>> >>> Would you like to provide details on how you compiled your apache >>> then? Did you use the ports to install? >>> What options did you compile with? >>> What is this that you have in the error_log that you don't want to >>> reveal? >>> >>> >>> > _______________________________________________ > 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 kurt.buff at gmail.com Wed Jul 2 22:38:50 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Wed Jul 2 22:38:53 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702183902.GB4709@kokopelli.hydra> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> <20080702183902.GB4709@kokopelli.hydra> Message-ID: On Wed, Jul 2, 2008 at 11:39 AM, Chad Perrin wrote: > On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: >> >> We're advising our clients to stock up on canned goods and shotguns - >> Brain Gremlin > > Seriously? What kind of business are you in that makes that an > appropriate bit of advice? Not seriously. It's a movie quote - Gremlins II, The New Batch. Very funny movie, IMO, with many many quotes and references to other movies within it. Kurt From prad at towardsfreedom.com Wed Jul 2 22:48:13 2008 From: prad at towardsfreedom.com (prad) Date: Wed Jul 2 22:48:17 2008 Subject: Execute the command when login In-Reply-To: <20080702080013.GA2989@rebelion.Sisis.de> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> Message-ID: <20080702154730.2dad476e@gom.home> On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz wrote: > You could launch it from ~/.xinitrc for example as: > > xmodmap.sh > exec startkde > i tried to do that with ion and it didn't work which came as a surprise. however, i will try it again and maybe with a different wm. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From david.gurvich at verizon.net Wed Jul 2 22:51:57 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Wed Jul 2 22:52:02 2008 Subject: RT2790 Wireless miniCard - ral not working on Eee Box In-Reply-To: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> Message-ID: <20080702185133.3b423e1f@verizon.net> >Is there a driver for this chipset? If not, why not? :D! No. The developers probably don't have the hardware. If you want support for it, I would suggest donating a card to a developer. From kalin at el.net Wed Jul 2 23:00:18 2008 From: kalin at el.net (kalin m) Date: Wed Jul 2 23:00:22 2008 Subject: [users@httpd] Re: httpd php dump In-Reply-To: <486C0329.40300@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> <486BA9BF.1030109@el.net> <486C0329.40300@el.net> Message-ID: <486C087B.4060002@el.net> if i build php with all the things i need it builds fine but at the time of instalaltion here is what happens: # make install Installing PHP SAPI module: apache2handler /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' libphp5.la /etc/httpd/modules /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/ cp .libs/libphp5.so /etc/httpd/modules/libphp5.so cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.6/libs' chmod 755 /etc/httpd/modules/libphp5.so [activating module `php5' in /etc/httpd/conf/httpd.conf] Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Segmentation fault (core dumped) *** Error code 139 Stop in /usr/local/src/php-5.2.6. *** Error code 1 Stop in /usr/local/src/php-5.2.6. what is the logical explanation for all this tanks. kalin m wrote: > this is getting to ridiculous levels.... > > if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache > starts and httpd/php works ok. anything else added to the > configuration - and i tried different stuff - ( > --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - > alone or in combination builds fine but at the time of apache startup > it dumps core... > > apparently the httpd - currently 2.2.9 - configure doesn't matter. so > right now the httpd is configured - as intended - with: > ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl > --enable-rewrite --enable-so --enable-headers --enable-unique-id > > i tried also with httpd 2.0.63. same thing. i can't imagine anymore > what the hell can it be. i've done many other installs and never had > this things happening. > > the machine is freebsd 7. its a 64 bit build on a multiprocessor > machine. dual quad core... and identifies itself as amd64... > > i just don't get it.... > what to look at?! > > thanks... > > > > kalin m wrote: >> i'd be assuming than that i'd need to build an older apache. >> this is probably a stupid question but is there anybody out there >> that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 >> (multi processor) without problems? >> >> thanks... >> >> >> >> kalin m wrote: >>> sure. >>> >>> ./configure --prefix=/etc/httpd --enable-ssl >>> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so >>> --enable-headers --enable-unique-id >>> >>> like i said there is pretty much nothing in the error log for httpd. >>> it's a brand new install. here is the whole file: >>> >>> [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not >>> exist: /usr/web/favicon.ico >>> [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down >>> [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down >>> [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not >>> configured [hint: SSLSessionCache] >>> [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) >>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>> [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down >>> ~ >>> (just changed my ip there) >>> >>> i suspect the apache so module...... but not really sure.... >>> executing php files on the cli is working fine to.. it must be the >>> so... >>> httpd and php are supposed to just work together..... that's why >>> core dump without any messages is a bit weired..... >>> >>> >>> >>> Odhiambo Washington wrote: >>>> On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: >>>> >>>>> there is no extensions.ini anywhere on this machine... a brand >>>>> new one. >>>>> httpd/logs/error_log has 6 lines in it. something about session >>>>> cash (SSL) >>>>> not configured... >>>>> >>>>> httpd runs fine without loading the php module.... >>>>> >>>> >>>> Would you like to provide details on how you compiled your apache >>>> then? Did you use the ports to install? >>>> What options did you compile with? >>>> What is this that you have in the error_log that you don't want to >>>> reveal? >>>> >>>> >>>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > From keramida at ceid.upatras.gr Wed Jul 2 23:49:19 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jul 2 23:49:24 2008 Subject: sendmail on server with ip aliases In-Reply-To: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> (D. W.'s message of "Wed, 2 Jul 2008 11:56:58 -0400") References: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> Message-ID: <87od5fetjw.fsf@kobe.laptop> On Wed, 2 Jul 2008 11:56:58 -0400, "D W" wrote: > Hello, > > Having a problem with sendmail on some of my servers supporting several > virtual apache hosts. Because these servers have 5-10 ip aliases bound, it > sometimes trips up sendmail when sending outbound mail to my smarthost. All > servers are configured to use the same smarthost. But on one of the hosts, > sendmail will send out as the one of the virtual hosts instead of the main > host, which is what I need. > > Example: webhost01.webdomain.com is the host. > Five ip aliases for apache virtual servers: Something is probably missing below the last quoted line. Are you using jails for the virtual hosts? If not, then you are probably using *one* Sendmail instance for all the domains, which still sends emails as the primary hostname but should work fine... From Kevin at RawFedDogs.net Thu Jul 3 00:09:09 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Thu Jul 3 00:09:13 2008 Subject: "New" user with a possible ZFS problem In-Reply-To: References: Message-ID: On Wed, 2 Jul 2008, Kevin Monceaux wrote: > Saturday I finally found one of those "round tuits" and switched my home > PC from Debian to FreeBSD. I probably should have mentioned that the box in question is a slightly older hyperthreaded Intel Pentium 4 box, an HP m260n to be exact, with 3GB of RAM. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From kline at thought.org Thu Jul 3 00:31:38 2008 From: kline at thought.org (Gary Kline) Date: Thu Jul 3 00:31:41 2008 Subject: Execute the command when login In-Reply-To: <20080702154730.2dad476e@gom.home> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> Message-ID: <20080703003126.GC69333@thought.org> On Wed, Jul 02, 2008 at 03:47:30PM -0700, prad wrote: > On Wed, 2 Jul 2008 10:00:13 +0200 > Matthias Apitz wrote: > > > You could launch it from ~/.xinitrc for example as: > > > > xmodmap.sh > > exec startkde > > > i tried to do that with ion and it didn't work which came as a surprise. > however, i will try it again and maybe with a different wm. i think that xmodmap requires that you have X running for it towork. same with % xset r off that i need to prevent key bounces. In your shell initializatin file (~.login, ~/.zlogin ... ) is where the the xmodmap line belongs. a question for the list:: What is the global test to be sure that X *is* running?? gary > > -- > In friendship, > prad > > ... with you on your journey > Towards Freedom > http://www.towardsfreedom.com (website) > Information, Inspiration, Imagination - truly a site for soaring I's > _______________________________________________ > 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 www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From keramida at ceid.upatras.gr Thu Jul 3 00:33:01 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Jul 3 00:33:06 2008 Subject: Upgrade and change distro? In-Reply-To: <75B578228C8512F4925570B5@Macintosh.local> (Paul Schmehl's message of "Wed, 02 Jul 2008 17:13:11 -0500") References: <83ED840B6C782182D5FE8B0F@Macintosh.local> <75B578228C8512F4925570B5@Macintosh.local> Message-ID: <87k5g3esc2.fsf@kobe.laptop> On Wed, 02 Jul 2008 17:13:11 -0500, Paul Schmehl wrote: >On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh wrote: >>Paul Schmehl wrote: >>> I have a dual core Intel server running 6.1 RELEASE i386. I want to >>> update it to 7.0 RELEASE. Can I also switch to the AMD release at the >>> same time? (It's my understanding that all dual core processors should >>> be running AMD not i386.) >>> >>> If so, do I simply point to the GENERIC kernconf under AMD? Any >>> gotchas? >> >> AMD64 is for 64-bit chips from AMD and Intel. whether it is multi-core >> is beside. run i386 still if you want/need 32-bit operating system. >> there are some features and programs that will NOT work with AMD64. > > Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) > > Will I need to rebuild all my ports after compiling the kernel and > world? Hi Paul, If you change from 6.X to 7.0-RELEASE, then ``yes, that's a good idea''. If you change from 32-bit 6.X to 64-bit 7.0-RELEASE, you will _have_ to rebuild your ports as 64-bit applications. Any subsequent port builds will be built as 64-bit applications, so if you keep the 32-bit versions around you will end up with a very odd mix of 32-bit and 64-bit parts. That's bound to cause a lot of grief in the long run... NOTE: If you rebuild FreeBSD 7.0 as a i386 (32-bit) system, it's probably going to be a good idea to start from the packages in the release CD-ROMs and then only rebuild the stuff that *really* *REALLY* needs rebuilding. A couple of very good reasons to rebuild a subset of your ports are: * You need non-default options when building some ports. * Important security fixes in one of the installed ports. A good indication of when to rebuild ports/packages to fix security issues may be provided by the `ports-mgmt/portaudit' utility. The output of running `portaudit' looks like this: : root@kobe:/root# portaudit -Fa : auditfile.tbz 100% of 49 kB 9279 Bps : New database installed. : Affected package: fetchmail-6.3.8_6 : Type of problem: fetchmail -- potential crash in -v -v verbose mode (revised patch). : Reference: : : 1 problem(s) in your installed packages found. : : You are advised to update or deinstall the affected package(s) immediately. : root@kobe:/root# This sort of output from `portaudit' means I can keep using my installed ports, after rebuilding only the `mail/fetchmail' utility (and any ports that depend on it). From fbsd06 at mlists.homeunix.com Thu Jul 3 00:39:35 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Jul 3 00:39:39 2008 Subject: Upgrade and change distro? In-Reply-To: <75B578228C8512F4925570B5@Macintosh.local> References: <83ED840B6C782182D5FE8B0F@Macintosh.local> <75B578228C8512F4925570B5@Macintosh.local> Message-ID: <20080703012256.2d495281@gumby.homeunix.com.> On Wed, 02 Jul 2008 17:13:11 -0500 Paul Schmehl wrote: > --On July 2, 2008 5:51:06 PM -0400 Sean Cavanaugh > wrote: > > AMD64 is for 64-bit chips from AMD and Intel. whether it is > > multi-core is beside. run i386 still if you want/need 32-bit > > operating system. there are some features and programs that will > > NOT work with AMD64. > > > > Thanks, Sean. Maybe I'll understand FreeBSD some day. :-) > > Will I need to rebuild all my ports after compiling the kernel and > world? If you are talking about going from 6.x to 7.x then you should, but you can probably get away without doing it. If you are talking about going from i386 6.x to amd64 7.x, and you have to ask, you should be doing a clean FreeBSD install. From kalin at el.net Thu Jul 3 01:35:33 2008 From: kalin at el.net (kalin m) Date: Thu Jul 3 01:35:38 2008 Subject: [users@httpd] Re: httpd php dump In-Reply-To: <486C087B.4060002@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> <486BA9BF.1030109@el.net> <486C0329.40300@el.net> <486C087B.4060002@el.net> Message-ID: <486C2CE3.7050108@el.net> what would this mean: # ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl --enable-rewrite --enable-so --enable-headers --enable-unique-id checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... x86_64-unknown-freebsd7.0 checking host system type... x86_64-unknown-freebsd7.0 checking target system type... x86_64-unknown-freebsd7.0 Configuring Apache Portable Runtime library ... checking for APR... apr-1-config: not found reconfig configuring package in srclib/apr now configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, --enable-rewrite, --enable-so, --enable-headers, --enable-unique-id ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checking build system type... x86_64-unknown-freebsd7.0 checking host system type... x86_64-unknown-freebsd7.0 checking target system type... x86_64-unknown-freebsd7.0 Configuring APR library ....... Unrecognized options?! kalin m wrote: > > > if i build php with all the things i need it builds fine but at the > time of instalaltion here is what happens: > > # make install > Installing PHP SAPI module: apache2handler > /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' > libphp5.la /etc/httpd/modules > /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/ > cp .libs/libphp5.so /etc/httpd/modules/libphp5.so > cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la > libtool: install: warning: remember to run `libtool --finish > /usr/local/src/php-5.2.6/libs' > chmod 755 /etc/httpd/modules/libphp5.so > [activating module `php5' in /etc/httpd/conf/httpd.conf] > Installing PHP CLI binary: /usr/local/bin/ > Installing PHP CLI man page: /usr/local/man/man1/ > Installing build environment: /usr/local/lib/php/build/ > Installing header files: /usr/local/include/php/ > Installing helper programs: /usr/local/bin/ > program: phpize > program: php-config > Installing man pages: /usr/local/man/man1/ > page: phpize.1 > page: php-config.1 > Installing PEAR environment: /usr/local/lib/php/ > Segmentation fault (core dumped) > *** Error code 139 > > Stop in /usr/local/src/php-5.2.6. > *** Error code 1 > > Stop in /usr/local/src/php-5.2.6. > > > what is the logical explanation for all this > > tanks. > > > > kalin m wrote: >> this is getting to ridiculous levels.... >> >> if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache >> starts and httpd/php works ok. anything else added to the >> configuration - and i tried different stuff - ( >> --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - >> alone or in combination builds fine but at the time of apache startup >> it dumps core... >> >> apparently the httpd - currently 2.2.9 - configure doesn't matter. so >> right now the httpd is configured - as intended - with: >> ./configure --prefix=/etc/httpd --enable-ssl >> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so >> --enable-headers --enable-unique-id >> >> i tried also with httpd 2.0.63. same thing. i can't imagine anymore >> what the hell can it be. i've done many other installs and never had >> this things happening. >> >> the machine is freebsd 7. its a 64 bit build on a multiprocessor >> machine. dual quad core... and identifies itself as amd64... >> >> i just don't get it.... >> what to look at?! >> >> thanks... >> >> >> >> kalin m wrote: >>> i'd be assuming than that i'd need to build an older apache. >>> this is probably a stupid question but is there anybody out there >>> that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 >>> (multi processor) without problems? >>> >>> thanks... >>> >>> >>> >>> kalin m wrote: >>>> sure. >>>> >>>> ./configure --prefix=/etc/httpd --enable-ssl >>>> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so >>>> --enable-headers --enable-unique-id >>>> >>>> like i said there is pretty much nothing in the error log for >>>> httpd. it's a brand new install. here is the whole file: >>>> >>>> [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not >>>> configured [hint: SSLSessionCache] >>>> [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) >>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>>> [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not >>>> exist: /usr/web/favicon.ico >>>> [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down >>>> [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not >>>> configured [hint: SSLSessionCache] >>>> [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) >>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>>> [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down >>>> [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not >>>> configured [hint: SSLSessionCache] >>>> [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) >>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations >>>> [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down >>>> ~ >>>> (just changed my ip there) >>>> >>>> i suspect the apache so module...... but not really sure.... >>>> executing php files on the cli is working fine to.. it must be the >>>> so... >>>> httpd and php are supposed to just work together..... that's why >>>> core dump without any messages is a bit weired..... >>>> >>>> >>>> >>>> Odhiambo Washington wrote: >>>>> On Wed, Jul 2, 2008 at 8:19 AM, kalin m wrote: >>>>> >>>>>> there is no extensions.ini anywhere on this machine... a brand >>>>>> new one. >>>>>> httpd/logs/error_log has 6 lines in it. something about session >>>>>> cash (SSL) >>>>>> not configured... >>>>>> >>>>>> httpd runs fine without loading the php module.... >>>>>> >>>>> >>>>> Would you like to provide details on how you compiled your apache >>>>> then? Did you use the ports to install? >>>>> What options did you compile with? >>>>> What is this that you have in the error_log that you don't want to >>>>> reveal? >>>>> >>>>> >>>>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server > Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > From kirk at strauser.com Thu Jul 3 01:48:55 2008 From: kirk at strauser.com (Kirk Strauser) Date: Thu Jul 3 01:48:58 2008 Subject: httpd php dump In-Reply-To: <486B04D2.8050700@el.net> References: <486B04D2.8050700@el.net> Message-ID: <486C3003.6040700@strauser.com> kalin m wrote: > ok... > what to do? > > freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2) > > php was configured with just this : ./configure > --with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs Is there a reason you're not installing it through ports, which are extremely widely tested and patch FreeBSD-specific problems with a lot of software? -- Kirk Strauser From perrin at apotheon.com Thu Jul 3 01:51:14 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jul 3 01:51:19 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <48694CFB.1030004@pixelhammer.com> <20080702183902.GB4709@kokopelli.hydra> Message-ID: <20080703014559.GB14623@kokopelli.hydra> On Wed, Jul 02, 2008 at 03:38:48PM -0700, Kurt Buff wrote: > On Wed, Jul 2, 2008 at 11:39 AM, Chad Perrin wrote: > > On Tue, Jul 01, 2008 at 10:36:22PM -0700, Kurt Buff wrote: > >> > >> We're advising our clients to stock up on canned goods and shotguns - > >> Brain Gremlin > > > > Seriously? What kind of business are you in that makes that an > > appropriate bit of advice? > > Not seriously. > > It's a movie quote - Gremlins II, The New Batch. > > Very funny movie, IMO, with many many quotes and references to other > movies within it. It has been so long since I've seen it that I don't remember anything much about it. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Nat Torkington, on Perl internals: ". . . an interconnected mass of livers and pancreas and lungs and little sharp pointy things and the occasional exploding kidney." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/6c39e21b/attachment.pgp From perrin at apotheon.com Thu Jul 3 02:12:50 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jul 3 02:12:55 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080702211133.Y2931@wojtek.tensor.gdynia.pl> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> <20080702184345.GC4709@kokopelli.hydra> <20080702211133.Y2931@wojtek.tensor.gdynia.pl> Message-ID: <20080703020736.GA14746@kokopelli.hydra> On Wed, Jul 02, 2008 at 09:12:33PM +0200, Wojciech Puchar wrote: > >> > >>wikipedia is just a pile of junk. everyone can put in it, and > >>unfortunately do. > > > >Meanwhile, in print encyclopedias, I see that with restricted writing > >access and strict editing processes there are typically systemic biases > >and subtler mistakes that are much easier to overlook -- and the mistakes > >not only persist until the next edition, but often exist for decades, > >whereas finding a mistake in Wikipedia is fixable within five minutes. > > and 3 others are added. Do you really think such absurd exaggeration makes a valid point? > > >The key is that an encyclopedia should never be the *end* of your > >research. It's basically just a place to look for key terms to research > > actually what i do - to get the first glance on subject, THEN checking > more precisely. > > but quite often it's crap even at the first glance I guess your definition of "quite often" must be much more permissive than mine -- or you just have a real knack for finding bad information. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Albert Camus: "An intellectual is someone whose mind watches itself." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/9754a457/attachment.pgp From kline at thought.org Thu Jul 3 02:13:54 2008 From: kline at thought.org (Gary Kline) Date: Thu Jul 3 02:13:58 2008 Subject: to shell (and X window System) wizards. Message-ID: <20080703021344.GA73949@thought.org> would this works, say in .zlogin, to say that X is up: if [ -e /tmp/.X11-unix/X0 ] then echo "X is up." exit 0; else echo "No X yet" exit 1; fi or is there something more clever? -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From timur at FreeBSD.org Thu Jul 3 02:15:22 2008 From: timur at FreeBSD.org (Timur I. Bakeyev) Date: Thu Jul 3 02:15:26 2008 Subject: SAMBA 3.0.28a and CVE-2008-1105 In-Reply-To: <485B9283.2050008@zedat.fu-berlin.de> References: <485A5939.1090108@zedat.fu-berlin.de> <20080620075113.A44833@gwdu60.gwdg.de> <485B674B.9010404@zedat.fu-berlin.de> <57200BF94E69E54880C9BB1AF714BBCB5DDF1F@w2003s01.double-l.local> <485B9283.2050008@zedat.fu-berlin.de> Message-ID: <7d743c270807021848r3c51559dw766fc249f873bc50@mail.gmail.com> On Fri, Jun 20, 2008 at 1:20 PM, O. Hartmann wrote: > Johan Hendriks wrote: >> >>>> Konrad Heuer wrote: >>>> >>>> On Thu, 19 Jun 2008, O. Hartmann wrote: >>>> >>>>> We still have Samba R3.0.28a in the ports but regarding to >>>>> CVE-2008-1105 shouldn't it be R3.0.30? >>>> >>>> As far as I know the mentioned security patch gets applied when Each new version of Samba has it's own bugs, so I prefer not to commit 0 day release versions, but wait, until it's got proven to be stable enough. Again, there are talks about 3.0.31 release due some new fixes... *sigh* With regards, Timur. From wrowe at rowe-clan.net Thu Jul 3 02:29:05 2008 From: wrowe at rowe-clan.net (William A. Rowe, Jr.) Date: Thu Jul 3 02:29:10 2008 Subject: [users@httpd] Re: httpd php dump In-Reply-To: <486C2CE3.7050108@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> <486BA9BF.1030109@el.net> <486C0329.40300@el.net> <486C087B.4060002@el.net> <486C2CE3.7050108@el.net> Message-ID: <486C3329.3050202@rowe-clan.net> kalin m wrote: > > what would this mean: > > # ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl > --enable-rewrite --enable-so --enable-headers --enable-unique-id > checking for chosen layout... Apache > checking for working mkdir -p... yes > checking build system type... x86_64-unknown-freebsd7.0 > checking host system type... x86_64-unknown-freebsd7.0 > checking target system type... x86_64-unknown-freebsd7.0 > > Configuring Apache Portable Runtime library ... > > checking for APR... apr-1-config: not found > reconfig It didn't find apr-1-config executable in your path, e.g. you did not install apr and apr-util individually before building httpd (we hope) > configuring package in srclib/apr now > configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, > --enable-rewrite, --enable-so, --enable-headers, --enable-unique-id > > Unrecognized options?! autoconf 1.62 new noise, entirely violates autoconf's design principals (that warnings shouldn't be emitted and especially not for sub-packages). apr doesn't have these options, httpd does. We've hacked apr-1.3 to resolve this chaos, but you'll have to wait for a new httpd package to clean up the noise. In the meantime, ignore it. It's meaningless (these were always unrecognized by apr, it just didn't whine about it.) From ronggui.huang at gmail.com Thu Jul 3 02:39:28 2008 From: ronggui.huang at gmail.com (ronggui) Date: Thu Jul 3 02:39:30 2008 Subject: Execute the command when login In-Reply-To: <20080702154730.2dad476e@gom.home> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> Message-ID: <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. Best to all. On Thu, Jul 3, 2008 at 6:47 AM, prad wrote: > On Wed, 2 Jul 2008 10:00:13 +0200 > Matthias Apitz wrote: > >> You could launch it from ~/.xinitrc for example as: >> >> xmodmap.sh >> exec startkde >> > i tried to do that with ion and it didn't work which came as a surprise. > however, i will try it again and maybe with a different wm. > > -- > In friendship, > prad > > ... with you on your journey > Towards Freedom > http://www.towardsfreedom.com (website) > Information, Inspiration, Imagination - truly a site for soaring I's > _______________________________________________ > 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" > -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. From ronggui.huang at gmail.com Thu Jul 3 03:30:05 2008 From: ronggui.huang at gmail.com (ronggui) Date: Thu Jul 3 03:30:08 2008 Subject: Execute the command when login In-Reply-To: <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> Message-ID: <38b9f0350807022030l6748d6c2g460c2f2d0309304b@mail.gmail.com> My solution: add the command to ~/xinitrc ### content of ~/.xinitrc xmodmap ~/.xmodmaprc exec fvwm ### xmodmap must come before exec fvwm, otherwise it take no effect. I tried to put xmodmap to ~/.login as well, but it is not satisfying. When I login, FB complains, as xmodmap has to executed after X starts. Best On Thu, Jul 3, 2008 at 10:39 AM, ronggui wrote: > Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. > > Best to all. > > On Thu, Jul 3, 2008 at 6:47 AM, prad wrote: >> On Wed, 2 Jul 2008 10:00:13 +0200 >> Matthias Apitz wrote: >> >>> You could launch it from ~/.xinitrc for example as: >>> >>> xmodmap.sh >>> exec startkde >>> >> i tried to do that with ion and it didn't work which came as a surprise. >> however, i will try it again and maybe with a different wm. >> >> -- >> In friendship, >> prad >> >> ... with you on your journey >> Towards Freedom >> http://www.towardsfreedom.com (website) >> Information, Inspiration, Imagination - truly a site for soaring I's >> _______________________________________________ >> 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" >> > > > > -- > HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ > Bachelor of Social Work, Fudan University, China > Master of sociology, Fudan University, China > Ph.D. Candidate, CityU of HK. > -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK. From matthias.apitz at oclc.org Thu Jul 3 05:21:15 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Thu Jul 3 05:21:20 2008 Subject: Execute the command when login In-Reply-To: <38b9f0350807022030l6748d6c2g460c2f2d0309304b@mail.gmail.com> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> <38b9f0350807022030l6748d6c2g460c2f2d0309304b@mail.gmail.com> Message-ID: <20080703052056.GA2774@rebelion.Sisis.de> El d?a Thursday, July 03, 2008 a las 11:30:03AM +0800, ronggui escribi?: > My solution: > > add the command to ~/xinitrc > ### content of ~/.xinitrc > xmodmap ~/.xmodmaprc > exec fvwm > ### > xmodmap must come before exec fvwm, otherwise it take no effect. Of course it will not work if you put it after 'exec fvwm' because than it will get executed after fvwm dies and perhaps Xorg terminates; as I said in my post you must ensure to have a proper DISPLAY variable in your environment and X must be up in the moment you lauch any X-application; both are missing in your ~/.xinitrc above; try this: make a file xmodmap.sh with #!/bin/sh DISPLAY=:0.0 export DISPLAY sleep 10 xclock put into your ~/.xinitrc the lines: sh ~/xmodmap.sh & exec fvwm (don't miss the '&' sign!) and watch if the xclock comes up after fvwm is up; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ?...una sola vez, que es cuanto basta si se trata de verdades definitivas.? ?...only once, which is enough if it has todo with definite truth.? Jos? Saramago, Historia del Cerca de Lisboa From unga888 at yahoo.com Thu Jul 3 05:39:22 2008 From: unga888 at yahoo.com (Unga) Date: Thu Jul 3 05:39:27 2008 Subject: Getting PAM up inside chroot issues Message-ID: <641564.72137.qm@web57008.mail.re3.yahoo.com> Hi all I'm trying to getting PAM up inside a chroot. I'm using FreeBSD 7.0 on i386. su -l shows following error: su: pam_start: system error strace su -l shows following failures: access("/etc/localtime", R_OK) = 0 open("/etc/localtime", O_RDONLY) = 4 fstat(4, {st_mode=S_IFLNK|S_ISGID|052, st_size=18445798717047743530, ...}) = 0 read(4, "3\244\374\377*\244\374\3773\244\374\3773\244\374\3773\244"..., 7944) = 171 close(4) = 0 socket(PF_UNIX, SOCK_DGRAM, 0) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=0xa4 /* AF_??? */, sa_data="\374\377\\[x\0%02x\0%1x"}, 106) = -1 ENOENT (No such file or directory) connect(4, {sa_family=0x2f /* AF_??? */, sa_data="ystem call\0Inp"}, 106) = -1 ENOENT (No such file or directory) connect(4, {sa_family=0x74 /* AF_??? */, sa_data="d processes\0Re"}, 106) = -1 ENOENT (No such file or directory) close(4) = 0 sendto(-1, "source deadlock avoided\0Cannot a"..., 72, 0, NULL, 0) = -1 EBADF (Bad file descriptor) socket(PF_UNIX, SOCK_DGRAM, 0) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=0x6c /* AF_??? */, sa_data="nk\0\0\0\0Operatio"}, 106) = -1 ENOENT (No such file or directory) There is no failure up to reading the /etc/localtime. This shows the socket (fd=4) disappeared before the connect. What am I still missing in my chroot? Where does this socket get created? is it the current directory where su initiated or somewhere else? Appreciate your help to identify the cause. Kind regards Unga From m.seaman at infracaninophile.co.uk Thu Jul 3 06:06:08 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jul 3 06:06:12 2008 Subject: sendmail on server with ip aliases In-Reply-To: <87od5fetjw.fsf@kobe.laptop> References: <97351faa0807020856o102f1a0cwd4fb334d5d708f46@mail.gmail.com> <87od5fetjw.fsf@kobe.laptop> Message-ID: <486C6C42.8070607@infracaninophile.co.uk> Giorgos Keramidas wrote: > On Wed, 2 Jul 2008 11:56:58 -0400, "D W" wrote: >> Hello, >> >> Having a problem with sendmail on some of my servers supporting several >> virtual apache hosts. Because these servers have 5-10 ip aliases bound, it >> sometimes trips up sendmail when sending outbound mail to my smarthost. All >> servers are configured to use the same smarthost. But on one of the hosts, >> sendmail will send out as the one of the virtual hosts instead of the main >> host, which is what I need. >> >> Example: webhost01.webdomain.com is the host. >> Five ip aliases for apache virtual servers: > > Something is probably missing below the last quoted line. > > Are you using jails for the virtual hosts? If not, then you are > probably using *one* Sendmail instance for all the domains, which still > sends emails as the primary hostname but should work fine... > You can also force sendmail to send /from/ a specific IP by putting some something like the following into /etc/mail/$(hostname).mc dnl Send via the IP number that correctly reverses to our EHLO CLIENT_OPTIONS(`Name=MTA, Family=inet, Addr=12.34.56.78') Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/be08e93d/signature.pgp From kris at FreeBSD.org Thu Jul 3 07:12:37 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jul 3 07:12:40 2008 Subject: 7.0-release / systat / 3GB In-Reply-To: <20080702200904.T2523@wojtek.tensor.gdynia.pl> References: <486BA8C1.90107@lc-words.com> <20080702200904.T2523@wojtek.tensor.gdynia.pl> Message-ID: <486C7BE3.4070208@FreeBSD.org> Wojciech Puchar wrote: >> >> I am a bit curious though why once the outgoing bandwidth exceeds >> (more or less) 3GB, the Total counter gets reset and starts counting >> from scratch. > > isn't it 4GB - because of 32-bit unsigned counter? I would guess so. Using a 64-bit counter on 32-bit systems would cause additional processing overhead for little benefit. Kris From wojtek at wojtek.tensor.gdynia.pl Thu Jul 3 07:18:55 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jul 3 07:19:01 2008 Subject: Configuring an older server for speed... In-Reply-To: <20080702221313.6ba07082@gumby.homeunix.com.> References: <20080701134312.Q1294@wojtek.tensor.gdynia.pl> <20080702151515.0e7da28e@gumby.homeunix.com.> <20080702171507.W1806@wojtek.tensor.gdynia.pl> <20080702221313.6ba07082@gumby.homeunix.com.> Message-ID: <20080703091804.D8186@wojtek.tensor.gdynia.pl> > > The squid developers recommend aufs: > > http://www.squid-cache.org/mail-archive/squid-users/200709/0150.html > > Most people seem to regard it as stable. at most 1 hour before crash on my system with 300 users served, many version tested, none worked. possibly it doesn't under linux or under light load. From wojtek at wojtek.tensor.gdynia.pl Thu Jul 3 07:20:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jul 3 07:21:02 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90807021447s152bd3a9n164b88b49e3c568f@mail.gmail.com> References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> <20080702143434.J9414@wojtek.tensor.gdynia.pl> <20080702184345.GC4709@kokopelli.hydra> <20080702211133.Y2931@wojtek.tensor.gdynia.pl> <20080702210513.GA64418@thought.org> <539c60b90807021447s152bd3a9n164b88b49e3c568f@mail.gmail.com> Message-ID: <20080703091934.J8186@wojtek.tensor.gdynia.pl> > references and 'buy it now' links, I can find out a layman's > introduction to nearly anything in one click. in most cases bad introduction. but of course for intelligent people it is not a problem. From z.szalbot at lc-words.com Thu Jul 3 10:35:08 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Thu Jul 3 10:35:14 2008 Subject: 7.0-release / systat / 3GB In-Reply-To: <486C7BE3.4070208@FreeBSD.org> References: <486BA8C1.90107@lc-words.com> <20080702200904.T2523@wojtek.tensor.gdynia.pl> <486C7BE3.4070208@FreeBSD.org> Message-ID: <486CAB51.4070207@lc-words.com> Hello, Kris Kennaway: > Wojciech Puchar wrote: >>> I am a bit curious though why once the outgoing bandwidth exceeds >>> (more or less) 3GB, the Total counter gets reset and starts counting >>> from scratch. >> isn't it 4GB - because of 32-bit unsigned counter? > > I would guess so. > > Using a 64-bit counter on 32-bit systems would cause additional > processing overhead for little benefit. I have confirmed (with assistance from Wojtek Puchar) that the problem of resetting a Total counter for 'systat -ifstat' happens every 4GB (not 3GB) amount of data. It only affects i386 machines. amd64 machines are not affected. I have tested this on 7.0 and 6.1-Release versions. Here's an example em0 in 104.564 KB/s 104.564 KB/s 2.401 GB out 220.282 KB/s 284.090 KB/s 3.874 GB em0 in 17.416 KB/s 220.306 KB/s 2.404 GB out 257.781 KB/s 284.090 KB/s 3.902 GB em0 in 35.181 KB/s 803.832 KB/s 2.420 GB out 170.575 KB/s 284.090 KB/s 3.980 GB em0 in 11.020 KB/s 803.832 KB/s 2.423 GB out 27.773 KB/s 284.090 KB/s 3.998 GB em0 in 5.515 KB/s 803.832 KB/s 2.423 GB out 97.953 KB/s 284.090 KB/s 4.000 GB em0 in 7.944 KB/s 803.832 KB/s 2.423 GB out 71.475 KB/s 284.090 KB/s 25.019 KB I have submitted a pr in case this can be fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=125196 Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/24a72dd0/smime.bin From pisymbol at gmail.com Thu Jul 3 12:15:44 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Thu Jul 3 12:15:51 2008 Subject: RT2790 Wireless miniCard - ral not working on Eee Box In-Reply-To: <20080702185133.3b423e1f@verizon.net> References: <3c0b01820807021348k5effa9aej799bfc7fdc66214f@mail.gmail.com> <20080702185133.3b423e1f@verizon.net> Message-ID: <3c0b01820807030515v438adb7bid337fdf8a2feff07@mail.gmail.com> I can't, its not mine, its work. But if I had specs I would be more than willing to contribute (I suppose add support within ral). :D! -aps On Wed, Jul 2, 2008 at 6:51 PM, David Gurvich wrote: >>Is there a driver for this chipset? If not, why not? :D! > No. The developers probably don't have the hardware. If you want > support for it, I would suggest donating a card to a developer. > _______________________________________________ > 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 shinjii at maydias.com Thu Jul 3 12:32:06 2008 From: shinjii at maydias.com (Warren Liddell) Date: Thu Jul 3 12:32:18 2008 Subject: Saved Config Files for Ports Message-ID: <200807032232.14615.shinjii@maydias.com> Where are saved configuration files found for various ports if they've been previously compiled ? From sonic2000gr at gmail.com Thu Jul 3 12:43:13 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Thu Jul 3 12:43:18 2008 Subject: Saved Config Files for Ports In-Reply-To: <200807032232.14615.shinjii@maydias.com> References: <200807032232.14615.shinjii@maydias.com> Message-ID: <486CC93D.3090800@gmail.com> Warren Liddell wrote: > Where are saved configuration files found for various ports if they've been > previously compiled ? > _______________________________________________ > 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" > > Have a look at /var/db/ports From andrewlylegould at gmail.com Thu Jul 3 12:43:45 2008 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu Jul 3 12:43:49 2008 Subject: OT - printing question Message-ID: I have a postscript printer. I can send the output of text files to the printer; but the printer won't eject the page until I send enough text to fill the page. Is there a standard page-break or "eject page" command? Thanks, Andrew Gould From ertr1013 at student.uu.se Thu Jul 3 12:45:48 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Thu Jul 3 12:45:54 2008 Subject: Saved Config Files for Ports In-Reply-To: <200807032232.14615.shinjii@maydias.com> References: <200807032232.14615.shinjii@maydias.com> Message-ID: <20080703124544.GA41544@owl.midgard.homeip.net> On Thu, Jul 03, 2008 at 10:32:14PM +1000, Warren Liddell wrote: > Where are saved configuration files found for various ports if they've been > previously compiled ? /var/db/ports/ -- Erik Trulsson ertr1013@student.uu.se From d.hill at yournetplus.com Thu Jul 3 12:46:02 2008 From: d.hill at yournetplus.com (Duane Hill) Date: Thu Jul 3 12:46:05 2008 Subject: Saved Config Files for Ports In-Reply-To: <200807032232.14615.shinjii@maydias.com> References: <200807032232.14615.shinjii@maydias.com> Message-ID: On Thu, 3 Jul 2008, Warren Liddell wrote: > Where are saved configuration files found for various ports if they've been > previously compiled ? In: /var/db/ports//options From kris at FreeBSD.org Thu Jul 3 12:57:21 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jul 3 12:57:24 2008 Subject: 7.0-release / systat / 3GB In-Reply-To: <486CAB51.4070207@lc-words.com> References: <486BA8C1.90107@lc-words.com> <20080702200904.T2523@wojtek.tensor.gdynia.pl> <486C7BE3.4070208@FreeBSD.org> <486CAB51.4070207@lc-words.com> Message-ID: <486CCCA5.4030807@FreeBSD.org> Zbigniew Szalbot wrote: > Hello, > > Kris Kennaway: >> Wojciech Puchar wrote: >>>> I am a bit curious though why once the outgoing bandwidth exceeds >>>> (more or less) 3GB, the Total counter gets reset and starts counting >>>> from scratch. >>> isn't it 4GB - because of 32-bit unsigned counter? >> >> I would guess so. >> >> Using a 64-bit counter on 32-bit systems would cause additional >> processing overhead for little benefit. > > I have confirmed (with assistance from Wojtek Puchar) that the problem > of resetting a Total counter for 'systat -ifstat' happens every 4GB (not > 3GB) amount of data. It only affects i386 machines. amd64 machines are > not affected. > > I have tested this on 7.0 and 6.1-Release versions. Here's an example > > em0 in 104.564 KB/s 104.564 KB/s 2.401 GB > out 220.282 KB/s 284.090 KB/s 3.874 GB > > em0 in 17.416 KB/s 220.306 KB/s 2.404 GB > out 257.781 KB/s 284.090 KB/s 3.902 GB > > em0 in 35.181 KB/s 803.832 KB/s 2.420 GB > out 170.575 KB/s 284.090 KB/s 3.980 GB > > em0 in 11.020 KB/s 803.832 KB/s 2.423 GB > out 27.773 KB/s 284.090 KB/s 3.998 GB > > em0 in 5.515 KB/s 803.832 KB/s 2.423 GB > out 97.953 KB/s 284.090 KB/s 4.000 GB > > em0 in 7.944 KB/s 803.832 KB/s 2.423 GB > out 71.475 KB/s 284.090 KB/s 25.019 KB > > I have submitted a pr in case this can be fixed. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=125196 I explained above why it cannot reasonably be fixed on i386 :-) Kris From cyb. at gmx.net Thu Jul 3 13:17:10 2008 From: cyb. at gmx.net (Andreas Rudisch) Date: Thu Jul 3 13:17:16 2008 Subject: OT - printing question In-Reply-To: References: Message-ID: <20080703151703.394d97e2.cyb.@gmx.net> On Thu, 3 Jul 2008 07:43:44 -0500 "Andrew Gould" wrote: > I have a postscript printer. I can send the output of text files to the > printer; but the printer won't eject the page until I send enough text to > fill the page. > > Is there a standard page-break or "eject page" command? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-troubleshooting.html Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/991e5a2e/attachment.pgp From wblock at wonkity.com Thu Jul 3 13:33:41 2008 From: wblock at wonkity.com (Warren Block) Date: Thu Jul 3 13:33:44 2008 Subject: OT - printing question In-Reply-To: References: Message-ID: On Thu, 3 Jul 2008, Andrew Gould wrote: > I have a postscript printer. I can send the output of text files to the > printer; but the printer won't eject the page until I send enough text to > fill the page. > > Is there a standard page-break or "eject page" command? If you're sending PS, it's "showpage". But it sounds like you're sending plain text. In that case, the printer will eject the page when it gets 60 lines or a form feed (\f, 0x0c). It may be just as easy to convert your text to PS before sending. /usr/ports/print/enscript-letter (or -A4) is handy for that. -Warren Block * Rapid City, South Dakota USA From jalmberg at identry.com Thu Jul 3 13:41:32 2008 From: jalmberg at identry.com (John Almberg) Date: Thu Jul 3 13:41:38 2008 Subject: Does 'top' work on multi-processor systems? Message-ID: <46194DB4-E56D-4F9B-ABDF-2D76CBBF6C41@identry.com> I have a 3 month old server with two quad-core processors, 8G of RAM, and an array of fast hard drives. The two main applications are web server and mail server. There are only about 20 small-business websites and approx. 40 email accounts on the server. i.e., not much. In terms of actual usage, performance is great. Web pages load fast, and email is processed quickly. And the 92 days of up time says that this server has been up 100% since it's been installed in colo. However, 'top' shows a fairly high load (see below). If when I leave top running for a while, I see the load average spike up to 7 or 8 occasionally. However, this doesn't translate into slow performance... pages still load quickly. Also, what's up with that 157% WCPU for the mysql process? That just seems wrong. The WCPU number for mysql has been stuck up above 100% for a few weeks... it seems like something is broken there. On my previous single processor system, top was a good rough indicator of how the system was doing. But it doesn't seem to work very well on this 8 core system. My best guess is that the bogus mysql number is also throwing off the load averages, making them higher than they really are, but that's just a guess. Any thoughts? Is there a better tool for measuring load? -- John last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238 processes: 3 running, 235 sleeping CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, 74.4% idle Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, 2150M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1393 mysql 63 20 0 400M 221M kserel 0 191.5H 157.13% mysqld 43698 www 1 4 0 169M 29888K sbwait 5 0:00 2.63% httpd 43697 www 1 20 0 169M 29804K lockf 1 0:00 1.18% httpd 23376 vpopmail 1 4 0 81468K 55772K select 7 0:28 1.17% perl5.8.8 43729 root 1 96 0 7228K 2676K select 5 0:00 1.00% couriertls 43695 www 1 4 0 169M 29768K sbwait 5 0:00 0.67% httpd 43417 www 1 4 0 170M 31340K sbwait 7 0:00 0.20% httpd 85622 root 1 4 0 98588K 68764K select 5 7:54 0.20% ruby 43325 www 1 20 0 170M 30412K lockf 7 0:00 0.15% httpd 6352 root 1 4 0 97660K 67784K select 3 1:04 0.10% ruby 42848 www 1 4 0 169M 30004K sbwait 4 0:00 0.10% httpd 43111 www 1 20 0 170M 30336K lockf 2 0:00 0.05% httpd From freebsd-questions-local at be-well.ilk.org Thu Jul 3 14:23:24 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu Jul 3 14:23:29 2008 Subject: wordpress package install failure In-Reply-To: <200807030008656.SM01616@TX2.Go2France.com> (Len Conrad's message of "Wed\, 02 Jul 2008 17\:14\:25 -0500") References: <200807030008656.SM01616@TX2.Go2France.com> Message-ID: <444p7759np.fsf@be-well.ilk.org> Len Conrad writes: > When I try to install wordpress: > > pkg_add > ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz > > Fetching > ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/wordpress-2.5.1,1.tbz... Done. > > Fetching > ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/mysql-client-5.0.51a.tbz... Done. > > pkg_add: package 'mysql-client-5.0.51a' conflicts with mysql-client-5.1.22 > > pkg_add: please use pkg_delete first to remove conflicting package(s) > or -f to force installation > > pkg_add: pkg_add of dependency 'mysql-client-5.0.51a' failed! > > Fetching > ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/php5-mysql-5.2.6.tbz... Done. > > pkg_add: could not find package mysql-client-5.0.51a ! > > pkg_add: pkg_add of dependency 'php5-mysql-5.2.6' failed! > > Of course, downgrading mysql-client-5.0.51a won't work because you > have to downgrade the server, and then who knows where that ball of > string will lead. > > I'd really like the follow the advice of using the packages, but the > above happens frequently. > > Suggestions about how to fix the above? Looks like the package is just out of date. Try building from the port, or wait for the package set to get rebuilt (and hope nothign else changes first). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions at slightlystrange.org Thu Jul 3 15:36:27 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Thu Jul 3 15:36:32 2008 Subject: to shell (and X window System) wizards. In-Reply-To: <20080703021344.GA73949@thought.org> References: <20080703021344.GA73949@thought.org> Message-ID: <20080703153620.GA37232@torus.slightlystrange.org> On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: > > would this works, say in .zlogin, to say that X is up: > > if [ -e /tmp/.X11-unix/X0 ] > then > echo "X is up." > exit 0; > else > echo "No X yet" > exit 1; > fi > > or is there something more clever? I'm not sure if it's any cleverer, but I would probably make a call to pgrep(1) instead of relying on the existence of a file that might exist, even if X isn't running (unusual, but it does happen now and then, here at least) - something like if (pgrep "Xorg") then echo "X is up." exit 0 else echo "No X yet..." exit 1 fi ... should do the trick. And bear in mind that ~/.zlogin is run *after* ~/.zshrc, whereas ~/.zprofile is run *before* it. It might matter, depending on what you are trying to do. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/7a965f24/attachment.pgp From pgiessel at mac.com Thu Jul 3 16:06:11 2008 From: pgiessel at mac.com (Peter Giessel) Date: Thu Jul 3 16:06:16 2008 Subject: Does 'top' work on multi-processor systems? In-Reply-To: <46194DB4-E56D-4F9B-ABDF-2D76CBBF6C41@identry.com> References: <46194DB4-E56D-4F9B-ABDF-2D76CBBF6C41@identry.com> Message-ID: <3F8B80E5-011A-1000-94A3-A1AA554CE4A1-Webmail-10016@mac.com> If I recall correctly, on dual processor systems, 200% is full processor utilization, so on an essentially 8 processor system, 800% would be full processor utilization. 157% in top would actually amount to about 20% of your full processor power. On Thursday, July 03, 2008, at 05:41AM, "John Almberg" wrote: >I have a 3 month old server with two quad-core processors, 8G of RAM, >and an array of fast hard drives. The two main applications are web >server and mail server. There are only about 20 small-business >websites and approx. 40 email accounts on the server. i.e., not much. > >In terms of actual usage, performance is great. Web pages load fast, >and email is processed quickly. And the 92 days of up time says that >this server has been up 100% since it's been installed in colo. > >However, 'top' shows a fairly high load (see below). If when I leave >top running for a while, I see the load average spike up to 7 or 8 >occasionally. However, this doesn't translate into slow >performance... pages still load quickly. > >Also, what's up with that 157% WCPU for the mysql process? That just >seems wrong. The WCPU number for mysql has been stuck up above 100% >for a few weeks... it seems like something is broken there. > >On my previous single processor system, top was a good rough >indicator of how the system was doing. But it doesn't seem to work >very well on this 8 core system. > >My best guess is that the bogus mysql number is also throwing off the >load averages, making them higher than they really are, but that's >just a guess. > >Any thoughts? Is there a better tool for measuring load? > >-- John > > >last pid: 43730; load averages: 1.93, 2.64, >2.22 up 92+19:45:54 09:26:27 >238 processes: 3 running, 235 sleeping >CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, >74.4% idle >Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, >2150M Free >Swap: 16G Total, 88K Used, 16G Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >COMMAND > 1393 mysql 63 20 0 400M 221M kserel 0 191.5H 157.13% >mysqld >43698 www 1 4 0 169M 29888K sbwait 5 0:00 2.63% httpd >43697 www 1 20 0 169M 29804K lockf 1 0:00 1.18% httpd >23376 vpopmail 1 4 0 81468K 55772K select 7 0:28 1.17% >perl5.8.8 >43729 root 1 96 0 7228K 2676K select 5 0:00 1.00% >couriertls >43695 www 1 4 0 169M 29768K sbwait 5 0:00 0.67% httpd >43417 www 1 4 0 170M 31340K sbwait 7 0:00 0.20% httpd >85622 root 1 4 0 98588K 68764K select 5 7:54 0.20% ruby >43325 www 1 20 0 170M 30412K lockf 7 0:00 0.15% httpd > 6352 root 1 4 0 97660K 67784K select 3 1:04 0.10% ruby >42848 www 1 4 0 169M 30004K sbwait 4 0:00 0.10% httpd >43111 www 1 20 0 170M 30336K lockf 2 0:00 0.05% httpd > >_______________________________________________ >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 freebsd at assetburned.de Thu Jul 3 16:37:33 2008 From: freebsd at assetburned.de (assetburned) Date: Thu Jul 3 16:37:37 2008 Subject: Problem with pf, which is not doing NAT Message-ID: Hi, I try to use a FreeBSD machine as a gateway with 2 LAN, one WAN connection and a local Squid. All I want to do for the beginning is do NAT the whole traffic to the Internet. The whole traffic should be go directly to the WAN interface If one of the users want to, than he should be able to use the Squid. But as I said, they don't have to... at least for the beginning. Now my problem, the only way to access the internet at the moment is to use the Squid. OK not bad, at least something is working, but not the way I want :-/ It would be nice if I could still access my SSHd after setting up the new pf.conf, which is working at the moment. I have, in my sysctrl.conf, a net.inet.ip.forwarding=1 line and while booting up it is set to one. My pf.conf is this. ExtIF1 = "ed0" ExtIF = $ExtIF1 # i know a bit useless IntIF1 = "ed1" IntIF2 = "ed2" IntIF = "{" $IntIF1 $IntIF2 "}" LocIF = "lo0" scrub log on $ExtIF all random-id min-ttl 254 max-mss 1452 reassemble tcp fragment reassemble no rdr on $LocIF from any to any nat on $ExtIF from $IntIF1:network to any -> ($ExtIF) nat on $ExtIF from $IntIF2:network to any -> ($ExtIF) So any ideas? cu AssetBurned From ibb_orac at mbox.contact.bg Thu Jul 3 17:00:16 2008 From: ibb_orac at mbox.contact.bg (Ivaylo Bonev) Date: Thu Jul 3 17:00:22 2008 Subject: FreeBSD and Bacula Message-ID: I want to use FreeBSD 7.0 for Backup server. After little searching, my decision was to use Bacula (because of Windows client). After installation of latest version (Bacula 2.4.0) and active googling, reading very carefuly Onlamp article of Bacula server on FreeBSD (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and configuring File, Storage and Director files, I was astonished by the fact that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error messages in console, ps aux| grep 'bacula' say nothing, nothing! I put bacula_dir_enable="YES" bacula_fd_enable="YES" bacula_sd_enable="YES" and after restart on console shows this error: 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 Config error: Could not find config Resource bacula-fd referenced on line 30 : Client = bacula-fd : line 30, col 20 of file /usr/local/etc/bacula-dir.conf Client = bacula-fd All Bacula .conf files are attached. Is there a bug, or misconfigured .conf files? -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" -------------- next part -------------- A non-text attachment was scrubbed... Name: bacula-sd.conf Type: application/octet-stream Size: 1093 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/f584b582/bacula-sd.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: bacula-dir.conf Type: application/octet-stream Size: 8503 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/f584b582/bacula-dir.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: bacula-fd.conf Type: application/octet-stream Size: 712 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080703/f584b582/bacula-fd.obj From roberthuff at rcn.com Thu Jul 3 17:06:21 2008 From: roberthuff at rcn.com (Robert Huff) Date: Thu Jul 3 17:06:26 2008 Subject: library for readline() Message-ID: <18541.1801.621894.185765@jerusalem.litteratus.org> The man page for readline() shows where to find the include files, but makes no mention of the associated libraries. The only library I can find that looks possible is libguilereadline-v-17 - is this the right object, or should I be looking elsewhere? Robert Huff From chris at smartt.com Thu Jul 3 17:16:10 2008 From: chris at smartt.com (Chris St Denis) Date: Thu Jul 3 17:16:15 2008 Subject: FreeBSD and Bacula In-Reply-To: References: Message-ID: <486D0965.6040109@smartt.com> Ivaylo Bonev wrote: > I want to use FreeBSD 7.0 for Backup server. After little searching, > my decision was to use Bacula (because of Windows client). After > installation of latest version (Bacula 2.4.0) and active googling, > reading very carefuly Onlamp article of Bacula server on FreeBSD > (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and > configuring File, Storage and Director files, I was astonished by the > fact that Bacula cannot start from provided scripts in > /usr/local/etc/rc.d/ directory. No messages in log, no error messages > in console, ps aux| grep 'bacula' say nothing, nothing! I put > bacula_dir_enable="YES" > bacula_fd_enable="YES" > bacula_sd_enable="YES" > and after restart on console shows this error: > 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 > Config error: Could not find config Resource bacula-fd referenced on > line 30 : > Client = bacula-fd > > > : line 30, col 20 of file /usr/local/etc/bacula-dir.conf > Client = bacula-fd > > All Bacula .conf files are attached. Is there a bug, or misconfigured > .conf files? > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 don't know Bacula, but taking a quick look at the config file, it looks like you need a "client" block named bacula-fd (you have one called laptop-fd) From rjgonzale at gmail.com Thu Jul 3 17:30:42 2008 From: rjgonzale at gmail.com (Rodrigo Gonzalez) Date: Thu Jul 3 17:30:47 2008 Subject: FreeBSD and Bacula In-Reply-To: References: Message-ID: <486D0C98.9070802@gmail.com> Ivaylo Bonev wrote: > I want to use FreeBSD 7.0 for Backup server. After little searching, my > decision was to use Bacula (because of Windows client). After > installation of latest version (Bacula 2.4.0) and active googling, > reading very carefuly Onlamp article of Bacula server on FreeBSD > (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and > configuring File, Storage and Director files, I was astonished by the > fact that Bacula cannot start from provided scripts in > /usr/local/etc/rc.d/ directory. No messages in log, no error messages in > console, ps aux| grep 'bacula' say nothing, nothing! I put > bacula_dir_enable="YES" > bacula_fd_enable="YES" > bacula_sd_enable="YES" > and after restart on console shows this error: > 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 > Config error: Could not find config Resource bacula-fd referenced on > line 30 : > Client = bacula-fd > > > : line 30, col 20 of file /usr/local/etc/bacula-dir.conf > Client = bacula-fd > > All Bacula .conf files are attached. Is there a bug, or misconfigured > .conf files? > You have laptop-fd in your bacula-fd configuration, you dont have bacula-fd (I think you've renamed the Client conf from samples). Change bacula-fd with laptop-fd and should work From dnelson at allantgroup.com Thu Jul 3 17:32:46 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu Jul 3 17:32:51 2008 Subject: library for readline() In-Reply-To: <18541.1801.621894.185765@jerusalem.litteratus.org> References: <18541.1801.621894.185765@jerusalem.litteratus.org> Message-ID: <20080703170846.GH76555@dan.emsphone.com> In the last episode (Jul 03), Robert Huff said: > > The man page for readline() shows where to find the include > files, but makes no mention of the associated libraries. > The only library I can find that looks possible is > libguilereadline-v-17 - is this the right object, or should I be > looking elsewhere? It's just libreadline. There should be one in /usr/lib/ . -- Dan Nelson dnelson@allantgroup.com From hugo at barafranca.com Thu Jul 3 17:35:18 2008 From: hugo at barafranca.com (Hugo Silva) Date: Thu Jul 3 17:35:46 2008 Subject: FreeBSD and Bacula In-Reply-To: References: Message-ID: <486D0B09.1060009@barafranca.com> Ivaylo Bonev wrote: > I want to use FreeBSD 7.0 for Backup server. After little searching, > my decision was to use Bacula (because of Windows client). After > installation of latest version (Bacula 2.4.0) and active googling, > reading very carefuly Onlamp article of Bacula server on FreeBSD > (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and > configuring File, Storage and Director files, I was astonished by the > fact that Bacula cannot start from provided scripts in > /usr/local/etc/rc.d/ directory. No messages in log, no error messages > in console, ps aux| grep 'bacula' say nothing, nothing! I put > bacula_dir_enable="YES" > bacula_fd_enable="YES" > bacula_sd_enable="YES" > and after restart on console shows this error: > 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 > Config error: Could not find config Resource bacula-fd referenced on > line 30 : > Client = bacula-fd > > > : line 30, col 20 of file /usr/local/etc/bacula-dir.conf > Client = bacula-fd > > All Bacula .conf files are attached. Is there a bug, or misconfigured > .conf files? > > ------------------------------------------------------------------------ > > _______________________________________________ > 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" Surely a misconfiguration, I have just finished setting up bacula on a freebsd 7-STABLE host, successfully. Regards, Hugo From ibb_orac at mbox.contact.bg Thu Jul 3 17:38:52 2008 From: ibb_orac at mbox.contact.bg (Ivaylo Bonev) Date: Thu Jul 3 17:38:57 2008 Subject: FreeBSD and Bacula In-Reply-To: <486D0C98.9070802@gmail.com> References: <486D0C98.9070802@gmail.com> Message-ID: Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez : > Ivaylo Bonev wrote: >> I want to use FreeBSD 7.0 for Backup server. After little searching, my >> decision was to use Bacula (because of Windows client). After >> installation of latest version (Bacula 2.4.0) and active googling, >> reading very carefuly Onlamp article of Bacula server on FreeBSD >> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and >> configuring File, Storage and Director files, I was astonished by the >> fact that Bacula cannot start from provided scripts in >> /usr/local/etc/rc.d/ directory. No messages in log, no error messages in >> console, ps aux| grep 'bacula' say nothing, nothing! I put >> bacula_dir_enable="YES" >> bacula_fd_enable="YES" >> bacula_sd_enable="YES" >> and after restart on console shows this error: >> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 >> Config error: Could not find config Resource bacula-fd referenced on >> line 30 : >> Client = bacula-fd >> >> >> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf >> Client = bacula-fd >> >> All Bacula .conf files are attached. Is there a bug, or misconfigured >> .conf files? >> > You have laptop-fd in your bacula-fd configuration, you dont have > bacula-fd (I think you've renamed the Client conf from samples). > > Change bacula-fd with laptop-fd and should work > Thanks, it works now! What is name convention for Windows derectories and files in 'File =' 'c:/new' or '/new'? -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" From rjgonzale at gmail.com Thu Jul 3 17:44:04 2008 From: rjgonzale at gmail.com (Rodrigo Gonzalez) Date: Thu Jul 3 17:44:08 2008 Subject: FreeBSD and Bacula In-Reply-To: References: <486D0C98.9070802@gmail.com> Message-ID: <486D0FBC.9000105@gmail.com> Ivaylo Bonev wrote: > Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez : > >> Ivaylo Bonev wrote: >>> I want to use FreeBSD 7.0 for Backup server. After little searching, my >>> decision was to use Bacula (because of Windows client). After >>> installation of latest version (Bacula 2.4.0) and active googling, >>> reading very carefuly Onlamp article of Bacula server on FreeBSD >>> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and >>> configuring File, Storage and Director files, I was astonished by the >>> fact that Bacula cannot start from provided scripts in >>> /usr/local/etc/rc.d/ directory. No messages in log, no error messages in >>> console, ps aux| grep 'bacula' say nothing, nothing! I put >>> bacula_dir_enable="YES" >>> bacula_fd_enable="YES" >>> bacula_sd_enable="YES" >>> and after restart on console shows this error: >>> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 >>> Config error: Could not find config Resource bacula-fd referenced on >>> line 30 : >>> Client = bacula-fd >>> >>> >>> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf >>> Client = bacula-fd >>> >>> All Bacula .conf files are attached. Is there a bug, or misconfigured >>> .conf files? >>> >> You have laptop-fd in your bacula-fd configuration, you dont have >> bacula-fd (I think you've renamed the Client conf from samples). >> >> Change bacula-fd with laptop-fd and should work >> > > Thanks, it works now! > What is name convention for Windows derectories and files in 'File =' > 'c:/new' or '/new'? > I dont use windows so I dont know....but I think that should be c:/ or wont know which disk/partition you are talking about From ml at netfence.it Thu Jul 3 17:47:18 2008 From: ml at netfence.it (Andrea Venturoli) Date: Thu Jul 3 17:47:23 2008 Subject: FreeBSD and Bacula In-Reply-To: References: Message-ID: <486D0E40.4060802@netfence.it> Ivaylo Bonev ha scritto: > I was astonished by the > fact that Bacula cannot start from provided scripts in > /usr/local/etc/rc.d/ directory. No messages in log, no error messages in > console, ps aux| grep 'bacula' say nothing, nothing! I put > bacula_dir_enable="YES" > bacula_fd_enable="YES" > bacula_sd_enable="YES" This is quite tipical behaviour for ports. > and after restart on console shows this error: > 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 > Config error: Could not find config Resource bacula-fd referenced on > line 30 : > Client = bacula-fd > > > : line 30, col 20 of file /usr/local/etc/bacula-dir.conf > Client = bacula-fd > > All Bacula .conf files are attached. Is there a bug, or misconfigured > .conf files? It's a problem in your configuration: you have some jobs that refers to a bacula-fd client resource, but your only client resource is named laptop-fd. You'll want to change either one or the others of those definitions. BTW, given this is not a FreeBSD or FreeBSD specific problem, this question belongs more to Bacula's own mailing list (even if I rarely ever found any help there). bye av. From ertr1013 at student.uu.se Thu Jul 3 17:49:52 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Thu Jul 3 17:49:56 2008 Subject: library for readline() In-Reply-To: <18541.1801.621894.185765@jerusalem.litteratus.org> References: <18541.1801.621894.185765@jerusalem.litteratus.org> Message-ID: <20080703173443.GA44362@owl.midgard.homeip.net> On Thu, Jul 03, 2008 at 01:06:17PM -0400, Robert Huff wrote: > > The man page for readline() shows where to find the include > files, but makes no mention of the associated libraries. > The only library I can find that looks possible is > libguilereadline-v-17 - is this the right object, or should I be > looking elsewhere? The associated library ought to be libreadline, which is installed as part of FreeBSD. -- Erik Trulsson ertr1013@student.uu.se From ibb_orac at mbox.contact.bg Thu Jul 3 17:51:12 2008 From: ibb_orac at mbox.contact.bg (Ivaylo Bonev) Date: Thu Jul 3 17:51:17 2008 Subject: FreeBSD and Bacula In-Reply-To: <486D0E40.4060802@netfence.it> References: <486D0E40.4060802@netfence.it> Message-ID: Thu, 03 Jul 2008 20:37:04 +0300, Andrea Venturoli : > Ivaylo Bonev ha scritto: >> I was astonished by the fact that Bacula cannot start from provided >> scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error >> messages in console, ps aux| grep 'bacula' say nothing, nothing! I put >> bacula_dir_enable="YES" >> bacula_fd_enable="YES" >> bacula_sd_enable="YES" > > This is quite tipical behaviour for ports. > > > >> and after restart on console shows this error: >> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 >> Config error: Could not find config Resource bacula-fd referenced on >> line 30 : >> Client = bacula-fd >> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf >> Client = bacula-fd >> All Bacula .conf files are attached. Is there a bug, or misconfigured >> .conf files? > > It's a problem in your configuration: you have some jobs that refers to > a bacula-fd client resource, but your only client resource is named > laptop-fd. > You'll want to change either one or the others of those definitions. > > BTW, given this is not a FreeBSD or FreeBSD specific problem, this > question belongs more to Bacula's own mailing list (even if I rarely > ever found any help there). > > > > bye > av. > Because people here are friendly to newbies. We are humans after all, everyone make mistakes :) -- Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" From kline at thought.org Thu Jul 3 18:27:25 2008 From: kline at thought.org (Gary Kline) Date: Thu Jul 3 18:27:29 2008 Subject: to shell (and X window System) wizards. In-Reply-To: <20080703153620.GA37232@torus.slightlystrange.org> References: <20080703021344.GA73949@thought.org> <20080703153620.GA37232@torus.slightlystrange.org> Message-ID: <20080703182720.GA65961@thought.org> On Thu, Jul 03, 2008 at 04:36:20PM +0100, Daniel Bye wrote: > On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: > > > > would this works, say in .zlogin, to say that X is up: > > > > if [ -e /tmp/.X11-unix/X0 ] > > then > > echo "X is up." > > exit 0; > > else > > echo "No X yet" > > exit 1; > > fi > > > > or is there something more clever? > > I'm not sure if it's any cleverer, but I would probably make a call to > pgrep(1) instead of relying on the existence of a file that might exist, > even if X isn't running (unusual, but it does happen now and then, here at > least) - something like > > if (pgrep "Xorg") > then > echo "X is up." > exit 0 > else > echo "No X yet..." > exit 1 > fi i don't remember using pgrep last time, but it seems more failsafe, so thankee. i seem to recall that /tmp/.X11* is zapped during powerdown, butt for ssure, X has Got to be the the proc table:-) gary > > ... should do the trick. > > And bear in mind that ~/.zlogin is run *after* ~/.zshrc, whereas ~/.zprofile > is run *before* it. It might matter, depending on what you are trying to do. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From girish at hri.res.in Thu Jul 3 18:28:28 2008 From: girish at hri.res.in (Girish Kulkarni) Date: Thu Jul 3 18:28:32 2008 Subject: Card Reader Message-ID: <8a2141c0807031059o312b036g6b51addb2ce28c29@mail.gmail.com> Hi, I am using FreeBSD 7.0 on a Dell Inspiron 640m notebook, which comes with a Ricoh R5C832 5-in-1 Media Card Reader. This chip doesn't seem to be supported by FreeBSD 7.0. Is there any way I could make it work? (I tried fwohci(4) but failed.) Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com From lreid at cs.okstate.edu Thu Jul 3 19:14:35 2008 From: lreid at cs.okstate.edu (Reid Linnemann) Date: Thu Jul 3 19:14:39 2008 Subject: Too Much Context Switching? In-Reply-To: <20080630135801.h2jz2aibb44gw0kg@mail.schnarff.com> References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630135801.h2jz2aibb44gw0kg@mail.schnarff.com> Message-ID: <486D2518.1050501@cs.okstate.edu> Written by alex@schnarff.com on 06/30/08 12:58>> >>>> In 6.x. the default thread library is quite inefficient although it >>>> can make use of multiple CPUs (again, providing the application is >>>> giving them work to do). For multi-threaded performance you will be >>>> better off switching to the libthr library (see libmap.conf(5)) or >>>> updating to 7.0 (where it is the default). This isn't likely to be >>>> the underlying issue if you are trying to debug a loss of >>>> performance relative to the same configuration in the past though. >>> >>> Indeed Plone is written in python, and python has a "Big Giant Lock" >>> inside which insures that only one thread can execute, in order to >>> protect the python structures. This lock is only released under special >>> circumstances, such as doing IO. Hence it is necessary to run several >>> instances of python programs and do synchronization work, if one wants >>> to make use of several CPUs, or use python threads, and immediately >>> make some IOs, or similar techniques. It may be that using Jython, if >>> possible, yields better threading behavior. When doing some work >>> according to these ideas, i had found quite severe contention, and this >>> was not cured when switching native threading libraries (libksd, libthr, >>> etc.). The problem is really inside python. >> >> Yep, it could be that -- what confuses me though is that it is claimed >> that performance suddenly regressed. If so then this cannot be the >> underlying cause. >> > > It's actually been a long, slow, steady degradation of performance as > best I can tell, that's recently just reached proportions that are so > ridiculous that it's gone from "this sucks but I can deal" to "this is > completely unusable." The system has been slow from the start, just not > this slow. I guess I'll need to investigate this...and while I know that > Python is somewhat off-topic, if anyone here has any suggestions on > where to start, they'd be much appreciated. :-) > > Alex As far as degradations-over-time are concerned, don't overlook your ZODB. If you don't pack it regularly and it grows to some ridiculous size you can be in for a world of hurt. From drew at mykitchentable.net Thu Jul 3 20:48:00 2008 From: drew at mykitchentable.net (Drew Tomlinson) Date: Thu Jul 3 20:48:05 2008 Subject: FreeBSD and Bacula In-Reply-To: References: <486D0C98.9070802@gmail.com> Message-ID: <486D34BB.7020708@mykitchentable.net> Ivaylo Bonev wrote: > Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez : > >> Ivaylo Bonev wrote: >>> I want to use FreeBSD 7.0 for Backup server. After little searching, my >>> decision was to use Bacula (because of Windows client). After >>> installation of latest version (Bacula 2.4.0) and active googling, >>> reading very carefuly Onlamp article of Bacula server on FreeBSD >>> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and >>> configuring File, Storage and Director files, I was astonished by the >>> fact that Bacula cannot start from provided scripts in >>> /usr/local/etc/rc.d/ directory. No messages in log, no error >>> messages in >>> console, ps aux| grep 'bacula' say nothing, nothing! I put >>> bacula_dir_enable="YES" >>> bacula_fd_enable="YES" >>> bacula_sd_enable="YES" >>> and after restart on console shows this error: >>> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483 >>> Config error: Could not find config Resource bacula-fd referenced on >>> line 30 : >>> Client = bacula-fd >>> >>> >>> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf >>> Client = bacula-fd >>> >>> All Bacula .conf files are attached. Is there a bug, or misconfigured >>> .conf files? >>> >> You have laptop-fd in your bacula-fd configuration, you dont have >> bacula-fd (I think you've renamed the Client conf from samples). >> >> Change bacula-fd with laptop-fd and should work >> > > Thanks, it works now! > What is name convention for Windows derectories and files in 'File =' > 'c:/new' or '/new'? I use Bacula to backup files from Windows XP workstations in my home network. Here is a snippet from my bacula-dir.conf for your reference: FileSet { Name = "Bigdaddy Data Files" Enable VSS = yes Include { File = "c:\\Documents and Settings" File = "c:\\Elks" File = "c:\\EG Magicians Circle" Options { compression=GZIP signature=MD5 } } # Second "Include" is to really "Exclude" some wildcard options. See manual Include { Options { wild = "*[Tt]emp*" wild = "*[Uu][Ss][Ee][Rr]*\.[Dd][Aa][Tt].*" wild = "UsrClass\.dat.*" exclude=yes } } Exclude { } } It's been a long time since I set that up so I probably won't be able to answer any specific questions off the top of my head. However I hope my example will help you find your answers. Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From Millenia2000 at hotmail.com Fri Jul 4 00:43:18 2008 From: Millenia2000 at hotmail.com (Sean Cavanaugh) Date: Fri Jul 4 00:43:22 2008 Subject: Problem with pf, which is not doing NAT In-Reply-To: References: Message-ID: -------------------------------------------------- From: "assetburned" Sent: Thursday, July 03, 2008 12:37 PM To: Subject: Problem with pf, which is not doing NAT > Hi, > > I try to use a FreeBSD machine as a gateway with 2 LAN, one WAN > connection and a local Squid. if yer just trying to have a firewall with squid, take a look at pfSense.com From aryeh.friedman at gmail.com Fri Jul 4 02:08:07 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri Jul 4 02:08:14 2008 Subject: disabling sound on flash Message-ID: <486D85FE.5090903@gmail.com> I have linux-flashplugin7 installed and it has no settings for setting volume... I want to mute it completely (perminantly is ok if there is no per session way to do it)... is there any way to do this (even dening device access for it or firefox is fine with me also) -- Aryeh M. Friedman, FloSoft Systems http://www.flosoft-systems.com Java developer, unit testing, and operatring system development "Free Software != Free Beer" From fbsd at unimatrixzero.com Fri Jul 4 05:44:09 2008 From: fbsd at unimatrixzero.com (FBSD) Date: Fri Jul 4 05:44:21 2008 Subject: Amanda port update Message-ID: <200807040509.m6459Pwc023251@mercury.unimatrixzero.com> I need to install the current version of Amanda (misc/amanda-client and misc/amanda-server) and would like to install from the ports collection. However the port maintainer has not updated Amanda in quite some time. Can someone give me some advice on how to roll my own ports install from the source tarball? Thanks. From sahil at tandon.net Fri Jul 4 06:00:43 2008 From: sahil at tandon.net (Sahil Tandon) Date: Fri Jul 4 06:00:51 2008 Subject: Amanda port update In-Reply-To: <200807040509.m6459Pwc023251@mercury.unimatrixzero.com> References: <200807040509.m6459Pwc023251@mercury.unimatrixzero.com> Message-ID: <20080704060036.GA936@shepherd> FBSD wrote: > I need to install the current version of Amanda (misc/amanda-client and > misc/amanda-server) and would like to install from the ports collection. > However the port maintainer has not updated Amanda in quite some time. Can > someone give me some advice on how to roll my own ports install from the > source tarball? Thanks. See http://www.freebsd.org/doc/en/books/porters-handbook/ and use the existing amanda ports as a guide. Good luck. -- Sahil Tandon From tedm at toybox.placo.com Fri Jul 4 08:49:22 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Fri Jul 4 08:49:28 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Steve Franks > Sent: Monday, June 30, 2008 1:49 PM > To: FreeBSD Mailing List > Subject: OT: anyone been crazy enough to mirror wikipedia? > > > So call me a sociopath, but times are a bit scary. I'd like to do the > 2000's equivalent of the 1960's bomb shelter, and have my very own > snapshot in case of major local/regional internet disruption, etc. > This is not a silly idea. For many many years people would spend hundreds of dollars on a complete set of Encyclopedia Britannica or World Book encyclopedia to have it sit on their shelf gathering dust (until their kids used it for school, etc.) The fact that your even asking the question and wanting to do it is to your credit. I really feel the big value of doing something like this is to be able to go back to it, years later, and compare the old entries on a topic with the current entries on a topic to see how they have changed. I also think that solving the technical problems and learning how to create a wikipedia mirror would be a great learning experience for anyone. But, as for the practical value, I would encourage you to read Asimov's Foundation series to really understand that any attempt to catagorize and store the world's accumulated knowledge in a storage medium in a single location is ultimately an exercise in futility. Asimov made the valid point that book knowledge of facts must work hand in hand with experience to be useful, and experience isn't documentable. Terminus itself, the entire planet and everyone on it, was the encyclopedia - the actual encyclopedia that the encyclopediests were working on, was nothing more than a sham. Ted From wojtek at wojtek.tensor.gdynia.pl Fri Jul 4 09:06:36 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 4 09:06:43 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: Message-ID: <20080704110605.G6794@wojtek.tensor.gdynia.pl> > I really feel the big value of doing something like this is to > be able to go back to it, years later, and compare the old > entries on a topic with the current entries on a topic to > see how they have changed. nothing to solve - compressed database are available for download. From zanchey at ucc.gu.uwa.edu.au Fri Jul 4 09:26:37 2008 From: zanchey at ucc.gu.uwa.edu.au (David Adam) Date: Fri Jul 4 09:26:45 2008 Subject: BTX errors on Intel SR1200 following gvinum ?crash In-Reply-To: References: Message-ID: It looks like the problems I experienced below were due to creating a vinum volume starting at offset 0, instead of offset 16, thus overwriting the bootloader. I realise this is documented - apologies for the noise. Thanks, David Adam zanchey@ucc.gu.uwa.edu.au On Tue, 1 Jul 2008, David Adam wrote: > I have a reasonably old (P3-class) Intel SR1200 which has three SCSI > drives installed. I've installed FreeBSD 7.0-RELEASE over NFS onto the > first drive. > > While configuring gvinum, I issued the following commands: > > --- > blade# gvinum > gvinum -> list > 1 drive: > D r0 State: down /dev/da0s1b A: 32677/32677 MB > (100%) > > 0 volumes: > > 0 plexes: > > 0 subdisks: > gvinum -> rm r0 > --- > > At this point, my SSH session to the machine stopped responding and > eventually timed out. I presume it rebooted; I didn't get to the console > in time, and this was all that was displayed: > > int=00000006 err=00000000 efl=00010246 eip=0000275c > eax=00091300 ebx=00000000 ecx=00000000 edx=00000000 > esi=00000004 edi=00003dd4 ebp=00000000 esp=000903fc > cs=002b ds=0033 es=0033 fs=0033 gs=0033 ss=0033 > cs:eip=f0 49 08 28 00 82 07 28-00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 > ss:esp=29 20 00 00 00 00 00 00-00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 > BTX halted > > This error persists on reboot. I have tried using sysinstall to rewrite > the MBR (with /boot/mbr-style booting). > > The partition table looks like this: > --- > blade# bsdlabel da0s1 > # /dev/da0s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 4194304 66924544 4.2BSD 0 0 0 > b: 66924544 0 vinum > c: 71119692 0 unused 0 0 # "raw" part, don't edit > --- > > Some web searching of the various values has turned up no information > that I can understand; where should I go from here? > > The FreeBSD installer disc1 boots ok on this machine, as did the > 7.0-RELEASE install until the gvinum crash. Getting a dmesg out of the > machine is proving to be a little challenging but if required I will > provide this tomorrow. > > Please keep me in the reply chain; I am not subscribed to -questions. > > Thanks, > > David Adam > zanchey@ucc.gu.uwa.edu.au From proace at gmail.com Fri Jul 4 09:27:01 2008 From: proace at gmail.com (ProAce) Date: Fri Jul 4 09:27:11 2008 Subject: Is it reliable to increase the MAXCPU in param.h ? In-Reply-To: <4869EF87.4040707@FreeBSD.org> References: <737a6d270806302225y4763ca70ge9dc5084847e05de@mail.gmail.com> <4869EF87.4040707@FreeBSD.org> Message-ID: <737a6d270807040226q4c4f96ean2400af3aab232ccb@mail.gmail.com> Testing Report: Server: HP DL785G5 , AMD Opteron 8356 * 8 ( 32 cores ) , 16G RAM DB: PostgreSQL 8.3.3 ( install from ports , default option ) Test tool: super-smack ( install from ports ) Disk: 146G SAS * 2 ( RAID 1 on HP P400 ) OS kernel: Just change the 4BSD to ULE , and increase the MAXCPU to 32. PGSQL's config : default postgresql.conf super-smack's source: default source file & data command: repeat 10 super-smack -d pg select-key.smack [# of client] 10000 And I calculate the average of the 10 results for each execution. # of client | query per sec. ==================== 01 | 5829 02 | 10663 03 | 14399 04 | 16713 05 | 19662 06 | 22434 07 | 25095 08 | 27464 09 | 29783 10 | 31697 11 | 33514 12 | 35298 13 | 36600 14 | 37721 15 | 38061 16 | 39065 17 | 40350 18 | 40525 19 | 41174 20 | 41721 21 | 41354 22 | 39321 23 | 37905 24 | 31794 25 | 29731 26 | 25782 27 | 26069 28 | 23780 29 | 19475 30 | 17867 31 | 17794 32 | 26065 33 | 35252 34 | 36010 35 | 34396 36 | 33878 2008/7/1, Kris Kennaway : > ProAce wrote: > > Server: HP DL785G5 with 8 CPU ( 32 cores ) , 16G RAM > > OS: FreeBSD 7.0-amd64 > > Kernel 1: MAXCPU = 16 ( default ) > > Kernel 2: MAXCPU = 32 > > > > DL785G5 run with kernel 1 and kernel 2 both successfully, and the > > FreeBSD can detect the 16 CPUs and 32 CPUs normally ( using top -S > > command). > > > > If I use kernel 2 for postgresql 8.3, is it reliable and stable? > > > > 32 should be OK, but we haven't had access to such a machine yet (we briefly > had access to a 16-core system but it melted) so we have not yet tuned for > performance on it. FreeBSD 8.0 will run better if you are willing to use a > development version of FreeBSD. > > Kris > From freebsd at assetburned.de Fri Jul 4 09:35:09 2008 From: freebsd at assetburned.de (assetburned) Date: Fri Jul 4 09:35:16 2008 Subject: Problem with pf, which is not doing NAT In-Reply-To: <486DD1F4.7010606@mail.ru> References: <486DD1F4.7010606@mail.ru> Message-ID: Hi On 04.07.2008, at 08:32, Michael Lednev wrote: > assetburned ?????: >> >> So any ideas? > > do you have gateway_enable="YES" in /etc/rc.conf? Yes I have that line active. I also have natd_enable="NO" because I was told I don't need it anymore for pf (I'm a switcher from IPFW). cu assetburned From kline at thought.org Fri Jul 4 09:42:32 2008 From: kline at thought.org (Gary Kline) Date: Fri Jul 4 09:42:39 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: <539c60b90806301348l4b09cd90n3972b41339276d6f@mail.gmail.com> Message-ID: <20080704094226.GA1817@thought.org> On Fri, Jul 04, 2008 at 01:50:20AM -0700, Ted Mittelstaedt wrote: > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Steve Franks > > Sent: Monday, June 30, 2008 1:49 PM > > To: FreeBSD Mailing List > > Subject: OT: anyone been crazy enough to mirror wikipedia? > > > > > > So call me a sociopath, but times are a bit scary. I'd like to do the > > 2000's equivalent of the 1960's bomb shelter, and have my very own > > snapshot in case of major local/regional internet disruption, etc. > > > > This is not a silly idea. For many many years people would spend > hundreds of dollars on a complete set of Encyclopedia Britannica > or World Book encyclopedia to have it sit on their shelf gathering > dust (until their kids used it for school, etc.) > > The fact that your even asking the question and wanting to do > it is to your credit. > > I really feel the big value of doing something like this is to > be able to go back to it, years later, and compare the old > entries on a topic with the current entries on a topic to > see how they have changed. > > I also think that solving the technical problems and learning > how to create a wikipedia mirror would be a great learning > experience for anyone. > > But, as for the practical value, I would encourage you to read > Asimov's Foundation series to really understand that any attempt > to catagorize and store the world's accumulated knowledge in a > storage medium in a single location is ultimately an exercise in > futility. Asimov > made the valid point that book knowledge of facts must work hand > in hand with experience to be useful, and experience isn't documentable. > Terminus itself, the entire planet and everyone on it, was the > encyclopedia - the actual encyclopedia that the encyclopediests > were working on, was nothing more than a sham. > Thanks for thi, Ted. While this is going even further off-topi, I would like to see a ' (non-scholarly) wiki for just about every topic you can think of. By wiki, i mean, in wiki format. over time it could have citations and beome a research tool. On the BSD kernel prio scheduler, for one example. This mighht grow into a wiki-web for unix nerds; or art history buffs, etv. I've got one questioon that I have been meaning to ask for years, but haven't due to the yelps.... II've asked some off-the-wall here on -questions simply because this is the most intelligent group|list of people I've found. Is there a more appropriate place to ask miscelllaneous questions? [I know about some and will hold my tongue!] Be nice to ask, e.g, why homes are not required to have R-50 in the wall; R-90 attics. --I'd ask here, but not only would someone toss a fit, but I doubt that even gven our level of xpertness, no one would know. ---Anyway, apologies for this quasi-ramble and completely OT post. have a good 4th/july, gary > Ted > _______________________________________________ > 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 www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From freebsd at assetburned.de Fri Jul 4 09:44:04 2008 From: freebsd at assetburned.de (assetburned) Date: Fri Jul 4 09:44:12 2008 Subject: Problem with pf, which is not doing NAT (Solved) In-Reply-To: <8206ae960807031134l7421d33dtc54a4f3373078fb6@mail.gmail.com> References: <8206ae960807031134l7421d33dtc54a4f3373078fb6@mail.gmail.com> Message-ID: <383CF861-1807-40E7-873E-D0FF70E8CC0A@assetburned.de> On 03.07.2008, at 19:34, xSAPPYx wrote: > A couple of pass rules should help > > pass in on $IntIF > pass out on $ExtIF Hi, that's it! thanks! cu assetburned From wojtek at wojtek.tensor.gdynia.pl Fri Jul 4 10:00:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 4 10:01:04 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: Message-ID: <20080704120028.W7036@wojtek.tensor.gdynia.pl> > This is not a silly idea. For many many years people would spend > hundreds of dollars on a complete set of Encyclopedia Britannica > or World Book encyclopedia to have it sit on their shelf gathering they bought it to HAVE it, not because they need it. From wojtek at wojtek.tensor.gdynia.pl Fri Jul 4 11:16:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 4 11:16:56 2008 Subject: geom_raid5 Message-ID: <20080704131621.H7357@wojtek.tensor.gdynia.pl> is it planned? or maybe already exist but not in main tree? From talon at lpthe.jussieu.fr Fri Jul 4 11:45:49 2008 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Fri Jul 4 11:45:56 2008 Subject: geom_raid5 Message-ID: <20080704114545.GA19405@lpthe.jussieu.fr> Wojciech Puchar wrote: > (geom_raid5) is it planned? or maybe already exist but not in main > tree? It exists, it is used in FreeNAS, but is not in the main tree. -- Michel TALON From wojtek at wojtek.tensor.gdynia.pl Fri Jul 4 12:09:55 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 4 12:10:02 2008 Subject: geom_raid5 In-Reply-To: <20080704114545.GA19405@lpthe.jussieu.fr> References: <20080704114545.GA19405@lpthe.jussieu.fr> Message-ID: <20080704140939.I7622@wojtek.tensor.gdynia.pl> > >> (geom_raid5) is it planned? or maybe already exist but not in main >> tree? > > It exists, it is used in FreeNAS, but is not in the main tree. where to get the source? thanks From freebsd at meijome.net Fri Jul 4 13:12:18 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Jul 4 13:12:24 2008 Subject: Let me re-phrase this: [was:Re: which font previewer?] In-Reply-To: <20080701212708.GA16233@thought.org> References: <20080701011041.GA43264@thought.org> <20080701212708.GA16233@thought.org> Message-ID: <20080704231208.224543ab@ayiin> On Tue, 1 Jul 2008 14:27:08 -0700 Gary Kline wrote: > i've spent hours looking around (both in ports and via Google) > and haven't found a font viewer that will let me preview all > the fonts i've collected. some are ghostscriptt, others are ttf; > others are labeled "system fonts" and the others don't show up > on the utilities i *have* found. is there a viewer out ther that > will display all fonts? Hey Gary, i think you are looking for the equivalent of some software in Mac / OSX ... from adobe maybe? i have an image in my mind of a font portfolio... Corel had (has? havent touched it in a decade+) a similar tool in Win32.. anyway, I assume you have used xfontsel, which seems to do what you want but uses rather old style widgets. Are all the file types you need supported by xfs ? If so, just install them and access them directly from the font server... maybe even spend the time putting together a PDF with "the quick brown fox..." in each font ? I wonder if TeX or even some pdf library could be scripted to generated this automatically... anyway... enough blabbering... /usr/ports show the following promising tools: x11-fonts/fontmatrix * x11-fonts/gnome-font-sampler deskutils/gucharmap * print/fontforge (an editor, actually, but if u can edit, u can see them ;) ) print/gfontview x11/xfd x11-fonts/tkfont x11-fonts/xlsfonts there may be a few more.. * I am installing these 2 now just to check them out.. gucharmap is ok, nothing wow. I can't tell how much coverage of all fonts installed it has... let us know what you go with in the end.. B _________________________ {Beto|Norberto|Numard} Meijome "I abhor a system designed for the 'user', if that word is a coded pejorative meaning 'stupid and unsophisticated'. Ken Thompson I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From michaek at mail.ru Fri Jul 4 13:30:33 2008 From: michaek at mail.ru (Michael Lednev) Date: Fri Jul 4 13:30:41 2008 Subject: Problem with pf, which is not doing NAT In-Reply-To: References: Message-ID: <486DD1F4.7010606@mail.ru> assetburned ?????: > Hi, > > I try to use a FreeBSD machine as a gateway with 2 LAN, one WAN > connection and a local Squid. > > All I want to do for the beginning is do NAT the whole traffic to the > Internet. The whole traffic should be go directly to the WAN interface > If one of the users want to, than he should be able to use the Squid. > But as I said, they don't have to... at least for the beginning. > > Now my problem, the only way to access the internet at the moment is > to use the Squid. OK not bad, at least something is working, but not > the way I want :-/ > > It would be nice if I could still access my SSHd after setting up the > new pf.conf, which is working at the moment. > > I have, in my sysctrl.conf, a net.inet.ip.forwarding=1 line and while > booting up it is set to one. > > My pf.conf is this. > > ExtIF1 = "ed0" > ExtIF = $ExtIF1 # i know a bit useless > IntIF1 = "ed1" > IntIF2 = "ed2" > IntIF = "{" $IntIF1 $IntIF2 "}" > LocIF = "lo0" > scrub log on $ExtIF all random-id min-ttl 254 max-mss 1452 reassemble > tcp fragment reassemble > no rdr on $LocIF from any to any > nat on $ExtIF from $IntIF1:network to any -> ($ExtIF) > nat on $ExtIF from $IntIF2:network to any -> ($ExtIF) > > So any ideas? do you have gateway_enable="YES" in /etc/rc.conf? From david.robillard at gmail.com Fri Jul 4 15:28:34 2008 From: david.robillard at gmail.com (David Robillard) Date: Fri Jul 4 15:28:41 2008 Subject: Amanda port update Message-ID: <226ae0c60807040828l1f4c3f33qa35d31f51c7fe4cb@mail.gmail.com> > I need to install the current version of Amanda (misc/amanda-client and > misc/amanda-server) and would like to install from the ports collection. > However the port maintainer has not updated Amanda in quite some time. Can > someone give me some advice on how to roll my own ports install from the > source tarball? Thanks. Did you try to contact the port maintainer? You probably want to check with him/her before you update the port no? In any case, it's a good idea to update the port because we're going to need it here too! Good luck, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me. From rdmurray at bitdance.com Fri Jul 4 15:31:28 2008 From: rdmurray at bitdance.com (rdmurray@bitdance.com) Date: Fri Jul 4 15:31:39 2008 Subject: 6.3 SMP but only one CPU detected In-Reply-To: <20080618073800.D290F10656BF@hub.freebsd.org> References: <20080618073800.D290F10656BF@hub.freebsd.org> Message-ID: I wrote: > We have some systems we are upgrading from FreeBSD 6.1 to FreeBSD 6.3. > These are Dell PowerEdge servers. The one I'm working on now is a 1950. > Under 6.1 it booted into SMP mode no problem. Under 6.3, with no changes > made in the BIOS settings, it does not. Here is the start of the dmesg: Turns out the problem was a third party installer that added a line that disabled ACPI to /boot/loader.conf. Sigh. --David From z.szalbot at lc-words.com Fri Jul 4 17:05:09 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Fri Jul 4 17:05:17 2008 Subject: mod_rewrite / comprehensive redirects Message-ID: <486E5840.5090408@lc-words.com> Dear all, I know this is not Apache's mailing list, but there are so many experts here that I hope someone can help me. I have the following rule: RewriteRule ^\.*$ /new/index.html This redirects the base domain to a file called index.html in 'new' folder. However, what I would really like to achieve is to redirect every php file to /new/index.html, which currently does not work. I tried modifying the rule like this: RewriteRule ^\.php$ /new/index.html However, this rule matches nothing (or at least does not redirect). How should I accomplish this? I just need to redirect all hits to /new/index.html until a new site is ready. Many, many thanks in advance! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080704/83e39a95/smime.bin From sahil at tandon.net Fri Jul 4 17:33:33 2008 From: sahil at tandon.net (Sahil Tandon) Date: Fri Jul 4 17:34:03 2008 Subject: Amanda port update In-Reply-To: <226ae0c60807040828l1f4c3f33qa35d31f51c7fe4cb@mail.gmail.com> References: <226ae0c60807040828l1f4c3f33qa35d31f51c7fe4cb@mail.gmail.com> Message-ID: <20080704173329.GC1466@shepherd> David Robillard wrote: > > I need to install the current version of Amanda (misc/amanda-client and > > misc/amanda-server) and would like to install from the ports collection. > > However the port maintainer has not updated Amanda in quite some time. Can > > someone give me some advice on how to roll my own ports install from the > > source tarball? Thanks. > > Did you try to contact the port maintainer? You probably want to check > with him/her before you update the port no? > > In any case, it's a good idea to update the port because we're going > to need it here too! It's nice to contact the maintainer to ensure you don't duplicate efforts. But no need to ask permission to create an update patch. :) -- Sahil Tandon From tedm at toybox.placo.com Fri Jul 4 17:42:27 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Fri Jul 4 17:42:33 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080701050444.GA2142@kokopelli.hydra> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chad Perrin > Sent: Monday, June 30, 2008 10:05 PM > To: FreeBSD Mailing List > Subject: Re: OT: anyone been crazy enough to mirror wikipedia? > > > On Mon, Jun 30, 2008 at 05:15:39PM -0400, DAve wrote: > > Steve Franks wrote: > > >So call me a sociopath, but times are a bit scary. I'd like to do the > > >2000's equivalent of the 1960's bomb shelter, and have my very own > > >snapshot in case of major local/regional internet disruption, etc. > > > > > >What would be the best way to go about this. I see with <1T words, it > > >appears doable on current technology. Maybe they should offer a > > >snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort > > >of officially licenced copy, I suspect there are other freaks that > > >would too... > > > > When the world gets that bad, Wikipedia is the least of my concerns, > > slightly ahead of who is winning American Idol. If it comes to > the point > > the internet goes down for a long period of time, that $300 is better > > spent on a garden. > > > > Just my thoughts. > > Actually . . . if things get that bad, you're going to need some > firepower to protect your garden (and everything else you don't want > taken from you by force). To properly protect a garden, you'd need to > make it a community farm, with community members who have and will use > firearms to protect it (and your Wikipedia mirror). > > Of course, I greatly admire the impulse to protect the collected > knowledge of Wikipedia from disaster. It's also practical -- because it > contains a lot of information that might be of use (including good > subsistence gardening information, for those of us who don't have > naturally green thumbs). > If the crash comes and you don't have 4 - 5 years of experience running a garden on your land, plus your own well, your gonna starve. Veggies are very particular as to the kind of soil they like, and the light and water they get. And it takes several years of trying different ones to figure out the ones that do best in your soil. And most modern veggies are hybrids and the seed is genetically engineered, and patented. Many varieties are, in fact, sterile. Many others require irrigation to produce sizable yields. To put in a "heritage" garden that will produce given the normally occurring rainfall in your area takes someone with many years of experience in your area growing gardens. By the time you would be able to get one going from info in wikipedia, you would have died of starvation. Ted From pschmehl_lists at tx.rr.com Fri Jul 4 17:56:16 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Fri Jul 4 17:56:23 2008 Subject: mod_rewrite / comprehensive redirects In-Reply-To: <486E5840.5090408@lc-words.com> References: <486E5840.5090408@lc-words.com> Message-ID: <2333DCE40240BE7264CBB6A4@Macintosh.local> --On July 4, 2008 7:05:04 PM +0200 Zbigniew Szalbot wrote: > Dear all, > > I know this is not Apache's mailing list, but there are so many experts > here that I hope someone can help me. I have the following rule: > > RewriteRule ^\.*$ /new/index.html > > This redirects the base domain to a file called index.html in 'new' > folder. > > However, what I would really like to achieve is to redirect every php > file to /new/index.html, which currently does not work. > > I tried modifying the rule like this: > > RewriteRule ^\.php$ /new/index.html > > However, this rule matches nothing (or at least does not redirect). > > How should I accomplish this? I just need to redirect all hits to > /new/index.html until a new site is ready. > If that's what you want to do, make your ErrorDocument /new/index.html and leave the rewrites alone. Paul Schmehl If it isn't already obvious, my opinions are my own and not those of my employer. From fbsd at unimatrixzero.com Fri Jul 4 18:07:22 2008 From: fbsd at unimatrixzero.com (FBSD) Date: Fri Jul 4 18:07:29 2008 Subject: Amanda port update Message-ID: <200807041806.m64I6GU3027924@mercury.unimatrixzero.com> > > David Robillard wrote: > > > > I need to install the current version of Amanda (misc/amanda-client and > > > misc/amanda-server) and would like to install from the ports collection. > > > However the port maintainer has not updated Amanda in quite some time. Can > > > someone give me some advice on how to roll my own ports install from the > > > source tarball? Thanks. > > > > Did you try to contact the port maintainer? You probably want to check > > with him/her before you update the port no? > > > > In any case, it's a good idea to update the port because we're going > > to need it here too! > > It's nice to contact the maintainer to ensure you don't duplicate efforts. > But no need to ask permission to create an update patch. :) > > -- > Sahil Tandon > I did contact the port maintainer, but he didn't respond at all. :( Any help in getting this port updated would be greatly appreciated! From gahr at FreeBSD.org Fri Jul 4 18:52:53 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Fri Jul 4 18:53:02 2008 Subject: mod_rewrite / comprehensive redirects In-Reply-To: <486E6630.4060702@lc-words.com> References: <486E5840.5090408@lc-words.com> <486E63E0.6000800@FreeBSD.org> <486E6630.4060702@lc-words.com> Message-ID: <486E717F.8040307@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Zbigniew Szalbot wrote: | Hello, | | Pietro Cerutti: |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA512 |> |> Zbigniew Szalbot wrote: |> | Dear all, |> | |> | I know this is not Apache's mailing list, but there are so many experts |> | here that I hope someone can help me. I have the following rule: |> | |> | RewriteRule ^\.*$ /new/index.html |> | |> | This redirects the base domain to a file called index.html in 'new' |> folder. |> | |> | However, what I would really like to achieve is to redirect every php |> | file to /new/index.html, which currently does not work. |> | |> | I tried modifying the rule like this: |> | |> | RewriteRule ^\.php$ /new/index.html |> |> Try with |> |> RewriteRule ^.+\.php$ /new/index.html |> |> (not tested) | | Tested and it works. Many thanks!!! :) Good. You're welcome :) | - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhucX0ACgkQwMJqmJVx944fNQCgsno0O1Bb6otPsvDuOBt+RXTc OpEAoMlJr7TA8pwp73pS0Xpv9at1d7hC =VIsb -----END PGP SIGNATURE----- From sahil at tandon.net Fri Jul 4 19:51:45 2008 From: sahil at tandon.net (Sahil Tandon) Date: Fri Jul 4 19:51:51 2008 Subject: Amanda port update In-Reply-To: <200807041806.m64I6GU3027924@mercury.unimatrixzero.com> References: <200807041806.m64I6GU3027924@mercury.unimatrixzero.com> Message-ID: <20080704195141.GA1615@shepherd> FBSD wrote: > I did contact the port maintainer, but he didn't respond at all. :( > > Any help in getting this port updated would be greatly appreciated! Follow the guide linked previously in the thread and feel free to ask about specific problems that you encounter. We should also move this discussion to the freebsd-ports@ mailing list. -- Sahil Tandon From nejc at skoberne.net Fri Jul 4 21:32:44 2008 From: nejc at skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Fri Jul 4 21:33:07 2008 Subject: geom_raid5 In-Reply-To: <20080704140939.I7622@wojtek.tensor.gdynia.pl> References: <20080704114545.GA19405@lpthe.jussieu.fr> <20080704140939.I7622@wojtek.tensor.gdynia.pl> Message-ID: <486E95BE.6090206@skoberne.net> > where to get the source? http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/riddick Looks like the site where I got it from (http://home.tiscali.de/cmdr_faako/geom_raid5-eff.tbz) doesn't exist anymore. Bye, Nejc From gnemmi at gmail.com Fri Jul 4 23:33:53 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Fri Jul 4 23:34:00 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) Message-ID: <200807042033.44829.gnemmi@gmail.com> Could somebody please throw me a pointer ... i have followed every instruction on every book and/or how-to ... yet ... What am I doing wrong?? root@inferna:~ # uname -sr FreeBSD 7.0-RELEASE root@inferna:~ # kldstat Id Refs Address Size Name 1 10 0xc0400000 4dd878 kernel 2 1 0xc08de000 7559b0 nvidia.ko 3 1 0xc1034000 6721c acpi.ko 4 1 0xc4a2e000 4000 logo_saver.ko 5 1 0xc5884000 10000 ext2fs.ko root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ root@inferna:~ # ls /mnt ls: /mnt: Bad file descriptor root@inferna:~ # cd /mnt /mnt: Not a directory. root@inferna:~ # umount /mnt root@inferna:~ # cd /mnt root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . root@inferna:/mnt # ls ls: .: Not a directory root@inferna:/mnt # cd ~ root@inferna:~ # umount /mnt root@inferna:~ # file /mnt/ /mnt/: directory root@inferna:~ # cd /mnt root@inferna:/mnt # ls root@inferna:/mnt # dmesg says _nothing_ _Any_ hint will be more than welcome :) -- Blessings Gonzalo Nemmi From freebsd at meijome.net Sat Jul 5 01:35:24 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Sat Jul 5 01:35:33 2008 Subject: Let me re-phrase this: [was:Re: which font previewer?] In-Reply-To: <20080704231208.224543ab@ayiin> References: <20080701011041.GA43264@thought.org> <20080701212708.GA16233@thought.org> <20080704231208.224543ab@ayiin> Message-ID: <20080705113516.391be9d7@ayiin> On Fri, 4 Jul 2008 23:12:08 +1000 Norberto Meijome wrote: > x11-fonts/fontmatrix * i've installed this one, and after a very quick run throught it, it seems to work really well. It even allows you to create printouts of each font,etc. whether it loads all and every type of font, i don't know. it seems pretty complete, it even allows u to load fonts not installed in your system yet. all in all a handy app...it stays installed! :P _________________________ {Beto|Norberto|Numard} Meijome Law of Conservation of Perversity: we can't make something simpler without making something else more complex I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From ryan.coleman at cwis.biz Sat Jul 5 01:58:26 2008 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sat Jul 5 01:58:34 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <200807042033.44829.gnemmi@gmail.com> References: <200807042033.44829.gnemmi@gmail.com> Message-ID: <486ED53A.1090105@cwis.biz> Gonzalo Nemmi wrote: > Could somebody please throw me a pointer ... > i have followed every instruction on every book and/or how-to ... yet ... > > What am I doing wrong?? > > root@inferna:~ # uname -sr > FreeBSD 7.0-RELEASE > root@inferna:~ # kldstat > Id Refs Address Size Name > 1 10 0xc0400000 4dd878 kernel > 2 1 0xc08de000 7559b0 nvidia.ko > 3 1 0xc1034000 6721c acpi.ko > 4 1 0xc4a2e000 4000 logo_saver.ko > 5 1 0xc5884000 10000 ext2fs.ko > root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > root@inferna:~ # ls /mnt > ls: /mnt: Bad file descriptor > root@inferna:~ # cd /mnt > /mnt: Not a directory. > root@inferna:~ # umount /mnt > root@inferna:~ # cd /mnt > root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . > root@inferna:/mnt # ls > ls: .: Not a directory > root@inferna:/mnt # cd ~ > root@inferna:~ # umount /mnt > root@inferna:~ # file /mnt/ > /mnt/: directory > root@inferna:~ # cd /mnt > root@inferna:/mnt # ls > root@inferna:/mnt # > > dmesg says _nothing_ > _Any_ hint will be more than welcome :) > > What does /var/log/messages say when you run mount -t ext2fs? From perryh at pluto.rain.com Sat Jul 5 02:13:38 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Jul 5 02:13:45 2008 Subject: mount_nfs not accepting syntax specified by its usage complaint Message-ID: <486ed824.Qk+B4m7i0LUfOGZZ%perryh@pluto.rain.com> How does this command: # mount_nfs -dis -g 8 -I 512 -R 3 -r 512 -w 512 solomon:/var/spool/uucp /solomon/uucp not comply with the resulting usage complaint? usage: mount_nfs [-234bcdiLlNPsTU] [-a maxreadahead] [-D deadthresh] [-g maxgroups] [-I readdirsize] [-o options] [-R retrycnt] [-r readsize] [-t timeout] [-w writesize] [-x retrans] rhost:path node And yes, I really do want to set the read, write, and readdir sizes to 512 bytes (to get around a network packet-size problem to which I can find no other solution). The server is up: # ping solomon PING solomon (192.168.200.3): 56 data bytes 64 bytes from 192.168.200.3: icmp_seq=0 ttl=255 time=2.807 ms 64 bytes from 192.168.200.3: icmp_seq=1 ttl=255 time=2.755 ms 64 bytes from 192.168.200.3: icmp_seq=2 ttl=255 time=2.555 ms ^C --- solomon ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.555/2.706/2.807/0.109 ms and the mount point does exist: # ls -ld /solomon/uucp drwxr-xr-x 2 root wheel 512 Jul 4 18:34 /solomon/uucp # uname -a FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I get the same behavior, with a very slightly different usage message, from a 6.1 system. The server is an ancient sun3 running SunOS 4.1.1-U1, but it looks as if the mount attempt is not getting far enough for that to matter. From gnemmi at gmail.com Sat Jul 5 03:45:39 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 03:45:46 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <486ED53A.1090105@cwis.biz> References: <200807042033.44829.gnemmi@gmail.com> <486ED53A.1090105@cwis.biz> Message-ID: <200807050045.30661.gnemmi@gmail.com> On Friday 04 July 2008 22:58:18 you wrote: > Gonzalo Nemmi wrote: > > Could somebody please throw me a pointer ... > > i have followed every instruction on every book and/or how-to ... yet ... > > > > What am I doing wrong?? > > > > root@inferna:~ # uname -sr > > FreeBSD 7.0-RELEASE > > root@inferna:~ # kldstat > > Id Refs Address Size Name > > 1 10 0xc0400000 4dd878 kernel > > 2 1 0xc08de000 7559b0 nvidia.ko > > 3 1 0xc1034000 6721c acpi.ko > > 4 1 0xc4a2e000 4000 logo_saver.ko > > 5 1 0xc5884000 10000 ext2fs.ko > > root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > > root@inferna:~ # ls /mnt > > ls: /mnt: Bad file descriptor > > root@inferna:~ # cd /mnt > > /mnt: Not a directory. > > root@inferna:~ # umount /mnt > > root@inferna:~ # cd /mnt > > root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . > > root@inferna:/mnt # ls > > ls: .: Not a directory > > root@inferna:/mnt # cd ~ > > root@inferna:~ # umount /mnt > > root@inferna:~ # file /mnt/ > > /mnt/: directory > > root@inferna:~ # cd /mnt > > root@inferna:/mnt # ls > > root@inferna:/mnt # > > > > dmesg says _nothing_ > > _Any_ hint will be more than welcome :) > > What does /var/log/messages say when you run mount -t ext2fs? Hi Ryan! And thanks for your help :) Unfortunately, just as much as dmesg, /var/log/messages says nothing :s Look: root@inferna:~ # date Sat Jul 5 00:39:39 ART 2008 root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ root@inferna:~ # ls /mnt ls: /mnt: Bad file descriptor root@inferna:~ # cd /mnt /mnt: Not a directory. root@inferna:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 root@inferna:~ # umount /mnt root@inferna:~ # cat /var/log/messages | tail -5 Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on signal 11 Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 root@inferna:~ # Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? If you did, at least I'd know that it _is_ possible :s Thanks :) -- Blessings Gonzalo Nemmi From ryan.coleman at cwis.biz Sat Jul 5 04:37:30 2008 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sat Jul 5 04:37:36 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <200807050045.30661.gnemmi@gmail.com> References: <200807042033.44829.gnemmi@gmail.com> <486ED53A.1090105@cwis.biz> <200807050045.30661.gnemmi@gmail.com> Message-ID: <486EFA86.3060009@cwis.biz> Gonzalo Nemmi wrote: > On Friday 04 July 2008 22:58:18 you wrote: > >> Gonzalo Nemmi wrote: >> >>> Could somebody please throw me a pointer ... >>> i have followed every instruction on every book and/or how-to ... yet ... >>> >>> What am I doing wrong?? >>> >>> root@inferna:~ # uname -sr >>> FreeBSD 7.0-RELEASE >>> root@inferna:~ # kldstat >>> Id Refs Address Size Name >>> 1 10 0xc0400000 4dd878 kernel >>> 2 1 0xc08de000 7559b0 nvidia.ko >>> 3 1 0xc1034000 6721c acpi.ko >>> 4 1 0xc4a2e000 4000 logo_saver.ko >>> 5 1 0xc5884000 10000 ext2fs.ko >>> root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ >>> root@inferna:~ # ls /mnt >>> ls: /mnt: Bad file descriptor >>> root@inferna:~ # cd /mnt >>> /mnt: Not a directory. >>> root@inferna:~ # umount /mnt >>> root@inferna:~ # cd /mnt >>> root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . >>> root@inferna:/mnt # ls >>> ls: .: Not a directory >>> root@inferna:/mnt # cd ~ >>> root@inferna:~ # umount /mnt >>> root@inferna:~ # file /mnt/ >>> /mnt/: directory >>> root@inferna:~ # cd /mnt >>> root@inferna:/mnt # ls >>> root@inferna:/mnt # >>> >>> dmesg says _nothing_ >>> _Any_ hint will be more than welcome :) >>> >> What does /var/log/messages say when you run mount -t ext2fs? >> > > Hi Ryan! > And thanks for your help :) > > Unfortunately, just as much as dmesg, /var/log/messages says nothing :s > Look: > > root@inferna:~ # date > Sat Jul 5 00:39:39 ART 2008 > root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > root@inferna:~ # ls /mnt > ls: /mnt: Bad file descriptor > root@inferna:~ # cd /mnt > /mnt: Not a directory. > root@inferna:~ # cat /var/log/messages | tail -5 > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > cmd=0x5801 ('X',1) is not implemented > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > signal 11 > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > root@inferna:~ # umount /mnt > root@inferna:~ # cat /var/log/messages | tail -5 > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > cmd=0x5801 ('X',1) is not implemented > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > signal 11 > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > root@inferna:~ # > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > If you did, at least I'd know that it _is_ possible :s > > Thanks :) > No, I thought maybe there was something there I could help with.... I haven't used ext/ext2/ext3 since I dumped RHL in 2003. From nejc at skoberne.net Sat Jul 5 06:24:59 2008 From: nejc at skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Sat Jul 5 06:25:07 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <200807050045.30661.gnemmi@gmail.com> References: <200807042033.44829.gnemmi@gmail.com> <486ED53A.1090105@cwis.biz> <200807050045.30661.gnemmi@gmail.com> Message-ID: <486F13B5.6080707@skoberne.net> Hey, > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > If you did, at least I'd know that it _is_ possible :s It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x and 6.x releases). I'd also try this: mkdir /mnttest mount -t ext2fs /dev/ad0s8 /mnttest ls /mnttest file /mnttest ls -la / | grep mnttest and maybe also: fdisk /dev/ad0 Bye, Nejc From wojtek at wojtek.tensor.gdynia.pl Sat Jul 5 08:17:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jul 5 08:18:06 2008 Subject: geom_raid5 In-Reply-To: <486E95BE.6090206@skoberne.net> References: <20080704114545.GA19405@lpthe.jussieu.fr> <20080704140939.I7622@wojtek.tensor.gdynia.pl> <486E95BE.6090206@skoberne.net> Message-ID: <20080705101553.D1397@wojtek.tensor.gdynia.pl> thanks On Fri, 4 Jul 2008, Nejc ?koberne wrote: >> where to get the source? > > http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/riddick > > Looks like the site where I got it from > (http://home.tiscali.de/cmdr_faako/geom_raid5-eff.tbz) doesn't exist anymore. > > Bye, > Nejc > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From unga888 at yahoo.com Sat Jul 5 08:18:14 2008 From: unga888 at yahoo.com (Unga) Date: Sat Jul 5 08:18:23 2008 Subject: pw: user disappeared during update Message-ID: <169725.67288.qm@web57010.mail.re3.yahoo.com> Hi all pwd_mkdb -C master_passwd_template No errors pwd_mkdb -p master_passwd_template pw useradd -n test -u 1000 -c Test -m -M 0700 -s /bin/bash pw: user 'test' disappeared during update It has updated the /etc/group as follows: test:*:1000: But no test user entry in /etc/passwd or /etc/master.passwd. What else is needed to the pw to add a user successfully? Appreciate your reply very much. Kind regards Unga From gnemmi at gmail.com Sat Jul 5 08:43:46 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 08:43:52 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <486EFA86.3060009@cwis.biz> References: <200807042033.44829.gnemmi@gmail.com> <200807050045.30661.gnemmi@gmail.com> <486EFA86.3060009@cwis.biz> Message-ID: <200807050543.32765.gnemmi@gmail.com> On Saturday 05 July 2008 01:37:26 Ryan Coleman wrote: > Gonzalo Nemmi wrote: > > On Friday 04 July 2008 22:58:18 you wrote: > >> Gonzalo Nemmi wrote: > >>> Could somebody please throw me a pointer ... > >>> i have followed every instruction on every book and/or how-to ... yet > >>> ... > >>> > >>> What am I doing wrong?? > >>> > >>> root@inferna:~ # uname -sr > >>> FreeBSD 7.0-RELEASE > >>> root@inferna:~ # kldstat > >>> Id Refs Address Size Name > >>> 1 10 0xc0400000 4dd878 kernel > >>> 2 1 0xc08de000 7559b0 nvidia.ko > >>> 3 1 0xc1034000 6721c acpi.ko > >>> 4 1 0xc4a2e000 4000 logo_saver.ko > >>> 5 1 0xc5884000 10000 ext2fs.ko > >>> root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > >>> root@inferna:~ # ls /mnt > >>> ls: /mnt: Bad file descriptor > >>> root@inferna:~ # cd /mnt > >>> /mnt: Not a directory. > >>> root@inferna:~ # umount /mnt > >>> root@inferna:~ # cd /mnt > >>> root@inferna:/mnt # mount -t ext2fs /dev/ad0s8 . > >>> root@inferna:/mnt # ls > >>> ls: .: Not a directory > >>> root@inferna:/mnt # cd ~ > >>> root@inferna:~ # umount /mnt > >>> root@inferna:~ # file /mnt/ > >>> /mnt/: directory > >>> root@inferna:~ # cd /mnt > >>> root@inferna:/mnt # ls > >>> root@inferna:/mnt # > >>> > >>> dmesg says _nothing_ > >>> _Any_ hint will be more than welcome :) > >> > >> What does /var/log/messages say when you run mount -t ext2fs? > > > > Hi Ryan! > > And thanks for your help :) > > > > Unfortunately, just as much as dmesg, /var/log/messages says nothing :s > > Look: > > > > root@inferna:~ # date > > Sat Jul 5 00:39:39 ART 2008 > > root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnt/ > > root@inferna:~ # ls /mnt > > ls: /mnt: Bad file descriptor > > root@inferna:~ # cd /mnt > > /mnt: Not a directory. > > root@inferna:~ # cat /var/log/messages | tail -5 > > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > > cmd=0x5801 ('X',1) is not implemented > > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > > signal 11 > > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > > root@inferna:~ # umount /mnt > > root@inferna:~ # cat /var/log/messages | tail -5 > > Jul 4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2 > > Jul 4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, > > cmd=0x5801 ('X',1) is not implemented > > Jul 4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on > > signal 11 > > Jul 4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3 > > Jul 5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2 > > root@inferna:~ # > > > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > > If you did, at least I'd know that it _is_ possible :s > > > > Thanks :) > > No, I thought maybe there was something there I could help with.... I > haven't used ext/ext2/ext3 since I dumped RHL in 2003. Sure, i understand ... Thanks for your help anyways :) -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Sat Jul 5 08:46:22 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 08:46:29 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <486F13B5.6080707@skoberne.net> References: <200807042033.44829.gnemmi@gmail.com> <200807050045.30661.gnemmi@gmail.com> <486F13B5.6080707@skoberne.net> Message-ID: <200807050546.09073.gnemmi@gmail.com> On Saturday 05 July 2008 03:24:53 Nejc ?koberne wrote: > Hey, > > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > > If you did, at least I'd know that it _is_ possible :s > > It is possible, although I haven't used this on FreeBSD 7.0 yet (only on > 5.x and 6.x releases). > > I'd also try this: > > mkdir /mnttest > mount -t ext2fs /dev/ad0s8 /mnttest > ls /mnttest > file /mnttest > ls -la / | grep mnttest > > and maybe also: > > fdisk /dev/ad0 > > Bye, > Nejc No luck :( Exactly the same results ... Just in case you can see something that I don't, here you go: root@inferna:~ # fdisk /dev/ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 131 (0x83),(Linux native) start 63, size 102398247 (49999 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 5 (0x05),(Extended DOS) start 102398310, size 106446690 (51975 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 208845000, size 41929650 (20473 Meg), flag 0 beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 250774650, size 139926150 (68323 Meg), flag 80 (active) beg: cyl 1023/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 root@inferna:~ # Thanks for your help :) -- Blessings Gonzalo Nemmi From rsmith at xs4all.nl Sat Jul 5 08:59:45 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Jul 5 08:59:52 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <200807050546.09073.gnemmi@gmail.com> References: <200807042033.44829.gnemmi@gmail.com> <200807050045.30661.gnemmi@gmail.com> <486F13B5.6080707@skoberne.net> <200807050546.09073.gnemmi@gmail.com> Message-ID: <20080705085942.GA67916@slackbox.xs4all.nl> On Sat, Jul 05, 2008 at 05:46:09AM -0300, Gonzalo Nemmi wrote: > On Saturday 05 July 2008 03:24:53 Nejc ?koberne wrote: > > Hey, > > > > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7? > > > If you did, at least I'd know that it _is_ possible :s > > > > It is possible, although I haven't used this on FreeBSD 7.0 yet (only on > > 5.x and 6.x releases). > > > > I'd also try this: > > > > mkdir /mnttest > > mount -t ext2fs /dev/ad0s8 /mnttest > > ls /mnttest > > file /mnttest > > ls -la / | grep mnttest > > > > and maybe also: > > > > fdisk /dev/ad0 > > > > Bye, > > Nejc > > No luck :( > Exactly the same results ... > > Just in case you can see something that I don't, here you go: > > root@inferna:~ # fdisk /dev/ad0 > ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 131 (0x83),(Linux native) > start 63, size 102398247 (49999 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 Looks like you should try mount -t ext2fs /dev/ad0s1 /mnt Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080705/2b0c3726/attachment.pgp From nejc at skoberne.net Sat Jul 5 09:01:41 2008 From: nejc at skoberne.net (=?windows-1252?Q?Nejc_=8Akoberne?=) Date: Sat Jul 5 09:01:49 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <200807050546.09073.gnemmi@gmail.com> References: <200807042033.44829.gnemmi@gmail.com> <200807050045.30661.gnemmi@gmail.com> <486F13B5.6080707@skoberne.net> <200807050546.09073.gnemmi@gmail.com> Message-ID: <486F3870.7090002@skoberne.net> Hey, >> ls -la / | grep mnttest Can you paste output of this command? > sysid 5 (0x05),(Extended DOS) > start 102398310, size 106446690 (51975 Meg), flag 0 > beg: cyl 1023/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 So the partition you're trying to mount is under an extended partition. Can you do "ls -la /dev/ad0*" and provide us with the output? Bye, Nejc From jmc-freebsd at milibyte.co.uk Sat Jul 5 11:12:22 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Sat Jul 5 11:12:30 2008 Subject: Passive cooling problem with Athlon CPU Message-ID: <200807051212.19513.jmc-freebsd@milibyte.co.uk> I'm running 6.3STABLE with an AMD 4850e Athlon X2 and occasionally get the following message on the console: acpi_tz0: failed to set new freq, disabling passive cooling I also see the following 2 messages immediately after devd starts every time I boot (and which don't appear in any log file): hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Should I be concerned about this and, if so, what should I do? The CPU info from dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-STABLE #0: Mon Jun 30 13:32:39 BST 2008 root@curlew.lan:/usr/obj/usr/src/sys/SMP ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Processor model unknown (2410.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 real memory = 2080309248 (1983 MB) avail memory = 2017738752 (1924 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ... and output from grep acpi /var/run/dmesg.boot acpi0: on motherboard acpi0: Power Button (fixed) acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_hpet0: iomem 0xfeff0000-0xfeff03ff on acpi0 device_attach: acpi_hpet0 attach returned 12 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio1: port 0x2f8-0x2ff irq 3 on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 acpi_hpet0: iomem 0xfeff0000-0xfeff03ff on acpi0 device_attach: acpi_hpet0 attach returned 12 -- Mike Clarke From robert at heron.pl Sat Jul 5 11:13:09 2008 From: robert at heron.pl (Robert Heron) Date: Sat Jul 5 11:13:19 2008 Subject: FreeBSD 7.0 and RAM limit Message-ID: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> Hi, I use: FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM onboard. BIOS version - 88 (the latest) Kernel includes: options MAXMEM=(6*1024*1024) And FreeBSD reports only: real memory = 2680160256 (2556 MB) avail memory = 2617892864 (2496 MB) Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB? Robert From kris at FreeBSD.org Sat Jul 5 11:23:24 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sat Jul 5 11:23:31 2008 Subject: FreeBSD 7.0 and RAM limit In-Reply-To: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> References: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> Message-ID: <486F59A7.10503@FreeBSD.org> Robert Heron wrote: > Hi, > > I use: > > FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM > onboard. BIOS version - 88 (the latest) > > Kernel includes: options MAXMEM=(6*1024*1024) > > And FreeBSD reports only: > > real memory = 2680160256 (2556 MB) > avail memory = 2617892864 (2496 MB) > > Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB? The i386 architecture cannot address more than 4GB (== 2^32) of RAM unless you use PAE (i.e. the PAE kernel). You don't need to set MAXMEM either, since it's autodetected. Kris From service.fedex at fedex.com Sat Jul 5 12:01:54 2008 From: service.fedex at fedex.com (FEDEX DELIVERY COMPANY LTD) Date: Sat Jul 5 12:02:07 2008 Subject: CONTACT FEDEX DELIVERY COMPANY LTD Message-ID: <20080705120022.8ABC510380F1@entropy14.agava.net> Attention, Please be informed that I have Paid for the delivery fee for your Cheque Draft. But the manager of Intercontinental Bank Plc told me that before the check will get to you that it will expire. So i told him to cash $800, 000.00. all the necessary arrangement of delivering the $800, 000.00 in cash was made with FEDEX COURIER DELIVERY COMPANY. so they have aggreed to send it to you. Below is the needed information to enable them deliver the fund to you immediately. the only fee you have to pay to them is $100 usd that they will use in obtaining the fund's insurance certificate and claims of affadvite that will prove that this parcel consist of total sum of $800.000.00 belong to you. Then be rest assure that all other fees have been paid by me. 1.YOUR FULL NAME........................................ 2.YOUR HOME ADDRESS..................................... 3.YOUR CURRENT HOME TELEPHONE NUMBER.................... 4.YOUR CURRENT OFFICE TELEPHONE......................... 5.A COPY OF YOUR PICTURE................................ 6.COMPANY REGISTRATION NO........................AF70945 7.CODE NUMBER....................................2178234 Now contact FEDEX COURIER DELIVERY COMPANY'S DIRECTOR Mr. Cambell at (service.fedex@gmail.com) for the sending of the fund to you. Please make sure you send the above needed information to them. Note: The FEDEX COURIER DELIVERY COMPANY LTD don't know the contents of the Box. I registered it as a Box of family valuable belongs. They don't know it contents fund. this is to avoid them delaying with the Box. Besides, don't let them know that is money that is in that Box.I am waiting for your urgent response. Thanks. Bruno Brawn From service.fedex at fedex.com Sat Jul 5 12:01:54 2008 From: service.fedex at fedex.com (FEDEX DELIVERY COMPANY LTD) Date: Sat Jul 5 12:02:08 2008 Subject: CONTACT FEDEX DELIVERY COMPANY LTD Message-ID: <20080705120022.6A00F10380F2@entropy14.agava.net> Attention, Please be informed that I have Paid for the delivery fee for your Cheque Draft. But the manager of Intercontinental Bank Plc told me that before the check will get to you that it will expire. So i told him to cash $800, 000.00. all the necessary arrangement of delivering the $800, 000.00 in cash was made with FEDEX COURIER DELIVERY COMPANY. so they have aggreed to send it to you. Below is the needed information to enable them deliver the fund to you immediately. the only fee you have to pay to them is $100 usd that they will use in obtaining the fund's insurance certificate and claims of affadvite that will prove that this parcel consist of total sum of $800.000.00 belong to you. Then be rest assure that all other fees have been paid by me. 1.YOUR FULL NAME........................................ 2.YOUR HOME ADDRESS..................................... 3.YOUR CURRENT HOME TELEPHONE NUMBER.................... 4.YOUR CURRENT OFFICE TELEPHONE......................... 5.A COPY OF YOUR PICTURE................................ 6.COMPANY REGISTRATION NO........................AF70945 7.CODE NUMBER....................................2178234 Now contact FEDEX COURIER DELIVERY COMPANY'S DIRECTOR Mr. Cambell at (service.fedex@gmail.com) for the sending of the fund to you. Please make sure you send the above needed information to them. Note: The FEDEX COURIER DELIVERY COMPANY LTD don't know the contents of the Box. I registered it as a Box of family valuable belongs. They don't know it contents fund. this is to avoid them delaying with the Box. Besides, don't let them know that is money that is in that Box.I am waiting for your urgent response. Thanks. Bruno Brawn From wojtek at wojtek.tensor.gdynia.pl Sat Jul 5 13:15:22 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Jul 5 13:15:29 2008 Subject: FreeBSD 7.0 and RAM limit In-Reply-To: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> References: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> Message-ID: <20080705151247.O2452@wojtek.tensor.gdynia.pl> use amd64 On Sat, 5 Jul 2008, Robert Heron wrote: > Hi, > > I use: > > FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM onboard. > BIOS version - 88 (the latest) > > Kernel includes: options MAXMEM=(6*1024*1024) > > And FreeBSD reports only: > > real memory = 2680160256 (2556 MB) > avail memory = 2617892864 (2496 MB) > > Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB? > > Robert > _______________________________________________ > 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 sebastian.tymkow at gmail.com Sat Jul 5 14:06:41 2008 From: sebastian.tymkow at gmail.com (=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=) Date: Sat Jul 5 14:06:53 2008 Subject: Sed in FreeBSD Message-ID: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> Hi, I'm trying to use sed in script to append file after pattern but I couldn't find any good example how can I do it. I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There are many axamples in internet but none of them work on FreeBSD. Best regards, Sebastian Tymkow From dfeustel at mindspring.com Sat Jul 5 14:27:42 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sat Jul 5 14:27:49 2008 Subject: Firefox 3 for FreeBSD 7.0 release Message-ID: <20080705142742.82C1E8FC2E@mx1.freebsd.org> I downloaded the firefox*gz file from devel but it doesn't make for 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? Thanks. From rsmith at xs4all.nl Sat Jul 5 14:40:39 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Jul 5 14:40:55 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705142742.82C1E8FC2E@mx1.freebsd.org> References: <20080705142742.82C1E8FC2E@mx1.freebsd.org> Message-ID: <20080705144035.GA76548@slackbox.xs4all.nl> On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: > I downloaded the firefox*gz file from devel but it doesn't make for > 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080705/b5481fbd/attachment.pgp From mail at ozzmosis.com Sat Jul 5 14:51:50 2008 From: mail at ozzmosis.com (andrew clarke) Date: Sat Jul 5 14:52:04 2008 Subject: Sed in FreeBSD In-Reply-To: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> References: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> Message-ID: <20080705145145.GA2782@ozzmosis.com> On Sat 2008-07-05 16:06:39 UTC+0200, Sebastian Tymk?w (sebastian.tymkow@gmail.com) wrote: > I'm trying to use sed in script to append file after pattern but I couldn't > find any good example how can I do it. > I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There > are many axamples in internet but none of them work on FreeBSD. I'm not too familiar with sed and so am unsure what you're trying to. It looks as though BSD sed is supplied with in the FreeBSD base system. You might want to try GNU sed instead. It's in the Ports tree - textproc/gsed. If neither of them work for you then you've probably made a mistake with your input. From sahil at tandon.net Sat Jul 5 14:51:51 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat Jul 5 14:52:05 2008 Subject: Sed in FreeBSD In-Reply-To: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> References: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> Message-ID: <20080705145147.GC2605@shepherd> Sebastian Tymk?w wrote: > I'm trying to use sed in script to append file after pattern but I couldn't > find any good example > how can I do it. Based on sed(1), I think you need something like: sed '/PATTERN/ r file' -- Sahil Tandon From jimmy at mammothcheese.ca Sat Jul 5 15:23:39 2008 From: jimmy at mammothcheese.ca (James Bailie) Date: Sat Jul 5 15:23:52 2008 Subject: Sed in FreeBSD In-Reply-To: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> References: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> Message-ID: <486F8BB8.6040704@mammothcheese.ca> Sebastian Tymk?w wrote: > I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There > are many axamples in internet but none > of them work on FreeBSD. The inserted line needs to be on a separate physical line. sed -e '/PATTERN/a\ line' For /bin/csh, you need two backslashes because the shell recognizes backslashes inside single-quotes, which it shouldn't. -- James Bailie http://www.mammothcheese.ca From dfeustel at mindspring.com Sat Jul 5 15:56:01 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sat Jul 5 15:56:13 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705144035.GA76548@slackbox.xs4all.nl> Message-ID: <20080705155600.D25958FC1D@mx1.freebsd.org> On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: > On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: > > I downloaded the firefox*gz file from devel but it doesn't make for > > 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? > > It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. > > Roland I'm running 7.0-release. I ran portsnap and then porsnap extract. Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with the message that it could not find -lgio-2.0. I checked the Freebsd ports tree and found gio-2.16. I downloaded it and ran make, but that make aborted with the same message as the make of firefox3. From fbsd.questions at rachie.is-a-geek.net Sat Jul 5 16:07:37 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat Jul 5 16:07:48 2008 Subject: mount_nfs not accepting syntax specified by its usage complaint In-Reply-To: <486ed824.Qk+B4m7i0LUfOGZZ%perryh@pluto.rain.com> References: <486ed824.Qk+B4m7i0LUfOGZZ%perryh@pluto.rain.com> Message-ID: <200807051750.45968.fbsd.questions@rachie.is-a-geek.net> On Saturday 05 July 2008 04:10:44 perryh@pluto.rain.com wrote: > How does this command: > > # mount_nfs -dis -g 8 -I 512 -R 3 -r 512 -w 512 solomon:/var/spool/uucp > /solomon/uucp > > not comply with the resulting usage complaint? > > usage: mount_nfs [-234bcdiLlNPsTU] [-a maxreadahead] [-D deadthresh] > [-g maxgroups] [-I readdirsize] [-o options] [-R retrycnt] > [-r readsize] [-t timeout] [-w writesize] [-x retrans] > rhost:path node See ~ line 346 in /usr/src/sbin/mount_nfs/mount_nfs.c, in short: option 'g' has been "removed temporarily", but usage() hasn't been updated accordingly. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Sat Jul 5 16:07:50 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat Jul 5 16:07:57 2008 Subject: Passive cooling problem with Athlon CPU In-Reply-To: <200807051212.19513.jmc-freebsd@milibyte.co.uk> References: <200807051212.19513.jmc-freebsd@milibyte.co.uk> Message-ID: <200807051807.48737.fbsd.questions@rachie.is-a-geek.net> On Saturday 05 July 2008 13:12:19 Mike Clarke wrote: > I'm running 6.3STABLE with an AMD 4850e Athlon X2 and occasionally get > the following message on the console: > > acpi_tz0: failed to set new freq, disabling passive cooling > > I also see the following 2 messages immediately after devd starts every > time I boot (and which don't appear in any log file): > > hw.acpi.cpu.cx_lowest: C1 > sysctl: hw.acpi.cpu.cx_lowest: Invalid argument And your /etc/sysctl.conf where you set this value? If it's not set by you, it may be set by /etc/rc.d/power_profile based on your /etc/rc.conf. Try to get the 'untainted' output of `sysctl hw.acpi': 0) reboot into single user 1) # fsck -p / 2) # mount -u / 3) # sysctl hw.acpi >/tmp/acpi.sysctl 4) # exit Then post /tmp/acpi.sysctl. My guess is no Cx values are obtained from the acpi, not even C1 (which is "normal operation" mode). This may or may not be related to your failing high precision timer. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Sat Jul 5 16:12:17 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat Jul 5 16:12:24 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705155600.D25958FC1D@mx1.freebsd.org> References: <20080705155600.D25958FC1D@mx1.freebsd.org> Message-ID: <200807051812.15611.fbsd.questions@rachie.is-a-geek.net> On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: > On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: > > On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: > > > I downloaded the firefox*gz file from devel but it doesn't make for > > > 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? > > > > It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. > > > > Roland > > I'm running 7.0-release. I ran portsnap and then porsnap extract. > Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with > the message that it could not find -lgio-2.0. I checked the Freebsd > ports tree and found gio-2.16. I downloaded it and ran make, but that > make aborted with the same message as the make of firefox3. Your gnome2 is outof sync. Read: /usr/bin/less -p 20080323 /usr/ports/UPDATING /usr/bin/less -p 20080630 /usr/ports/UPDATING -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dfeustel at mindspring.com Sat Jul 5 16:26:52 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sat Jul 5 16:26:59 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <200807051812.15611.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080705162651.469268FC1D@mx1.freebsd.org> On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote: > On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: > > On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: > > > On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: > > > > I downloaded the firefox*gz file from devel but it doesn't make for > > > > 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? > > > > > > It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. > > > > > > Roland > > > > I'm running 7.0-release. I ran portsnap and then porsnap extract. > > Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with > > the message that it could not find -lgio-2.0. I checked the Freebsd > > ports tree and found gio-2.16. I downloaded it and ran make, but that > > make aborted with the same message as the make of firefox3. > > Your gnome2 is outof sync. Read: > /usr/bin/less -p 20080323 /usr/ports/UPDATING > /usr/bin/less -p 20080630 /usr/ports/UPDATING > > -- > Mel Unfortunately there is no subdirectory /usr/ports/UPDATING on my system. From d.hill at yournetplus.com Sat Jul 5 16:30:24 2008 From: d.hill at yournetplus.com (Duane Hill) Date: Sat Jul 5 16:30:32 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705162651.469268FC1D@mx1.freebsd.org> References: <20080705162651.469268FC1D@mx1.freebsd.org> Message-ID: On Sat, 5 Jul 2008, dfeustel@mindspring.com wrote: > On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote: >> On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: >>> On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: >>>> On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: >>>>> I downloaded the firefox*gz file from devel but it doesn't make for >>>>> 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? >>>> >>>> It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. >>>> >>>> Roland >>> >>> I'm running 7.0-release. I ran portsnap and then porsnap extract. >>> Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with >>> the message that it could not find -lgio-2.0. I checked the Freebsd >>> ports tree and found gio-2.16. I downloaded it and ran make, but that >>> make aborted with the same message as the make of firefox3. >> >> Your gnome2 is outof sync. Read: >> /usr/bin/less -p 20080323 /usr/ports/UPDATING >> /usr/bin/less -p 20080630 /usr/ports/UPDATING >> >> -- >> Mel > > Unfortunately there is no subdirectory /usr/ports/UPDATING on my system. It's not a sub-directory, it is a file: %ls -l /usr/ports/UPDATING -rw-r--r-- 1 root wheel 240302 Jun 13 04:00 /usr/ports/UPDATING From sonic2000gr at gmail.com Sat Jul 5 16:31:35 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sat Jul 5 16:31:41 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705162651.469268FC1D@mx1.freebsd.org> References: <20080705162651.469268FC1D@mx1.freebsd.org> Message-ID: <486FA1E0.3040200@gmail.com> dfeustel@mindspring.com wrote: > On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote: > >> On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: >> >>> On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: >>> >>>> On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com wrote: >>>> >>>>> I downloaded the firefox*gz file from devel but it doesn't make for >>>>> 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? >>>>> >>>> It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. >>>> >>>> Roland >>>> >>> I'm running 7.0-release. I ran portsnap and then porsnap extract. >>> Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with >>> the message that it could not find -lgio-2.0. I checked the Freebsd >>> ports tree and found gio-2.16. I downloaded it and ran make, but that >>> make aborted with the same message as the make of firefox3. >>> >> Your gnome2 is outof sync. Read: >> /usr/bin/less -p 20080323 /usr/ports/UPDATING >> /usr/bin/less -p 20080630 /usr/ports/UPDATING >> >> -- >> Mel >> > > Unfortunately there is no subdirectory /usr/ports/UPDATING on my 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" > > UPDATING is not a directory, it is a text file in /usr/ports, and if you are missing it, something went terribly wrong when you fetched the ports tree. From ghirai at ghirai.com Sat Jul 5 16:40:02 2008 From: ghirai at ghirai.com (Ghirai) Date: Sat Jul 5 16:40:14 2008 Subject: Konqueror UNICODE fonts Message-ID: <200807051939.57844.ghirai@ghirai.com> Hello list. I'm running KDE 3.5.8 from ports. Konqueror doesn't seem to want to display unicode fonts properly; i get boxes instead, even though i set the encoding to UTF-8. The same seem to be with text editors and such. Any indeas? Thanks. -- Regards, Ghirai. From dfeustel at mindspring.com Sat Jul 5 16:47:29 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sat Jul 5 16:47:36 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <486FA1E0.3040200@gmail.com> Message-ID: <20080705164729.6CA138FC1A@mx1.freebsd.org> On Sat, Jul 05, 2008 at 07:31:28PM +0300, Manolis Kiagias wrote: > dfeustel@mindspring.com wrote: >> On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote: >> >>> On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: >>> >>>> On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: >>>> >>>>> On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com >>>>> wrote: >>>>> >>>>>> I downloaded the firefox*gz file from devel but it doesn't make for >>>>>> 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? >>>>>> >>>>> It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. >>>>> >>>>> Roland >>>>> >>>> I'm running 7.0-release. I ran portsnap and then porsnap extract. >>>> Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with >>>> the message that it could not find -lgio-2.0. I checked the Freebsd >>>> ports tree and found gio-2.16. I downloaded it and ran make, but that >>>> make aborted with the same message as the make of firefox3. >>>> >>> Your gnome2 is outof sync. Read: >>> /usr/bin/less -p 20080323 /usr/ports/UPDATING >>> /usr/bin/less -p 20080630 /usr/ports/UPDATING >>> >>> -- >>> Mel >>> >> >> Unfortunately there is no subdirectory /usr/ports/UPDATING on my system. >> _______________________________________________ > > UPDATING is not a directory, it is a text file in /usr/ports, and if you > are missing it, something went terribly wrong when you fetched the ports > tree. > _______________________________________________ /usr/ports/UPDATING is not shown by ls. My original install of the ports tree was from the 7.0 release on DVD. Then today I ran portsnap and portsnap extract. portsnap extract reported 5 new ports. How to find out their names? Thanks. From daf Sat Jul 5 17:07:40 2008 From: daf (YANSWBVCG) Date: Sat Jul 5 17:07:47 2008 Subject: Firefox 3 for FreeBSD 7.0 release In-Reply-To: <20080705164729.6CA138FC1A@mx1.freebsd.org> Message-ID: <20080705170738.221EA8FC16@mx1.freebsd.org> On Sat, Jul 05, 2008 at 04:47:29PM +0000, dfeustel@mindspring.com wrote: > On Sat, Jul 05, 2008 at 07:31:28PM +0300, Manolis Kiagias wrote: > > dfeustel@mindspring.com wrote: > >> On Sat, Jul 05, 2008 at 06:12:15PM +0200, Mel wrote: > >> > >>> On Saturday 05 July 2008 17:56:00 dfeustel@mindspring.com wrote: > >>> > >>>> On Sat, Jul 05, 2008 at 04:40:35PM +0200, Roland Smith wrote: > >>>> > >>>>> On Sat, Jul 05, 2008 at 02:27:42PM +0000, dfeustel@mindspring.com > >>>>> wrote: > >>>>> > >>>>>> I downloaded the firefox*gz file from devel but it doesn't make for > >>>>>> 64-bit. Is Firefox 3 available for 64-bit AMD FreeBSD 7.0? > >>>>>> > >>>>> It builds fine from ports on amd64 7-STABLE. Use the port www/firefox3. > >>>>> > >>>>> Roland > >>>>> > >>>> I'm running 7.0-release. I ran portsnap and then porsnap extract. > >>>> Then I cd'd to the firefox3 subdirectory and ran make. Make aborted with > >>>> the message that it could not find -lgio-2.0. I checked the Freebsd > >>>> ports tree and found gio-2.16. I downloaded it and ran make, but that > >>>> make aborted with the same message as the make of firefox3. > >>>> > >>> Your gnome2 is outof sync. Read: > >>> /usr/bin/less -p 20080323 /usr/ports/UPDATING > >>> /usr/bin/less -p 20080630 /usr/ports/UPDATING > >>> > >>> -- > >>> Mel > >>> > >> > >> Unfortunately there is no subdirectory /usr/ports/UPDATING on my system. > >> _______________________________________________ > > > > UPDATING is not a directory, it is a text file in /usr/ports, and if you > > are missing it, something went terribly wrong when you fetched the ports > > tree. > > _______________________________________________ > > /usr/ports/UPDATING is not shown by ls. My original install of the > ports tree was from the 7.0 release on DVD. Then today I ran portsnap > and portsnap extract. portsnap extract reported 5 new ports. How to find > out their names? > > Thanks. > _______________________________________________ My Mistake! I got confused about which BSD system I was running on. The UPDATING file is present on the FreeBSD system. It may be time for me to make FreeBSD my main machine. From jmc-freebsd at milibyte.co.uk Sat Jul 5 17:42:10 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Sat Jul 5 17:42:18 2008 Subject: Passive cooling problem with Athlon CPU In-Reply-To: <200807051807.48737.fbsd.questions@rachie.is-a-geek.net> References: <200807051212.19513.jmc-freebsd@milibyte.co.uk> <200807051807.48737.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807051842.07598.jmc-freebsd@milibyte.co.uk> On Saturday 05 July 2008, Mel wrote: > And your /etc/sysctl.conf where you set this value? If it's not set > by you, it may be set by /etc/rc.d/power_profile based on your > /etc/rc.conf. It's not set by me. All I have in /etc/sysctl.conf is: vfs.usermount=1 kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 And, in case it helps, here's /etc/rc.conf: defaultrouter="192.168.1.138" hostname="curlew.lan" ifconfig_nve0="inet 192.168.1.13 netmask 255.255.255.0" keymap="uk.iso" moused_enable="YES" linux_enable="YES" scrnmap="NO" sshd_enable="YES" apache_enable="YES" mysql_enable="YES" inetd_enable="YES" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" exim_enable="YES" anacron_enable="YES" samba_enable="YES" cupsd_enable="YES" ntpd_enable="YES" ntpd_sync_on_start="YES" lptcontrol_enable="YES" background_fsck="NO" named_enable="YES" spamd_enable="YES" spamd_flags="-c -u spamd -H /var/spool/spamd" dumpdir="/usr/crash" devfs_system_ruleset="system" local_startup="/usr/local/etc/rc.d" > Try to get the 'untainted' output of `sysctl hw.acpi': > 0) reboot into single user > 1) # fsck -p / > 2) # mount -u / > 3) # sysctl hw.acpi >/tmp/acpi.sysctl > 4) # exit > Then post /tmp/acpi.sysctl. My guess is no Cx values are obtained > from the acpi, not even C1 (which is "normal operation" mode). This > may or may not be related to your failing high precision timer. Here's the output from single user mode: hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 51.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 68.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 70.0C hw.acpi.thermal.tz0._ACx: 68.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 4 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 60 -- Mike Clarke From jack at jarasoft.net Sat Jul 5 17:48:27 2008 From: jack at jarasoft.net (Jack Raats) Date: Sat Jul 5 17:48:33 2008 Subject: inetd on FreeBSD 7.0-STABLE Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Inetd gives the following error: Jul 5 19:45:17 orac inetd[770]: nntp from 192.168.1.101 exceeded counts/min (limit 60/min) Is it possible to increase the limit and how? Jack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 iD8DBQFIb7PpPh5RwW/NzC4RAvUXAKCZZ8+O6XI7Pp8bIoJ1cJl5GAt7XACeNj3f A/ouM6uL9n1j37PfrhK/vxY= =dPBG -----END PGP SIGNATURE----- From cswiger at mac.com Sat Jul 5 17:51:41 2008 From: cswiger at mac.com (Chuck Swiger) Date: Sat Jul 5 17:51:50 2008 Subject: httpd php dump In-Reply-To: <486B2091.1060909@el.net> References: <486B04D2.8050700@el.net> <991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com> <486B0FC4.3090805@el.net> <991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com> <486B2091.1060909@el.net> Message-ID: <486FB49E.8080001@mac.com> kalin m wrote: [ ... ] > i suspect the apache so module...... but not really sure.... executing > php files on the cli is working fine to.. it must be the so... > httpd and php are supposed to just work together..... that's why core > dump without any messages is a bit weired..... "supposed to" is the key phrase. I've seen similar issues before; sometimes, rearranging the order that PHP modules get loaded helps. Otherwise, try deleting and re-building PHP and the extensions and all dependencies you need. This is something that the lang/php* & corresponding php*-extensions ports handle well... Regards, -- -Chuck From rjgonzale at gmail.com Sat Jul 5 18:38:56 2008 From: rjgonzale at gmail.com (Rodrigo Gonzalez) Date: Sat Jul 5 18:39:04 2008 Subject: inetd on FreeBSD 7.0-STABLE In-Reply-To: References: Message-ID: <486FBFB2.2040407@gmail.com> Jack Raats wrote: > Inetd gives the following error: > Jul 5 19:45:17 orac inetd[770]: nntp from 192.168.1.101 exceeded counts/min (limit 60/min) > Is it possible to increase the limit and how? > > Jack _ man inetd check -c, -C and -R options....for defaults or max-child and max-connections-per-ip-per-minute for each service (I dont find how to define -R option for each service) Best regards Rodrigo Gonzalez From gnemmi at gmail.com Sat Jul 5 20:03:15 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 20:03:24 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <486F3870.7090002@skoberne.net> References: <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net> Message-ID: <200807051702.57927.gnemmi@gmail.com> On Saturday 05 July 2008 06:01:36 you wrote: > Hey, > > >> ls -la / | grep mnttest > > Can you paste output of this command? > > > sysid 5 (0x05),(Extended DOS) > > start 102398310, size 106446690 (51975 Meg), flag 0 > > beg: cyl 1023/ head 0/ sector 1; > > end: cyl 1023/ head 254/ sector 63 > > So the partition you're trying to mount is under an extended partition. > Can you do "ls -la /dev/ad0*" and provide us with the output? > > Bye, > Nejc Sure thing ! Here you go: root@inferna:~ # ls -la /dev/ad0* crw-r----- 1 root operator 0, 80 Jul 3 20:27 /dev/ad0 crw-r----- 1 root operator 0, 81 Jul 3 20:27 /dev/ad0s1 crw-r----- 1 root operator 0, 82 Jul 3 20:27 /dev/ad0s2 crw-r----- 1 root operator 0, 83 Jul 3 20:27 /dev/ad0s3 crw-r----- 1 root operator 0, 90 Jul 3 22:27 /dev/ad0s3a crw-r----- 1 root operator 0, 91 Jul 3 22:27 /dev/ad0s3b crw-r----- 1 root operator 0, 92 Jul 3 20:27 /dev/ad0s3c crw-r----- 1 root operator 0, 93 Jul 3 22:27 /dev/ad0s3d crw-r----- 1 root operator 0, 94 Jul 3 22:27 /dev/ad0s3e crw-r----- 1 root operator 0, 95 Jul 3 22:27 /dev/ad0s3f crw-r----- 1 root operator 0, 84 Jul 3 20:27 /dev/ad0s4 crw-r----- 1 root operator 0, 86 Jul 3 20:27 /dev/ad0s5 crw-r----- 1 root operator 0, 87 Jul 3 20:27 /dev/ad0s6 crw-r----- 1 root operator 0, 88 Jul 3 20:27 /dev/ad0s7 crw-r----- 1 root operator 0, 89 Jul 3 20:27 /dev/ad0s8 root@inferna:~ # mkdir /mnttest root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest root@inferna:~ # ls /mnttest ls: /mnttest: Bad file descriptor root@inferna:~ # file /mnttest /mnttest: cannot open `/mnttest' (Bad file descriptor) root@inferna:~ # ls -la / | grep mnttest ls: mnttest: Bad file descriptor root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # umount /mnttest root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # Thanks a lot for your help and interest :) -- Blessings Gonzalo Nemmi From gnemmi at gmail.com Sat Jul 5 20:05:22 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 20:05:30 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <20080705085942.GA67916@slackbox.xs4all.nl> References: <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <20080705085942.GA67916@slackbox.xs4all.nl> Message-ID: <200807051705.11791.gnemmi@gmail.com> On Saturday 05 July 2008 05:59:42 Roland Smith wrote: > mount -t ext2fs /dev/ad0s1 /mnt root@inferna:~ # mount -t ext2fs /dev/ad0s1 /mnt root@inferna:~ # ls /mnt ls: /mnt: Bad file descriptor root@inferna:~ # ls -la / | grep /mnt ls: mnt: Bad file descriptor root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # Thanks for your help Roland :) -- Blessings Gonzalo Nemmi From jalmberg at identry.com Sat Jul 5 20:17:15 2008 From: jalmberg at identry.com (John Almberg) Date: Sat Jul 5 20:17:22 2008 Subject: Why would it make such a difference to move mysqld to another machine? Message-ID: I asked a question the other day about using top on a multi-processor machine. As a side note, I asked how mysqld could be consuming more than 100% of CPU power... last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238 processes: 3 running, 235 sleeping CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, 74.4% idle Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, 2150M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1393 mysql 63 20 0 400M 221M kserel 0 191.5H 157.13% mysqld 43698 www 1 4 0 169M 29888K sbwait 5 0:00 2.63% httpd 43697 www 1 20 0 169M 29804K lockf 1 0:00 1.18% httpd 23376 vpopmail 1 4 0 81468K 55772K select 7 0:28 1.17% perl5.8.8 43729 root 1 96 0 7228K 2676K select 5 0:00 1.00% couriertls Well, that mysqld reading should have been a warning to me. This weekend, my webserver with about 20 database-driven websites got clobbered by Slurp and Googlebot. Between the two of them, they had over 50 robot instances crawling my machine at the same time (visible, thanks to pftop). Apache handled them fine, and the load average was still pretty low (2-3 on an 8 core machine) but mysqld turned into a major bottleneck. It was showing 180-220% WCPU on 'top', and just couldn't keep up with all the requests. Page loads crawled to a stop. Big problem! Luckily, I have a pretty powerful machine sitting right next to my main webserver that I mainly use for backup. The two servers are directly connected to each other with a twisted ethernet cable, using extra NIC cards in the machines, so they have a fast, dedicated 'LAN' to share. Desperate, I moved mysqld to this other machine, so basically this second machine became a dedicated database server. The improvement this change made seems out of proportion. Both machines are now cruising with extremely low load averages and the WCPU for the mysqld instance on the new machine is practically zero. I'm not complaining. Problem solved. But I am scratching my head over how mysql could be getting crushed on the first, 8 core/8G machine, but running cool as a cucumber on the second, 2-core/2G machine??? First Machine: last pid: 32971; load averages: 0.04, 0.14, 0.15 up 95 +02:31:20 16:11:53 190 processes: 1 running, 189 sleeping CPU states: 4.1% user, 0.0% nice, 3.1% system, 0.0% interrupt, 92.8% idle Mem: 905M Active, 3075M Inact, 390M Wired, 292M Cache, 214M Buf, 3008M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 72523 mysql 31 20 0 337M 121M kserel 6 268:13 9.13% mysqld 32883 www 1 96 0 160M 20732K select 6 0:00 0.35% httpd 29261 www 1 96 0 161M 20924K select 5 0:06 0.34% httpd 32878 www 1 20 0 168M 28548K lockf 5 0:01 0.15% httpd 32568 www 1 96 0 170M 30064K select 2 0:01 0.15% httpd SECOND MACHINE: last pid: 9841; load averages: 0.11, 0.15, 0.16 up 92+06:54:37 16:12:54 59 processes: 2 running, 56 sleeping, 1 stopped CPU states: 15.6% user, 0.0% nice, 3.2% system, 0.0% interrupt, 81.2% idle Mem: 62M Active, 640M Inact, 131M Wired, 49M Cache, 111M Buf, 19M Free Swap: 2048M Total, 1568K Used, 2046M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 8672 mysql 7 100 0 58412K 41004K CPU1 0 27:07 1.17% mysqld It doesn't seem to make sense! I expected the heavy mysql load to be moved to the second machine, not eliminated. Any thoughts, much appreciated. -- John From gnemmi at gmail.com Sat Jul 5 20:20:31 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat Jul 5 20:20:38 2008 Subject: mounting ext2fs partitions on FBSD7 ( third time a charm?) In-Reply-To: <486F3870.7090002@skoberne.net> References: <200807042033.44829.gnemmi@gmail.com> <200807050546.09073.gnemmi@gmail.com> <486F3870.7090002@skoberne.net> Message-ID: <200807051720.20649.gnemmi@gmail.com> On Saturday 05 July 2008 06:01:36 Nejc ?koberne wrote: > Hey, > > >> ls -la / | grep mnttest > > Can you paste output of this command? > > > sysid 5 (0x05),(Extended DOS) > > start 102398310, size 106446690 (51975 Meg), flag 0 > > beg: cyl 1023/ head 0/ sector 1; > > end: cyl 1023/ head 254/ sector 63 > > So the partition you're trying to mount is under an extended partition. > Can you do "ls -la /dev/ad0*" and provide us with the output? > > Bye, > Nejc Here you have a more complete output: root@inferna:~ # mkdir /mnttest root@inferna:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest root@inferna:~ # mount -t ext2fs /dev/ad0s8 /mnttest root@inferna:~ # ls /mnttest ls: /mnttest: Bad file descriptor root@inferna:~ # file /mnttest /mnttest: cannot open `/mnttest' (Bad file descriptor) root@inferna:~ # ls -la / | grep mnttest ls: mnttest: Bad file descriptor root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # umount /mnttest root@inferna:~ # ls /mnttest root@inferna:~ # file /mnttest /mnttest: directory root@inferna:~ # ls -la / | grep mnttest drwxr-xr-x 2 root wheel 512 Jul 5 17:16 mnttest root@inferna:~ # dmesg | tail -5 re0: link state changed to DOWN re0: link state changed to UP pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented pid 8511 (doom.x86), uid 1001: exited on signal 11 root@inferna:~ # Hope it clarifies sonething more Thanks for helping Nejc :) -- Blessings Gonzalo Nemmi From kingedgar at gmail.com Sat Jul 5 20:20:49 2008 From: kingedgar at gmail.com (Jason Garrett) Date: Sat Jul 5 20:20:56 2008 Subject: Problem with pf, which is not doing NAT In-Reply-To: References: <486DD1F4.7010606@mail.ru> Message-ID: <970380130807051254i3d4142f4j3e3718a0ec574bd8@mail.gmail.com> On Fri, Jul 4, 2008 at 4:34 AM, assetburned wrote: > Hi > > On 04.07.2008, at 08:32, Michael Lednev wrote: > > assetburned ?????: >> >>> >>> So any ideas? >>> >> >> do you have gateway_enable="YES" in /etc/rc.conf? >> > > Yes I have that line active. > > I also have natd_enable="NO" because I was told I don't need it anymore for > pf (I'm a switcher from IPFW). > > cu assetburned > My relevant lines from pf.conf. Only one lan and one wan. Currently working great. ext_if = "fxp0" int_if = "fxp1" localnet = $int_if:network nat on $ext_if from $localnet to any -> ($ext_if) pass from { lo0, $localnet } to any keep state From rhomel.chinsio at gmail.com Sat Jul 5 21:27:50 2008 From: rhomel.chinsio at gmail.com (Rhomel Chinsio) Date: Sat Jul 5 21:27:56 2008 Subject: AMD SB700 southbridge sata ahci supported? In-Reply-To: <463aea570806272321v3285fde1r93136812c0ef6cd@mail.gmail.com> References: <463aea570806272321v3285fde1r93136812c0ef6cd@mail.gmail.com> Message-ID: Try disabling USB in the BIOS: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122880 On Fri, Jun 27, 2008 at 11:21 PM, Gobbledegeek wrote: > Hi > > I install freebsd 7 i386 twice, installed mbr, both times boot loader > failed to load at 1st stage with cpu register values displayed on > screen. > Mobo - gigabyte GA-MA78GM-S2H, AMD 780G chipset with ATI Radeon3200 > IGP, cpu amd BE-2350, 2GB transcend DR2800 ram, barracuda hdd with > SATA in AHCI mode in bios. > > I could not find this in the i386 or amd64 platform list. > > Anyone has any ideas about support for this? > > Please copy me as I am not subscribed. > > -- > Kind Regards > GobbleDeGeek > [For everything Gobbledegook!!] > _______________________________________________ > 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 perryh at pluto.rain.com Sat Jul 5 22:37:43 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat Jul 5 22:37:51 2008 Subject: mount_nfs not accepting syntax specified by its usage complaint In-Reply-To: <200807051750.45968.fbsd.questions@rachie.is-a-geek.net> References: <486ed824.Qk+B4m7i0LUfOGZZ%perryh@pluto.rain.com> <200807051750.45968.fbsd.questions@rachie.is-a-geek.net> Message-ID: <486ff000.H+f3qjlr8y39EYi8%perryh@pluto.rain.com> > option 'g' has been "removed temporarily", but usage() hasn't > been updated accordingly. Aha! Removing the "-g 8" fixed it, and the 512-byte read and readdir restrictions seem to be working well (albeit slowly). That a "temporary" removal present in 7.0 has been there at least since 6.1 reminds me of an OS/360 PTF, which officially stood for "Program Temporary Fix" but was sometimes reputed to actually mean "Permanent Temporary Fix". Is there any realistic prospect of the -g option being restored in the near future? If not, perhaps I should submit a patch to update the usage() and manpage. From the.real.david.allen at gmail.com Sat Jul 5 22:56:59 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Sat Jul 5 22:57:05 2008 Subject: calcru: runtime went backwards errors In-Reply-To: <54db43990806300738n33d10fe7te27b9c9f3c295a4@mail.gmail.com> References: <2daa8b4e0806300627s39d49347r9e0e5675e4c25088@mail.gmail.com> <54db43990806300738n33d10fe7te27b9c9f3c295a4@mail.gmail.com> Message-ID: <2daa8b4e0807051556t2ac2f42bgd5d2f23bf2c880d7@mail.gmail.com> On Mon, Jun 30, 2008 at 7:38 AM, Bob Johnson wrote: > On 6/30/08, David Allen wrote: >> I've been seeing errors like the following appearing: >> >> Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261 >> usec to 258 usec for pid 516 (devd) > [...] >> Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486 >> usec to 481 usec for pid 0 (swapper) >> >> and narrowed down the cause to openntpd. >> >> Do these errors fall into the Mostly Harmless category? > > It's probably just an annoyance, unless it is happening so often it > causes other problems. I'll not worry then, but what's perplexing is that if "time going backwards" leads to confusion, why is that ntpd, as a matter of course, doesn't result in these error messages, but openntpd does? And then, why isn't anyone using openntpd getting the errors? > The FreeBSD FAQ used to have a nice explanation of this, but it has > been replaced by a discussion that simply assumes the problem is > caused by the Intel SpeedStep implementation on your motherboard: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#Q5.24. My web searches turned a lot of noise about the above issue. Thanks for clarifying what I was reading. As for the FAQ, didn't there was one. I guess I've not needed it until now. ;-) > But in general, this error can be caused by several things, including > a device that is slow to respond to interrupts. One thing that often > helps on SMP systems is to make sure your timecounter isn't using TSC: > > $ sysctl kern.timecounter > kern.timecounter.tick: 1 > kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0) > dummy(-1000000) > kern.timecounter.hardware: ACPI-fast > [...] Good to know, but this is an older single processor system (ACPI-safe). Seems I'll have to decide whether I drop openntpd and shuffle things around to other systems, or learn to live with the errors. Thanks to everyone that replied. From dan at langille.org Sat Jul 5 23:10:18 2008 From: dan at langille.org (Dan Langille) Date: Sat Jul 5 23:10:25 2008 Subject: The FreeBSD Diary: 2008-06-15 - 2008-07-05 Message-ID: <20080705231004.DE57D50893@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From pschmehl_lists at tx.rr.com Sun Jul 6 01:46:37 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Sun Jul 6 01:46:44 2008 Subject: Weird network problem Message-ID: <36ED87B5B91EDD7623F75246@[192.168.2.101]> I just installed 7.0 STABLE on a brand new Dell SC1435 (dual AMD 64bit dual core processors), and I'm experiencing a very weird problem. If I try to do anything with the network, I lose connectivy. For example, if I run /etc/rc.d/netif restart, when the interface comes back up, it says the media has no connection. If I reboot the box, it works fine. If I try to bring up an alias interface on the same NIC the network goes away and the box has to be rebooted. Did something change on 7.0? Or have I got some sort of bug? [pauls@www ~]$ uname -a FreeBSD www.stovebolt.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Jun 27 23:01:26 CDT 2008 root@:/usr/obj/usr/src/sys/GENERIC amd64 [pauls@www ~]$ grep bge /var/run/dmesg.boot bge0: mem 0xefcf0000-0xefcfffff irq 33 at device 0.0 on pci1 miibus0: on bge0 bge0: Ethernet address: 00:1e:c9:46:1c:a0 bge0: [ITHREAD] bge1: mem 0xefdf0000-0xefdfffff irq 37 at device 0.0 on pci2 miibus1: on bge1 bge1: Ethernet address: 00:1e:c9:46:1c:a1 bge1: [ITHREAD] Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. From kurt.buff at gmail.com Sun Jul 6 02:02:10 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Jul 6 02:02:18 2008 Subject: Sound on amd64 Message-ID: I'm trying to update the kernel in 7.0-Stable (updated today) with either snd_hda or snd_ich, and it's erroring out during buildkernel with one or the other of these failure messages: For snd_ich, I get this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 from /usr/src/sys/dev/sound/pci/ich.c:28: /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pci/ich.c:29: /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error ac97_if.h: No such file or directory mkdep: compile failed For snd_hda, I get this: In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 from /usr/src/sys/dev/sound/pci/hda/hdac.c:70: /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No such file or directory In file included from /usr/src/sys/dev/sound/pci/ich.c:29: /usr/src/sys/dev/sound/pci/hda/hdac.c:82:22: mixer_if.h: No such file or directory mkdep: compile failed Hardware is an Lenovo Thinkpad T61 7658 CTO, and I've confirmed that it has an Intel hda controller - or at least that is what SLES thinks when it boots on this machine. What next? Kurt From refriendz at refriendz.com Sun Jul 6 02:35:31 2008 From: refriendz at refriendz.com (Refriendz) Date: Sun Jul 6 02:35:38 2008 Subject: Welcome! 2 tips to get started... Message-ID: <4caaf5bea4049ea5a0d99657d2a88bb1@www.refriendz.com> * * * To ensure that Refriendz emails reach your inbox, please add our "From" address (refriendz@refriendz.com) to your email Address Book or Safe List. * * * Welcome to Refriendz Patricia! Here are two tips for you to get started: ========================================= 1. Find Your Friendz: *Go to Browse or Search page to find friendz on Refriendz http://www.refriendz.com/?do=Login.User&email=freebsd-questions@freebsd.org&password=9f0a4484b933134d03e1c35ae9fb90b6&redPage=FriendzMap.ConnectedMembers *Invite all your other friendz to join you! http://www.refriendz.com/?do=Login.User&email=freebsd-questions@freebsd.org&password=9f0a4484b933134d03e1c35ae9fb90b6&redPage=MyCommunity.Invite 2. Build Your Profile: *Go to My Profile page and upload UNLIMITED PHOTOS http://www.refriendz.com/?do=Login.User&email=freebsd-questions@freebsd.org&password=9f0a4484b933134d03e1c35ae9fb90b6&redPage=FriendzMap.MyProfile *Fill out your About Me and Interests http://www.refriendz.com/?do=Login.User&email=freebsd-questions@freebsd.org&password=9f0a4484b933134d03e1c35ae9fb90b6&redPage=MyAccount.Profile (If these links don't work, please copy and paste them into your browser.) -Your friendz at Refriendz * * * Unsubscribe: If you do not wish to receive Refriendz emails, visit: http://www.refriendz.com/?do=Login.User&email=freebsd-questions@freebsd.org&password=9f0a4484b933134d03e1c35ae9fb90b6&redPage=MyAccount.Notifications Please do not reply directly to this email. This mailbox is not monitored and you will not receive a response. Refriendz Limited, PO BOX 1184, Luton, Bedfordshire, LU1 9AT, UK. From conrads at cox.net Sun Jul 6 04:01:11 2008 From: conrads at cox.net (Conrad J. Sabatier) Date: Sun Jul 6 04:01:18 2008 Subject: Sound on amd64 In-Reply-To: References: Message-ID: <20080705224813.4349f701@serene.no-ip.org> On Sat, 5 Jul 2008 19:02:09 -0700 "Kurt Buff" wrote: > I'm trying to update the kernel in 7.0-Stable (updated today) with > either snd_hda or snd_ich, and it's erroring out during buildkernel > with one or the other of these failure messages: > > For snd_ich, I get this: > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 > from /usr/src/sys/dev/sound/pci/ich.c:28: > /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No > such file or directory > In file included from /usr/src/sys/dev/sound/pci/ich.c:29: > /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error ac97_if.h: No such file > or directory > mkdep: compile failed > > For snd_hda, I get this: > In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 > from /usr/src/sys/dev/sound/pci/hda/hdac.c:70: > /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No > such file or directory > In file included from /usr/src/sys/dev/sound/pci/ich.c:29: > /usr/src/sys/dev/sound/pci/hda/hdac.c:82:22: mixer_if.h: No such file > or directory > mkdep: compile failed > > > Hardware is an Lenovo Thinkpad T61 7658 CTO, and I've confirmed that > it has an Intel hda controller - or at least that is what SLES thinks > when it boots on this machine. > > What next? > > Kurt Do you have both the generic sound support (sound) as well as the specific hardware driver enabled in your kernel config? From tedm at toybox.placo.com Sun Jul 6 05:35:06 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jul 6 05:35:13 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <539c60b90807021447s152bd3a9n164b88b49e3c568f@mail.gmail.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Steve Franks > Sent: Wednesday, July 02, 2008 2:47 PM > To: Gary Kline > Cc: Wojciech Puchar; Chad Perrin; FreeBSD Mailing List > Subject: Re: OT: anyone been crazy enough to mirror wikipedia? > > > You know, the Wikipedia is crap argument is becoming tiresome. Maybe > they should have picked a different name. It is not a research tool. > However, I use it daily when someone mentions Microsoft's latest TLA, > or my daughter wants to see a picture of a blue whale, or I forget > what port subversion needs open in my firewall, or the webpage & > market cap for some obscure company. I consider it to be like the > browseable companion to google search. Steve, the problem is that for decades the print encyclopedias fulfilled this function. Have you ever, for example, seen a cite to World Book or some such in a serious professional reseach paper? Of course not. They never used it. The vast majority of people buying those print encyclopedias were folks like you who were using them for casual searches. The reason the academic research community is so up in arms over wikipedia is that all the folks like you stopped buying the print encyclopedias when wiki came out, and the encyclopedia publishers have all gone out of business. Your no longer paying some academic gatekeeper and the academics, for all their talk about information freedom, don't like it. Check out tuition recently? Now tell me college is available to any student who wants it. Yeah, right. The academics want their pound of flesh and they don't like the competition. Ted From jrisom at gmail.com Sun Jul 6 06:12:42 2008 From: jrisom at gmail.com (Joshua Isom) Date: Sun Jul 6 06:12:50 2008 Subject: Adding a new hard drive, and using geom Message-ID: <266e55c771cbec02a4039641cff631c7@gmail.com> I bought a second hard drive for my computer since my /usr partition was getting full. I don't want to deal with hardware raid since I don't want to be dependent on a certain hardware vendor or chipset, so I'm wanting to go with geom. I'd prefer to not have to backup all my data(I know I should anyway, but it's a 500gb hard drive, and drives are growing faster than backup solutions). Would it be possible to do a geom stripe to expand /usr and keep all the data or would I just need to backup everything, and then put it all back? If I must deal with backing up and erasing, and considering that the current /usr and the new drive aren't the same size, how would I go about mirroring other paritions and striping /usr? Would that still be easily bootable(no special hacks or workarounds)? Any tips or other recommendations would be appreciated. From tedm at toybox.placo.com Sun Jul 6 06:20:27 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sun Jul 6 06:20:38 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080704094226.GA1817@thought.org> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gary Kline > Sent: Friday, July 04, 2008 2:42 AM > To: Ted Mittelstaedt > Cc: stevefranks@ieee.org; FreeBSD Mailing List > Subject: Re: anyone been crazy enough to mirror wikipedia? > > > On Fri, Jul 04, 2008 at 01:50:20AM -0700, Ted Mittelstaedt wrote: > > > > > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org > > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Steve Franks > > > Sent: Monday, June 30, 2008 1:49 PM > > > To: FreeBSD Mailing List > > > Subject: OT: anyone been crazy enough to mirror wikipedia? > > > > > > > > > So call me a sociopath, but times are a bit scary. I'd like to do the > > > 2000's equivalent of the 1960's bomb shelter, and have my very own > > > snapshot in case of major local/regional internet disruption, etc. > > > > > > > This is not a silly idea. For many many years people would spend > > hundreds of dollars on a complete set of Encyclopedia Britannica > > or World Book encyclopedia to have it sit on their shelf gathering > > dust (until their kids used it for school, etc.) > > > > The fact that your even asking the question and wanting to do > > it is to your credit. > > > > I really feel the big value of doing something like this is to > > be able to go back to it, years later, and compare the old > > entries on a topic with the current entries on a topic to > > see how they have changed. > > > > I also think that solving the technical problems and learning > > how to create a wikipedia mirror would be a great learning > > experience for anyone. > > > > But, as for the practical value, I would encourage you to read > > Asimov's Foundation series to really understand that any attempt > > to catagorize and store the world's accumulated knowledge in a > > storage medium in a single location is ultimately an exercise in > > futility. Asimov > > made the valid point that book knowledge of facts must work hand > > in hand with experience to be useful, and experience isn't documentable. > > Terminus itself, the entire planet and everyone on it, was the > > encyclopedia - the actual encyclopedia that the encyclopediests > > were working on, was nothing more than a sham. > > > > > Thanks for thi, Ted. > > While this is going even further off-topi, I would like to see a ' > (non-scholarly) wiki for just about every topic you can > think of. By > wiki, i mean, in wiki format. over time it could have citations and > beome a research tool. On the BSD kernel prio scheduler, for one > example. This mighht grow into a wiki-web for unix nerds; > or art history > buffs, etv. > > I've got one questioon that I have been meaning to ask for > years, but > haven't due to the yelps.... II've asked some off-the-wall here on > -questions simply because this is the most intelligent > group|list of people > I've found. Is there a more appropriate place to ask > miscelllaneous > questions? [I know about some and will hold my tongue!] Check out Usenet. > Be nice to ask, > e.g, why homes are not required to have R-50 in the wall; > R-90 attics. Very simple. Building codes are regulated by the local jurisdictions, cities, counties, and such, with input from the state government. The only thing the Federal government can do is ban things - for example the Feds can ban use of asbestos - but they cannot set building codes. Because the local jurisdictions are -frequently- not staffed by competent people, lots of them just punt and follow the national electric code, or whatever industry standard that the construction industry has come up with. Insulation isn't required because the construction industry doesen't want the building codes to require anything over and above that which is needed to keep the building from falling down, so they don't put it in their national industry standards, thus the local jurisdictions don't require it either. (although they certainly could if they wanted) If you have ever had a new house built to spec (ie: you bought a lot in a subdivision with a designated builder, for example) you will have a meeting with the builder and discover that for an extra fee he can deviate from the spec plan and add a great many amenities - like extra insulation, additional electrical outlets, heavier duty wiring, extra gas lines, etc. etc. - that if added after the fact would be enormously expensive and disruptive, requiring tearing into the walls and suchlike. Some people do, some don't. Ted From wojtek at wojtek.tensor.gdynia.pl Sun Jul 6 06:22:46 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jul 6 06:22:53 2008 Subject: Adding a new hard drive, and using geom In-Reply-To: <266e55c771cbec02a4039641cff631c7@gmail.com> References: <266e55c771cbec02a4039641cff631c7@gmail.com> Message-ID: <20080706081907.J2917@wojtek.tensor.gdynia.pl> > I bought a second hard drive for my computer since my /usr partition was > getting full. I don't want to deal with hardware raid since I don't want to > be dependent on a certain hardware vendor or chipset, you probably don't have RAID hardware to deal, unless you bough 300 or more $ card. > so I'm wanting to go with geom. I'd prefer to not have to backup all my data(I know I should > anyway, but it's a 500gb hard drive, and drives are growing faster than > backup solutions). Would it be possible to do a geom stripe to expand /usr > and keep all the data or would I just need to backup everything, and then put gconcat will do. gstripe not. if usr is on partition x, and you want to add partition y do: unmount usr dd if=/dev/zero of=y bs=1m (*) gconcat label usr x y growfs /dev/concat/usr fsck_ffs /dev/concat/usr now /dev/concat/usr is your /usr make sure gconcat in kernel is available when booting. * - only to make buggy growfs work without a mess From lists at jnielsen.net Sun Jul 6 06:37:19 2008 From: lists at jnielsen.net (John Nielsen) Date: Sun Jul 6 06:37:26 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080612132527.K5722@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl> Message-ID: <200807060222.40004.lists@jnielsen.net> I'm behind on my mailing list reading and don't really want to prolong/resurrect this thread unduly, but I do want to respond to this point: On Thursday 12 June 2008 07:37:06 am Wojciech Puchar wrote: > you must have disks dedicated for raidz, disks dedicated for mirrored > storage and disks dedicated for unprotected storage. it's inflexible > and not much usable. > > actually - much less usable than "legacy" > gmirror/gstripe/gconcat+bsdlabel. ZFS on FreeBSD is GEOM-ified. While I believe what Wojciech said about needing a full disk is correct under Solaris, it's not the case in FreeBSD. Any GEOM provider can be added to a zpool--disk, slice, partition, gmirror, gstripe, md device, etc. I just added some storage to a personal server and re-did the layout using ZFS. My zpool (raidz) is made up of two partitions and one gstripe, spanning a total of four disks. I haven't had any issues with it at all (7-STABLE i386, 1.5GB RAM, no tuning other than kmem size and MAXPAGES). All of the disks also have other small partitions--two for a gmirrored root and three for swap. I think FreeBSD is a great storage/fileserver platform exactly _because_ there are so many options. UFS is great, gmirror and gstripe and friends are fantastic, and ZFS is yet another powerful tool in the arsenal. In my case ZFS was the best meeting point for space vs redundancy vs performance. Not having "real" RAID hardware my other candidates were graid3, graid5 and gvinum. ZFS is much easier to configure than gvinum, much more proven and stable than graid5 (which isn't even in the tree yet), and ought to perform better than graid3. I didn't do any testing to verify the last assertion since this is just a personal box, but I don't have any complaints about performance. JN > one of my systems have 8 disks. 80% of data doesn't need any > protection, it's just a need for a lot of space, other 20 needs to be > mirrored. this 80% of data is used in high bandwidth/low seeks style > (only big files). > > i simply partitioned every disk on 2 partitions, every first is used to > make gmirror+gstripe device, every second is used to make gconcat > device, and i have what i need WITH BALANCED LOAD. > > with ZFS i would have to make first 2 drives as mirror, another 6 for > unprotected storage, having LOTS of seeks on first 2 drives and very > little seeks on other 6 drives. the system would be unable to support > the load. > > > > to say more: zfs set copies could be usable to selectively mirror given > data while not mirroring other (using unprotected storage for ZFS). > but it's broken. it writes N copies under write, but don't remake > copies in case of failure! > > _______________________________________________ > 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 wojtek at wojtek.tensor.gdynia.pl Sun Jul 6 06:58:26 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jul 6 06:58:33 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <200807060222.40004.lists@jnielsen.net> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl> <200807060222.40004.lists@jnielsen.net> Message-ID: <20080706085537.J3537@wojtek.tensor.gdynia.pl> > > ZFS on FreeBSD is GEOM-ified. While I believe what Wojciech said about > needing a full disk is correct under Solaris, it's not the case in i never said it requires full disk. but it will work very slow sharing a disk with non-ZFS things. >> to say more: zfs set copies could be usable to selectively mirror given >> data while not mirroring other (using unprotected storage for ZFS). >> but it's broken. it writes N copies under write, but don't remake >> copies in case of failure! which make it almost unusable. in case of any failure you have to copy and delete every file to make it actually repaired. From kurt.buff at gmail.com Sun Jul 6 07:51:38 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Sun Jul 6 07:51:48 2008 Subject: Sound on amd64 In-Reply-To: <20080705224813.4349f701@serene.no-ip.org> References: <20080705224813.4349f701@serene.no-ip.org> Message-ID: On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier wrote: > On Sat, 5 Jul 2008 19:02:09 -0700 > "Kurt Buff" wrote: > >> I'm trying to update the kernel in 7.0-Stable (updated today) with >> either snd_hda or snd_ich, and it's erroring out during buildkernel >> with one or the other of these failure messages: >> >> For snd_ich, I get this: >> In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 >> from /usr/src/sys/dev/sound/pci/ich.c:28: >> /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No >> such file or directory >> In file included from /usr/src/sys/dev/sound/pci/ich.c:29: >> /usr/src/sys/dev/sound/pcm/ac97.h:91:21: error ac97_if.h: No such file >> or directory >> mkdep: compile failed >> >> For snd_hda, I get this: >> In file included from /usr/src/sys/dev/sound/pcm/sound.h:94 >> from /usr/src/sys/dev/sound/pci/hda/hdac.c:70: >> /usr/src/sys/dev/sound/pcm/channel.h:216:24 error: channel_if.h: No >> such file or directory >> In file included from /usr/src/sys/dev/sound/pci/ich.c:29: >> /usr/src/sys/dev/sound/pci/hda/hdac.c:82:22: mixer_if.h: No such file >> or directory >> mkdep: compile failed >> >> >> Hardware is an Lenovo Thinkpad T61 7658 CTO, and I've confirmed that >> it has an Intel hda controller - or at least that is what SLES thinks >> when it boots on this machine. >> >> What next? >> >> Kurt > > Do you have both the generic sound support (sound) as well as the > specific hardware driver enabled in your kernel config? Sigh. Always something new to learn. Thanks! From tl32 at next.online.no Sun Jul 6 08:25:13 2008 From: tl32 at next.online.no (Tore Lund) Date: Sun Jul 6 08:25:22 2008 Subject: Sound on amd64 In-Reply-To: References: <20080705224813.4349f701@serene.no-ip.org> Message-ID: <48708196.5040802@next.online.no> Kurt Buff wrote: > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier wrote: >> On Sat, 5 Jul 2008 19:02:09 -0700 >> "Kurt Buff" wrote: >> ... >> Do you have both the generic sound support (sound) as well as the >> specific hardware driver enabled in your kernel config? > > Sigh. Always something new to learn. Just wondering, why do people modify the kernel when kernel loadable modules can handle the sound card? Is it necessary on some types of hardware? -- Tore From m.seaman at infracaninophile.co.uk Sun Jul 6 08:59:10 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sun Jul 6 08:59:17 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: References: Message-ID: <4870894E.7090708@infracaninophile.co.uk> John Almberg wrote: > Luckily, I have a pretty powerful machine sitting right next to my main > webserver that I mainly use for backup. The two servers are directly > connected to each other with a twisted ethernet cable, using extra NIC > cards in the machines, so they have a fast, dedicated 'LAN' to share. > > Desperate, I moved mysqld to this other machine, so basically this > second machine became a dedicated database server. > > The improvement this change made seems out of proportion. Both machines > are now cruising with extremely low load averages and the WCPU for the > mysqld instance on the new machine is practically zero. > > I'm not complaining. Problem solved. But I am scratching my head over > how mysql could be getting crushed on the first, 8 core/8G machine, but > running cool as a cucumber on the second, 2-core/2G machine??? Database performance is critically dependant on the underlying Disk IO sub- systems. There's two things to consider here: * What's the difference in disk hardware between the two machines? * How well does the database compete with apache for disk IO when they are sharing the same drives? In the first case, you'll see very big improvements in MySQL performance if you use disks with plenty of IO cache memory on them, plus disks that work with controllers that support tagged queuing (SAS and higher end SATA generally.) DB disk IO consists primarily of a large number of small transactions randomly distributed across the drive. Reducing the latency of each of those transactions gets you the best improvement in performance. RAID levels are important: single disks are not bad if dedicated to the DB. RAID1 mirrors are fine. RAID10 striped mirrors are excellent. RAID5 not so good. If you're willing to spend money, hardware RAID controllers help. Hardware RAID controllers with Battery Backup Units (so you can safely turn on write caching) help a very great deal. In the second case, it's really just about competition for resources. I suspect that you could have achieved a pretty good speed-up simply by adding another hard drive to your server and moving all of the database onto it, separate from the web root and any other areas which apache would be doing a lot of read/write operations on. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/7bafd4cf/signature.pgp From girish at hri.res.in Sun Jul 6 09:27:54 2008 From: girish at hri.res.in (Girish Kulkarni) Date: Sun Jul 6 09:28:01 2008 Subject: Disabling Super key? Message-ID: <8a2141c0807060227x2e28a4fgeea15ebd0dc02d32@mail.gmail.com> Is there any way I could disable the Windows key on my keyboard? I use FreeBSD 7.0-RELEASE on a Dell Inspiron 640m laptop. My Windows key ("Super_L") has developed a problem for some unknown reason: it gets pressed and remains so without my touching it. I could diagnose this only using xev, which reported a constant Super_L KeyPress event. This means that I cannot enter text in for example Firefox or Emacs most of the time and this is terribly irritating. I could probably solve the problem by disabling the Super key. Thanks, Girish. From boris.moulin at caliopea.com Sun Jul 6 10:00:27 2008 From: boris.moulin at caliopea.com (P.Moulin) Date: Sun Jul 6 10:00:35 2008 Subject: linux_base and SMP support ? Message-ID: <48709359.3010400@caliopea.com> Hi there. I recently added linux_base-fc4 on a host, to run linux setiathome enhanced versions (aka crunchers). The problem is that on multicore engines (core 2 duo, pentium D, etc...) where before there was 2 freebsd-crunchers on 2 differents core, now, with linux-crunchers, the 2 crunchers are sharing only 1 core. Can someone tell me what's wrong with this ? Have I missed something ? Is it an incompatibility from linux_base with smp hardware ? This problem seems to affects only freebsd 6.x, not the 7 branch. My kernels are all compiled with SMP support. I'm working for years with freebsd, but consider I'm really a newbee with linux. T.I.A. PM. PS: if you want to join us: http://boincstats.com/stats/team_graph.php?pr=sah&id=2119 (we have the 5th position in our country statistics; we are one of the oldiest team in our country; we tend to use mostly freebsd powered engines (56% freebsd today, 73% if you consider "Darwin" being a "freebsd"). (thanks to read this, not so long, email till this line ;-) From ezeaguerrelistas at gmail.com Sun Jul 6 10:35:49 2008 From: ezeaguerrelistas at gmail.com (Ezequiel Aguerre) Date: Sun Jul 6 10:35:56 2008 Subject: Konqueror UNICODE fonts In-Reply-To: <200807051939.57844.ghirai@ghirai.com> References: <200807051939.57844.ghirai@ghirai.com> Message-ID: <8e60f2200807060308j3612c0e9yb90438986f008fa0@mail.gmail.com> Hi, 1. Make sure you have the proper fonts :P 2. Choose a generic font name in konqueror config, something like "Sans" and "Monospace" instead of (for example) "Bitstream Vera Sans" and "Bitstream Vera Sans Mono". 3. Make sure you have configured "fontconfig" so that it makes the proper replace from "Sans" -> "Your preferred font" and so on. At least I had that problem until I did this. The problem seems to be with font substitution. Say for example you are using some of the "DejaVu" fonts and you want to see a page with some strange character wich is not in that font; that character should be taken from another font, however Konqueror doesn't get it quite right :P Bye!! 2008/7/5 Ghirai : > Hello list. > > I'm running KDE 3.5.8 from ports. > > Konqueror doesn't seem to want to display unicode fonts properly; i get > boxes > instead, even though i set the encoding to UTF-8. > > The same seem to be with text editors and such. > > Any indeas? > > Thanks. > > -- > Regards, > Ghirai. > _______________________________________________ > 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 mexas at bristol.ac.uk Sun Jul 6 10:38:47 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sun Jul 6 10:38:54 2008 Subject: minimum xorg install for clients side Message-ID: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> I've a headless machine on which I'd like to run xorg clients, but no server. What ports do I need to install? xorg-apps? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From kris at FreeBSD.org Sun Jul 6 11:03:10 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Sun Jul 6 11:03:16 2008 Subject: linux_base and SMP support ? In-Reply-To: <48709359.3010400@caliopea.com> References: <48709359.3010400@caliopea.com> Message-ID: <4870A66B.9090807@FreeBSD.org> P.Moulin wrote: > > Hi there. > > I recently added linux_base-fc4 on a host, to run linux > setiathome enhanced versions (aka crunchers). > > The problem is that on multicore engines (core 2 duo, pentium D, etc...) > where before there was 2 freebsd-crunchers on 2 differents core, > now, with linux-crunchers, the 2 crunchers are sharing only 1 core. > > Can someone tell me what's wrong with this ? Have I missed something ? > Is it an incompatibility from linux_base with smp hardware ? > > This problem seems to affects only freebsd 6.x, not the 7 branch. > My kernels are all compiled with SMP support. > > I'm working for years with freebsd, but consider I'm really a newbee > with linux. How do you know they are sharing one core, and what do you mean by "2 crunchers"? Are they separate processes, or a single threaded process? Kris From ghirai at ghirai.com Sun Jul 6 11:23:38 2008 From: ghirai at ghirai.com (Ghirai) Date: Sun Jul 6 11:23:46 2008 Subject: Konqueror UNICODE fonts In-Reply-To: <8e60f2200807060308j3612c0e9yb90438986f008fa0@mail.gmail.com> References: <200807051939.57844.ghirai@ghirai.com> <8e60f2200807060308j3612c0e9yb90438986f008fa0@mail.gmail.com> Message-ID: <200807061423.34177.ghirai@ghirai.com> On Sunday 06 July 2008 13:08:55 Ezequiel Aguerre wrote: > Hi, > 1. Make sure you have the proper fonts :P > 2. Choose a generic font name in konqueror config, something like "Sans" > and "Monospace" instead of (for example) "Bitstream Vera Sans" and > "Bitstream Vera Sans Mono". > 3. Make sure you have configured "fontconfig" so that it makes the proper > replace from "Sans" -> "Your preferred font" and so on. > > At least I had that problem until I did this. > The problem seems to be with font substitution. Say for example you are > using some of the "DejaVu" fonts and you want to see a page with some > strange character wich is not in that font; that character should be taken > from another font, however Konqueror doesn't get it quite right :P > > Bye!! > > 2008/7/5 Ghirai : > > Hello list. > > > > I'm running KDE 3.5.8 from ports. > > > > Konqueror doesn't seem to want to display unicode fonts properly; i get > > boxes > > instead, even though i set the encoding to UTF-8. > > > > The same seem to be with text editors and such. > > > > Any indeas? > > > > Thanks. > > > > -- > > Regards, > > Ghirai. Alright, i installed dejavu fonts from ports, added the path to xorg.conf, and told KDE and Konqueror to use the DejaVu fonts. Everything works. -- Regards, Ghirai. From frase at frase.id.au Sun Jul 6 11:51:29 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Sun Jul 6 11:51:35 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> Message-ID: <20080706115109.GA2241@bacardi> On Sun, Jul 06, 2008 at 11:38:42AM +0100, Anton Shterenlikht wrote: > I've a headless machine on which I'd like to run > xorg clients, but no server. What ports do I need > to install? xorg-apps? > > many thanks > anton > xorg-libraries is the place to start. xorg-apps is a collection of small X utilities, applications and demos. frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/9c9c617f/attachment.pgp From freebsd at troback.com Sun Jul 6 12:19:01 2008 From: freebsd at troback.com (Anders =?UTF-8?B?VHJvYsOkY2s=?=) Date: Sun Jul 6 12:19:09 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> Message-ID: <20080706141636.02d15667@baal.troback.com> On Sun, 6 Jul 2008 11:38:42 +0100 Anton Shterenlikht wrote: > I've a headless machine on which I'd like to run > xorg clients, but no server. What ports do I need > to install? xorg-apps? > > many thanks > anton > > Not 100% sure what you are asking, but if you want to run, let's say xterm, just install xterm! If you want to have a remote GUI logon with XDMCP install XDM, GDM or KDM then you can start X with the -query parameter! If this wasn't what you where asking please ask again:-) \\troback -- ================================================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" ---------------------------------------------------------------- Anders Trob?ck http://www.troback.com/ - From dihitales at gmail.com Sun Jul 6 13:42:37 2008 From: dihitales at gmail.com (Gintautas Simkus) Date: Sun Jul 6 13:42:44 2008 Subject: Development (Linux) and production (freeBSD) servers? Message-ID: Hello, I have a freeBSD AMP web server running on an old desktop, while on my laptop I am running Ubuntu and Windows OSes. My main concern is this: is it possible backup my production server data with rsync for instance and keep it on Ubuntu server? Are there any other consideration to take into account? Thanks for answers. From rsmith at xs4all.nl Sun Jul 6 14:06:12 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jul 6 14:06:24 2008 Subject: Development (Linux) and production (freeBSD) servers? In-Reply-To: References: Message-ID: <20080706140609.GA16503@slackbox.xs4all.nl> On Sun, Jul 06, 2008 at 04:17:06PM +0300, Gintautas Simkus wrote: > Hello, I have a freeBSD AMP web server running on an old desktop, while on > my laptop I am running Ubuntu and Windows OSes. My main concern is this: > is it possible backup my production server data with rsync for instance > and keep it on Ubuntu server? Yes. > Are there any other consideration to take into account? When using rsync, it might not be able to copy ACLs and flags to other OS's that do not support them natively. So if you depend on ACLs or flags, use dump instead. But is you just have regular data files, rsync is fine. For keeping large volumes of data synchronized, rsync is probably the fastest solution. I tend to use the following options for rsync backups: '-axq --delete'. You could also use a USB connected harddisk as a backup. It's easy to store that off-site. If you consider your data valuable, encrypt your backup disks, e.g. with geli(8). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/bf596467/attachment.pgp From the.real.david.allen at gmail.com Sun Jul 6 14:06:54 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Sun Jul 6 14:07:02 2008 Subject: Reconfiguring network interfaces Message-ID: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> I need to make several wholesale changes to a few different systems, and I'd prefer to do it over SSH without losing connectivity where possible. I know I can use ifconfig, or edit /etc/rc.conf directly and reboot, but is there a canonical way to make the changes in /etc/rc.conf and "reload" those changes to ensure everything is in a known state? From what I can determine, running netif stop/start would work, but would require I do that locally. From dfeustel at mindspring.com Sun Jul 6 14:07:46 2008 From: dfeustel at mindspring.com (dfeustel@mindspring.com) Date: Sun Jul 6 14:07:53 2008 Subject: Portupgrade Message-ID: <20080706140746.401E08FC1A@mx1.freebsd.org> I ran the command 'portupgrade -all' yesterday and now I have some questions about the way the command works. Building of numerous packages was preceeded by a graphical menu of build options for the package to be built. In the case of clisp, I changed the default to include building the pari math module. A compile error with pari then broke the build of clisp. I tried running the command 'portupgrade clisp' but no menu came up for me to deselect pari and redo the build. The old clisp was removed by portupgrade. How do I get clisp back? Thanks. From rsmith at xs4all.nl Sun Jul 6 14:24:22 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun Jul 6 14:24:28 2008 Subject: Portupgrade In-Reply-To: <20080706140746.401E08FC1A@mx1.freebsd.org> References: <20080706140746.401E08FC1A@mx1.freebsd.org> Message-ID: <20080706142420.GA29453@slackbox.xs4all.nl> On Sun, Jul 06, 2008 at 02:07:45PM +0000, dfeustel@mindspring.com wrote: > I ran the command 'portupgrade -all' yesterday and now I have some > questions about the way the command works. > > Building of numerous packages was preceeded by a graphical menu of > build options for the package to be built. In the case of clisp, > I changed the default to include building the pari math module. > A compile error with pari then broke the build of clisp. > > I tried running the command 'portupgrade clisp' but no menu came > up for me to deselect pari and redo the build. The old clisp was > removed by portupgrade. > > How do I get clisp back? Go to the clisp port directory. Run 'make config', then 'make install clean'. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/c2c19913/attachment.pgp From derek at computinginnovations.com Sun Jul 6 14:30:09 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sun Jul 6 14:30:16 2008 Subject: Reconfiguring network interfaces In-Reply-To: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.co m> References: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> Message-ID: <6.0.0.22.2.20080706092727.02626760@mail.computinginnovations.com> At 09:06 AM 7/6/2008, David Allen wrote: >I need to make several wholesale changes to a few different systems, >and I'd prefer to do it over SSH without losing connectivity where >possible. I know I can use ifconfig, or edit /etc/rc.conf directly >and reboot, but is there a canonical way to make the changes in >/etc/rc.conf and "reload" those changes to ensure everything is in a >known state? From what I can determine, running netif stop/start >would work, but would require I do that locally. You pretty much need to be on the console rather than ssh'd in to make those changes interactively. You can do them remotely via a cron job or at job, but any mistake will require a trip to the console. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From chris at vindaloo.com Sun Jul 6 14:42:28 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Sun Jul 6 14:42:42 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <4870894E.7090708@infracaninophile.co.uk> References: <4870894E.7090708@infracaninophile.co.uk> Message-ID: <52ADB97C-BBC8-47F8-AAAB-443CCC8ADA03@vindaloo.com> On Jul 6, 2008, at 4:58 AM, Matthew Seaman wrote: > John Almberg wrote: >> [snip] > In the second case, it's really just about competition for > resources. I > suspect that you could have achieved a pretty good speed-up simply by > adding another hard drive to your server and moving all of the > database > onto it, separate from the web root and any other areas which apache > would be doing a lot of read/write operations on. > When I go back and look at the original top output for the single machine I note that it's out of RAM. It looks to me like apache and mysqld were contending over memory. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From chris at vindaloo.com Sun Jul 6 14:43:29 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Sun Jul 6 14:43:36 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <4870894E.7090708@infracaninophile.co.uk> References: <4870894E.7090708@infracaninophile.co.uk> Message-ID: <52ADB97C-BBC8-47F8-AAAB-443CCC8ADA03@vindaloo.com> On Jul 6, 2008, at 4:58 AM, Matthew Seaman wrote: > John Almberg wrote: >> [snip] > In the second case, it's really just about competition for > resources. I > suspect that you could have achieved a pretty good speed-up simply by > adding another hard drive to your server and moving all of the > database > onto it, separate from the web root and any other areas which apache > would be doing a lot of read/write operations on. > When I go back and look at the original top output for the single machine I note that it's out of RAM. It looks to me like apache and mysqld were contending over memory. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From andrewd at webzone.net.au Sun Jul 6 15:12:22 2008 From: andrewd at webzone.net.au (Andrew D) Date: Sun Jul 6 15:12:29 2008 Subject: Reconfiguring network interfaces In-Reply-To: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> References: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> Message-ID: <4870DE41.1080003@webzone.net.au> David Allen wrote: > I need to make several wholesale changes to a few different systems, > and I'd prefer to do it over SSH without losing connectivity where > possible. I know I can use ifconfig, or edit /etc/rc.conf directly > and reboot, but is there a canonical way to make the changes in > /etc/rc.conf and "reload" those changes to ensure everything is in a > known state? From what I can determine, running netif stop/start > would work, but would require I do that locally. You could also use the alias featue, adding the new ip, sshing into the new ip, and dump the old ip. ** Though I haven't tried this method personally. ** HTH cya 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" From fbsd.questions at rachie.is-a-geek.net Sun Jul 6 15:12:44 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Jul 6 15:12:50 2008 Subject: Reconfiguring network interfaces In-Reply-To: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> References: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> Message-ID: <200807061712.41120.fbsd.questions@rachie.is-a-geek.net> On Sunday 06 July 2008 16:06:49 David Allen wrote: > I need to make several wholesale changes to a few different systems, > and I'd prefer to do it over SSH without losing connectivity where > possible. I know I can use ifconfig, or edit /etc/rc.conf directly > and reboot, but is there a canonical way to make the changes in > /etc/rc.conf and "reload" those changes to ensure everything is in a > known state? From what I can determine, running netif stop/start > would work, but would require I do that locally. So, you want to make changes to a machine and confirm they're correct, but when they're not, the old settings should be restored: 0) make sure sshd listens on all ip's ('INADDR_ANY'), not preconfigured set. # cp -p /etc/rc.conf /etc/rc.conf.BEFORE_CHANGE # ${EDITOR} /etc/rc.conf # cp -p /etc/rc.conf /etc/rc.conf.CHANGES Then this script, say /root/bin/testrc.sh: ===================================================================== #!/bin/sh /etc/rc.d/netif stop sleep 1 /etc/rc.d/netif start # sleep for 5 minutes, should be ample time to re-establish the ssh # connection. sleep 300 # We were not killed, this means the connection is faulty cp -p /etc/rc.conf.BEFORE_CHANGE /etc/rc.conf /etc/rc.d/netif stop sleep 1 /etc/rc.d/netif start ===================================================================== Then run as: daemon -p /var/run/testrc.pid /root/bin/testrc.sh When you can log back in, simply: kill `cat /var/run/testrc.pid` ; rm /var/run/testrc.pid And rm /etc/rc.conf.BEFORE_CHANGE if you feel comfy. If you couldn't log back in, inspect /etc/rc.conf.CHANGES and adjust, rm the pid file, rince and repeat. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From mexas at bristol.ac.uk Sun Jul 6 15:24:13 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sun Jul 6 15:24:20 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080706141636.02d15667@baal.troback.com> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> Message-ID: <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > On Sun, 6 Jul 2008 11:38:42 +0100 > Anton Shterenlikht wrote: > > > I've a headless machine on which I'd like to run > > xorg clients, but no server. What ports do I need > > to install? xorg-apps? > > > > many thanks > > anton > > > > > > Not 100% sure what you are asking, but if you want to run, let's say > xterm, just install xterm! > > If you want to have a remote GUI logon with XDMCP install XDM, GDM or > KDM then you can start X with the -query parameter! > > If this wasn't what you where asking please ask again:-) sorry, I wasn't clear. I have 2 FBSD boxes: a server with no graphics card (S) and a laptop (L). I want to run X applications on S and see the results on L. The applications I run on S are typically xpdf, gs, xfig, display, firefox, etc. While I could install ports/xorg on both boxes, this is probably excessive. Since I won't run any xorg applications on L, I probably don't need xorg-apps on L. Likewise, since I'm not running xorg server on S, I probably don't need xorg-server on S. This is my basic understanding of xorg server-clients model. Is this logic correct? However, I'm not sure on what box (S, L or both) I need: xorg-libraries xorg-fonts xorg-drivers xorg-protos etc. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From whereisalext at gmail.com Sun Jul 6 15:32:31 2008 From: whereisalext at gmail.com (Alex Teslik) Date: Sun Jul 6 15:32:39 2008 Subject: natd and ipfw external hangs Message-ID: Hello, I recently upgraded to 7.0-STABLE and have setup an ipfw+natd combo on my dual homed host. I have two interfaces: em0 - external interface to the net 24.205.x.x sk0 - internal interface 192.168.x.x When users connect on the 192.168.x.x internal network everything works great. Packets get out to the net and back to the originating machine with no delays. So, natd seems to be doing the right thing. The server (24.205.x.x) can directly connect to the internet for all services - no problems there. The problem is external users. When they hit the webserver at 24.205.x.x the text portion of the pages load quickly. A few images load, and then the rest of the page hangs for quite some time. When I check the connection on my side with netstat -a I see a lot of these: tcp4 0 0 server.http 41.221.19.24.62422 FIN_WAIT_2 tcp4 0 0 server.http 41.221.19.24.62401 FIN_WAIT_2 tcp4 0 0 server.http 203.215.120.236.1686 FIN_WAIT_2 So it seems the connection is just hanging for some reason. I opened my firewall up completely, taking natd out of the equation and the external problem was solved. So, I'm suspecting a bad config in my firewall rules, or a bad config in my natd. So I created an open firewall that also uses natd to see if I could get things working. Here are the rules (complete with comments from the fbsd handbook): #!/bin/sh IPFW="ipfw -q add" ipfw -q -f flush # No restrictions on Inside LAN Interface for private network $IPFW 10 allow all from any to any via sk0 # No restrictions on loopback interface $IPFW 20 allow all from any to any via lo0 # check if packet is inbound and nat address if it is $IPFW 30 divert natd ip from any to any in via em0 # Allow the packet through if it has previously been added to the # the "dynamic" rules table by an allow keep-state statement. $IPFW 50 check-state # Interface facing Public Internet (Outbound Section) # Interrogate session start requests originating from behind the # firewall on the private network or from this gateway server # destined for the public Internet. # Basically, let everything out. $IPFW 60 skipto 500 all from any to any out via em0 setup keep-state # Interface facing Public Internet (Inbound Section) # Interrogate packets originating from the public Internet # destined for this gateway server or the private network. # Basically, let everything in to me. $IPFW 70 allow all from any to me in via em0 setup limit src-addr 2 # This is skipto location for outbound stateful rules $IPFW 500 divert natd ip from any to any out via em0 $IPFW 600 allow ip from any to any $IPFW 800 deny all from any to any and my natd setup: gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/ipfw.rules" natd_enable="YES" natd_interface="em0" natd_flags="-dynamic -m" and in my kernel: # For Network Address Translation (NAT) options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=5 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT How can I successfully eliminate the external hangs without loosing natd for the internal users? Any ideas greatly appreciated! Thanks, Alex From wojtek at wojtek.tensor.gdynia.pl Sun Jul 6 15:52:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jul 6 15:52:39 2008 Subject: Reconfiguring network interfaces In-Reply-To: <4870DE41.1080003@webzone.net.au> References: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> <4870DE41.1080003@webzone.net.au> Message-ID: <20080706175106.R5376@wojtek.tensor.gdynia.pl> >> would work, but would require I do that locally. > > You could also use the alias featue, adding the new ip, sshing into the new > ip, and dump the old ip. > > ** Though I haven't tried this method personally. ** but i did. From jalmberg at identry.com Sun Jul 6 15:56:20 2008 From: jalmberg at identry.com (John Almberg) Date: Sun Jul 6 15:56:28 2008 Subject: Fwd: Why would it make such a difference to move mysqld to another machine? References: <67A42EB4-4794-4F21-AF9F-123C1DEE8A39@identry.com> Message-ID: <7B56BE54-2EE8-40F3-AE1B-8C299A9FA81B@identry.com> On Jul 6, 2008, at 4:58 AM, Matthew Seaman wrote: > John Almberg wrote: >> Luckily, I have a pretty powerful machine sitting right next to my >> main webserver that I mainly use for backup. The two servers are >> directly connected to each other with a twisted ethernet cable, >> using extra NIC cards in the machines, so they have a fast, >> dedicated 'LAN' to share. >> Desperate, I moved mysqld to this other machine, so basically this >> second machine became a dedicated database server. >> The improvement this change made seems out of proportion. Both >> machines are now cruising with extremely low load averages and the >> WCPU for the mysqld instance on the new machine is practically zero. >> I'm not complaining. Problem solved. But I am scratching my head >> over how mysql could be getting crushed on the first, 8 core/8G >> machine, but running cool as a cucumber on the second, 2-core/2G >> machine??? > > Database performance is critically dependant on the underlying Disk > IO sub- > systems. > > There's two things to consider here: > > * What's the difference in disk hardware between the two machines? > > * How well does the database compete with apache for disk IO when > they are sharing the same drives? > > In the first case, you'll see very big improvements in MySQL > performance > if you use disks with plenty of IO cache memory on them, plus disks > that > work with controllers that support tagged queuing (SAS and higher > end SATA > generally.) DB disk IO consists primarily of a large number of small > transactions randomly distributed across the drive. Reducing the > latency > of each of those transactions gets you the best improvement in > performance. > RAID levels are important: single disks are not bad if dedicated to > the DB. > RAID1 mirrors are fine. RAID10 striped mirrors are excellent. > RAID5 not > so good. If you're willing to spend money, hardware RAID > controllers help. > Hardware RAID controllers with Battery Backup Units (so you can > safely turn > on write caching) help a very great deal. The first box has 2 independent raid arrays, with an Intel hardware raid controller with battery backup. But apache and mysql were probably on the same array. I have to confirm this. The second box has 2 drives with raid 1, from an integrated controller (i.e, software raid). So the second box is much less powerful, but running mysqld is all it's doing. I guess that is the primary difference. My main worry about the second box is that it only has 1G of RAM (not 2 as I mis-remembered before checking specs.) Easily expanded, but it's something to watch. Bottom line, I might do better by moving mysqld back to the first machine, but putting the data on the second, raid 10 array (which is more or less empty at the moment.) I appreciate your insight. This is starting to make sense to me. Brgds: JOhn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Websites for On-line Collectible Dealers ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Identry, LLC John Almberg (631) 546-5079 jalmberg@identry.com www.identry.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From wojtek at wojtek.tensor.gdynia.pl Sun Jul 6 15:57:44 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jul 6 15:57:51 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <200807060222.40004.lists@jnielsen.net> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl> <200807060222.40004.lists@jnielsen.net> Message-ID: <20080706175206.B5376@wojtek.tensor.gdynia.pl> > point: > > On Thursday 12 June 2008 07:37:06 am Wojciech Puchar wrote: >> you must have disks dedicated for raidz, disks dedicated for mirrored >> storage and disks dedicated for unprotected storage. it's inflexible >> and not much usable. >> >> actually - much less usable than "legacy" >> gmirror/gstripe/gconcat+bsdlabel. looks like my mistake - or simply a shortcut that made statement imprecise. it should be added: ---- ZFS can be installed on partitions and share disks with other things, but the performance will be bad. ZFS - contrary to every other filesystem that use FreeBSD disk I/O scheduler - does it's own I/O scheduling, so it assumes it's the only user of physical drive. if both non-ZFS and ZFS filesystem will share the same disk AT THE SAME TIME - there will be a lots of thrashing. From fbsd.questions at rachie.is-a-geek.net Sun Jul 6 15:59:14 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun Jul 6 15:59:21 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <4870894E.7090708@infracaninophile.co.uk> References: <4870894E.7090708@infracaninophile.co.uk> Message-ID: <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> On Sunday 06 July 2008 10:58:54 Matthew Seaman wrote: > I suspect that you could have achieved a pretty good speed-up simply by > adding another hard drive to your server and moving all of the database > onto it, separate from the web root and any other areas which apache > would be doing a lot of read/write operations on. In fact, when you look at the two top(1) outputs from OP, you can see that apache is eating all the memory and hardly any memory is left for IO cache. On the second machine you can see that MySQL is caching 49MB I/O, guessing this is the (sum of) the most used indexes or in case of InnoDB the entire InnoDB file. Since MySQL is clearly the bottleneck of the sites, I'd investigate why in the world apache2 needs >150M per process. If you're using the memcache module, it may actually speed things up considerably to *disable* it, since that would leave plenty IO cache for MySQL to work with. On the other hand, if there's so much I/O to cache for the webserver, maybe it's a good idea to configure a lightweight image (or other static content) server. This apache would only need mod_mime, mod_header and mod_expires (to set the caching). Personally, I wouldn't enable the mem cache on there either, since 80% of the time you'll be sending 304's, instead of image data. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jalmberg at identry.com Sun Jul 6 16:13:59 2008 From: jalmberg at identry.com (John Almberg) Date: Sun Jul 6 16:14:06 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <52ADB97C-BBC8-47F8-AAAB-443CCC8ADA03@vindaloo.com> References: <4870894E.7090708@infracaninophile.co.uk> <52ADB97C-BBC8-47F8-AAAB-443CCC8ADA03@vindaloo.com> Message-ID: <532521D3-E0A6-4639-88C3-47FEDE62C9A4@identry.com> > > When I go back and look at the original top output for the single > machine I note that it's out of RAM. It looks to me like apache and > mysqld were contending over memory. > Can you explain this idea in more detail, Chris? I thought this TOP display indicated that there was still 2G free. Am I interpreting it wrong? How can you tell that it's out of RAM? Thanks: John last pid: 43730; load averages: 1.93, 2.64, 2.22 up 92+19:45:54 09:26:27 238 processes: 3 running, 235 sleeping CPU states: 8.1% user, 0.0% nice, 17.3% system, 0.2% interrupt, 74.4% idle Mem: 1384M Active, 3753M Inact, 373M Wired, 884K Cache, 214M Buf, 2150M Free Swap: 16G Total, 88K Used, 16G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1393 mysql 63 20 0 400M 221M kserel 0 191.5H 157.13% mysqld 43698 www 1 4 0 169M 29888K sbwait 5 0:00 2.63% httpd 43697 www 1 20 0 169M 29804K lockf 1 0:00 1.18% httpd 23376 vpopmail 1 4 0 81468K 55772K select 7 0:28 1.17% perl5.8.8 43729 root 1 96 0 7228K 2676K select 5 0:00 1.00% couriertls From luizbcampos at gmail.com Sun Jul 6 16:26:34 2008 From: luizbcampos at gmail.com (luizbcampos) Date: Sun Jul 6 16:26:42 2008 Subject: unable to fetch wmthemeinstall Message-ID: Despite I have enabled port 21 on /etc/pf.conf, I dont get fetching wmthemeinstall I get -operation not permitted, I use Free-BSD-7.0-R amd64 Regards Luiz From tobias.rehbein at web.de Sun Jul 6 17:02:10 2008 From: tobias.rehbein at web.de (Tobias Rehbein) Date: Sun Jul 6 17:02:17 2008 Subject: [OT] Why behaves my application different when run in gdb Message-ID: <20080706163626.GA1896@sushi.pseudo.local> Hi all. Sorry for asking off-topic questions but I started to dive into C programming. I know a couple of scripting languages quite well but wanted to learn something more low level. What me struck now is the fact that my code will crash (signal 11) while processing a strcpy. When I run the same thing in gdb it won't crash and whats even more important to me: It does what I wanted it to do... Perhaps someone can tell me why a program which crashes repeatedly in console runs fine in the debugger. Thanks in advance Tobias -- Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/0382f31d/attachment.pgp From muksyed at yahoo.com Sun Jul 6 17:35:06 2008 From: muksyed at yahoo.com (Mukarram Syed) Date: Sun Jul 6 17:35:14 2008 Subject: Recovering root password from a drive by mounting the cdrom Message-ID: <654008.76835.qm@web31507.mail.mud.yahoo.com> Hi, I am totally new to freebsd and as a Unix admin (not a freebsd unix admin though), I have to recover a lost root password from a freebsd drive. I need your help! I have booted up from a freebsd install cd 1. I have connected my freebsd drive in the system. Now I don't know how to mount the drive to edit the /etc/shadow file. I am at the fixit prompt on the cd. Can anyone help. I have tried googling this for the past hour with no luck. Is there anyother way to do this? I can't login using single user mode though. thanks much # mukarram Mukarram Syed muksyed@yahoo.com From canito at dalan.us Sun Jul 6 17:44:51 2008 From: canito at dalan.us (David Alanis) Date: Sun Jul 6 17:44:58 2008 Subject: Recovering root password from a drive by mounting the cdrom In-Reply-To: <654008.76835.qm@web31507.mail.mud.yahoo.com> References: <654008.76835.qm@web31507.mail.mud.yahoo.com> Message-ID: <20080706124450.7keijs7wowcc0sog@mail.dalan.us> Quoting Mukarram Syed : > Hi, > I am totally new to freebsd and as a Unix admin (not a freebsd unix > admin though), I have to recover a lost root password from a freebsd > drive. > I need your help! > I have booted up from a freebsd install cd 1. I have connected my > freebsd drive in the system. Now I don't know how to mount the > drive to edit the /etc/shadow file. > I am at the fixit prompt on the cd. > Can anyone help. I have tried googling this for the past hour with no luck. > Is there anyother way to do this? I can't login using single user > mode though. > > thanks much > > # mukarram > > Mukarram Syed > muksyed@yahoo.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" > Simple as typing a few words in google: http://www.google.com/search?hl=en&q=how+to+recover+a+root+password+freebsd&btnG=Search Try the first link. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From freebsd at troback.com Sun Jul 6 18:07:52 2008 From: freebsd at troback.com (Anders =?UTF-8?B?VHJvYsOkY2s=?=) Date: Sun Jul 6 18:08:00 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> Message-ID: <20080706200524.4b626fc8@baal.troback.com> On Sun, 6 Jul 2008 16:24:08 +0100 Anton Shterenlikht wrote: > On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > > On Sun, 6 Jul 2008 11:38:42 +0100 > > Anton Shterenlikht wrote: > > > > > I've a headless machine on which I'd like to run > > > xorg clients, but no server. What ports do I need > > > to install? xorg-apps? > > > > > > many thanks > > > anton > > > > > > > > > > Not 100% sure what you are asking, but if you want to run, let's say > > xterm, just install xterm! > > > > If you want to have a remote GUI logon with XDMCP install XDM, GDM > > or KDM then you can start X with the -query parameter! > > > > If this wasn't what you where asking please ask again:-) > > sorry, I wasn't clear. > > I have 2 FBSD boxes: a server with no graphics card (S) and a laptop > (L). I want to run X applications on S and see the results on L. > The applications I run on S are typically xpdf, gs, xfig, display, > firefox, etc. > > While I could install ports/xorg on both boxes, this is probably > excessive. Since I won't run any xorg applications on L, I probably > don't need xorg-apps on L. Likewise, since I'm not running xorg server > on S, I probably don't need xorg-server on S. This is my basic > understanding of xorg server-clients model. Is this logic correct? > > However, I'm not sure on what box (S, L or both) I need: > xorg-libraries > xorg-fonts > xorg-drivers > xorg-protos > > etc. > > many thanks > anton > If you are after a real minimal installation with XDMCP you can do like this: On S: x11/xdm On L: x11-servers/xorg-server x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11-drivers/xf86-video-intel (or what ever card you have) x11-fonts/font-alias x11-fonts/font-cursor-misc x11-fonts/font-misc-misc Configure X on L: X -configure X -config xorg.conf.new cp xorg.conf.new /etc/X11/xorg.conf Configure XDM on S: Read http://www.freebsd.org/doc/en/books/handbook/x-xdm.html Start XDM on S: xdm (if you want it to start after reboot look for a line about xdm (ttyv8) in /etc/ttys, change off to on) Start X on L: X -query S Hope that helps:-) -- ================================================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" ---------------------------------------------------------------- Anders Trob?ck http://www.troback.com/ - From cpghost at cordula.ws Sun Jul 6 18:44:47 2008 From: cpghost at cordula.ws (cpghost) Date: Sun Jul 6 18:44:54 2008 Subject: [OT] Why behaves my application different when run in gdb In-Reply-To: <20080706163626.GA1896@sushi.pseudo.local> References: <20080706163626.GA1896@sushi.pseudo.local> Message-ID: <20080706204443.5427f0c5@epia-2.farid-hajji.net> On Sun, 6 Jul 2008 18:36:26 +0200 Tobias Rehbein wrote: > What me struck now is the fact that my code will crash (signal 11) > while processing a strcpy. When I run the same thing in gdb it won't > crash and whats even more important to me: It does what I wanted it > to do... If you showed the program, we could have a closer look at this and tell the exact reason. So the following is just a wild guess, out of the blue: If it's strcpy(), you're probably corrupting the stack (or the malloc arena) by writing past the end of a buffer. When you run under gdb, the debugger dynamically inserts special instructions into the program so you can single-step through it. This tends to slightly modify the memory layout of your program, and you'll be jumping back to some other address. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From pedro.sousaalves at uclouvain.be Sun Jul 6 18:51:42 2008 From: pedro.sousaalves at uclouvain.be (Pedro Alves) Date: Sun Jul 6 18:51:49 2008 Subject: Can't run GNUstep apps. X-Windows error - RenderBadPicture Message-ID: <85a6e1803b1f5a04cd8adccdcb5c28fd.squirrel@mmp.sipr-dc.ucl.ac.be> Hello I am trying to run GNUStep applications on my machine. After installing all the applications and libraries and configuring the environment I get the following error when for instance I start any GNUstep app ie. TextEdit, Gorm ... 2008-07-06 20:35:18.082 TextEdit[911] X-Windows error - RenderBadPicture (invalid Picture parameter) on display: :0.0 type: 0 serial number: 3000 request code: 153 The app opens, but the menus doesn't show any content. Any clues? Thanks Pedro From pedro.sousaalves at uclouvain.be Sun Jul 6 19:00:11 2008 From: pedro.sousaalves at uclouvain.be (Pedro Alves) Date: Sun Jul 6 19:00:17 2008 Subject: Can't run WindowMaker. Fatal server error: Message-ID: <64d1ab581e3356d286e59b2b0e14b53b.squirrel@mmp.sipr-dc.ucl.ac.be> Hello I have a serious problem with windowmaker. Every time I configure .xinitrc to launch wmaker, the server aborts here what I get: Fatal server error: Caught signal 11. Server aborting xnit: connection to X server lost. wmaker warning: got signal1-exiting... So... What to do, as I don't find any information concerning this problem. I am running FreeBSD 7.0 One week old cvs ports upgrade. Pedro From LukeD at pobox.com Sun Jul 6 19:31:47 2008 From: LukeD at pobox.com (Luke Dean) Date: Sun Jul 6 19:31:55 2008 Subject: Can't run WindowMaker. Fatal server error: In-Reply-To: <64d1ab581e3356d286e59b2b0e14b53b.squirrel@mmp.sipr-dc.ucl.ac.be> References: <64d1ab581e3356d286e59b2b0e14b53b.squirrel@mmp.sipr-dc.ucl.ac.be> Message-ID: <20080706122909.W84746@border.lukas.is-a-geek.org> On Sun, 6 Jul 2008, Pedro Alves wrote: > Hello > > I have a serious problem with windowmaker. > Every time I configure .xinitrc to launch wmaker, the server aborts > > here what I get: > > Fatal server error: > Caught signal 11. Server aborting > > xnit: connection to X server lost. > wmaker warning: got signal1-exiting... > > > > > So... What to do, as I don't find any information concerning this problem. > > I am running FreeBSD 7.0 > One week old cvs ports upgrade. You may find clues in the Xorg log. /var/log/Xorg.0.log When I have this problem, or just about any X-related problem, it means I need to go rebuild my video driver. From agus.262 at gmail.com Sun Jul 6 19:34:41 2008 From: agus.262 at gmail.com (Agus) Date: Sun Jul 6 19:35:17 2008 Subject: Deny access from localhost to internet..... In-Reply-To: <20070930032804.6123c175@gumby.homeunix.com.> References: <46FEEC52.1050705@gmail.com> <20070930032804.6123c175@gumby.homeunix.com.> Message-ID: 2007/9/29 RW : > On Sun, 30 Sep 2007 02:22:42 +0200 > Sten Daniel Soersdal wrote: > > > Agus wrote: > > > Hi guys, > > > > > > How are you today? > > > The question is this..I want to restrict external access, that is > > > from my BSD to the internet, to some groups of users. Other groups > > > i want to access internet normally. I dont want this group of users > > > to be able to establish connections to the internet but yes to the > > > internal systems on the LAN... > > > > > > Is this possible without hacking the kernel? > > > > > > Thanks and salutes for all > > > > > > > You want to restrict internet, but not LAN, access for certain users > > logged into your BSD box? > > > > man ipfw ( look for "uid" and "gid" ) > > man pf ( look for "user" and "group" ) > > > > Danger Will Robinson! > > Don't do that unless you've read the bugs sections of the ipfw > and pf.conf man pages. > _______________________________________________ > 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" > OK...cool...i am using pf as firewall...arent any issues in using both? i mean pf and ipfw? Cheers, Agustin From ariel.burbaickij at gmail.com Sun Jul 6 19:59:01 2008 From: ariel.burbaickij at gmail.com (Ariel Burbaickij) Date: Sun Jul 6 19:59:08 2008 Subject: Intel Pro/Wireless 2200 -- radio stubbornly remains down at Toshiba Satellite M30-951 Message-ID: <3058f9b40807061231g14c586e3id8d7f11ce8435bb7@mail.gmail.com> Hello dear mailing list participants, following situation: iwi device is configured as required in man iwi (4) in /boot/loader.conf and it is recognized during bootup. FreeBSD 7.0-Release is used. Under FreeBSD radio remains turned off. As I understood it from attempt to install iwicontrol it is considered as not needed anymore. Under Knoppix with exactly the same hardware configuration device is recognized without any problems. Any ideas what I should try else? /wbr Ariel Burbaickij From jalmberg at identry.com Sun Jul 6 21:10:47 2008 From: jalmberg at identry.com (John Almberg) Date: Sun Jul 6 21:10:59 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> References: <4870894E.7090708@infracaninophile.co.uk> <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> Message-ID: <6F9BC84B-3A11-4D1F-85EB-7E52020A1532@identry.com> > Since MySQL is clearly the bottleneck of the sites, I'd investigate > why in the > world apache2 needs >150M per process. Now that was a darn good question. I ran httpd -M and got a list of 60 loaded modules... duh. I said before I'm just a beginner Admin. I'm learning a lot, but some of these basic things, I just haven't run into, yet. Obviously, Apache 2 gets loaded with a whole bunch of default modules? I didn't realize that, before. Okay... I need to figure out which ones I really need. Thanks for push in the right direction... -- John From glen.j.barber at gmail.com Sun Jul 6 21:14:15 2008 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 6 21:14:23 2008 Subject: Sed in FreeBSD In-Reply-To: <486F8BB8.6040704@mammothcheese.ca> References: <692660060807050706i6e02fe04t840bc0a2aff1e8ae@mail.gmail.com> <486F8BB8.6040704@mammothcheese.ca> Message-ID: <4ad871310807061357nf1c6bb1oeba05b02f7883ba1@mail.gmail.com> On 7/5/08, James Bailie wrote: > Sebastian Tymk?w wrote: > > > > I've tried with sed -e '/PATTERN/ a\ line' file but this did'n work. There > > are many axamples in internet but none > > of them work on FreeBSD. > > > > The inserted line needs to be on a separate physical line. > > sed -e '/PATTERN/a\ > line' > > For /bin/csh, you need two backslashes because the shell recognizes > backslashes inside single-quotes, which it shouldn't. > IIRC, you also need the '-i' flag, even if you do not specify a backup extension: sed -i '' -e 's/foo/bar/' myfile http://www.dev-urandom.com/unix/sed Regards, -- Glen Barber http://www.dev-urandom.com/ From wojtek at wojtek.tensor.gdynia.pl Sun Jul 6 21:19:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Jul 6 21:20:05 2008 Subject: Recovering root password from a drive by mounting the cdrom In-Reply-To: <654008.76835.qm@web31507.mail.mud.yahoo.com> References: <654008.76835.qm@web31507.mail.mud.yahoo.com> Message-ID: <20080706231814.A6909@wojtek.tensor.gdynia.pl> > I need your help! > I have booted up from a freebsd install cd 1. I have connected my freebsd drive in the system. Now I don't know how to mount the drive to edit the /etc/shadow file. > I am at the fixit prompt on the cd. IMHO mount /mnt mount /mnt/usr cd /mnt chroot . usr/bin/passwd and change the password From conrads at cox.net Sun Jul 6 21:24:02 2008 From: conrads at cox.net (Conrad J. Sabatier) Date: Sun Jul 6 21:24:09 2008 Subject: Sound on amd64 In-Reply-To: <48708196.5040802@next.online.no> References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> Message-ID: <20080706162400.740db254@serene.no-ip.org> On Sun, 06 Jul 2008 10:25:58 +0200 Tore Lund wrote: > Kurt Buff wrote: > > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier > > wrote: > >> On Sat, 5 Jul 2008 19:02:09 -0700 > >> "Kurt Buff" wrote: > >> ... > >> Do you have both the generic sound support (sound) as well as the > >> specific hardware driver enabled in your kernel config? > > > > Sigh. Always something new to learn. > > Just wondering, why do people modify the kernel when kernel loadable > modules can handle the sound card? Is it necessary on some types of > hardware? Well, probably the main reason most people do it is to strip away any unneeded functionality. The GENERIC kernel contains a whole slew of drivers and options that most people don't need, but are intended to support a wide range of hardware configurations "out of the box". You can greatly reduce the kernel's size by only including the features you really need. -- PROOF OF GOD #501. ARGUMENT FROM SPORTS VICTORY (I) (1) My team won. (2) They got their talent from God. (3) Therefore, God exists. From lumiwa at gmail.com Sun Jul 6 21:48:34 2008 From: lumiwa at gmail.com (Mitja) Date: Sun Jul 6 21:48:40 2008 Subject: Konqueror UNICODE fonts In-Reply-To: <200807061423.34177.ghirai@ghirai.com> References: <200807051939.57844.ghirai@ghirai.com> <8e60f2200807060308j3612c0e9yb90438986f008fa0@mail.gmail.com> <200807061423.34177.ghirai@ghirai.com> Message-ID: <200807061648.15161.lumiwa@gmail.com> On Sunday 06 July 2008 06:23:34 Ghirai wrote: > On Sunday 06 July 2008 13:08:55 Ezequiel Aguerre wrote: > > Hi, > > 1. Make sure you have the proper fonts :P > > 2. Choose a generic font name in konqueror config, something like "Sans" > > and "Monospace" instead of (for example) "Bitstream Vera Sans" and > > "Bitstream Vera Sans Mono". > > 3. Make sure you have configured "fontconfig" so that it makes the proper > > replace from "Sans" -> "Your preferred font" and so on. > > > > At least I had that problem until I did this. > > The problem seems to be with font substitution. Say for example you are > > using some of the "DejaVu" fonts and you want to see a page with some > > strange character wich is not in that font; that character should be > > taken from another font, however Konqueror doesn't get it quite right :P > > > > Bye!! > > > > 2008/7/5 Ghirai : > > > Hello list. > > > > > > I'm running KDE 3.5.8 from ports. > > > > > > Konqueror doesn't seem to want to display unicode fonts properly; i get > > > boxes > > > instead, even though i set the encoding to UTF-8. > > > > > > The same seem to be with text editors and such. > > > > > > Any indeas? > > > > > > Thanks. > > > > > > -- > > > Regards, > > > Ghirai. > > Alright, i installed dejavu fonts from ports, added the path to xorg.conf, > and told KDE and Konqueror to use the DejaVu fonts. > > Everything works. If you are going, for example, to the: http://en.wikipedia.org/wiki/Ecuador Are there squares too, please? I have to used DejaVu fonts and than changed to Liberation fonts and I had and I have a problem as you had still. Thank you. -- There comes a time in the affairs of a man when he has to take the bull by the tail and face the situation. -- W.C. Fields From ghirai at ghirai.com Sun Jul 6 22:02:13 2008 From: ghirai at ghirai.com (Ghirai) Date: Sun Jul 6 22:02:20 2008 Subject: Konqueror UNICODE fonts In-Reply-To: <200807061648.15161.lumiwa@gmail.com> References: <200807051939.57844.ghirai@ghirai.com> <200807061423.34177.ghirai@ghirai.com> <200807061648.15161.lumiwa@gmail.com> Message-ID: <200807070102.07575.ghirai@ghirai.com> On Monday 07 July 2008 00:48:14 Mitja wrote: > On Sunday 06 July 2008 06:23:34 Ghirai wrote: > > On Sunday 06 July 2008 13:08:55 Ezequiel Aguerre wrote: > > > Hi, > > > 1. Make sure you have the proper fonts :P > > > 2. Choose a generic font name in konqueror config, something like > > > "Sans" and "Monospace" instead of (for example) "Bitstream Vera Sans" > > > and "Bitstream Vera Sans Mono". > > > 3. Make sure you have configured "fontconfig" so that it makes the > > > proper replace from "Sans" -> "Your preferred font" and so on. > > > > > > At least I had that problem until I did this. > > > The problem seems to be with font substitution. Say for example you are > > > using some of the "DejaVu" fonts and you want to see a page with some > > > strange character wich is not in that font; that character should be > > > taken from another font, however Konqueror doesn't get it quite right > > > :P > > > > > > Bye!! > > > > > > 2008/7/5 Ghirai : > > > > Hello list. > > > > > > > > I'm running KDE 3.5.8 from ports. > > > > > > > > Konqueror doesn't seem to want to display unicode fonts properly; i > > > > get boxes > > > > instead, even though i set the encoding to UTF-8. > > > > > > > > The same seem to be with text editors and such. > > > > > > > > Any indeas? > > > > > > > > Thanks. > > > > > > > > -- > > > > Regards, > > > > Ghirai. > > > > Alright, i installed dejavu fonts from ports, added the path to > > xorg.conf, and told KDE and Konqueror to use the DejaVu fonts. > > > > Everything works. > > If you are going, for example, to the: > http://en.wikipedia.org/wiki/Ecuador > > Are there squares too, please? > > I have to used DejaVu fonts and than changed to Liberation fonts and I had > and I have a problem as you had still. > > Thank you. The article itself has no squares. However, the "Languages" box on the right of the page shows squares for about 10 entries; seems to be something more exotic :P -- Regards, Ghirai. From perrin at apotheon.com Sun Jul 6 23:25:34 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun Jul 6 23:25:42 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080704120028.W7036@wojtek.tensor.gdynia.pl> References: <20080704120028.W7036@wojtek.tensor.gdynia.pl> Message-ID: <20080706232005.GC61711@kokopelli.hydra> On Fri, Jul 04, 2008 at 12:00:50PM +0200, Wojciech Puchar wrote: > >This is not a silly idea. For many many years people would spend > >hundreds of dollars on a complete set of Encyclopedia Britannica > >or World Book encyclopedia to have it sit on their shelf gathering > > they bought it to HAVE it, not because they need it. In my house, we had an encyclopedia because I was in school and it was useful for research papers. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] MacUser, Nov. 1990: "There comes a time in the history of any project when it becomes necessary to shoot the engineers and begin production." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080706/a54fdead/attachment.pgp From lumiwa at gmail.com Sun Jul 6 23:54:30 2008 From: lumiwa at gmail.com (Mitja) Date: Sun Jul 6 23:54:36 2008 Subject: Konqueror UNICODE fonts In-Reply-To: <200807070102.07575.ghirai@ghirai.com> References: <200807051939.57844.ghirai@ghirai.com> <200807061648.15161.lumiwa@gmail.com> <200807070102.07575.ghirai@ghirai.com> Message-ID: <200807061854.08119.lumiwa@gmail.com> On Sunday 06 July 2008 17:02:07 Ghirai wrote: > > I have to used DejaVu fonts and than changed to Liberation fonts and I > > had and I have a problem as you had still. > > > > Thank you. > > The article itself has no squares. > > However, the "Languages" box on the right of the page shows squares for > about 10 entries; seems to be something more exotic :P The "more exotic" fonts the Firefox shows correct IMO. -- From perryh at pluto.rain.com Mon Jul 7 00:12:56 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Jul 7 00:13:03 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: <20080706232005.GC61711@kokopelli.hydra> References: <20080704120028.W7036@wojtek.tensor.gdynia.pl> <20080706232005.GC61711@kokopelli.hydra> Message-ID: <48715dc7.cjOikDOQTxw0PU4L%perryh@pluto.rain.com> > In my house, we had an encyclopedia because I was in school ... > it was useful for research papers. I suspect the usefulness would depend on what one's teachers meant by "research", which tends to change with grade level. In elementary and middle school, certainly. In high school, maybe. In college, probably not. Postgraduate, almost certainly not; at that level one should be using primary sources (and likely know enough to be writing articles *for* an encyclopedia :) From dak.col at gmail.com Mon Jul 7 01:03:49 2008 From: dak.col at gmail.com (Diego F. Arias R.) Date: Mon Jul 7 01:03:56 2008 Subject: Trouble with Intel WIFI ipw2200 Message-ID: <3b93bd110807061803j147d984m32c9951410661f2f@mail.gmail.com> Hi: i have installed freebsd on my laptop but i have a weird problem. I can assosiate with my AP(AccessPoint) using my WEp key but dont works. If i try to use DHCP or set a IP address dont works but if i put tcpdump i can see a few packets. If i try with a keyless network it works. yatusabes# uname -a FreeBSD yatusabes 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 yatusabes# ifconfig iwi0 iwi0: flags=8843 metric 0 mtu 1500 ether 00:13:ce:e8:e8:f4 inet 192.168.122.1 netmask 0xffffff00 broadcast 192.168.122.255 media: IEEE 802.11 Wireless Ethernet autoselect status: associated ssid "Dark Princess" channel 1 (2412 Mhz 11g) bssid 00:1b:11:9b:19:7c authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode CTS yatusabes# ifconfig iwi0 ssid "Dark Princess" wepkey thekey weptxkey 1 up Any idea? -- mmm, interesante..... From david.gurvich at verizon.net Mon Jul 7 01:47:49 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Mon Jul 7 01:47:56 2008 Subject: Intel Pro/Wireless 2200 -- radio stubbornly remains down at Toshiba Satellite M30-951 In-Reply-To: <3058f9b40807061231g14c586e3id8d7f11ce8435bb7@mail.gmail.com> References: <3058f9b40807061231g14c586e3id8d7f11ce8435bb7@mail.gmail.com> Message-ID: <20080706214748.1c250348@verizon.net> Have you accepted the license agreement? From chris at vindaloo.com Mon Jul 7 03:43:27 2008 From: chris at vindaloo.com (Christopher Sean Hilton) Date: Mon Jul 7 03:43:38 2008 Subject: Why would it make such a difference to move mysqld to another machine? In-Reply-To: <6F9BC84B-3A11-4D1F-85EB-7E52020A1532@identry.com> References: <4870894E.7090708@infracaninophile.co.uk> <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> <6F9BC84B-3A11-4D1F-85EB-7E52020A1532@identry.com> Message-ID: <90933D43-DFDB-4A71-AC98-8B0BAE9155A7@vindaloo.com> On Jul 6, 2008, at 5:10 PM, John Almberg wrote: >> Since MySQL is clearly the bottleneck of the sites, I'd investigate >> why in the >> world apache2 needs >150M per process. > > Now that was a darn good question. > > I ran httpd -M and got a list of 60 loaded modules... duh. > > I said before I'm just a beginner Admin. I'm learning a lot, but > some of these basic things, I just haven't run into, yet. Obviously, > Apache 2 gets loaded with a whole bunch of default modules? I didn't > realize that, before. > > Okay... I need to figure out which ones I really need. Thanks for > push in the right direction... My apologies on that one. You're right. I read 2150M as 2 Megabytes. It's obviously 2G which should be plenty of RAM for mysqld. -- Chris -- Chris Hilton chris-at-vindaloo-dot-com ------------------------------------------------------------------------ "All I was doing was trying to get home from work!" -- Rosa Parks From muksyed at yahoo.com Mon Jul 7 03:45:25 2008 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon Jul 7 03:45:33 2008 Subject: Recovering root password from a drive by mounting the cdrom Message-ID: <762991.63396.qm@web31501.mail.mud.yahoo.com> Thanks for this response and others. However, my problem does not look to be so simple. I boot off the install cd and get into the fixit prompt. I dmesg | less and get the device name that I think is my hard drive /dev/ad0. I fdisk /dev/ad0 and get information about 3 slices. I am think /dev/ad0 slice 3 is the root file system because slice 3 has a greatest amount of disk space and that looks like my root partition Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 ad0s1 ad0s3 etc. I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root partition. So I mount it: mount /dev/ad0s3 /mnt I do a df -k and find that /mnt has 0 bytes available. To check I cd /mnt and ls and don't find any data in it. I check/dev/ad0s2 /dev/ad0s1 in the same way. None of it has any data. I guess there is something else that I am missing at this point. Can anyone advise. Thanks # mukarram Mukarram Syed muksyed@yahoo.com ----- Original Message ---- From: Wojciech Puchar To: Mukarram Syed Cc: freebsd-questions@freebsd.org Sent: Sunday, July 6, 2008 2:18:56 PM Subject: Re: Recovering root password from a drive by mounting the cdrom > I need your help! > I have booted up from a freebsd install cd 1. I have connected my freebsd drive in the system. Now I don't know how to mount the drive to edit the /etc/shadow file. > I am at the fixit prompt on the cd. IMHO mount /mnt mount /mnt/usr cd /mnt chroot . usr/bin/passwd and change the password _______________________________________________ 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 dave.list at pixelhammer.com Mon Jul 7 04:04:20 2008 From: dave.list at pixelhammer.com (DAve) Date: Mon Jul 7 04:04:28 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: Message-ID: <487195BA.1090906@pixelhammer.com> Ted Mittelstaedt wrote: > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chad Perrin >> Sent: Monday, June 30, 2008 10:05 PM >> To: FreeBSD Mailing List >> Subject: Re: OT: anyone been crazy enough to mirror wikipedia? >> >> >> On Mon, Jun 30, 2008 at 05:15:39PM -0400, DAve wrote: >>> Steve Franks wrote: >>>> So call me a sociopath, but times are a bit scary. I'd like to do the >>>> 2000's equivalent of the 1960's bomb shelter, and have my very own >>>> snapshot in case of major local/regional internet disruption, etc. >>>> >>>> What would be the best way to go about this. I see with <1T words, it >>>> appears doable on current technology. Maybe they should offer a >>>> snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort >>>> of officially licenced copy, I suspect there are other freaks that >>>> would too... >>> When the world gets that bad, Wikipedia is the least of my concerns, >>> slightly ahead of who is winning American Idol. If it comes to >> the point >>> the internet goes down for a long period of time, that $300 is better >>> spent on a garden. >>> >>> Just my thoughts. >> Actually . . . if things get that bad, you're going to need some >> firepower to protect your garden (and everything else you don't want >> taken from you by force). To properly protect a garden, you'd need to >> make it a community farm, with community members who have and will use >> firearms to protect it (and your Wikipedia mirror). >> >> Of course, I greatly admire the impulse to protect the collected >> knowledge of Wikipedia from disaster. It's also practical -- because it >> contains a lot of information that might be of use (including good >> subsistence gardening information, for those of us who don't have >> naturally green thumbs). >> > > If the crash comes and you don't have 4 - 5 years of experience > running a garden on your land, plus your own well, your gonna starve. > > Veggies are very particular as to the kind of soil they like, and the > light and water they get. And it takes several years of trying different > ones to figure out the ones that do best in your soil. And most modern > veggies are hybrids and the seed is genetically engineered, and patented. > Many varieties are, in fact, sterile. Many others require irrigation to > produce sizable yields. > > To put in a "heritage" garden that will produce given the normally > occurring rainfall in your area takes someone with many years of > experience in your area growing gardens. By the time you would > be able to get one going from info in wikipedia, you would have > died of starvation. > > Ted Some of us will have veggies/skills/water for trade. But what he says is true. It ain't as easy as read a page, plant a row. If I have a question on FreeBSD, Wikipedia is my last resort, after phone calls. While it is useful I suppose to some, I would never base a decision on anything I read there. It is useful for key words and topics to expand a search through better sources, but not much else. If Wikipedia is killing Encyclopedia sales, it is because people are willing to accept mediocrity over accuracy if accuracy comes at a price and mediocrity is free. It has been my experience, maybe things have changed, that a hardbound reference book is the equivalent of asking Bunny Watson for an answer, and Wikipedia is like asking Cliffy on Cheers. DAve -- Don't tell me I'm driving the cart! From ariel.burbaickij at gmail.com Mon Jul 7 05:21:44 2008 From: ariel.burbaickij at gmail.com (Ariel Burbaickij) Date: Mon Jul 7 05:22:07 2008 Subject: Intel Pro/Wireless 2200 -- radio stubbornly remains down at Toshiba Satellite M30-951 In-Reply-To: <20080706214748.1c250348@verizon.net> References: <3058f9b40807061231g14c586e3id8d7f11ce8435bb7@mail.gmail.com> <20080706214748.1c250348@verizon.net> Message-ID: <3058f9b40807062221r33096defy42e5783ce633e8ee@mail.gmail.com> Yes, of course, I have accepted license agreement. Never mind, though. Problem is solved. I found tiny hardware switch that indeed switches radio off/on on the laptop. It was in off position. Now it is in on and everything is fine. /wbr Ariel Burbaickij From sonic2000gr at gmail.com Mon Jul 7 07:12:23 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Mon Jul 7 07:12:29 2008 Subject: Recovering root password from a drive by mounting the cdrom In-Reply-To: <762991.63396.qm@web31501.mail.mud.yahoo.com> References: <762991.63396.qm@web31501.mail.mud.yahoo.com> Message-ID: <4871C1D1.4020405@gmail.com> Mukarram Syed wrote: > Thanks for this response and others. > However, my problem does not look to be so simple. > > I boot off the install cd and get into the fixit prompt. > > I dmesg | less and get the device name that I think is my hard drive /dev/ad0. > I fdisk /dev/ad0 and get information about 3 slices. I am think /dev/ad0 slice 3 is the root file system because slice 3 has a greatest amount of disk space and that looks like my root partition > Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 ad0s1 ad0s3 etc. > I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root partition. > So I mount it: > mount /dev/ad0s3 /mnt > I do a df -k and find that /mnt has 0 bytes available. To check I cd /mnt and ls and don't find any data in it. > I check/dev/ad0s2 /dev/ad0s1 in the same way. None of it has any data. > > I guess there is something else that I am missing at this point. > > Can anyone advise. > > Thanks > > # mukarram > > > Mukarram Syed > muksyed@yahoo.com > > > There must be something wrong if don't see any partitions in any of the slices. You should see something like ad0s1a, ad0s1d, ad0s1f ... Are you able to boot the server normally, from its own disk? Are you able to boot into single user mode, by selecting it from the boot menu? If you can boot into single user mode, you can change the password immediately by doing something like: mount -o rw / mount -a passwd (then exit and boot will continue) If you are asked for a root password when going into single user mode, your console has been marked as 'insecure' in /etc/ttys. You will need to boot with the live CD, mount the root partition and change /etc/ttys, then reboot in single user mode and change the password. This is the easiest way IMHO. If you are not asked for a password when getting into single user mode, you don't need the live CD at all. From tedm at toybox.placo.com Mon Jul 7 09:17:56 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Mon Jul 7 09:18:03 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <487195BA.1090906@pixelhammer.com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of DAve > Sent: Sunday, July 06, 2008 9:04 PM > To: FreeBSD Mailing List > Subject: Re: OT: anyone been crazy enough to mirror wikipedia? > > > Ted Mittelstaedt wrote: > > > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org > >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chad Perrin > >> Sent: Monday, June 30, 2008 10:05 PM > >> To: FreeBSD Mailing List > >> Subject: Re: OT: anyone been crazy enough to mirror wikipedia? > >> > >> > >> On Mon, Jun 30, 2008 at 05:15:39PM -0400, DAve wrote: > >>> Steve Franks wrote: > >>>> So call me a sociopath, but times are a bit scary. I'd like > to do the > >>>> 2000's equivalent of the 1960's bomb shelter, and have my very own > >>>> snapshot in case of major local/regional internet disruption, etc. > >>>> > >>>> What would be the best way to go about this. I see with <1T > words, it > >>>> appears doable on current technology. Maybe they should offer a > >>>> snapshot on DVDs or disk as a fundraiser? I'd drop $300 for > some sort > >>>> of officially licenced copy, I suspect there are other freaks that > >>>> would too... > >>> When the world gets that bad, Wikipedia is the least of my concerns, > >>> slightly ahead of who is winning American Idol. If it comes to > >> the point > >>> the internet goes down for a long period of time, that $300 is better > >>> spent on a garden. > >>> > >>> Just my thoughts. > >> Actually . . . if things get that bad, you're going to need some > >> firepower to protect your garden (and everything else you don't want > >> taken from you by force). To properly protect a garden, you'd need to > >> make it a community farm, with community members who have and will use > >> firearms to protect it (and your Wikipedia mirror). > >> > >> Of course, I greatly admire the impulse to protect the collected > >> knowledge of Wikipedia from disaster. It's also practical -- > because it > >> contains a lot of information that might be of use (including good > >> subsistence gardening information, for those of us who don't have > >> naturally green thumbs). > >> > > > > If the crash comes and you don't have 4 - 5 years of experience > > running a garden on your land, plus your own well, your gonna starve. > > > > Veggies are very particular as to the kind of soil they like, and the > > light and water they get. And it takes several years of trying > different > > ones to figure out the ones that do best in your soil. And most modern > > veggies are hybrids and the seed is genetically engineered, > and patented. > > Many varieties are, in fact, sterile. Many others require irrigation to > > produce sizable yields. > > > > To put in a "heritage" garden that will produce given the normally > > occurring rainfall in your area takes someone with many years of > > experience in your area growing gardens. By the time you would > > be able to get one going from info in wikipedia, you would have > > died of starvation. > > > > Ted > > Some of us will have veggies/skills/water for trade. But what he says is > true. It ain't as easy as read a page, plant a row. If I have a question > on FreeBSD, Wikipedia is my last resort, after phone calls. While it is > useful I suppose to some, I would never base a decision on anything I > read there. It is useful for key words and topics to expand a search > through better sources, but not much else. It really depends on what your looking up. I have found it an invaluable resource for looking up cultural topics that aren't high on the importance scale, if you know what I mean. For example, when the movie Cars came out, after we bought the DVD one evening after watching it I got curious about all the Route 66 references and looked up Route 66 on Wikipedia. It's trivial knowledge of course - is it really important to know that there's a leaning water tower along I-40, is that something you would pay for a print encyclopedia for? > If Wikipedia is killing > Encyclopedia sales, it is because people are willing to accept > mediocrity over accuracy if accuracy comes at a price and mediocrity is > free. > People have always accepted mediocrity over accuracy if accuracy comes at a price. Where have you been!?!? :-) But I don't see that the print encyclopedia articles are that accurate either, at least, not after time. Particularly on the controversal stuff. My parents, bless their hearts, bought a set of encyclopedias the year before I was born. Undoubtedly some encyclopedia salesman got at them. I got perhaps 2-3 years of use out of them from maybe 5th grade through 7th grade, before the demands on me for accuracy from school were serious enough that the information in them was mainly worthless. Not to mention that these were bought in '65 and had virtually nothing in them about the Civil Rights movement, let alone the Kennedy assasination, items that by 1978 were major watershed events that still had reprecussions. Items, incidentally, that my parents to this day really don't talk about (very understandable, as Republicans they at the time were convinced by that party that Kennedy was very unimportant) and certainly didn't talk about to me, items that few teachers in my grade schools talked about either (due to their extreme controversy, even at that time) It wasn't until High School that I even heard about the concept that "everyone remembers where they were when they heard about the Kennedy assassination" There's a parallel here, with 911. > It has been my experience, maybe things have changed, that a hardbound > reference book is the equivalent of asking Bunny Watson for an answer, > and Wikipedia is like asking Cliffy on Cheers. > In the county I live in, the public library has the Encyclopedia Americana online, and anyone with a library card can log in to the system over the Internet and access it. So, I don't need Bunny. Ted From maslak at ihlas.net.tr Mon Jul 7 09:27:39 2008 From: maslak at ihlas.net.tr (Yavuz Maslak) Date: Mon Jul 7 09:27:46 2008 Subject: Do I put down cputype in make.conf ? Message-ID: <005e01c8e013$bcab1bf0$dc96eed5@ihlasnetym> I have a quad-core intel 64 bit cpu. I got 7.0-STABLE-200806-amd64-disc1.iso from ftp://ftp3.freebsd.org/pub/FreeBSD/snapshots/200806/ I installed freebsd7.0-stable from it. the machine works well. But do I need to edit /etc/make.conf for cputype ? if it need to be edited What should I put down it in /etc/make.conf ? From m.seaman at infracaninophile.co.uk Mon Jul 7 10:13:50 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jul 7 10:13:58 2008 Subject: Do I put down cputype in make.conf ? In-Reply-To: <005e01c8e013$bcab1bf0$dc96eed5@ihlasnetym> References: <005e01c8e013$bcab1bf0$dc96eed5@ihlasnetym> Message-ID: <4871EC53.8020502@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Yavuz Maslak wrote: | I have a quad-core intel 64 bit cpu. | I got 7.0-STABLE-200806-amd64-disc1.iso from | ftp://ftp3.freebsd.org/pub/FreeBSD/snapshots/200806/ | I installed freebsd7.0-stable from it. | | the machine works well. But do I need to edit /etc/make.conf for cputype ? | if it need to be edited What should I put down it in /etc/make.conf ? You don't strictly /need/ to set the CPUTYPE in /etc/make.conf -- but you can if you like. It's a trade-off between getting some CPU specific compiler optimizations (which may or may not result in better performance) and being able to move compiled objects to machines with different CPUs. An appropriate setting in your case would be: ~ CPUTYPE?= core2 but there are usually several alternatives which would work. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkhx7FMACgkQ3jDkPpsZ+VY6lACfT6r8AULaRonO4SADaCgYB0uF Pw8An0QDtl25omywbn3PKlm6MF7RB+Ue =48An -----END PGP SIGNATURE----- From mexas at bristol.ac.uk Mon Jul 7 10:17:16 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jul 7 10:17:24 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080706200524.4b626fc8@baal.troback.com> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> <20080706200524.4b626fc8@baal.troback.com> Message-ID: <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> On Sun, Jul 06, 2008 at 08:05:24PM +0200, Anders Trob??ck wrote: > On Sun, 6 Jul 2008 16:24:08 +0100 > Anton Shterenlikht wrote: > > > On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > > > > > > If you want to have a remote GUI logon with XDMCP install XDM, GDM > > > or KDM then you can start X with the -query parameter! > > > > > > If this wasn't what you where asking please ask again:-) > > > > sorry, I wasn't clear. > > > > I have 2 FBSD boxes: a server with no graphics card (S) and a laptop > > (L). I want to run X applications on S and see the results on L. > > The applications I run on S are typically xpdf, gs, xfig, display, > > firefox, etc. > > > > While I could install ports/xorg on both boxes, this is probably > > excessive. Since I won't run any xorg applications on L, I probably > > don't need xorg-apps on L. Likewise, since I'm not running xorg server > > on S, I probably don't need xorg-server on S. This is my basic > > understanding of xorg server-clients model. Is this logic correct? > > > > However, I'm not sure on what box (S, L or both) I need: > > xorg-libraries > > xorg-fonts > > xorg-drivers > > xorg-protos > > > > etc. > > > > If you are after a real minimal installation with XDMCP you can do like > this: > > On S: > x11/xdm > > On L: > x11-servers/xorg-server > x11-drivers/xf86-input-keyboard > x11-drivers/xf86-input-mouse > x11-drivers/xf86-video-intel (or what ever card you have) > x11-fonts/font-alias > x11-fonts/font-cursor-misc > x11-fonts/font-misc-misc > > Configure X on L: > X -configure > X -config xorg.conf.new > cp xorg.conf.new /etc/X11/xorg.conf > > Configure XDM on S: > Read http://www.freebsd.org/doc/en/books/handbook/x-xdm.html > > Start XDM on S: > xdm > (if you want it to start after reboot look for a line about xdm (ttyv8) > in /etc/ttys, change off to on) > > Start X on L: > X -query S Anders thanks I tried to follow your guidelines, but cannot see the login prompt after X -query S. I also cannot see port 177 open on S, only: 6000/tcp open X11 Should 177/udp and /tcp be open on S? How to do this? I've the following line in /etc/ttys: ttyv8 "/usr/X11R6/bin/xdm -daemon" xterm on secure and: % ps ax|grep xdm 38718 ?? Is 0:00.08 /usr/X11R6/bin/xdm -daemon ttyv8 44523 ?? Rs 0:17.61 /usr/local/bin/X :0 -auth /usr/local/lib/X11/xdm/auth 44524 ?? Ss 0:08.04 xdm: :0 (xdm) 45544 v4 RL+ 0:00.01 grep xdm % and I commented out this line in xdm-config !DisplayManager.requestPort: 0 What am I missing? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From fbsd.questions at rachie.is-a-geek.net Mon Jul 7 11:11:24 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Jul 7 11:11:39 2008 Subject: Trouble with Intel WIFI ipw2200 In-Reply-To: <3b93bd110807061803j147d984m32c9951410661f2f@mail.gmail.com> References: <3b93bd110807061803j147d984m32c9951410661f2f@mail.gmail.com> Message-ID: <200807071256.12503.fbsd.questions@rachie.is-a-geek.net> On Monday 07 July 2008 03:03:48 Diego F. Arias R. wrote: > i have installed freebsd on my laptop but i have a weird problem. I > can assosiate with my AP(AccessPoint) using my WEp key but dont works. > If i try to use DHCP or set a IP address dont works but if i put > tcpdump i can see a few packets. If i try with a keyless network it > works. > > > yatusabes# uname -a > FreeBSD yatusabes 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 > 07:33:20 UTC 2008 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > yatusabes# ifconfig iwi0 > iwi0: flags=8843 metric 0 mtu 1500 > ether 00:13:ce:e8:e8:f4 > inet 192.168.122.1 netmask 0xffffff00 broadcast 192.168.122.255 > media: IEEE 802.11 Wireless Ethernet autoselect > status: associated > ssid "Dark Princess" channel 1 (2412 Mhz 11g) bssid > 00:1b:11:9b:19:7c authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit > bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 > roam:rate11g 5 protmode CTS > > > yatusabes# ifconfig iwi0 ssid "Dark Princess" wepkey thekey weptxkey 1 up This is up and working. So define 'not working'. Other then your IP being .1 in /24 network, which is generally used for the router, I don't see anything wrong. If the key wasn't accepted, it wouldn't be associated. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jos at webrz.net Mon Jul 7 12:18:50 2008 From: jos at webrz.net (Jos Chrispijn) Date: Mon Jul 7 12:19:05 2008 Subject: .htaccess or OS related? Message-ID: <001201c8e02b$9c6e9ed0$d54bdc70$@net> I ran into a problem last night that I was able to solve, but generated a question: I have this hosting provider (uses Debian OS) on which I can't use htpasswd to generate user and password to protect a single file. To have this done I solved it as follows: did a htpasswd on my own server (FreeBSD 7) and simply copied the file with the user:password (scrambled) to my home directory I have with this hosting provider and referred in the .htaccess to it. And now comes the fun stuff: it worked without probs. So the algorithm that is used on FreeBSD to scramble a user password is the same as it is used by Debian? Isn't that a security gap? Jos From wmoran at potentialtech.com Mon Jul 7 12:23:26 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 7 12:23:33 2008 Subject: .htaccess or OS related? In-Reply-To: <001201c8e02b$9c6e9ed0$d54bdc70$@net> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> Message-ID: <20080707082222.eac3bbf6.wmoran@potentialtech.com> In response to "Jos Chrispijn" : > I ran into a problem last night that I was able to solve, but generated a > question: > > I have this hosting provider (uses Debian OS) on which I can't use htpasswd > to generate user and password to protect a single file. > > To have this done I solved it as follows: did a htpasswd on my own server > (FreeBSD 7) and simply copied the file with the user:password (scrambled) to > my home directory I have with this hosting provider and referred in the > .htaccess to it. And now comes the fun stuff: it worked without probs. > > > So the algorithm that is used on FreeBSD to scramble a user password is the > same as it is used by Debian? Isn't that a security gap? The algorithm is part of Apache and has little or nothing to do with the OS on which it runs. And the encryption used to store passwords in .htaccess files is known to be weak. If you need something strong, look to one of the other mod_* security packages instead of .htaccess passwords. -- Bill Moran http://www.potentialtech.com From wmoran at potentialtech.com Mon Jul 7 12:47:50 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 7 12:48:02 2008 Subject: .htaccess or OS related? In-Reply-To: <002301c8e02d$7f4fde70$7def9b50$@net> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707082222.eac3bbf6.wmoran@potentialtech.com> <002301c8e02d$7f4fde70$7def9b50$@net> Message-ID: <20080707084647.9a426e86.wmoran@potentialtech.com> In response to "Jos Chrispijn" : > Bill, > > > -----Original Message----- Keep the list in the loop on replies. > > The algorithm is part of Apache and has little or nothing to do with > > the OS on which it runs. > > I see, so .htpasswd is an Apache utility then; didn't know that. > > > And the encryption used to store passwords in .htaccess files is known > > to be weak. If you need something strong, look to one of the other mod_* > > security packages instead of .htaccess passwords. > > What other mod_* security package would you recommend? I won't _recommend_ anything. However, I will point out that there's a mod_ldap, mod_auth_kerb, and mod_auth_pam. There are probably others that I'm forgetting. -- Bill Moran http://www.potentialtech.com From odhiambo at gmail.com Mon Jul 7 12:59:00 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon Jul 7 12:59:07 2008 Subject: .htaccess or OS related? In-Reply-To: <20080707082222.eac3bbf6.wmoran@potentialtech.com> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707082222.eac3bbf6.wmoran@potentialtech.com> Message-ID: <991123400807070558r306aeb20w315d8a03ac33e6b3@mail.gmail.com> I wonder whether the hosting provider will let the OP install mod_whatever, even, if he could not be allowed to use htpasswd. On 7/7/08, Bill Moran wrote: > In response to "Jos Chrispijn" : > >> I ran into a problem last night that I was able to solve, but generated a >> question: >> >> I have this hosting provider (uses Debian OS) on which I can't use >> htpasswd >> to generate user and password to protect a single file. >> >> To have this done I solved it as follows: did a htpasswd on my own server >> (FreeBSD 7) and simply copied the file with the user:password (scrambled) >> to >> my home directory I have with this hosting provider and referred in the >> .htaccess to it. And now comes the fun stuff: it worked without probs. >> >> >> So the algorithm that is used on FreeBSD to scramble a user password is >> the >> same as it is used by Debian? Isn't that a security gap? > > The algorithm is part of Apache and has little or nothing to do with > the OS on which it runs. > > And the encryption used to store passwords in .htaccess files is known > to be weak. If you need something strong, look to one of the other mod_* > security packages instead of .htaccess passwords. > > -- > Bill Moran > http://www.potentialtech.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" > -- Sent from Google Mail for mobile | mobile.google.com Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From wmoran at potentialtech.com Mon Jul 7 13:03:48 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 7 13:03:55 2008 Subject: .htaccess or OS related? In-Reply-To: <991123400807070558r306aeb20w315d8a03ac33e6b3@mail.gmail.com> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707082222.eac3bbf6.wmoran@potentialtech.com> <991123400807070558r306aeb20w315d8a03ac33e6b3@mail.gmail.com> Message-ID: <20080707090244.febdf06c.wmoran@potentialtech.com> In response to "Odhiambo Washington" : > I wonder whether the hosting provider will let the OP install > mod_whatever, even, if he could not be allowed to use htpasswd. I suppose, but if the OP is concerned about the security of his data beyond what the htpasswd command can do, he probably needs to get his data off a shared host anyway. > On 7/7/08, Bill Moran wrote: > > In response to "Jos Chrispijn" : > > > >> I ran into a problem last night that I was able to solve, but generated a > >> question: > >> > >> I have this hosting provider (uses Debian OS) on which I can't use > >> htpasswd > >> to generate user and password to protect a single file. > >> > >> To have this done I solved it as follows: did a htpasswd on my own server > >> (FreeBSD 7) and simply copied the file with the user:password (scrambled) > >> to > >> my home directory I have with this hosting provider and referred in the > >> .htaccess to it. And now comes the fun stuff: it worked without probs. > >> > >> > >> So the algorithm that is used on FreeBSD to scramble a user password is > >> the > >> same as it is used by Debian? Isn't that a security gap? > > > > The algorithm is part of Apache and has little or nothing to do with > > the OS on which it runs. > > > > And the encryption used to store passwords in .htaccess files is known > > to be weak. If you need something strong, look to one of the other mod_* > > security packages instead of .htaccess passwords. > > > > -- > > Bill Moran > > http://www.potentialtech.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" > > > > -- > Sent from Google Mail for mobile | mobile.google.com > > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > "Oh My God! They killed init! You Bastards!" > --from a /. post > _______________________________________________ > 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" -- Bill Moran http://www.potentialtech.com From rvm at CBORD.com Mon Jul 7 13:22:04 2008 From: rvm at CBORD.com (Bob McConnell) Date: Mon Jul 7 13:22:11 2008 Subject: Why would it make such a difference to move mysqld to anothermachine? In-Reply-To: <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> References: <4870894E.7090708@infracaninophile.co.uk> <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> Message-ID: On Behalf Of Mel On Sunday 06 July 2008 10:58:54 Matthew Seaman wrote: >> I suspect that you could have achieved a pretty good speed-up simply by >> adding another hard drive to your server and moving all of the database >> onto it, separate from the web root and any other areas which apache >> would be doing a lot of read/write operations on. I have not been following this thread closely, and I don't know much about MySQL, but I do have a question here. Is it possible that the process of moving the database to the second machine also resulted in cleaning up (defragmenting?) the files and reordering some tables to more closely match their indexes? Would this reduce the response time on the new server, at least until a significant amount of additional data was added that reverses these effects? Thank you, Bob McConnell From freebsd at troback.com Mon Jul 7 13:26:29 2008 From: freebsd at troback.com (Anders Troback) Date: Mon Jul 7 13:26:39 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> <20080706200524.4b626fc8@baal.troback.com> <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> Message-ID: <20080707152730.2ade42be@itpc02.gelita.swe> On Mon, 7 Jul 2008 11:17:11 +0100 Anton Shterenlikht wrote: > On Sun, Jul 06, 2008 at 08:05:24PM +0200, Anders Trob??ck wrote: > > On Sun, 6 Jul 2008 16:24:08 +0100 > > Anton Shterenlikht wrote: > > > > > On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > > > > > > > > If you want to have a remote GUI logon with XDMCP install XDM, > > > > GDM or KDM then you can start X with the -query parameter! > > > > > > > > If this wasn't what you where asking please ask again:-) > > > > > > sorry, I wasn't clear. > > > > > > I have 2 FBSD boxes: a server with no graphics card (S) and a > > > laptop (L). I want to run X applications on S and see the results > > > on L. The applications I run on S are typically xpdf, gs, xfig, > > > display, firefox, etc. > > > > > > While I could install ports/xorg on both boxes, this is probably > > > excessive. Since I won't run any xorg applications on L, I > > > probably don't need xorg-apps on L. Likewise, since I'm not > > > running xorg server on S, I probably don't need xorg-server on S. > > > This is my basic understanding of xorg server-clients model. Is > > > this logic correct? > > > > > > However, I'm not sure on what box (S, L or both) I need: > > > xorg-libraries > > > xorg-fonts > > > xorg-drivers > > > xorg-protos > > > > > > etc. > > > > > > > If you are after a real minimal installation with XDMCP you can do > > like this: > > > > On S: > > x11/xdm > > > > On L: > > x11-servers/xorg-server > > x11-drivers/xf86-input-keyboard > > x11-drivers/xf86-input-mouse > > x11-drivers/xf86-video-intel (or what ever card you have) > > x11-fonts/font-alias > > x11-fonts/font-cursor-misc > > x11-fonts/font-misc-misc > > > > Configure X on L: > > X -configure > > X -config xorg.conf.new > > cp xorg.conf.new /etc/X11/xorg.conf > > > > Configure XDM on S: > > Read http://www.freebsd.org/doc/en/books/handbook/x-xdm.html > > > > Start XDM on S: > > xdm > > (if you want it to start after reboot look for a line about xdm > > (ttyv8) in /etc/ttys, change off to on) > > > > Start X on L: > > X -query S > > Anders thanks > > I tried to follow your guidelines, but cannot see the login prompt > after X -query S. I also cannot see port 177 open on S, only: > > 6000/tcp open X11 > > Should 177/udp and /tcp be open on S? How to do this? > > I've the following line in /etc/ttys: > > ttyv8 "/usr/X11R6/bin/xdm -daemon" xterm on secure > > and: > > % ps ax|grep xdm > 38718 ?? Is 0:00.08 /usr/X11R6/bin/xdm -daemon ttyv8 > 44523 ?? Rs 0:17.61 /usr/local/bin/X :0 > -auth /usr/local/lib/X11/xdm/auth 44524 ?? Ss 0:08.04 xdm: :0 > (xdm) 45544 v4 RL+ 0:00.01 grep xdm > % > > and I commented out this line in xdm-config > > !DisplayManager.requestPort: 0 > > What am I missing? > > > many thanks > anton > How does you /usr/local/lib/X11/xdm/Xaccess look? Try to put: LISTEN xxx.xxx.xxx.xxx where the xxx thing are the ip of S! -- Anders Trob?ck http://www.troback.com/ ============================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" -------------------------------------------- From jester at panix.com Mon Jul 7 13:27:11 2008 From: jester at panix.com (Jesse Sheidlower) Date: Mon Jul 7 13:27:18 2008 Subject: Wrong dependency being installed Message-ID: <20080707130722.GA14233@panix.com> I'm running apache22 on a FreeBSD-7.0 system. When I try to install the port www/mod_line_edit, the ports system tries to install apache20 alongside of it, despite the fact that I have apache22 installed already. The Makefile has WITH_APACHE2=YES, but if I change this to WITH_APACHE22, then it tries to install apache13. How can I use the ports system to build this against my installed version of Apache? Thanks. Jesse Sheidlower From jos at webrz.net Mon Jul 7 13:28:20 2008 From: jos at webrz.net (Jos Chrispijn) Date: Mon Jul 7 13:28:27 2008 Subject: .htaccess or OS related? In-Reply-To: <991123400807070558r306aeb20w315d8a03ac33e6b3@mail.gmail.com> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707082222.eac3bbf6.wmoran@potentialtech.com> <991123400807070558r306aeb20w315d8a03ac33e6b3@mail.gmail.com> Message-ID: <002901c8e035$522d5410$f687fc30$@net> > I wonder whether the hosting provider will let the OP install > mod_whatever, even, if he could not be allowed to use htpasswd. I don't think that either, but as I have some other BSD servers myself, I really will start using this on my systems. Regarding to that provider, I will reroute the document thru my server as long as he can't provide what I am looking for. In the mean time I will discuss this issue with him. Jos From m.seaman at infracaninophile.co.uk Mon Jul 7 13:36:31 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jul 7 13:36:48 2008 Subject: Why would it make such a difference to move mysqld to anothermachine? In-Reply-To: References: <4870894E.7090708@infracaninophile.co.uk> <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> Message-ID: <48721BB5.1050203@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Bob McConnell wrote: | On Behalf Of Mel | On Sunday 06 July 2008 10:58:54 Matthew Seaman wrote: | |>> I suspect that you could have achieved a pretty good speed-up simply | by |>> adding another hard drive to your server and moving all of the | database |>> onto it, separate from the web root and any other areas which apache |>> would be doing a lot of read/write operations on. | | I have not been following this thread closely, and I don't know much | about MySQL, but I do have a question here. Is it possible that the | process of moving the database to the second machine also resulted in | cleaning up (defragmenting?) the files and reordering some tables to | more closely match their indexes? Would this reduce the response time on | the new server, at least until a significant amount of additional data | was added that reverses these effects? Yes, that could be the case if the database was transferred by doing mysqldump on the first machine and then loading the dump on the second. It wouldn't be the case if the data were transferred just by tarring up the DB data directory and copying it over. You can achieve the same effect by running 'OPTIMIZE TABLE foo;' from within MySQL or using 'mysqlcheck --optimize ...'. However, the scale of improvement described is rather more than can generally be achieved by table optimization. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkhyG7UACgkQ3jDkPpsZ+VYDJwCgtaV/BOE+YqGICUEVht3y40Ga 7oAAn2nQOZjZ7oJsSXAi4KsoNXi8R0Vh =efqJ -----END PGP SIGNATURE----- From jos at webrz.net Mon Jul 7 13:38:41 2008 From: jos at webrz.net (Jos Chrispijn) Date: Mon Jul 7 13:38:47 2008 Subject: .htaccess or OS related? In-Reply-To: <20080707084647.9a426e86.wmoran@potentialtech.com> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707082222.eac3bbf6.wmoran@potentialtech.com> <002301c8e02d$7f4fde70$7def9b50$@net> <20080707084647.9a426e86.wmoran@potentialtech.com> Message-ID: <002601c8e034$f40d6960$dc283c20$@net> > -----Original Message----- > Keep the list in the loop on replies. Oke, I will keep that in mind. > I won't _recommend_ anything. However, I will point out that there's a > mod_ldap, mod_auth_kerb, and mod_auth_pam. There are probably others > that I'm forgetting. I will have a look at it and start using that instead of how I do it now. Thanks for sharing, Jos From martes at mgwigglesworth.com Mon Jul 7 14:12:02 2008 From: martes at mgwigglesworth.com (Martes G Wigglesworth) Date: Mon Jul 7 14:12:10 2008 Subject: Possible ath (AR5212) disfunctionality on 7-STABLE Message-ID: <1215439909.7760.41.camel@localhost> Greetings List. I recently upgraded a system to 7-STABLE and found that neither of my two ath-5212 based wireless pci devices were recognized. I actually had to revert to using a similar system that still had 6.3-STABLE installed. Has anyone else had similar experience, or does anyone have any information on this at all? I wanted to upgrade and use 7-STABLE for my wireless/wireline routing however, as it is right now, I am unable to even use the devices. -- Respectfully, Martes G Wigglesworth,CEO M.G.Wigglesworth,LLC martes@mgwigglesworth.com From cedwards at smartechcorp.net Mon Jul 7 14:13:06 2008 From: cedwards at smartechcorp.net (Chris Edwards) Date: Mon Jul 7 14:13:15 2008 Subject: FreeBSD and Active Directory In-Reply-To: <1214929824.3394.6.camel@tomcat.straycat.dhs.org> References: <0d1f01c8d7c1$bcf79020$36e6b060$@net> <1214929824.3394.6.camel@tomcat.straycat.dhs.org> Message-ID: <078501c8e03b$8f2a8580$ad7f9080$@net> Well I figured at all out using Samba's WinBind and Kerberos. I will post the docs today or tomorrow, after I write them, to my blog at http://www.ctdx.net for everyones viewing pleasure. --- Chris Edwards Smartech Corp. Div. of AirNet Group http://www.airnetgroup.com http://www.smartechcorp.net cedwards@smartechcorp.net P: 423-664-7678 x114 C: 423-593-6964 F: 423-664-7680 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Tom McLaughlin Sent: Tuesday, July 01, 2008 12:30 PM To: Chris Edwards Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and Active Directory On Thu, 2008-06-26 at 15:20 -0400, Chris Edwards wrote: > I have been put in charge of creating a single sign-on mechanism for our > Windows 2003 and FreeBSD servers. We are wanting to use Active Directory as > our LDAP server. I know of four different methods that could possibly work. > > 1. OpenLDAP > 2. Radius > 3. NIS > 4. WinBind / Samba > > Which is the most excepted/supported way to do this? Several of the severs > are very old, 4+ years old. > > Thanks for any help, > > --- > > Chris Edwards You need to handle two things, user identification and user authentication. OpenLDAP (actually nss_ldap) will do the id part and kerberos will do the authentication part. Unfortunately my AD related links for this are at work and I'm at home today. tom -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.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 jalmberg at identry.com Mon Jul 7 14:21:57 2008 From: jalmberg at identry.com (John Almberg) Date: Mon Jul 7 14:22:05 2008 Subject: Why would it make such a difference to move mysqld to anothermachine? In-Reply-To: <48721BB5.1050203@infracaninophile.co.uk> References: <4870894E.7090708@infracaninophile.co.uk> <200807061759.12129.fbsd.questions@rachie.is-a-geek.net> <48721BB5.1050203@infracaninophile.co.uk> Message-ID: > Yes, that could be the case if the database was transferred by > doing mysqldump > on the first machine and then loading the dump on the second. This is indeed what I did. Odd that you ask this question, because my very first guess about this issue was that the database was corrupted in some way. However, I could not find any evidence of corruption, per se. I didn't realize that mysql records could become 'fragmented'... I guess this means the records are fragmented on disk as the database file is updated over time. The records in question (mainly product data) are not changed very often, and had been moved (using mysqldump) to this new machine in the last 6 weeks or so. So this doesn't sound like a likely cause. However, a very interesting thing to know... -- John From dak.col at gmail.com Mon Jul 7 14:24:28 2008 From: dak.col at gmail.com (Diego F. Arias R.) Date: Mon Jul 7 14:24:35 2008 Subject: Fwd: Trouble with Intel WIFI ipw2200 In-Reply-To: <3b93bd110807070724k31f34bf3lbf0465acece95f85@mail.gmail.com> References: <3b93bd110807061803j147d984m32c9951410661f2f@mail.gmail.com> <200807071256.12503.fbsd.questions@rachie.is-a-geek.net> <3b93bd110807070724k31f34bf3lbf0465acece95f85@mail.gmail.com> Message-ID: <3b93bd110807070724q956fed4h18b98ad3862e0117@mail.gmail.com> ---------- Forwarded message ---------- From: Diego F. Arias R. Date: Mon, Jul 7, 2008 at 9:24 AM Subject: Re: Trouble with Intel WIFI ipw2200 To: Mel Not working is dhcp is not getting ip address then i set up one to use tcpdump. If i set one, dont works either. On Mon, Jul 7, 2008 at 5:56 AM, Mel wrote: > On Monday 07 July 2008 03:03:48 Diego F. Arias R. wrote: > >> i have installed freebsd on my laptop but i have a weird problem. I >> can assosiate with my AP(AccessPoint) using my WEp key but dont works. >> If i try to use DHCP or set a IP address dont works but if i put >> tcpdump i can see a few packets. If i try with a keyless network it >> works. >> >> >> yatusabes# uname -a >> FreeBSD yatusabes 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 >> 07:33:20 UTC 2008 >> root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >> >> yatusabes# ifconfig iwi0 >> iwi0: flags=8843 metric 0 mtu 1500 >> ether 00:13:ce:e8:e8:f4 >> inet 192.168.122.1 netmask 0xffffff00 broadcast 192.168.122.255 >> media: IEEE 802.11 Wireless Ethernet autoselect >> status: associated >> ssid "Dark Princess" channel 1 (2412 Mhz 11g) bssid >> 00:1b:11:9b:19:7c authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit >> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 >> roam:rate11g 5 protmode CTS >> >> >> yatusabes# ifconfig iwi0 ssid "Dark Princess" wepkey thekey weptxkey 1 up > > > This is up and working. So define 'not working'. Other then your IP being .1 > in /24 network, which is generally used for the router, I don't see anything > wrong. If the key wasn't accepted, it wouldn't be associated. > > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- mmm, interesante..... -- mmm, interesante..... From mexas at bristol.ac.uk Mon Jul 7 14:29:54 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jul 7 14:30:02 2008 Subject: minimum xorg install for clients side In-Reply-To: <20080707152730.2ade42be@itpc02.gelita.swe> References: <20080706103842.GA52114@mech-cluster238.men.bris.ac.uk> <20080706141636.02d15667@baal.troback.com> <20080706152408.GA38234@mech-cluster238.men.bris.ac.uk> <20080706200524.4b626fc8@baal.troback.com> <20080707101711.GA49425@mech-cluster238.men.bris.ac.uk> <20080707152730.2ade42be@itpc02.gelita.swe> Message-ID: <20080707142947.GA10030@mech-cluster238.men.bris.ac.uk> On Mon, Jul 07, 2008 at 03:27:30PM +0200, Anders Troback wrote: > On Mon, 7 Jul 2008 11:17:11 +0100 > Anton Shterenlikht wrote: > > > On Sun, Jul 06, 2008 at 08:05:24PM +0200, Anders Trob??ck wrote: > > > On Sun, 6 Jul 2008 16:24:08 +0100 > > > Anton Shterenlikht wrote: > > > > > > > On Sun, Jul 06, 2008 at 02:16:36PM +0200, Anders Trob??ck wrote: > > > > > > > > > > If you want to have a remote GUI logon with XDMCP install XDM, > > > > > GDM or KDM then you can start X with the -query parameter! > > > > > > > > > > If this wasn't what you where asking please ask again:-) > > > > > > > > sorry, I wasn't clear. > > > > > > > > I have 2 FBSD boxes: a server with no graphics card (S) and a > > > > laptop (L). I want to run X applications on S and see the results > > > > on L. The applications I run on S are typically xpdf, gs, xfig, > > > > display, firefox, etc. > > > > > > > > While I could install ports/xorg on both boxes, this is probably > > > > excessive. Since I won't run any xorg applications on L, I > > > > probably don't need xorg-apps on L. Likewise, since I'm not > > > > running xorg server on S, I probably don't need xorg-server on S. > > > > This is my basic understanding of xorg server-clients model. Is > > > > this logic correct? > > > > > > > > However, I'm not sure on what box (S, L or both) I need: > > > > xorg-libraries > > > > xorg-fonts > > > > xorg-drivers > > > > xorg-protos > > > > > > > > etc. > > > > > > > > > > If you are after a real minimal installation with XDMCP you can do > > > like this: > > > > > > On S: > > > x11/xdm > > > > > > On L: > > > x11-servers/xorg-server > > > x11-drivers/xf86-input-keyboard > > > x11-drivers/xf86-input-mouse > > > x11-drivers/xf86-video-intel (or what ever card you have) > > > x11-fonts/font-alias > > > x11-fonts/font-cursor-misc > > > x11-fonts/font-misc-misc > > > > > > Configure X on L: > > > X -configure > > > X -config xorg.conf.new > > > cp xorg.conf.new /etc/X11/xorg.conf > > > > > > Configure XDM on S: > > > Read http://www.freebsd.org/doc/en/books/handbook/x-xdm.html > > > > > > Start XDM on S: > > > xdm > > > (if you want it to start after reboot look for a line about xdm > > > (ttyv8) in /etc/ttys, change off to on) > > > > > > Start X on L: > > > X -query S > > > > Anders thanks > > > > I tried to follow your guidelines, but cannot see the login prompt > > after X -query S. I also cannot see port 177 open on S, only: > > > > 6000/tcp open X11 > > > > Should 177/udp and /tcp be open on S? How to do this? > > > > I've the following line in /etc/ttys: > > > > ttyv8 "/usr/X11R6/bin/xdm -daemon" xterm on secure > > > > and: > > > > % ps ax|grep xdm > > 38718 ?? Is 0:00.08 /usr/X11R6/bin/xdm -daemon ttyv8 > > 44523 ?? Rs 0:17.61 /usr/local/bin/X :0 > > -auth /usr/local/lib/X11/xdm/auth 44524 ?? Ss 0:08.04 xdm: :0 > > (xdm) 45544 v4 RL+ 0:00.01 grep xdm > > % > > > > and I commented out this line in xdm-config > > > > !DisplayManager.requestPort: 0 > > > > What am I missing? > > > > > > many thanks > > anton > > > > How does you /usr/local/lib/X11/xdm/Xaccess look? > > Try to put: > > LISTEN xxx.xxx.xxx.xxx > > where the xxx thing are the ip of S! I've the following two lines in Xaccess * LISTEN xx.xx.xx.xx where xx is the server ip. So it should give access to any server to xdm. I also notice these errors in xdm.log: xdm error (pid 9961): server open failed for myhost:0, giving up xdm error (pid 4191): Display myhost:0 cannot be opened xdm error (pid 4191): Display myhost:0 is being disabled where myhost is the nodename of L. I also realsed I might not need xdmcp, as I seem to be able to run graphical apps on S with ssh X11 forwarding. In which case all I need are the actual applications I run, e.g xterm or xpdf. So your initial responce to my question makes sense to me now. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From jerrymc at msu.edu Mon Jul 7 14:52:14 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jul 7 14:52:21 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: <487195BA.1090906@pixelhammer.com> References: <487195BA.1090906@pixelhammer.com> Message-ID: <20080707144940.GA74244@gizmo.acns.msu.edu> On Mon, Jul 07, 2008 at 12:04:10AM -0400, DAve wrote: > Ted Mittelstaedt wrote: > > > >>-----Original Message----- > >>From: owner-freebsd-questions@freebsd.org > >>[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Chad Perrin > >>Sent: Monday, June 30, 2008 10:05 PM > >>To: FreeBSD Mailing List > >>Subject: Re: OT: anyone been crazy enough to mirror wikipedia? > >> > >> > >>On Mon, Jun 30, 2008 at 05:15:39PM -0400, DAve wrote: > >>>Steve Franks wrote: > >>>>So call me a sociopath, but times are a bit scary. I'd like to do the > >>>>2000's equivalent of the 1960's bomb shelter, and have my very own > >>>>snapshot in case of major local/regional internet disruption, etc. > >>>> > >>>>What would be the best way to go about this. I see with <1T words, it > >>>>appears doable on current technology. Maybe they should offer a > >>>>snapshot on DVDs or disk as a fundraiser? I'd drop $300 for some sort > >>>>of officially licenced copy, I suspect there are other freaks that > >>>>would too... > >>>When the world gets that bad, Wikipedia is the least of my concerns, > >>>slightly ahead of who is winning American Idol. If it comes to > >>the point > >>>the internet goes down for a long period of time, that $300 is better > >>>spent on a garden. > >>> > >>>Just my thoughts. > >>Actually . . . if things get that bad, you're going to need some > >>firepower to protect your garden (and everything else you don't want > >>taken from you by force). To properly protect a garden, you'd need to > >>make it a community farm, with community members who have and will use > >>firearms to protect it (and your Wikipedia mirror). > >> > >>Of course, I greatly admire the impulse to protect the collected > >>knowledge of Wikipedia from disaster. It's also practical -- because it > >>contains a lot of information that might be of use (including good > >>subsistence gardening information, for those of us who don't have > >>naturally green thumbs). > >> > > > >If the crash comes and you don't have 4 - 5 years of experience > >running a garden on your land, plus your own well, your gonna starve. > > > >Veggies are very particular as to the kind of soil they like, and the > >light and water they get. And it takes several years of trying different > >ones to figure out the ones that do best in your soil. And most modern > >veggies are hybrids and the seed is genetically engineered, and patented. > >Many varieties are, in fact, sterile. Many others require irrigation to > >produce sizable yields. > > > >To put in a "heritage" garden that will produce given the normally > >occurring rainfall in your area takes someone with many years of > >experience in your area growing gardens. By the time you would > >be able to get one going from info in wikipedia, you would have > >died of starvation. > > > >Ted > > Some of us will have veggies/skills/water for trade. But what he says is > true. It ain't as easy as read a page, plant a row. If I have a question > on FreeBSD, Wikipedia is my last resort, after phone calls. While it is > useful I suppose to some, I would never base a decision on anything I > read there. It is useful for key words and topics to expand a search > through better sources, but not much else. If Wikipedia is killing > Encyclopedia sales, it is because people are willing to accept > mediocrity over accuracy if accuracy comes at a price and mediocrity is > free. > > It has been my experience, maybe things have changed, that a hardbound > reference book is the equivalent of asking Bunny Watson for an answer, > and Wikipedia is like asking Cliffy on Cheers. Now, if you think Print Encyclopedias and/or Wikipedia are incomplete and inaccurate, try checking out textbooks for Middle school, High school and even undergraduate college. ////jerry > > DAve > > > -- > Don't tell me I'm driving the cart! > _______________________________________________ > 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 muksyed at yahoo.com Mon Jul 7 15:07:07 2008 From: muksyed at yahoo.com (Mukarram Syed) Date: Mon Jul 7 15:07:15 2008 Subject: Recovering root password from a drive by mounting the cdrom Message-ID: <512196.50696.qm@web31501.mail.mud.yahoo.com> Thanks Manolis for your response. This disk is running freebsd but it's from iomega software company on an unsupported raid controller product of theirs. I can't get any help from them even for a price. I could boot up the disk in single user but at the login prompt I can't type anything, even if I boot up in multi user mode. That's why I was trying the cd path hoping I could get in that way. Yes I think my console may been marked as 'insecure' in /etc/ttys that's why I am not able to get in as you said. I try the options you gave me below and see what I could find. Thanks much # mukarram Mukarram Syed muksyed@yahoo.com ----- Original Message ---- From: Manolis Kiagias To: Mukarram Syed Cc: freebsd-questions@freebsd.org Sent: Monday, July 7, 2008 12:12:17 AM Subject: Re: Recovering root password from a drive by mounting the cdrom Mukarram Syed wrote: > Thanks for this response and others. > However, my problem does not look to be so simple. > > I boot off the install cd and get into the fixit prompt. > > I dmesg | less and get the device name that I think is my hard drive /dev/ad0. > I fdisk /dev/ad0 and get information about 3 slices. I am think /dev/ad0 slice 3 is the root file system because slice 3 has a greatest amount of disk space and that looks like my root partition > Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 ad0s1 ad0s3 etc. > I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root partition. > So I mount it: > mount /dev/ad0s3 /mnt > I do a df -k and find that /mnt has 0 bytes available. To check I cd /mnt and ls and don't find any data in it. > I check/dev/ad0s2 /dev/ad0s1 in the same way. None of it has any data. > > I guess there is something else that I am missing at this point. > > Can anyone advise. > > Thanks > > # mukarram > > > Mukarram Syed > muksyed@yahoo.com > > > There must be something wrong if don't see any partitions in any of the slices. You should see something like ad0s1a, ad0s1d, ad0s1f ... Are you able to boot the server normally, from its own disk? Are you able to boot into single user mode, by selecting it from the boot menu? If you can boot into single user mode, you can change the password immediately by doing something like: mount -o rw / mount -a passwd (then exit and boot will continue) If you are asked for a root password when going into single user mode, your console has been marked as 'insecure' in /etc/ttys. You will need to boot with the live CD, mount the root partition and change /etc/ttys, then reboot in single user mode and change the password. This is the easiest way IMHO. If you are not asked for a password when getting into single user mode, you don't need the live CD at all. _______________________________________________ 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 fbsd.questions at rachie.is-a-geek.net Mon Jul 7 15:18:05 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Jul 7 15:18:11 2008 Subject: Wrong dependency being installed In-Reply-To: <20080707130722.GA14233@panix.com> References: <20080707130722.GA14233@panix.com> Message-ID: <200807071718.02067.fbsd.questions@rachie.is-a-geek.net> On Monday 07 July 2008 15:07:23 Jesse Sheidlower wrote: > I'm running apache22 on a FreeBSD-7.0 system. When I try to > install the port www/mod_line_edit, the ports system tries to > install apache20 alongside of it, despite the fact that I have > apache22 installed already. > > The Makefile has WITH_APACHE2=YES, but if I change this to > WITH_APACHE22, then it tries to install apache13. > > How can I use the ports system to build this against my > installed version of Apache? APACHE_PORT=www/apache22 >> /etc/make.conf See /usr/ports/Mk/bsd.apache.mk for details. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jerrymc at msu.edu Mon Jul 7 15:29:08 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jul 7 15:29:19 2008 Subject: .htaccess or OS related? In-Reply-To: <001201c8e02b$9c6e9ed0$d54bdc70$@net> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> Message-ID: <20080707152634.GI74244@gizmo.acns.msu.edu> On Mon, Jul 07, 2008 at 02:18:49PM +0200, Jos Chrispijn wrote: > I ran into a problem last night that I was able to solve, but generated a > question: > > I have this hosting provider (uses Debian OS) on which I can't use htpasswd > to generate user and password to protect a single file. Probably was not in your path. You may have to find out where it is and add that directory to your path or use the full pathname when invoking it. > > To have this done I solved it as follows: did a htpasswd on my own server > (FreeBSD 7) and simply copied the file with the user:password (scrambled) to > my home directory I have with this hosting provider and referred in the > .htaccess to it. And now comes the fun stuff: it worked without probs. > > > So the algorithm that is used on FreeBSD to scramble a user password is the > same as it is used by Debian? Isn't that a security gap? That is something done by Apache and is common to all implementations unless you change it. I never looked, but I think it uses one of the commonly use encryption algorithms, maybe even the same one used for regular passwords. ////jerry > > Jos > > _______________________________________________ > 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 lreid at cs.okstate.edu Mon Jul 7 15:35:46 2008 From: lreid at cs.okstate.edu (Reid Linnemann) Date: Mon Jul 7 15:35:53 2008 Subject: .htaccess or OS related? In-Reply-To: <20080707152634.GI74244@gizmo.acns.msu.edu> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <20080707152634.GI74244@gizmo.acns.msu.edu> Message-ID: <487237CF.1030707@cs.okstate.edu> Written by Jerry McAllister on 07/07/08 10:26>> > On Mon, Jul 07, 2008 at 02:18:49PM +0200, Jos Chrispijn wrote: > >> I ran into a problem last night that I was able to solve, but generated a >> question: >> >> I have this hosting provider (uses Debian OS) on which I can't use htpasswd >> to generate user and password to protect a single file. > > Probably was not in your path. You may have to find out where it > is and add that directory to your path or use the full pathname when > invoking it. > > >> To have this done I solved it as follows: did a htpasswd on my own server >> (FreeBSD 7) and simply copied the file with the user:password (scrambled) to >> my home directory I have with this hosting provider and referred in the >> .htaccess to it. And now comes the fun stuff: it worked without probs. >> >> >> So the algorithm that is used on FreeBSD to scramble a user password is the >> same as it is used by Debian? Isn't that a security gap? > > That is something done by Apache and is common to all implementations > unless you change it. I never looked, but I think it uses one of > the commonly use encryption algorithms, maybe even the same one > used for regular passwords. > > > ////jerry > > In fact it's either an Apache adaptation of MD5, SHA, plaintext, or the system's crypt(). The encryption mechanism can be specified per-user with the m,d,s, and p flags. From fbsd.questions at rachie.is-a-geek.net Mon Jul 7 15:44:27 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Jul 7 15:44:34 2008 Subject: .htaccess or OS related? In-Reply-To: <20080707084647.9a426e86.wmoran@potentialtech.com> References: <001201c8e02b$9c6e9ed0$d54bdc70$@net> <002301c8e02d$7f4fde70$7def9b50$@net> <20080707084647.9a426e86.wmoran@potentialtech.com> Message-ID: <200807071744.24986.fbsd.questions@rachie.is-a-geek.net> On Monday 07 July 2008 14:46:47 Bill Moran wrote: > In response to "Jos Chrispijn" : > > Bill, > > > > > -----Original Message----- > > Keep the list in the loop on replies. > > > > The algorithm is part of Apache and has little or nothing to do with > > > the OS on which it runs. > > > > I see, so .htpasswd is an Apache utility then; didn't know that. > > > > > And the encryption used to store passwords in .htaccess files is known > > > to be weak. If you need something strong, look to one of the other > > > mod_* security packages instead of .htaccess passwords. > > > > What other mod_* security package would you recommend? > > I won't _recommend_ anything. However, I will point out that there's a > mod_ldap, mod_auth_kerb, and mod_auth_pam. There are probably others > that I'm forgetting. The encryption of htpasswd files is only a concern, when: - the password databases themselves are downloadable - you have a shared host and local users have access to your password databases Using one of the modules described above, won't solve anything (as you can still store the passwords in md5 or even weaker hash) and will need support from your hosting provider. Those modules are meant to centralize user management, not to increase password encryption. If you want to improve the hash with which password are stored, then use the '-s' option to htpasswd(1), which will use SHA, rather then MD5. If you want to protect your users more, then you should use mod_auth_digest, which instructs the browser to hash it's password before sending it over the internet. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From stevan-tiefert at kabelmail.de Mon Jul 7 15:58:47 2008 From: stevan-tiefert at kabelmail.de (Stevan Tiefert) Date: Mon Jul 7 15:58:54 2008 Subject: automount is not recognizing option longname Message-ID: <200807071738.56070.stevan-tiefert@kabelmail.de> Hello list, I have setup amd and it works fine. Only one special situation is making me crazy. When I want to use a USB-Stick without data on it, amd is mounting it with the 8.3-limitation. I've added the option longname in my map-file but it still ignores this option... Does somebody knows about this behavior? My amd.map: usb type:=pcfs;opts:=utimout=1,longname;dev:=/dev/da0s1 With regards Stevan Tiefert From jester at panix.com Mon Jul 7 16:43:17 2008 From: jester at panix.com (Jesse Sheidlower) Date: Mon Jul 7 16:43:27 2008 Subject: Wrong dependency being installed In-Reply-To: <200807071718.02067.fbsd.questions@rachie.is-a-geek.net> References: <20080707130722.GA14233@panix.com> <200807071718.02067.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080707164316.GA18190@panix.com> On Mon, Jul 07, 2008 at 05:18:01PM +0200, Mel wrote: > On Monday 07 July 2008 15:07:23 Jesse Sheidlower wrote: > > I'm running apache22 on a FreeBSD-7.0 system. When I try to > > install the port www/mod_line_edit, the ports system tries to > > install apache20 alongside of it, despite the fact that I have > > apache22 installed already. > > > > The Makefile has WITH_APACHE2=YES, but if I change this to > > WITH_APACHE22, then it tries to install apache13. > > > > How can I use the ports system to build this against my > > installed version of Apache? > > APACHE_PORT=www/apache22 >> /etc/make.conf > > See /usr/ports/Mk/bsd.apache.mk for details. Thanks, that did the trick. Jesse Sheidlower From the.real.david.allen at gmail.com Mon Jul 7 16:45:36 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Mon Jul 7 16:45:44 2008 Subject: Reconfiguring network interfaces In-Reply-To: <200807061712.41120.fbsd.questions@rachie.is-a-geek.net> References: <2daa8b4e0807060706s4e5f8aedqe2ce00ca33bd1b46@mail.gmail.com> <200807061712.41120.fbsd.questions@rachie.is-a-geek.net> Message-ID: <2daa8b4e0807070945jb59436bqbd686f256e837965@mail.gmail.com> On Sun, Jul 6, 2008 at 8:12 AM, Mel wrote: > On Sunday 06 July 2008 16:06:49 David Allen wrote: > >> I need to make several wholesale changes to a few different systems, >> and I'd prefer to do it over SSH without losing connectivity where >> possible. I know I can use ifconfig, or edit /etc/rc.conf directly >> and reboot, but is there a canonical way to make the changes in >> /etc/rc.conf and "reload" those changes to ensure everything is in a >> known state? From what I can determine, running netif stop/start >> would work, but would require I do that locally. > > So, you want to make changes to a machine and confirm they're correct, but > when they're not, the old settings should be restored: > > 0) make sure sshd listens on all ip's ('INADDR_ANY'), not preconfigured set. > > # cp -p /etc/rc.conf /etc/rc.conf.BEFORE_CHANGE > # ${EDITOR} /etc/rc.conf > # cp -p /etc/rc.conf /etc/rc.conf.CHANGES > > Then this script, say /root/bin/testrc.sh: > ===================================================================== > #!/bin/sh > > /etc/rc.d/netif stop > sleep 1 > /etc/rc.d/netif start > # sleep for 5 minutes, should be ample time to re-establish the ssh > # connection. > sleep 300 > # We were not killed, this means the connection is faulty > cp -p /etc/rc.conf.BEFORE_CHANGE /etc/rc.conf > /etc/rc.d/netif stop > sleep 1 > /etc/rc.d/netif start > ===================================================================== > > Then run as: > daemon -p /var/run/testrc.pid /root/bin/testrc.sh > > When you can log back in, simply: > kill `cat /var/run/testrc.pid` ; rm /var/run/testrc.pid > And rm /etc/rc.conf.BEFORE_CHANGE if you feel comfy. > > If you couldn't log back in, inspect /etc/rc.conf.CHANGES and adjust, rm the > pid file, rince and repeat. LOL. You've turned what was could have been an awkward scenario and a cheap and dirty hack into something almost elegant. Me, I'm just trying to save some trips but I'm sure there's enough of us who have encountered a situation where physical access is out of the question or simply not doable. My thanks to everyone that replied. From the.real.david.allen at gmail.com Mon Jul 7 16:51:36 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Mon Jul 7 16:51:43 2008 Subject: Jails and IP Aliasing Message-ID: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> Unless I'm losing my mind, I'm encountering what seems to yet another gotcha with jails. The following has been dumbed down for clarity and brevity. --------------------------------------------------------------------- # hostname jailhost.example.org # host jailhost jailhost.example.org has address 10.0.1.2 # ifconfig fxp0 fxp0: flags=8843 metric 0 mtu 1500 options=b ether 00:07:e9:c8:2e:32 inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 media: Ethernet autoselect (100baseTX ) status: active # grep jail /etc/rc.conf ... jail_ns_hostname="ns.example.org" jail_ns_ip="10.0.1.3" ... jail_mail_hostname="mail.example.org" jail_mail_ip="10.0.1.4" # sockstat -4l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 11556 4 tcp4 10.0.1.4:25 *:* root syslogd 10591 6 udp4 10.0.1.4:514 *:* root sendmail 10438 4 tcp4 10.0.1.3:25 *:* bind named 4011 20 udp4 10.0.1.3:53 *:* bind named 4011 21 tcp4 10.0.1.3:53 *:* bind named 4011 22 tcp4 10.0.1.3:953 *:* root syslogd 897 6 udp4 10.0.1.3:514 *:* root sshd 715 3 tcp4 10.0.1.2:22 *:* root syslogd 563 6 udp4 127.0.0.1:514 *:* root sendmail 489 4 tcp4 127.0.0.1:25 *:* --------------------------------------------------------------------- If I telnet from the jailhost to mail.example.org 25, for example, both outgoing and incoming connections appear to sockstat, tcpdump, etc. on the jailhost as using the jail's IP address! Similarly, if I perform a DNS lookup on the jailhost (using the ns.example.org jail for resolution), both incoming and outgoing connections occur on the jail's IP address. Granted, everything is really happening over the loopback address, but a connection originating from the jailhost to a jail should appear to be using the jailhost's IP address, or so I'd like to think. If it doesn't, then the scenario is awkward at best when trying to understand or debug issues. The thought occurred to me, however, that I could add a new network card and reserve that for the IP aliases needed by the jails. But I'm not sure whether that will work in telling me who's who, or whether I'll discover another gotcha. ;-) Comments, questions and complaints all welcomed. From jerrymc at msu.edu Mon Jul 7 17:01:15 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jul 7 17:01:22 2008 Subject: Adding a new hard drive, and using geom In-Reply-To: <266e55c771cbec02a4039641cff631c7@gmail.com> References: <266e55c771cbec02a4039641cff631c7@gmail.com> Message-ID: <20080707165841.GC74726@gizmo.acns.msu.edu> On Sun, Jul 06, 2008 at 01:13:17AM -0500, Joshua Isom wrote: > I bought a second hard drive for my computer since my /usr partition > was getting full. I don't want to deal with hardware raid since I > don't want to be dependent on a certain hardware vendor or chipset, so > I'm wanting to go with geom. I'd prefer to not have to backup all my > data(I know I should anyway, but it's a 500gb hard drive, and drives > are growing faster than backup solutions). Would it be possible to do > a geom stripe to expand /usr and keep all the data or would I just need > to backup everything, and then put it all back? If I must deal with > backing up and erasing, and considering that the current /usr and the > new drive aren't the same size, how would I go about mirroring other > paritions and striping /usr? Would that still be easily bootable(no > special hacks or workarounds)? > > Any tips or other recommendations would be appreciated. Well, it depends a little on how you have your first drive broken up. I don't put all that much in to /usr, but some people put almost everything there including users' home directories. I put home directories in /home, not /usr/home (and then make /home one of those big(ger) storage spaces where things can grow, but not everyone does that. Anyway, Since you don't really seem to be interested in raid or other such arrangements, (for this I think you make a good choice) my suggestion is that you just fdisk-bsdlabel-newfs it to one large slice and partition. Presuming is is sata and it is only the second drive it would then be /dev/ad1s1a (or da1s1a if it is SCSI or SAS). I would then make a mount point something like /work (or whatever name makes sense for you) and then mount there (and fix up /etc/fstab). Then I would move chunks of /usr and other partitions that are getting full in to it and make symlinks. That gives you a lot of flexibility and you don't have to worry about managing stripes and raid. If something like /var/db or /usr/home grow wildly, you can easily add yet another drive or even a raid and move those there later. Some things to move there, depending on how you are presently set up, might be: /usr/local, /usr/src, /usr/ports, /usr/home /var/log, /var/spool, /var/db/ It is easy to move them and make symlinks. For example: Build the slice using fdisk, the partition using bsdlabel and newfs it taking the defaults. mount /dev/ad0s1a /work cd /usr/local tar cvpf /work/ulocal.tar * cd /work mkdir usr.local cd usr.local tar xvpf ../ulocal.tar Take some time to look it over and make sure it is good. cd /usr mv local oldlocal ln -s /work/usr.local local Make sure it works by cd-ing to /usr/local/... and making sure you get where you want and all is well. rm -rf oldlocal cd /work rm ulocal.tar I prefer this slightly longer procedure because it leaves stuff around in case of error until I get a chance to check it out. But, you could just run the tar piped to a tar with an embedded cd and it would also work just fine. I also like to name the directories I move mnemonically such as the usr.local (or usr.src or var.log, etc) because it keeps things clear. ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From hakmi at rogers.com Mon Jul 7 17:34:28 2008 From: hakmi at rogers.com (Tamouh H.) Date: Mon Jul 7 17:34:34 2008 Subject: Adding a new hard drive, and using geom In-Reply-To: <20080707165841.GC74726@gizmo.acns.msu.edu> References: <266e55c771cbec02a4039641cff631c7@gmail.com> <20080707165841.GC74726@gizmo.acns.msu.edu> Message-ID: <027c01c8e053$b97b1da0$6900a8c0@tamouh> > > > I bought a second hard drive for my computer since my /usr > partition > > was getting full. I don't want to deal with hardware raid since I > > don't want to be dependent on a certain hardware vendor or > chipset, so > > I'm wanting to go with geom. I'd prefer to not have to > backup all my > > data(I know I should anyway, but it's a 500gb hard drive, > and drives > > are growing faster than backup solutions). Would it be > possible to do > > a geom stripe to expand /usr and keep all the data or would I just > > need to backup everything, and then put it all back? If I > must deal > > with backing up and erasing, and considering that the > current /usr and > > the new drive aren't the same size, how would I go about mirroring > > other paritions and striping /usr? Would that still be easily > > bootable(no special hacks or workarounds)? > > > > Any tips or other recommendations would be appreciated. > Check this tutorial, step-by-step, very helpful: http://www.freebsddiary.org/gmirror.php From jwm-freebsd-questions at sentinelchicken.net Mon Jul 7 17:55:44 2008 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Jul 7 17:55:51 2008 Subject: Jails and IP Aliasing In-Reply-To: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> Message-ID: <20080707175440.GA95976@sentinelchicken.net> Hello, On 2008.07.07 09:51:33, David Allen wrote: > Unless I'm losing my mind, I'm encountering what seems to yet another > gotcha with jails. The following has been dumbed down for clarity and > brevity. > > --------------------------------------------------------------------- > # hostname > jailhost.example.org > > # host jailhost > jailhost.example.org has address 10.0.1.2 > > # ifconfig fxp0 > fxp0: flags=8843 metric 0 mtu 1500 > options=b > ether 00:07:e9:c8:2e:32 > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 > inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 > media: Ethernet autoselect (100baseTX ) > status: active This is the output for my jail interface. Notice that your jail aliases are broadcasting on the jail's IP. I don't know if this is an issue or not (my jails run on i386 FBSD 6.3), but it's something to look at. How are you setting the aliases? sk0: flags=8843 mtu 1500 options=b inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255 ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect (1000baseTX ) status: active Cheers, ~Jason From nightrecon at verizon.net Mon Jul 7 18:48:55 2008 From: nightrecon at verizon.net (Michael Powell) Date: Mon Jul 7 18:49:03 2008 Subject: Why would it make such a difference to move mysqld to another machine? References: Message-ID: John Almberg wrote: > I asked a question the other day about using top on a multi-processor > machine. As a side note, I asked how mysqld could be consuming more > than 100% of CPU power... [snip] > Well, that mysqld reading should have been a warning to me. This > weekend, my webserver with about 20 database-driven websites got > clobbered by Slurp and Googlebot. Between the two of them, they had > over 50 robot instances crawling my machine at the same time > (visible, thanks to pftop). > > Apache handled them fine, and the load average was still pretty low > (2-3 on an 8 core machine) but mysqld turned into a major bottleneck. > It was showing 180-220% WCPU on 'top', and just couldn't keep up with > all the requests. Page loads crawled to a stop. Big problem! > > Luckily, I have a pretty powerful machine sitting right next to my > main webserver that I mainly use for backup. The two servers are > directly connected to each other with a twisted ethernet cable, using > extra NIC cards in the machines, so they have a fast, dedicated 'LAN' > to share. > > Desperate, I moved mysqld to this other machine, so basically this > second machine became a dedicated database server. > > The improvement this change made seems out of proportion. Both > machines are now cruising with extremely low load averages and the > WCPU for the mysqld instance on the new machine is practically zero. > > I'm not complaining. Problem solved. But I am scratching my head over > how mysql could be getting crushed on the first, 8 core/8G machine, > but running cool as a cucumber on the second, 2-core/2G machine??? > [snip] One data point to consider is that libthr uses process scope as its default. MySQL uses system scope unless the Makefile knob WITH_PROC_SCOPE_PTH=yes is used to change it. When this is done MySQL will tend to hog resources and Apache would probably have been the process sufferring. I believe most of the MySQL tuning info I've read wrt multi-core was centered around the use of libthr in conjunction with the ULE scheduler. However, that being said, most of this would be more potentially beneficial to a MySQL server running on its own machine, as opposed to sharing a machine with Apache. As the other eagle eyes spotted, the difference in IO caching between the two is probably the important factor, and well covered. Your Apache also seemed a little on the "fat" side - keep in mind that all the modules loading in your httpd.conf are initialized in each instance Apache forks a child to handle a request. You may consider an audit to determine which modules you actually require and comment out those you don't. You'll be able to fork more children in the memory you have available. This also brings to the forefront the process fork() vs event driven threading. I've been using lighttpd for about a year now, running PHP and Python as FastCGI. The lighttpd instance only contains one process but spawns additional threads to service requests. The main difference here is that all the threads in the process have access to the same resource pool, (ie the database connection layer) while in the fork() model the resources each child process initializes are only usable by that child alone. There is a well known bottleneck in the Apache process forking model that eventually starves new children from getting access to the backend database in a timely manner. Some will turn off http_keepalives in order to get children to release db connections sooner but this is really only a stopgap solution. I don't necessarily advocate any of this for "right now", but more as subject material to be examined for the future. Lighttpd is certainly not a replacement for Apache in all situations at all. And the Apache threaded worker-mpm was really designed for Windows and can hit a PHP problem if it hits any non thread-safe code in PHP that barfs. Should you have excess memory available because Apache isn't using it all memcached may be a consideration. My thoughts here are only carve out a memcached chunk in RAM if Apache is leaving some available. With MySQL running on a second machine you may choose to turn MySQL's query_caching on in lieu of memcached. It probably isn't as good as memcached as it's on the wrong end of the TCP connection, but it can help. Also, just like turning off Apache modules you don't need also turn off INNODB if you are not using it. What you seem to have experienced here is the "Slashdot" effect - your setup was running fine as long as it only received a certain level of load traffic. The jump you got hit with has served to illuminate the bottlenecks that get hit when traffic ramps up. Make use of the opportunity. -Mike From perrin at apotheon.com Mon Jul 7 18:49:02 2008 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jul 7 18:49:11 2008 Subject: OT: anyone been crazy enough to mirror wikipedia? In-Reply-To: References: <487195BA.1090906@pixelhammer.com> Message-ID: <20080707184201.GB94816@kokopelli.hydra> On Mon, Jul 07, 2008 at 02:19:29AM -0700, Ted Mittelstaedt wrote: > > But I don't see that the print encyclopedia articles are that accurate > either, at least, not after time. Particularly on the controversal stuff. Exactly my thought on the matter. One major benefit of Wikipedia over print encyclopedias, for instance, is the fact that it suffers less institutional bias. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Bjarne Stroustrup: "An ugly operation should have an ugly syntactic form." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080707/0f5a675e/attachment.pgp From perrin at apotheon.com Mon Jul 7 18:54:15 2008 From: perrin at apotheon.com (Chad Perrin) Date: Mon Jul 7 18:54:22 2008 Subject: anyone been crazy enough to mirror wikipedia? In-Reply-To: <48715dc7.cjOikDOQTxw0PU4L%perryh@pluto.rain.com> References: <20080704120028.W7036@wojtek.tensor.gdynia.pl> <20080706232005.GC61711@kokopelli.hydra> <48715dc7.cjOikDOQTxw0PU4L%perryh@pluto.rain.com> Message-ID: <20080707184842.GC94816@kokopelli.hydra> On Sun, Jul 06, 2008 at 05:05:27PM -0700, perryh@pluto.rain.com wrote: > > In my house, we had an encyclopedia because I was in school ... > > > it was useful for research papers. > > I suspect the usefulness would depend on what one's teachers meant > by "research", which tends to change with grade level. > > In elementary and middle school, certainly. In high school, maybe. > In college, probably not. Postgraduate, almost certainly not; at > that level one should be using primary sources (and likely know > enough to be writing articles *for* an encyclopedia :) It was "useful" in grade school because teachers didn't actually believe anyone at that age would ever go beyond the encyclopedia except in the case of token satisfaction of assignment requirements. It was "useful" in middle school and beyond the same way Wikipedia is now: it gave me ideas of the sorts of directions to take my research when I sought out more rigorously researched sources of information. I certainly never cited an encyclopedia in any research paper after sixth grade -- because I wasn't an idiot. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Larry Wall: "You can never entirely stop being what you once were. That's why it's important to be the right person today, and not put it off till tomorrow." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080707/61fac105/attachment.pgp From the.real.david.allen at gmail.com Mon Jul 7 19:16:46 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Mon Jul 7 19:16:54 2008 Subject: Jails and IP Aliasing In-Reply-To: <20080707175440.GA95976@sentinelchicken.net> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <20080707175440.GA95976@sentinelchicken.net> Message-ID: <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> On Mon, Jul 7, 2008 at 10:54 AM, Jason Morgan wrote: > On 2008.07.07 09:51:33, David Allen wrote: >> Unless I'm losing my mind, I'm encountering what seems to yet another >> gotcha with jails. The following has been dumbed down for clarity and >> brevity. >> >> --------------------------------------------------------------------- >> # hostname >> jailhost.example.org >> >> # host jailhost >> jailhost.example.org has address 10.0.1.2 >> >> # ifconfig fxp0 >> fxp0: flags=8843 metric 0 mtu 1500 >> options=b >> ether 00:07:e9:c8:2e:32 >> inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 >> inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 >> inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 >> media: Ethernet autoselect (100baseTX ) >> status: active > > This is the output for my jail interface. Notice that your jail > aliases are broadcasting on the jail's IP. I don't know if this is an > issue or not (my jails run on i386 FBSD 6.3), but it's something to > look at. How are you setting the aliases? > > sk0: flags=8843 mtu 1500 > options=b > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 > inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255 > ether xx:xx:xx:xx:xx:xx > media: Ethernet autoselect (1000baseTX ) > status: active My own aliases: # grep fxp0 /etc/rc.conf ifconfig_fxp0="inet 10.0.1.2 netmask 0xffffff00" ifconfig_fxp0_alias0="10.0.1.3 netmask 0xffffffff" ifconfig_fxp0_alias1="10.0.1.4 netmask 0xffffffff" ifconfig_fxp0_alias2="10.0.1.5 netmask 0xffffffff" My understanding from the handbook is that the mask should be set to all ones if the alias is for an address that's part of the same network. For a different segment, it's the first alias that should be set to the real netmask, with any additional aliases using a netmask of all ones. Granted, the broadcast addresses looks odd. If I my programming skills were better, I'd just read through the code and understand what's really happening, but for now, I'm just taking the FreeBSD folks at their word at following instructions. That's a roundabout way of saying I think your aliases are set up incorrectly. ;-) If you're not seeing the behaviour I'm seeing, do let me know. But to clarify with a concrete example, the following is what I see on the jailhost (10.0.1.2) when it connects to port 25 on one of the jails (10.0.1.5). # tcpdump -nqti lo0 port 25 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on lo0, link-type NULL (BSD loopback), capture size 96 bytes IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 0 IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 89 IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 # netstat -nf inet Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 10.0.1.5.25 10.0.1.5.62110 ESTABLISHED tcp4 0 0 10.0.1.5.62110 10.0.1.5.25 ESTABLISHED # sockstat -4 -p 25 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 16594 1 tcp4 10.0.1.5:25 10.0.1.5:62110 root sendmail 16594 4 tcp4 10.0.1.5:25 10.0.1.5:62110 root sendmail 16594 7 tcp4 10.0.1.5:25 10.0.1.5:62110 root telnet 16593 3 tcp4 10.0.1.5:62110 10.0.1.5:25 Why the jailhost is suddenly using the jail's IP address is beyond me. From jwm-freebsd-questions at sentinelchicken.net Mon Jul 7 19:34:07 2008 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Jul 7 19:34:14 2008 Subject: Jails and IP Aliasing In-Reply-To: <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <20080707175440.GA95976@sentinelchicken.net> <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> Message-ID: <20080707193318.GB96701@sentinelchicken.net> On 2008.07.07 12:16:44, David Allen wrote: > On Mon, Jul 7, 2008 at 10:54 AM, Jason Morgan > wrote: > > On 2008.07.07 09:51:33, David Allen wrote: > >> Unless I'm losing my mind, I'm encountering what seems to yet another > >> gotcha with jails. The following has been dumbed down for clarity and > >> brevity. > >> > >> --------------------------------------------------------------------- > >> # hostname > >> jailhost.example.org > >> > >> # host jailhost > >> jailhost.example.org has address 10.0.1.2 > >> > >> # ifconfig fxp0 > >> fxp0: flags=8843 metric 0 mtu 1500 > >> options=b > >> ether 00:07:e9:c8:2e:32 > >> inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > >> inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 > >> inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 > >> media: Ethernet autoselect (100baseTX ) > >> status: active > > > > This is the output for my jail interface. Notice that your jail > > aliases are broadcasting on the jail's IP. I don't know if this is an > > issue or not (my jails run on i386 FBSD 6.3), but it's something to > > look at. How are you setting the aliases? > > > > sk0: flags=8843 mtu 1500 > > options=b > > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > > inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 > > inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255 > > ether xx:xx:xx:xx:xx:xx > > media: Ethernet autoselect (1000baseTX ) > > status: active > > My own aliases: > > # grep fxp0 /etc/rc.conf > ifconfig_fxp0="inet 10.0.1.2 netmask 0xffffff00" > ifconfig_fxp0_alias0="10.0.1.3 netmask 0xffffffff" > ifconfig_fxp0_alias1="10.0.1.4 netmask 0xffffffff" > ifconfig_fxp0_alias2="10.0.1.5 netmask 0xffffffff" > > My understanding from the handbook is that the mask should be set to all > ones if the alias is for an address that's part of the same network. For > a different segment, it's the first alias that should be set to the real > netmask, with any additional aliases using a netmask of all ones. > > Granted, the broadcast addresses looks odd. If I my programming skills > were better, I'd just read through the code and understand what's really > happening, but for now, I'm just taking the FreeBSD folks at their word at > following instructions. That's a roundabout way of saying I think your > aliases are set up incorrectly. ;-) That it quite possible (I do notice the newer documentation calling for netmask 0xffffffff). But I have never had any trouble over the last three years so, you know how it is, if it ain't (too) broke ... > If you're not seeing the behaviour I'm seeing, do let me know. But to > clarify with a concrete example, the following is what I see on the > jailhost (10.0.1.2) when it connects to port 25 on one of the > jails (10.0.1.5). > > # tcpdump -nqti lo0 port 25 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on lo0, link-type NULL (BSD loopback), capture size 96 bytes > IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 > IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 0 > IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 > IP 10.0.1.5.25 > 10.0.1.5.62110: tcp 89 > IP 10.0.1.5.62110 > 10.0.1.5.25: tcp 0 > > # netstat -nf inet > Active Internet connections > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp4 0 0 10.0.1.5.25 10.0.1.5.62110 ESTABLISHED > tcp4 0 0 10.0.1.5.62110 10.0.1.5.25 ESTABLISHED > > # sockstat -4 -p 25 > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS > root sendmail 16594 1 tcp4 10.0.1.5:25 10.0.1.5:62110 > root sendmail 16594 4 tcp4 10.0.1.5:25 10.0.1.5:62110 > root sendmail 16594 7 tcp4 10.0.1.5:25 10.0.1.5:62110 > root telnet 16593 3 tcp4 10.0.1.5:62110 10.0.1.5:25 > > Why the jailhost is suddenly using the jail's IP address is beyond me. I am actually getting the same results when telnetting to port 25 on my mailserver jail. Someone else here should be able to offer better advice. Sorry, I couldn't help. Good luck, ~Jason From vclinton at lanl.gov Mon Jul 7 20:12:22 2008 From: vclinton at lanl.gov (Vaughn Clinton) Date: Mon Jul 7 20:12:28 2008 Subject: Capturing ATA devices serial numbers Message-ID: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> All, I'm looking for a FreeBSD utility that will allow me to query a disk for its serial number. Can you point me to such a tool that'll allow me to do so? Regards, ************************* Vaughn E. Clinton Systems Analyst Scientific Computing Resources HPC-3 Los Alamos National Laboratory 505-606-2103 - Voice 505-664-7819 - Pager ************************* From jwm-freebsd-questions at sentinelchicken.net Mon Jul 7 20:20:40 2008 From: jwm-freebsd-questions at sentinelchicken.net (Jason Morgan) Date: Mon Jul 7 20:20:46 2008 Subject: Capturing ATA devices serial numbers In-Reply-To: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> References: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> Message-ID: <20080707201947.GA97973@sentinelchicken.net> On 2008.07.07 13:54:06, Vaughn Clinton wrote: > All, > > I'm looking for a FreeBSD utility that will allow me to query a disk for its > serial number. Can you point me to such a tool that'll allow me to do so? Assuming you mean a hard disk, if you can run smartmontools, this is from smartctl(8): -i, --info Prints the device model number, serial number, firmware version, and ATA Standard version/revision information. Says if the device supports SMART, and if so, whether SMART support is cur- rently enabled or disabled. If the device supports Logical Block Address mode (LBA mode) print current user drive capacity in bytes. (If drive is has a user protected area reserved, or is "clipped", this may be smaller than the potential maximum drive capacity.) Indicates if the drive is in the smartmontools data- base (see '-v' options below). If so, the drive model family may also be printed. If '-n' (see below) is specified, the power mode of the drive is printed. Full man page is here: http://smartmontools.sourceforge.net/man/smartctl.8.html Port is here: /usr/ports/sysutils/smartmontools HTH, ~Jason Morgan From kurt.buff at gmail.com Mon Jul 7 20:41:36 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Jul 7 20:41:46 2008 Subject: Sound on amd64 In-Reply-To: References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> <20080706162400.740db254@serene.no-ip.org> Message-ID: First, my apologies - I sent my last missive to Conrad, and not to the list. I'm replying to myself with an update. Details below. Kurt On Sun, Jul 6, 2008 at 2:51 PM, Kurt Buff wrote: > On Sun, Jul 6, 2008 at 2:24 PM, Conrad J. Sabatier wrote: >> On Sun, 06 Jul 2008 10:25:58 +0200 >> Tore Lund wrote: >> >>> Kurt Buff wrote: >>> > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier >>> > wrote: >>> >> On Sat, 5 Jul 2008 19:02:09 -0700 >>> >> "Kurt Buff" wrote: >>> >> ... >>> >> Do you have both the generic sound support (sound) as well as the >>> >> specific hardware driver enabled in your kernel config? >>> > >>> > Sigh. Always something new to learn. >>> >>> Just wondering, why do people modify the kernel when kernel loadable >>> modules can handle the sound card? Is it necessary on some types of >>> hardware? >> >> Well, probably the main reason most people do it is to strip away any >> unneeded functionality. The GENERIC kernel contains a whole slew of >> drivers and options that most people don't need, but are intended to >> support a wide range of hardware configurations "out of the box". You >> can greatly reduce the kernel's size by only including the features you >> really need. > > I tried a new kernel, but that didn't work, for whatever reason, but > editing loader.conf did, sort of. I tried adding > > sound_load="YES" > snd_hda_load="YES" > hint.pcm.0.config="gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7" > > but while the cd player now works, I'm not getting output from the > built-in speakers - it just sounds like it's coming from a long way > away - I can barely make it out. I suppose that means it's coming from > the headphone setup, but I'm not sure of that. > > I've been googling, but haven't figured this out yet. > > Kurt More careful reading shows that the hint line goes in /boot/device.hints, but placing it there does not improve the situation, though the sound does seem to be emitting from the speakers. It's just that it's very soft, and I can't get it any louder, though using the slider control in gnome will silence it. This is a recent Thinkpad T61, and grepping dmesg reveals that the sound system is detected as an Intel 82801H, and the codec used seems to be the Analog Devices AD1984. I'm running 7-STABLE, updated on Saturday. Thoughts on how to improve this would be much appreciated. Kurt From hartzell at alerce.com Mon Jul 7 21:01:50 2008 From: hartzell at alerce.com (George Hartzell) Date: Mon Jul 7 21:01:56 2008 Subject: Jails and IP Aliasing In-Reply-To: <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <20080707175440.GA95976@sentinelchicken.net> <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> Message-ID: <18546.33852.798857.247487@almost.alerce.com> Did you take the necessary steps to restrict the IP addresses on which sendmail on the host and the jail listen? The jail man page only says: To configure sendmail(8), it is necessary to modify /etc/mail/sendmail.cf. but you'll probably end up adjusting the DAEMON_OPTIONS lines of your sendmail.mc (freebsd.mc, freebsd.submit.mc) and recreating your cf files. g. From tompos at martos.bme.hu Mon Jul 7 21:54:15 2008 From: tompos at martos.bme.hu (Papp Tamas) Date: Mon Jul 7 21:54:22 2008 Subject: tape device not configured Message-ID: <487288CB.9090608@martos.bme.hu> hi All, I have a new Exabyte VXA-320, I show it in dmesg as sa0. When I try to access it for example by mt, it says, "Device not configured", and of cource is not working. sa0 at ahd0 bus 0 target 2 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 160.000MB/s transfers (80.000MHz DT, offset 126, 16bit) What do I miss? Thank you very much, tamas From wojtek at wojtek.tensor.gdynia.pl Mon Jul 7 22:24:45 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Jul 7 22:24:52 2008 Subject: Capturing ATA devices serial numbers In-Reply-To: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> References: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> Message-ID: <20080708002424.H28557@wojtek.tensor.gdynia.pl> atacontrol cap device On Mon, 7 Jul 2008, Vaughn Clinton wrote: > All, > > > > I'm looking for a FreeBSD utility that will allow me to query a disk for its > serial number. Can you point me to such a tool that'll allow me to do so? > > > > Regards, > > > > > > ************************* > > Vaughn E. Clinton > > Systems Analyst > > Scientific Computing Resources > > HPC-3 > > Los Alamos National Laboratory > > > > 505-606-2103 - Voice > > 505-664-7819 - Pager > > ************************* > > > > _______________________________________________ > 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 david.gurvich at verizon.net Tue Jul 8 01:32:23 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Tue Jul 8 01:32:29 2008 Subject: wpa, static ip only on specific networks Message-ID: <20080707213210.5c51fc57@verizon.net> Hello, How does one configure a wireless connection using wpa and dhcp on some networks and wpa with a static ip on others? From alydiomc at yahoo.com Tue Jul 8 01:40:44 2008 From: alydiomc at yahoo.com (lyd mc) Date: Tue Jul 8 01:40:50 2008 Subject: quota and sendmail accepts <10k mail size Message-ID: <405531.92355.qm@web52204.mail.re2.yahoo.com> Greetings, I setup my mail server on freebsd7.0R and it is working great! However, I have a problem on quota. It suppose to block any incoming message to specific user which is under quota. But sendmail can still send to the user under quota if the mail size is ~ less than 10k. Quota only works when the mail size is? greater than 13k. Is there any way to correct this problem? Please help. By the way, i disable the grace period via quota.h. ?????? #define MAX_IQ_TIME???? (0)???? /* seconds in 1 week */ ?????? #define MAX_DQ_TIME???? (0)???? /* seconds in 1 week */ And my mail users authenticate via ldap. Thank you and more power. From freebsd at troback.com Tue Jul 8 04:03:52 2008 From: freebsd at troback.com (Anders =?UTF-8?B?VHJvYsOkY2s=?=) Date: Tue Jul 8 04:04:00 2008 Subject: tape device not configured In-Reply-To: <487288CB.9090608@martos.bme.hu> References: <487288CB.9090608@martos.bme.hu> Message-ID: <20080708060119.79cad677@baal.troback.com> On Mon, 07 Jul 2008 23:21:15 +0200 Papp Tamas wrote: > hi All, > > I have a new Exabyte VXA-320, I show it in dmesg as sa0. > When I try to access it for example by mt, it says, "Device not > configured", and of cource is not working. > > sa0 at ahd0 bus 0 target 2 lun 0 > sa0: Removable Sequential Access SCSI-3 device > sa0: 160.000MB/s transfers (80.000MHz DT, offset 126, 16bit) > > > What do I miss? > > Thank you very much, > > tamas What is the exact command you are using? -- ================================================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" ---------------------------------------------------------------- Anders Trob?ck http://www.troback.com/ - From remegius at comcast.net Tue Jul 8 05:21:13 2008 From: remegius at comcast.net (Rem P Roberti) Date: Tue Jul 8 05:21:20 2008 Subject: Procmail error Message-ID: <20080708050504.GA69147@pcbsd> Probably the wrong forum for this, but since it's on a freebsd system: I have mutt installed on two other freebsd computers. I fetch pop mail via getmail, and procmail puts things where they belong. I just installed freebsd 7.0 on another computer with what I thought were the exact same settings for all of the mail programs involved. When I try to retrieve mail I get this error message: Delivery error (command procmail 3695 error (127, exec of command procmail failed (refuse to invoke external commands as root or GID 0 by default))) I'm a relative newbie here and would appreciate it if someone could give me a heads up on this. Rem From m.seaman at infracaninophile.co.uk Tue Jul 8 06:06:33 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 8 06:06:42 2008 Subject: Jails and IP Aliasing In-Reply-To: <20080707193318.GB96701@sentinelchicken.net> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <20080707175440.GA95976@sentinelchicken.net> <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> <20080707193318.GB96701@sentinelchicken.net> Message-ID: <487303D7.1090707@infracaninophile.co.uk> Jason Morgan wrote: > On 2008.07.07 12:16:44, David Allen wrote: >> # grep fxp0 /etc/rc.conf >> ifconfig_fxp0="inet 10.0.1.2 netmask 0xffffff00" >> ifconfig_fxp0_alias0="10.0.1.3 netmask 0xffffffff" >> ifconfig_fxp0_alias1="10.0.1.4 netmask 0xffffffff" >> ifconfig_fxp0_alias2="10.0.1.5 netmask 0xffffffff" >> >> My understanding from the handbook is that the mask should be set to all >> ones if the alias is for an address that's part of the same network. For >> a different segment, it's the first alias that should be set to the real >> netmask, with any additional aliases using a netmask of all ones. >> >> Granted, the broadcast addresses looks odd. If I my programming skills >> were better, I'd just read through the code and understand what's really >> happening, but for now, I'm just taking the FreeBSD folks at their word at >> following instructions. That's a roundabout way of saying I think your >> aliases are set up incorrectly. ;-) > > That it quite possible (I do notice the newer documentation calling > for netmask 0xffffffff). But I have never had any trouble over the > last three years so, you know how it is, if it ain't (too) broke ... Using a /32 netmask for aliases in the same network as the primary address used to be mandatory until sometime during the 6.x RELEASE series. It is still recommended in the various documentation, and it does make it clear to the administrator which is the primary address when looking at ifconfig output, when that distinction is important[*]. Using the 'natural' netmask for the network the aliases are part of has worked for several years: this seems to be what most new users expect and it's familiar for users of other operating systems. As far as I know, there is no technical or performance reason to prefer one style over the other -- just a matter of administrator preference. Cheers, Matthew [*] ie. which is the source address used for connection /from/ the server. If all the aliases are used for jails, or all your software is configured to bind to one or other of the addresses this doesn't come into play. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/965dab98/signature.pgp From freebsd at troback.com Tue Jul 8 06:16:48 2008 From: freebsd at troback.com (Anders Troback) Date: Tue Jul 8 06:16:55 2008 Subject: Procmail error In-Reply-To: <20080708050504.GA69147@pcbsd> References: <20080708050504.GA69147@pcbsd> Message-ID: <20080708081755.2469118b@itpc02.gelita.swe> On Mon, 7 Jul 2008 22:05:04 -0700 Rem P Roberti wrote: > Probably the wrong forum for this, but since it's on a freebsd system: > > I have mutt installed on two other freebsd computers. I fetch pop > mail via getmail, and procmail puts things where they belong. I just > installed freebsd 7.0 on another computer with what I thought were the > exact same settings for all of the mail programs involved. When I try > to retrieve mail I get this error message: > > Delivery error (command procmail 3695 error (127, exec of command > procmail failed (refuse to invoke external commands as root or GID 0 > by default))) > > I'm a relative newbie here and would appreciate it if someone could > give me a heads up on this. > > Rem Are you running getmail as root? -- Anders Trob?ck http://www.troback.com/ ============================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" -------------------------------------------- From remegius at comcast.net Tue Jul 8 06:22:20 2008 From: remegius at comcast.net (Rem P Roberti) Date: Tue Jul 8 06:22:27 2008 Subject: Procmail error Message-ID: <20080708062219.GB90752@pcbsd> > > > Probably the wrong forum for this, but since it's on a freebsd system: > > > > I have mutt installed on two other freebsd computers. I fetch pop > > mail via getmail, and procmail puts things where they belong. I just > > installed freebsd 7.0 on another computer with what I thought were the > > exact same settings for all of the mail programs involved. When I try > > to retrieve mail I get this error message: > > > > Delivery error (command procmail 3695 error (127, exec of command > > procmail failed (refuse to invoke external commands as root or GID 0 > > by default))) > > > > I'm a relative newbie here and would appreciate it if someone could > > give me a heads up on this. > > > > Rem > > Are you running getmail as root? Boy, I hope not. And I have this entry in my aliases file: root: rem so I'm not collecting mail as root. Rem From tompos at martos.bme.hu Tue Jul 8 07:04:14 2008 From: tompos at martos.bme.hu (Papp Tamas) Date: Tue Jul 8 07:04:22 2008 Subject: tape device not configured In-Reply-To: <20080708060119.79cad677@baal.troback.com> References: <487288CB.9090608@martos.bme.hu> <20080708060119.79cad677@baal.troback.com> Message-ID: <48730D50.3030808@martos.bme.hu> Anders Trob?ck wrote: > On Mon, 07 Jul 2008 23:21:15 +0200 > Papp Tamas wrote: > > >> hi All, >> >> I have a new Exabyte VXA-320, I show it in dmesg as sa0. >> When I try to access it for example by mt, it says, "Device not >> configured", and of cource is not working. >> >> sa0 at ahd0 bus 0 target 2 lun 0 >> sa0: Removable Sequential Access SCSI-3 device >> sa0: 160.000MB/s transfers (80.000MHz DT, offset 126, 16bit) >> >> >> What do I miss? >> >> Thank you very much, >> >> tamas >> > > What is the exact command you are using? > > > mt -f /dev/sa0 Thanks, tamas From tompos at martos.bme.hu Tue Jul 8 07:06:58 2008 From: tompos at martos.bme.hu (=?UTF-8?B?UGFwcCBUYW3DoXM=?=) Date: Tue Jul 8 07:07:05 2008 Subject: tape device not configured In-Reply-To: <48730D50.3030808@martos.bme.hu> References: <487288CB.9090608@martos.bme.hu> <20080708060119.79cad677@baal.troback.com> <48730D50.3030808@martos.bme.hu> Message-ID: <4873119C.4080605@martos.bme.hu> Papp Tamas wrote: > mt -f /dev/sa0 I mean mt -f /dev/sa0 status But actually I recogniozed, it was a cleaning tape. I'm sorry:) Thank you, tamas From amsibamsi at gmail.com Tue Jul 8 07:10:00 2008 From: amsibamsi at gmail.com (Anselm Strauss) Date: Tue Jul 8 07:10:06 2008 Subject: No serial console input in loader In-Reply-To: <3B2BA9F4-4088-4101-88A6-56B4AD00B4E5@gmail.com> References: <3B2BA9F4-4088-4101-88A6-56B4AD00B4E5@gmail.com> Message-ID: <6352545C-E966-49D4-8CAE-7994F497EA15@gmail.com> On Jun 28, 2008, at 13:15 , Anselm Strauss wrote: > Hi, > > I have a small router that has no video output, it only supports a > serial console. I configured the serial console in /boot/ > boot.config, /boot/loader.conf and /etc/ttys. It's working in the > BIOS, on the boot prompt before the loader starts, and when logging > in on the getty. The only place where it's not working correctly is > at the loader prompt. I can see the loader menu and the logo, but I > can't choose the boot entry or interrupt the timeout. I can't make > any input at all. What could this be? > > Cheers, > Anselm Don't know what this was, but now it works. I use Grub to directly load /boot/loader as kernel. I set the serial console in the BIOS to 115200 Baud. In Grub's menu.lst I then use: serial --unit=0 --speed=115200 terminal serial and in /boot/loader.conf: console="comconsole" comconsole_speed="115200" Seems like this is all that is needed. Anselm From amsibamsi at gmail.com Tue Jul 8 07:19:13 2008 From: amsibamsi at gmail.com (Anselm Strauss) Date: Tue Jul 8 07:19:20 2008 Subject: bsdlabel has no effect In-Reply-To: <588ED8E7-9EB7-4E15-A03B-06FAD0469294@gmail.com> References: <588ED8E7-9EB7-4E15-A03B-06FAD0469294@gmail.com> Message-ID: On Jun 28, 2008, at 13:25 , Anselm Strauss wrote: > Hi, > > originally I had the following labels on my ad0 disk (no partitions, > directly labeled /dev/ad0): > > # /dev/ad0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1048576 0 4.2BSD 1024 8192 46248 > c: 1048576 0 unused 0 0 # "raw" part, > don't edit > > Since this was written from a file image the my compact flash card, > and the card has now 8GB instead of 512MB, I wanted to grow the > labels after having booted the system, and that worked. So now it is: > > # /dev/ad0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 15662304 0 4.2BSD 1024 8192 46248 > c: 15662304 0 unused 0 0 # "raw" part, > don't edit > > But unfortunately, I also grew label 'a', although I did not grow > the filesystem. What I actually wanted was to stay 'a' the size it > is and add new labels. So I tried to shrink 'a' again, to finally > have something like: > > # /dev/ad0: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 1048576 0 4.2BSD 1024 8192 46248 > c: 15662304 0 unused 0 0 # "raw" part, > don't edit > > before adding new labels. But somehow bsdlabel has no effect when > shrinking 'a'. No error or verbose message, the labels are just the > same before running it, whether I use the edit mode or restore mode. > > Am I not supposed to shrink a label like that? > > Cheers, > Anselm > Okay, this was of course since I tried to resize a partition that is mounted. I guess this will never work, even when the filesystem actually already has the size the partition should be shrunk to. I think there is no other way of resizing the root partition/filesystem without booting a different system than the one on this partition. Anselm From z.szalbot at lc-words.com Tue Jul 8 07:46:01 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Tue Jul 8 07:46:13 2008 Subject: how to mount USB drive on system startup Message-ID: <48731B33.2090502@lc-words.com> Dear all, I am trying to make sure my USB hard drive will be available when system has finished booting. So: $ grep usbd /etc/rc.conf usbd_enable="YES" and $ grep backup /etc/fstab /dev/ad3s1d /backup ufs rw 2 2 But when I restart the system (FreeBSD 6.3-RELEASE-p1), it complains that it cannot mount /backup. mount: /backup: No such file or directory Mounting /etc/fstab filesystem failed. Startup aborted. I am sure there is something very simple that I need to do, so I'll appreciate your suggestions! Thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/c5ba7a0c/smime.bin From gnemmi at gmail.com Tue Jul 8 08:16:28 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Tue Jul 8 08:16:35 2008 Subject: Capturing ATA devices serial numbers In-Reply-To: <20080708002424.H28557@wojtek.tensor.gdynia.pl> References: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> <20080708002424.H28557@wojtek.tensor.gdynia.pl> Message-ID: <200807080516.22170.gnemmi@gmail.com> On Monday 07 July 2008 19:24:36 Wojciech Puchar wrote: > atacontrol cap device _Really_nice_ ... Will add it to my repertoire :) thanks for the hint Wojciech ! -- Blessings Gonzalo Nemmi From odhiambo at gmail.com Tue Jul 8 08:25:49 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Tue Jul 8 08:25:55 2008 Subject: how to mount USB drive on system startup In-Reply-To: <48731B33.2090502@lc-words.com> References: <48731B33.2090502@lc-words.com> Message-ID: <991123400807080125n12595579v7f276d7e4d443191@mail.gmail.com> On Tue, Jul 8, 2008 at 10:45 AM, Zbigniew Szalbot wrote: > Dear all, > > I am trying to make sure my USB hard drive will be available when system has > finished booting. So: > $ grep usbd /etc/rc.conf > usbd_enable="YES" > > and > $ grep backup /etc/fstab > /dev/ad3s1d /backup ufs rw 2 2 > > But when I restart the system (FreeBSD 6.3-RELEASE-p1), it complains that it > cannot mount /backup. > > mount: /backup: No such file or directory > Mounting /etc/fstab filesystem failed. Startup aborted. > > I am sure there is something very simple that I need to do, so I'll > appreciate your suggestions! Thanks! mkdir /backup -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From shinjii at maydias.com Tue Jul 8 08:26:47 2008 From: shinjii at maydias.com (Warren Liddell) Date: Tue Jul 8 08:27:05 2008 Subject: subversion build problem Message-ID: <200807081826.56850.shinjii@maydias.com> ===> Building package for apr-gdbm-db42-1.3.2 Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz Registering depends: libiconv-1.11_1 db42-4.2.52_5 gdbm-1.8.3_3 expat-2.0.1. Registering conflicts: apr-*. Creating bzip'd tar ball in '/usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz' ===> Returning to build of subversion-1.5.0_1 Error: shared library "apr-1.2" does not exist *** Error code 1 Any ideas/thoughts appreciated. From z.szalbot at lc-words.com Tue Jul 8 08:31:59 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Tue Jul 8 08:32:07 2008 Subject: how to mount USB drive on system startup In-Reply-To: <991123400807080125n12595579v7f276d7e4d443191@mail.gmail.com> References: <48731B33.2090502@lc-words.com> <991123400807080125n12595579v7f276d7e4d443191@mail.gmail.com> Message-ID: <487325F9.3080904@lc-words.com> Hello, Odhiambo Washington: > On Tue, Jul 8, 2008 at 10:45 AM, Zbigniew Szalbot > wrote: >> Dear all, >> >> I am trying to make sure my USB hard drive will be available when system has >> finished booting. So: >> $ grep usbd /etc/rc.conf >> usbd_enable="YES" >> >> and >> $ grep backup /etc/fstab >> /dev/ad3s1d /backup ufs rw 2 2 >> >> But when I restart the system (FreeBSD 6.3-RELEASE-p1), it complains that it >> cannot mount /backup. >> >> mount: /backup: No such file or directory >> Mounting /etc/fstab filesystem failed. Startup aborted. >> >> I am sure there is something very simple that I need to do, so I'll >> appreciate your suggestions! Thanks! > > mkdir /backup [shaking my head in disbelief...] it should have been so easy! Shame on me :) Many thanks! -- Zbigniew Szalbot www.LCWords.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2864 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/cca25cd7/smime.bin From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 09:02:41 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 09:02:48 2008 Subject: automount is not recognizing option longname In-Reply-To: <200807071738.56070.stevan-tiefert@kabelmail.de> References: <200807071738.56070.stevan-tiefert@kabelmail.de> Message-ID: <200807081057.39834.fbsd.questions@rachie.is-a-geek.net> On Monday 07 July 2008 17:38:55 Stevan Tiefert wrote: > Hello list, > > I have setup amd and it works fine. Only one special situation is making me > crazy. When I want to use a USB-Stick without data on it, amd is mounting > it with the 8.3-limitation. I've added the option longname in my map-file > but it still ignores this option... Does somebody knows about this > behavior? > > My amd.map: > > usb type:=pcfs;opts:=utimout=1,longname;dev:=/dev/da0s1 > I'm taking a guess here, but if it has 'no data', could it be that it's formatted FAT, as in FAT-8, not 16 or 32, cause then longname support is rejected by the filesystem itself. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From i.tanusheff at procreditbank.bg Tue Jul 8 09:13:30 2008 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Tue Jul 8 09:13:37 2008 Subject: Jails and IP Aliasing In-Reply-To: <20080707175440.GA95976@sentinelchicken.net> Message-ID: Hi, I guess the problem is with your netmask and respectivly the broadcast adrresses for the jails. It should be: inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255 inet 10.0.1.4 netmask 0xffffff00 broadcast 10.0.1.255 Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Jason Morgan Sent by: owner-freebsd-questions@freebsd.org 07.07.2008 21:01 To FreeBSD Questions cc Subject Re: Jails and IP Aliasing Hello, On 2008.07.07 09:51:33, David Allen wrote: > Unless I'm losing my mind, I'm encountering what seems to yet another > gotcha with jails. The following has been dumbed down for clarity and > brevity. > > --------------------------------------------------------------------- > # hostname > jailhost.example.org > > # host jailhost > jailhost.example.org has address 10.0.1.2 > > # ifconfig fxp0 > fxp0: flags=8843 metric 0 mtu 1500 > options=b > ether 00:07:e9:c8:2e:32 > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.3 netmask 0xffffffff broadcast 10.0.1.3 > inet 10.0.1.4 netmask 0xffffffff broadcast 10.0.1.4 > media: Ethernet autoselect (100baseTX ) > status: active This is the output for my jail interface. Notice that your jail aliases are broadcasting on the jail's IP. I don't know if this is an issue or not (my jails run on i386 FBSD 6.3), but it's something to look at. How are you setting the aliases? sk0: flags=8843 mtu 1500 options=b inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 inet 10.0.0.201 netmask 0xffffff00 broadcast 10.0.0.255 ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect (1000baseTX ) status: active Cheers, ~Jason _______________________________________________ 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 juancr at dsa.es Tue Jul 8 09:14:59 2008 From: juancr at dsa.es (DSA - JCR) Date: Tue Jul 8 09:15:07 2008 Subject: How to disable that an user execute any command Message-ID: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es> Hi all I use FreeBSD 6.2, and GELI I want to make an user for the only task of remove/insert the usb copy disk. I have made a new user (operator group), and a shell task that ask for the GELI password and fsck and mount the USB disk. This work fine under root. but I think that if he/she want to make CTRL-C to the shell task, he can stop the task and then enter in the system and look whatever he wants (for example, how the things are done). How can I stop him from entering this CTRL-C (and others than could be) ? I want this because there is intelectual propierty behind this. Thanks in advance Juan Coru?a Desarrollo de Software Atlantico From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 09:24:35 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 09:24:42 2008 Subject: Jails and IP Aliasing In-Reply-To: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> Message-ID: <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> On Monday 07 July 2008 18:51:33 David Allen wrote: > Granted, everything is really happening over the loopback address, but a > connection originating from the jailhost to a jail should appear to be > using the jailhost's IP address, or so I'd like to think. If it doesn't, > then the scenario is awkward at best when trying to understand or debug > issues. To debug this, you need to 'add jail support to sockstat'. This sounds hard, and it is, but you can fake it, since sockstat gives you the PID. With a little creative scripting, you can call `ps -o state' for each PID in the list, look for the capital 'J' and if it is, add the 'J' to the line. > The thought occurred to me, however, that I could add a new network card > and reserve that for the IP aliases needed by the jails. But I'm not sure > whether that will work in telling me who's who, or whether I'll discover > another gotcha. ;-) It will add more gotcha's, unless you put each network card in a different network. With the IP's given here, you tell the host that 10.0.1.0/24 is on fxp0, so it will never go to fxp1 for 10.0.1.4. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 09:36:34 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 09:36:42 2008 Subject: Jails and IP Aliasing In-Reply-To: References: Message-ID: <200807081136.31140.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 11:13:04 Ivailo Tanusheff wrote: > Hi, > > I guess the problem is with your netmask and respectivly the broadcast > adrresses for the jails. > It should be: > > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.4 netmask 0xffffff00 broadcast 10.0.1.255 You guess wrong. Aliases SHOULD (as in IETF RFC should) have 255.255.255.255 netmask. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From stevan-tiefert at kabelmail.de Tue Jul 8 10:10:55 2008 From: stevan-tiefert at kabelmail.de (Stevan Tiefert) Date: Tue Jul 8 10:11:03 2008 Subject: automount is not recognizing option longname In-Reply-To: <200807081057.39834.fbsd.questions@rachie.is-a-geek.net> References: <200807071738.56070.stevan-tiefert@kabelmail.de> <200807081057.39834.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807081210.37382.stevan-tiefert@kabelmail.de> Am Dienstag, 8. Juli 2008 10:57:39 schrieb Mel: > On Monday 07 July 2008 17:38:55 Stevan Tiefert wrote: > > Hello list, > > > > I have setup amd and it works fine. Only one special situation is making > > me crazy. When I want to use a USB-Stick without data on it, amd is > > mounting it with the 8.3-limitation. I've added the option longname in my > > map-file but it still ignores this option... Does somebody knows about > > this behavior? > > > > My amd.map: > > > > usb type:=pcfs;opts:=utimout=1,longname;dev:=/dev/da0s1 > > I'm taking a guess here, but if it has 'no data', could it be that it's > formatted FAT, as in FAT-8, not 16 or 32, cause then longname support is > rejected by the filesystem itself. No it is not formatted as FAT16. When I use manually: # mount -t msdosfs -o longnames /dev/da0s1 /mnt and then copy files on the empty USB-Stick via: # cp * /mnt then the longnames are recognized... This problem is only appearing when I use amd! But it was a good guess :-) Maybe other ideas? Stevan Tiefert From i.tanusheff at procreditbank.bg Tue Jul 8 10:29:32 2008 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Tue Jul 8 10:29:40 2008 Subject: Jails and IP Aliasing In-Reply-To: <200807081136.31140.fbsd.questions@rachie.is-a-geek.net> Message-ID: No, I am right. Try it yourself and you will see that solves the issue. I have several jails on different machines and this way the system works without any error or problem. Try it and see it :) Regards, Ivailo Tanusheff Mel Sent by: owner-freebsd-questions@freebsd.org 08.07.2008 12:38 To freebsd-questions@freebsd.org cc Subject Re: Jails and IP Aliasing On Tuesday 08 July 2008 11:13:04 Ivailo Tanusheff wrote: > Hi, > > I guess the problem is with your netmask and respectivly the broadcast > adrresses for the jails. > It should be: > > inet 10.0.1.2 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.3 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.0.1.4 netmask 0xffffff00 broadcast 10.0.1.255 You guess wrong. Aliases SHOULD (as in IETF RFC should) have 255.255.255.255 netmask. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. _______________________________________________ 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 dez at accid.net Tue Jul 8 10:31:12 2008 From: dez at accid.net (Dez Accid) Date: Tue Jul 8 10:31:19 2008 Subject: How to disable that an user execute any command In-Reply-To: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es> References: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es> Message-ID: <487341E8.9050203@accid.net> DSA - JCR wrote: > I want to make an user for the only task of remove/insert the usb copy disk. > > I have made a new user (operator group), and a shell task that ask for the > GELI password and fsck and mount the USB disk. This work fine under root. > > but I think that if he/she want to make CTRL-C to the shell task, he can > stop the task and then enter in the system and look whatever he wants (for > example, how the things are done). > > How can I stop him from entering this CTRL-C (and others than could be) ? If I understand your question correctly, you want to prevent an interactive user running a shell script from breaking out of it via CTRL-C and entering the shell directly. In that case, you can achieve this functionality in your shell script with the use of trap command. E.g. this line will print "Ignoring CTRL-C" on CTRL-C keypress which generates an INT (number 2) signal: trap "echo 'Ignoring INT signal'" 2 This page http://www.shelldorado.com/goodcoding/tempfiles.html describes the shell signals quite well, you may want to give it a read. Thanks! -- Dez Accid From frase at frase.id.au Tue Jul 8 10:45:54 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Tue Jul 8 10:46:01 2008 Subject: subversion build problem In-Reply-To: <200807081826.56850.shinjii@maydias.com> References: <200807081826.56850.shinjii@maydias.com> Message-ID: <20080708104548.GA1164@bacardi> On Tue, Jul 08, 2008 at 06:26:56PM +1000, Warren Liddell wrote: > ===> Building package for apr-gdbm-db42-1.3.2 > Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz > Registering depends: libiconv-1.11_1 db42-4.2.52_5 gdbm-1.8.3_3 expat-2.0.1. > Registering conflicts: apr-*. > Creating bzip'd tar ball in '/usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz' > > ===> Returning to build of subversion-1.5.0_1 > Error: shared library "apr-1.2" does not exist > *** Error code 1 > > > Any ideas/thoughts appreciated. There was an apr version bump. The subversion port was updated earlier to day in order to chase this change. Update your ports tree and you should find that it will then compile without problems. frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/38f5eee0/attachment.pgp From keramida at ceid.upatras.gr Tue Jul 8 14:40:39 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Tue Jul 8 14:40:46 2008 Subject: subversion build problem In-Reply-To: <20080708104548.GA1164@bacardi> (Fraser Tweedale's message of "Tue, 8 Jul 2008 20:45:49 +1000") References: <200807081826.56850.shinjii@maydias.com> <20080708104548.GA1164@bacardi> Message-ID: <87r6a4wibo.fsf@kobe.laptop> On Tue, 8 Jul 2008 20:45:49 +1000, Fraser Tweedale wrote: > On Tue, Jul 08, 2008 at 06:26:56PM +1000, Warren Liddell wrote: >> ===> Building package for apr-gdbm-db42-1.3.2 >> Creating package /usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz >> Registering depends: libiconv-1.11_1 db42-4.2.52_5 gdbm-1.8.3_3 expat-2.0.1. >> Registering conflicts: apr-*. >> Creating bzip'd tar ball in '/usr/ports/packages/All/apr-gdbm-db42-1.3.2.tbz' >> >> ===> Returning to build of subversion-1.5.0_1 >> Error: shared library "apr-1.2" does not exist >> *** Error code 1 >> >> Any ideas/thoughts appreciated. > > There was an apr version bump. The subversion port was updated > earlier to day in order to chase this change. Update your ports > tree and you should find that it will then compile without > problems. ACK... I was bitten by the apr-1.2 / apr-1.3 version bump, and I can verify that the new port builds fine here too. From vibarus at googlemail.com Tue Jul 8 14:48:30 2008 From: vibarus at googlemail.com (Vincent Barus) Date: Tue Jul 8 14:48:38 2008 Subject: difference between loading kernel module during boot and after boot manually? In-Reply-To: References: Message-ID: On Sun, Jun 22, 2008 at 11:29 PM, Vincent Barus wrote: > Hi everybody, > > is there a difference between loading a kernel module during the boot process > and loading a module manually after the login? > I'm asking this on a general basis and because of pr: kern/123563. > I don't know if it's a problem with if_re because I can't find someone > out on the net > having the same problem. > The driver if_re works after laoding it manually after the login and I > have no problems > with it after this manual kldload if_re. > > Can you guys give me a hint how to get further with the troubleshooting because > I can't find any difference with pciconf or the boot -v messages. > > Pyun did a nice job with if_re and shame on me for making his driver responsible > at first but that's the only driver I can reproduce this problem with > so I don't know > if there's a hardware / driver / base issue. > > The facts about my configuration etc. is in > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/123563 > > If you want more information please write me. > > Thanks and kind regards, > > Vincent > Hi all, does anyone have an idea what's the difference or what _could_ be the difference on loading a kernel module during boot or manually? Regards, Vincent From the.real.david.allen at gmail.com Tue Jul 8 14:59:17 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Tue Jul 8 14:59:28 2008 Subject: Jails and IP Aliasing In-Reply-To: <18546.33852.798857.247487@almost.alerce.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <20080707175440.GA95976@sentinelchicken.net> <2daa8b4e0807071216t7c5ef147obb794b3f67376334@mail.gmail.com> <18546.33852.798857.247487@almost.alerce.com> Message-ID: <2daa8b4e0807080759k7e7cdefj7b7bef29757814f0@mail.gmail.com> On Mon, Jul 7, 2008 at 2:01 PM, George Hartzell wrote: > > Did you take the necessary steps to restrict the IP addresses on which > sendmail on the host and the jail listen? The jail man page only > says: I don't think anyone would get too far with jails in general if the jail host wasn't properly configured beforehand. To answer your question, sendmail on the jail host is listening to the loopback address only. And to the extent it's not redundant or meaningless, within each jail, sendmail is configured to listen to the jail's IP address only. Regrettably, the problem isn't specific to sendmail or any other service, as an ssh connection would exhibit identical behaviour. Put simply, all connections from the jail host to any jail are reported as using that jail's IP address only. Doesn't matter if your viewing the state from the perspective of the jail host, or from within the jail itself. Both ends of the connection have the same IP address. From kirk at strauser.com Tue Jul 8 15:00:54 2008 From: kirk at strauser.com (Kirk Strauser) Date: Tue Jul 8 15:01:01 2008 Subject: How to disable that an user execute any command In-Reply-To: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es> References: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es> Message-ID: <200807081000.42849.kirk@strauser.com> On Tuesday 08 July 2008, DSA - JCR wrote: > but I think that if he/she want to make CTRL-C to the shell task, he can > stop the task and then enter in the system and look whatever he wants > (for example, how the things are done). Use "sudo" to allow non-root users to run that script as root. If they hit ^C, they get dropped right back to their own account. > I want this because there is intelectual propierty behind this. Don't put trade secrets in shell scripts. -- Kirk Strauser -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 155 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/34971649/attachment.pgp From david.gurvich at verizon.net Tue Jul 8 15:01:17 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Tue Jul 8 15:01:24 2008 Subject: difference between loading kernel module during boot and after boot manually? In-Reply-To: References: Message-ID: <20080708110052.7702950b@verizon.net> I don't know what the difference is, but there is one. I have a system that automatically reboots if nvidia is added to /boot/loader.conf on FreeBSD7. If the module is loaded from the loader prompt the system boots and xorg works. I now use solaris on that system as FreeBSD had all sorts of issues, but I recall adding a kldload statement to a startup script. From jerrymc at msu.edu Tue Jul 8 15:17:56 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Jul 8 15:18:04 2008 Subject: bsdlabel has no effect In-Reply-To: References: <588ED8E7-9EB7-4E15-A03B-06FAD0469294@gmail.com> Message-ID: <20080708151517.GB79128@gizmo.acns.msu.edu> On Tue, Jul 08, 2008 at 09:19:09AM +0200, Anselm Strauss wrote: > On Jun 28, 2008, at 13:25 , Anselm Strauss wrote: > > >Hi, > > > >originally I had the following labels on my ad0 disk (no partitions, > >directly labeled /dev/ad0): > > > ># /dev/ad0: > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > a: 1048576 0 4.2BSD 1024 8192 46248 > > c: 1048576 0 unused 0 0 # "raw" part, > >don't edit > > > >Since this was written from a file image the my compact flash card, > >and the card has now 8GB instead of 512MB, I wanted to grow the > >labels after having booted the system, and that worked. So now it is: > > > ># /dev/ad0: > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > a: 15662304 0 4.2BSD 1024 8192 46248 > > c: 15662304 0 unused 0 0 # "raw" part, > >don't edit > > > >But unfortunately, I also grew label 'a', although I did not grow > >the filesystem. What I actually wanted was to stay 'a' the size it > >is and add new labels. So I tried to shrink 'a' again, to finally > >have something like: > > > ># /dev/ad0: > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > a: 1048576 0 4.2BSD 1024 8192 46248 > > c: 15662304 0 unused 0 0 # "raw" part, > >don't edit > > > >before adding new labels. But somehow bsdlabel has no effect when > >shrinking 'a'. No error or verbose message, the labels are just the > >same before running it, whether I use the edit mode or restore mode. > > > >Am I not supposed to shrink a label like that? > > > >Cheers, > >Anselm > > > > Okay, this was of course since I tried to resize a partition that is > mounted. I guess this will never work, even when the filesystem > actually already has the size the partition should be shrunk to. I > think there is no other way of resizing the root partition/filesystem > without booting a different system than the one on this partition. Yes, you have to unmount the partition/filesystem before you can modify its configuration. Just boot the install CD and bring up the fixit. Then you can work on it just fine. Just remember that it may have different device addresses (not necessarily, but might) and that you will need to make mount points if you need to mount anything to muck with files in a partition. Also, note that on a fixit boot, those mount points (and root) are in a memory file system and will be gone after the next boot. I hope you have a good backup of your 'a' partition because it may now not be happy. ////jerry > > Anselm > > _______________________________________________ > 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 jerrymc at msu.edu Tue Jul 8 15:28:26 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Jul 8 15:28:33 2008 Subject: how to mount USB drive on system startup In-Reply-To: <48731B33.2090502@lc-words.com> References: <48731B33.2090502@lc-words.com> Message-ID: <20080708152549.GC79128@gizmo.acns.msu.edu> On Tue, Jul 08, 2008 at 09:45:55AM +0200, Zbigniew Szalbot wrote: > Dear all, > > I am trying to make sure my USB hard drive will be available when system > has finished booting. So: > $ grep usbd /etc/rc.conf > usbd_enable="YES" > > and > $ grep backup /etc/fstab > /dev/ad3s1d /backup ufs rw 2 2 > > But when I restart the system (FreeBSD 6.3-RELEASE-p1), it complains > that it cannot mount /backup. > > mount: /backup: No such file or directory > Mounting /etc/fstab filesystem failed. Startup aborted. > > I am sure there is something very simple that I need to do, so I'll > appreciate your suggestions! Thanks! Well, the first thing that comes to mind is, did you make the /backup mountpoint eg 'mkdir /backup' at some time? Is it really there? Next question is, did you build a filesystem on the USB? eg [fdisk] bsdlabel and newfs Check it by running fdisk and bsdlabel on it just to read what it thinks is there, as in: fdisk ad3 bsdlabel ad3s1 I make all my USB stuff as 'noauto' in /etc/fstab and then manually mount them later when needed and I have never had a problem - with either ufs or msdos filesystem types. I don't think you have to do it that way, but check it out and see if it makes any difference. eg change 'rw' to 'rw,noauto' in fstab, boot and then try to do the mount. If it makes a difference, then maybe there is something to file a PR on, but it would take further investigation to nail it down. ////jerry > > -- > Zbigniew Szalbot > www.LCWords.com From frank at shute.org.uk Tue Jul 8 15:46:29 2008 From: frank at shute.org.uk (Frank Shute) Date: Tue Jul 8 15:46:36 2008 Subject: Procmail error In-Reply-To: <20080708062219.GB90752@pcbsd> References: <20080708062219.GB90752@pcbsd> Message-ID: <20080708154618.GA20206@melon.esperance-linux.co.uk> On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: > > > > > > Probably the wrong forum for this, but since it's on a freebsd system: > > > > > > I have mutt installed on two other freebsd computers. I fetch pop > > > mail via getmail, and procmail puts things where they belong. I just > > > installed freebsd 7.0 on another computer with what I thought were the > > > exact same settings for all of the mail programs involved. When I try > > > to retrieve mail I get this error message: > > > > > > Delivery error (command procmail 3695 error (127, exec of command > > > procmail failed (refuse to invoke external commands as root or GID 0 > > > by default))) > > > > > > I'm a relative newbie here and would appreciate it if someone could > > > give me a heads up on this. > > > > > > Rem > > > > Are you running getmail as root? > > Boy, I hope not. And I have this entry in my aliases file: > > root: rem > > so I'm not collecting mail as root. > What does your getmailrc look like? I've got this section in there. You should have similar: [destination] type = MDA_external path = /usr/local/bin/procmail user = frank -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From remegius at comcast.net Tue Jul 8 15:52:37 2008 From: remegius at comcast.net (Rem P Roberti) Date: Tue Jul 8 15:52:43 2008 Subject: Procmail error In-Reply-To: <20080708154618.GA20206@melon.esperance-linux.co.uk> References: <20080708062219.GB90752@pcbsd> <20080708154618.GA20206@melon.esperance-linux.co.uk> Message-ID: <20080708155233.GB2058@pcbsd> On 2008.07.08 16:46:18 +0000, Frank Shute wrote: > On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: > > > > > > > > > Probably the wrong forum for this, but since it's on a freebsd system: > > > > > > > > I have mutt installed on two other freebsd computers. I fetch pop > > > > mail via getmail, and procmail puts things where they belong. I just > > > > installed freebsd 7.0 on another computer with what I thought were the > > > > exact same settings for all of the mail programs involved. When I try > > > > to retrieve mail I get this error message: > > > > > > > > Delivery error (command procmail 3695 error (127, exec of command > > > > procmail failed (refuse to invoke external commands as root or GID 0 > > > > by default))) > > > > > > > > I'm a relative newbie here and would appreciate it if someone could > > > > give me a heads up on this. > > > > > > > > Rem > > > > > > Are you running getmail as root? > > > > Boy, I hope not. And I have this entry in my aliases file: > > > > root: rem > > > > so I'm not collecting mail as root. > > > > What does your getmailrc look like? > > I've got this section in there. You should have similar: > > [destination] > type = MDA_external > path = /usr/local/bin/procmail > user = frank Here is the entry I use: [destination] type = MDA_external path = /usr/local/bin/procmail unixfrom = True This getmailrc file is the same one that I use on two other computers with not problems. Rem From the.real.david.allen at gmail.com Tue Jul 8 16:03:47 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Tue Jul 8 16:03:57 2008 Subject: Jails and IP Aliasing In-Reply-To: <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> Message-ID: <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> On Tue, Jul 8, 2008 at 2:24 AM, Mel wrote: > On Monday 07 July 2008 18:51:33 David Allen wrote: > >> Granted, everything is really happening over the loopback address, but a >> connection originating from the jailhost to a jail should appear to be >> using the jailhost's IP address, or so I'd like to think. If it doesn't, >> then the scenario is awkward at best when trying to understand or debug >> issues. > > To debug this, you need to 'add jail support to sockstat'. This sounds hard, > and it is, but you can fake it, since sockstat gives you the PID. With a > little creative scripting, you can call `ps -o state' for each PID in the > list, look for the capital 'J' and if it is, add the 'J' to the line. Been there and done that. When I first stated working with jails, I discovered that most standard utilities didn't offer any support for jails, and chaining commands got to be really old fast. I ended up writing a few Perl scripts and routinely use those instead. IIRC, there's a jail-related port that offers a collection of something similar. Still, we're talking about a very limited subset of tools and functionality. What about tcpdump? Or firewall rules? Or any other network tool? There was a post recently (Matthew Seaman's name comes to mind) that suggested binding jails to addresses in the loopback range and then using firewall rules to redirect the traffic accordingly. There's a possibility that may help in this case, but that layer of added complexity isn't much of an improvement over seeing connections with seemingly identical endpoints and interpreting the results in my head. >> The thought occurred to me, however, that I could add a new network card >> and reserve that for the IP aliases needed by the jails. But I'm not sure >> whether that will work in telling me who's who, or whether I'll discover >> another gotcha. ;-) > > It will add more gotcha's, unless you put each network card in a different > network. With the IP's given here, you tell the host that 10.0.1.0/24 is on > fxp0, so it will never go to fxp1 for 10.0.1.4. You're probably right. I'm wondering, though, if by moving the jails into their own network space and adding routing into the mix, the end result may be more satisfactory? Setting aside the fun of mental gymnastics, the conclusion seems to be don't run anything on the jail host that would initiate a connection to a service running inside a jail. Unless, of course, you don't mind being confused (at least from a networking perspective) by WTF you're seeing. ;-) Either way, thanks very much for the input. From frank at shute.org.uk Tue Jul 8 16:26:19 2008 From: frank at shute.org.uk (Frank Shute) Date: Tue Jul 8 16:26:25 2008 Subject: Procmail error In-Reply-To: <20080708155233.GB2058@pcbsd> References: <20080708062219.GB90752@pcbsd> <20080708154618.GA20206@melon.esperance-linux.co.uk> <20080708155233.GB2058@pcbsd> Message-ID: <20080708162608.GA20754@melon.esperance-linux.co.uk> On Tue, Jul 08, 2008 at 08:52:33AM -0700, Rem P Roberti wrote: > > On 2008.07.08 16:46:18 +0000, Frank Shute wrote: > > On Mon, Jul 07, 2008 at 11:22:19PM -0700, Rem P Roberti wrote: > > > > > > > > > > > > Probably the wrong forum for this, but since it's on a freebsd system: > > > > > > > > > > I have mutt installed on two other freebsd computers. I fetch pop > > > > > mail via getmail, and procmail puts things where they belong. I just > > > > > installed freebsd 7.0 on another computer with what I thought were the > > > > > exact same settings for all of the mail programs involved. When I try > > > > > to retrieve mail I get this error message: > > > > > > > > > > Delivery error (command procmail 3695 error (127, exec of command > > > > > procmail failed (refuse to invoke external commands as root or GID 0 > > > > > by default))) > > > > > > > > > > I'm a relative newbie here and would appreciate it if someone could > > > > > give me a heads up on this. > > > > > > > > > > Rem > > > > > > > > Are you running getmail as root? > > > > > > Boy, I hope not. And I have this entry in my aliases file: > > > > > > root: rem > > > > > > so I'm not collecting mail as root. > > > > > > > What does your getmailrc look like? > > > > I've got this section in there. You should have similar: > > > > [destination] > > type = MDA_external > > path = /usr/local/bin/procmail > > user = frank > > Here is the entry I use: > > [destination] > type = MDA_external > path = /usr/local/bin/procmail > unixfrom = True > > This getmailrc file is the same one that I use on two other computers > with not problems. > The problem is that you're invoking getmail as root on this machine and not the others. http://pyropus.ca/software/getmail/troubleshooting.html#error-messages -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From bmettee at pchotshots.com Tue Jul 8 16:30:05 2008 From: bmettee at pchotshots.com (Brad Mettee) Date: Tue Jul 8 16:30:12 2008 Subject: rblsmtpd/qmail-smtpd hung processes Message-ID: <4.3.2.7.2.20080708103607.03706b60@mail.agoron.net> I've run into a bit of a problem and if I don't solve it soon, I'm going to be without e-mail (and so will a lot of other people). This is a bit long, I'm trying to include anything that may help. The problem is that qmail-smtpd and/or rblsmtpd get stuck and don't close. After a while the server just quits accepting smtp connections, or will connect/disconnect very quickly (connection closed by foreign host). Using kill on these processes just opens another instance of them (they're managed by /var/service). Since I'm not seeing any log activity that shows what's going on, I'm having a hard time figuring it out. I know the processes are supposed to be timing out and closing, but don't seem to be doing that Has anyone seen this problem? I've tried searching for info on it, but can't find anything that looks similar. I currently have rblsmtpd disabled since it sits between the outside world and qmail-smtpd. The errors don't occur quickly, it seems to take multiple hours to occur so this is hard to debug because I can't create the problem on demand. Any ideas are welcome. (hopefully I'll be able to get mail from this address long enough to fix this - it's one of the ones that's been moved to this machine already) uname -a FreeBSD ns1.pchotshots.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Related ports in use: ucspi-tcp-0.88_2 qmail-1.03_7 qmailadmin-1.2.10,1 vpopmail-5.4.26_1 dovecote-1.0.14 A quick bit of history: Our email/dns provider is closing up shop in about a week (good friend of mine was a small ISP). I only had about 3 weeks notice on this and I've been configuring a pair of FreeBSD machines (I posted to the list a couple weeks ago, thanks everyone for good replies, ) to take over DNS and E-Mail for about a dozen sites. Basically I've been on a crash course of learning as I go. Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. From remegius at comcast.net Tue Jul 8 16:33:49 2008 From: remegius at comcast.net (Rem P Roberti) Date: Tue Jul 8 16:33:57 2008 Subject: Procmail error Message-ID: <20080708161746.GA2080@pcbsd> > > What does your getmailrc look like? > > > > I've got this section in there. You should have similar: > > > > [destination] > > type = MDA_external > > path = /usr/local/bin/procmail > > user = frank > > Here is the entry I use: > > [destination] > type = MDA_external > path = /usr/local/bin/procmail > unixfrom = True > > This getmailrc file is the same one that I use on two other computers > with not problems. > Problem solved. I added "allow_root_commands = True" to the [destination] entries in the getmailrc and that fixed it. Rem From m.seaman at infracaninophile.co.uk Tue Jul 8 16:35:32 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 8 16:35:51 2008 Subject: Jails and IP Aliasing In-Reply-To: <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> Message-ID: <4873973D.1080402@infracaninophile.co.uk> David Allen wrote: > There was a post recently (Matthew Seaman's name comes to mind) that > suggested binding jails to addresses in the loopback range and then > using firewall rules to redirect the traffic accordingly. There's a > possibility that may help in this case, but that layer of added > complexity isn't much of an improvement over seeing connections with > seemingly identical endpoints and interpreting the results in my head. Guilty as charged M'lud. However what I recommended was a more-than-slightly hacky way to achieve three things: * Something like a loopback address inside the jail. It may be 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded to use it for loopback style things. * The ability to map several IPs onto the jailed system by use of NAT and redirect within firewall rules * The ability to have a jail with /no/ external IP for when the paranoia becomes unbearable[*]. Of course, all this will be immediately obsoleted by Marco Zec's work on virtualizing the IP stack. http://imunes.tel.fer.hr/virtnet/ Cheers, Matthew [*] Combine this with a Hardware Load Balancer that does Direct Server Return and you can have a publicly accessible jailed server with /no external IP address/. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/8c1a3051/signature.pgp From mail at godfur.com Tue Jul 8 16:41:37 2008 From: mail at godfur.com (kalin m) Date: Tue Jul 8 16:41:45 2008 Subject: ports Message-ID: <4873927E.3050307@godfur.com> brand new install of freebsd 7. some httpd and named. what are these? udp6 0 0 *.54168 *.* udp4 0 0 *.54167 *.* thanks.... # netstat -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 big.ssh h-1-2-3-4.51366 ESTABLISHED tcp4 0 0 big.ssh h-74-1-12-15.wi.51362 ESTABLISHED tcp4 0 0 big.http *.* LISTEN tcp4 0 0 localhost.domain *.* LISTEN tcp4 0 0 big.domain *.* LISTEN tcp4 0 0 localhost.smtp *.* LISTEN tcp4 0 0 *.ssh *.* LISTEN tcp6 0 0 *.ssh *.* LISTEN udp6 0 0 *.54168 *.* udp4 0 0 *.54167 *.* udp4 0 0 localhost.domain *.* udp4 0 0 big.domain *.* udp4 0 0 *.syslog *.* udp6 0 0 *.syslog *.* From freebsd-questions-local at be-well.ilk.org Tue Jul 8 16:54:26 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Tue Jul 8 16:54:33 2008 Subject: ports In-Reply-To: <4873927E.3050307@godfur.com> (kalin m.'s message of "Tue\, 08 Jul 2008 12\:14\:54 -0400") References: <4873927E.3050307@godfur.com> Message-ID: <44ej64s4e7.fsf@be-well.ilk.org> kalin m writes: > brand new install of freebsd 7. some httpd and named. > what are these? Use sockstat(1) to find out? > udp6 0 0 *.54168 *.* > udp4 0 0 *.54167 *.* > > thanks.... > > > # netstat -a > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address (state) > tcp4 0 0 big.ssh h-1-2-3-4.51366 ESTABLISHED > tcp4 0 0 big.ssh h-74-1-12-15.wi.51362 > ESTABLISHED > tcp4 0 0 big.http *.* LISTEN > tcp4 0 0 localhost.domain *.* LISTEN > tcp4 0 0 big.domain *.* LISTEN > tcp4 0 0 localhost.smtp *.* LISTEN > tcp4 0 0 *.ssh *.* LISTEN > tcp6 0 0 *.ssh *.* LISTEN > udp6 0 0 *.54168 *.* > udp4 0 0 *.54167 *.* > udp4 0 0 localhost.domain *.* > udp4 0 0 big.domain *.* > udp4 0 0 *.syslog *.* > udp6 0 0 *.syslog *.* > _______________________________________________ > 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" > -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From vclinton at lanl.gov Tue Jul 8 16:59:04 2008 From: vclinton at lanl.gov (Vaughn Clinton) Date: Tue Jul 8 16:59:10 2008 Subject: Capturing ATA devices serial numbers In-Reply-To: <20080708002424.H28557@wojtek.tensor.gdynia.pl> References: <006401c8e06b$369de8a0$3ef8a580@lanl.gov> <20080708002424.H28557@wojtek.tensor.gdynia.pl> Message-ID: <00bf01c8e11b$e8491790$3ef8a580@lanl.gov> Okay - I've tried this against two devices in the system. The devices queried are report as ad0 and ad2. When using the following command against either device I get the following response: "usage: atacontrol channel [args]" Now, it must be noted that I am using a ccd device that's has both these devices configured as member of the ccd configuration. I'm pretty sure that this should not interfere with the query but, I thought I would let you know. Any further suggestions would be greatly appreciated. Cheers, -----Original Message----- From: Wojciech Puchar [mailto:wojtek@wojtek.tensor.gdynia.pl] Sent: Monday, July 07, 2008 4:25 PM To: Vaughn Clinton Cc: questions@freebsd.org Subject: Re: Capturing ATA devices serial numbers atacontrol cap device On Mon, 7 Jul 2008, Vaughn Clinton wrote: > All, > > > > I'm looking for a FreeBSD utility that will allow me to query a disk for its > serial number. Can you point me to such a tool that'll allow me to do so? > > > > Regards, > > > > > > ************************* > > Vaughn E. Clinton > > Systems Analyst > > Scientific Computing Resources > > HPC-3 > > Los Alamos National Laboratory > > > > 505-606-2103 - Voice > > 505-664-7819 - Pager > > ************************* > > > > _______________________________________________ > 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 danger at FreeBSD.org Tue Jul 8 17:02:08 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Tue Jul 8 17:02:39 2008 Subject: Jails and IP Aliasing In-Reply-To: <4873973D.1080402@infracaninophile.co.uk> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> <4873973D.1080402@infracaninophile.co.uk> Message-ID: <5587447de8c610cd6e2a0a3ee7685f8d@78.47.53.106> Hello, > * Something like a loopback address inside the jail. It may be > 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded > to use it for loopback style things. > > * The ability to map several IPs onto the jailed system by use of > NAT and redirect within firewall rules > > * The ability to have a jail with /no/ external IP for when the > paranoia becomes unbearable[*]. Most of this is actually implemented by bz@. You can find some patches at http://sources.zabbadoz.net/freebsd/jail.html -- Best regards, Daniel Gerzo From annkok2001 at yahoo.com Tue Jul 8 17:05:06 2008 From: annkok2001 at yahoo.com (ann kok) Date: Tue Jul 8 17:05:14 2008 Subject: ipf question Message-ID: <41756.92839.qm@web53302.mail.re2.yahoo.com> Hi all I am using ipf associated with ippool. When I need to change /etc/ipf/ippool.conf, say add a new member in a group, ippool -F and ippool -f /etc/ipf/ippool.conf doesn't seem to work. I also tried reloading the ipfilter rule by 'ipf -Fa -f /etc/ipf/ipf.conf', but ipf doesn't seem to re-read the ippool.conf The only way that has worked is to 'ipf -D' and then 'ipf -E', manually reload ippool and then reload the ipf.conf . But this is not ideal for me since restarting the ipf would flush the state table, thus disconnect existing connection. Is there any way to make change to ippool without dropping connectivity? Thank you From m.seaman at infracaninophile.co.uk Tue Jul 8 17:07:23 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 8 17:07:39 2008 Subject: ports In-Reply-To: <44ej64s4e7.fsf@be-well.ilk.org> References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> Message-ID: <48739EB6.4040909@infracaninophile.co.uk> Lowell Gilbert wrote: > kalin m writes: > >> brand new install of freebsd 7. some httpd and named. >> what are these? > > Use sockstat(1) to find out? > >> udp6 0 0 *.54168 *.* >> udp4 0 0 *.54167 *.* Almost certainly named -- it appears to listen on a high numbered UDP port, but all it is is the next /source/ port for an outgoing UDP packet. You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) by: query-source address 12.34.56.78 port 53; query-source-v6 address 1999:aaaa:bbbb:cccc::1 port 53; transfer-source 12.34.56.78 port 53; transfer-source-v6 1999:aaaa:bbbb:cccc::1 port 53; notify-source 12.34.56.78 port 53; notify-source-v6 1999:aaaa:bbbb:cccc::1 port 53; Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080708/1c95e9ff/signature.pgp From chris at smartt.com Tue Jul 8 17:09:41 2008 From: chris at smartt.com (Chris St Denis) Date: Tue Jul 8 17:09:48 2008 Subject: Jails and IP Aliasing In-Reply-To: <5587447de8c610cd6e2a0a3ee7685f8d@78.47.53.106> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> <4873973D.1080402@infracaninophile.co.uk> <5587447de8c610cd6e2a0a3ee7685f8d@78.47.53.106> Message-ID: <48739F58.8070507@smartt.com> Daniel Gerzo wrote: > Hello, > > >> * Something like a loopback address inside the jail. It may be >> 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded >> to use it for loopback style things. >> >> * The ability to map several IPs onto the jailed system by use of >> NAT and redirect within firewall rules >> >> * The ability to have a jail with /no/ external IP for when the >> paranoia becomes unbearable[*]. >> > > Most of this is actually implemented by bz@. You can find some patches > at http://sources.zabbadoz.net/freebsd/jail.html > These patches (in various forms) have been around since version 4.x. Why has none of this functionality ever been committed to head? From yuri.pankov at gmail.com Tue Jul 8 17:15:46 2008 From: yuri.pankov at gmail.com (Yuri Pankov) Date: Tue Jul 8 17:15:54 2008 Subject: ports In-Reply-To: <4873927E.3050307@godfur.com> References: <4873927E.3050307@godfur.com> Message-ID: <20080708164633.GA11973@darklight.homeunix.org> On Tue, Jul 08, 2008 at 12:14:54PM -0400, kalin m wrote: > brand new install of freebsd 7. some httpd and named. > what are these? > udp6 0 0 *.54168 *.* udp4 > 0 0 *.54167 *.* > > thanks.... Try using sockstat(1) to find which app is listening there: sockstat -6p54168 sockstat -4p54167 HTH, Yuri From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 18:04:28 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 18:04:53 2008 Subject: ports In-Reply-To: <48739EB6.4040909@infracaninophile.co.uk> References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> Message-ID: <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: > You can configure named to always send packets using a > fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest port 53, that can be made with source port 53. Not talking syntax, but "business logically". -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 18:11:25 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 18:11:32 2008 Subject: difference between loading kernel module during boot and after boot manually? In-Reply-To: References: Message-ID: <200807082011.23341.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 16:48:26 Vincent Barus wrote: > does anyone have an idea what's the difference or what _could_ be the > difference on loading a kernel module during boot or manually? There's one major difference. File systems aren't mounted at loader stage, so any reference to modules/libraries that exist on a different partition, will fail. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From derek at computinginnovations.com Tue Jul 8 18:17:31 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Tue Jul 8 18:17:39 2008 Subject: quota and sendmail accepts <10k mail size In-Reply-To: <405531.92355.qm@web52204.mail.re2.yahoo.com> References: <405531.92355.qm@web52204.mail.re2.yahoo.com> Message-ID: <6.0.0.22.2.20080708131331.0265d7f0@mail.computinginnovations.com> At 08:14 PM 7/7/2008, lyd mc wrote: >Greetings, > >I setup my mail server on freebsd7.0R and it is working great! > >However, I have a problem on quota. It suppose to block any incoming >message to specific user which is under quota. But sendmail can still send >to the user under quota if the mail size is ~ less than 10k. Quota only >works when the mail size is greater than 13k. > >Is there any way to correct this problem? Please help. > > >By the way, i disable the grace period via quota.h. > > #define MAX_IQ_TIME (0) /* seconds in 1 week */ > #define MAX_DQ_TIME (0) /* seconds in 1 week */ > > >And my mail users authenticate via ldap. > >Thank you and more power. I don't fully understand what you are trying to limit, most sendmail size limits are set either globally, or by protocol. The General setting is set in you .mc file with: confMAX_MESSAGE_SIZE MaxMessageSize [infinite] The maximum size of messages that will be accepted (in bytes). Otherwise read through the page on the options here and you can refine the size limit by the protcol/mta: http://www.sendmail.org/documentation/configurationReadme -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From mail at godfur.com Tue Jul 8 18:19:26 2008 From: mail at godfur.com (kalin m) Date: Tue Jul 8 18:19:34 2008 Subject: ports In-Reply-To: <48739EB6.4040909@infracaninophile.co.uk> References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> Message-ID: <4873AFAB.9050804@godfur.com> right.... named... thanks.... Matthew Seaman wrote: > Lowell Gilbert wrote: >> kalin m writes: >> >>> brand new install of freebsd 7. some httpd and named. >>> what are these? >> >> Use sockstat(1) to find out? >> >>> udp6 0 0 *.54168 *.* >>> udp4 0 0 *.54167 *.* > > Almost certainly named -- it appears to listen on a high numbered > UDP port, but all it is is the next /source/ port for an outgoing > UDP packet. You can configure named to always send packets using a > fixed port number (which can be helpful for firewalling) by: > > query-source address 12.34.56.78 port 53; > query-source-v6 address 1999:aaaa:bbbb:cccc::1 port 53; > transfer-source 12.34.56.78 port 53; > transfer-source-v6 1999:aaaa:bbbb:cccc::1 port 53; > notify-source 12.34.56.78 port 53; > notify-source-v6 1999:aaaa:bbbb:cccc::1 port 53; > > Cheers, > > Matthew > From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 18:26:36 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 18:26:42 2008 Subject: wpa, static ip only on specific networks In-Reply-To: <20080707213210.5c51fc57@verizon.net> References: <20080707213210.5c51fc57@verizon.net> Message-ID: <200807082026.33609.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 03:32:10 David Gurvich wrote: > How does one configure a wireless connection using wpa and dhcp on some > networks and wpa with a static ip on others? Tough. I'd probably configure the interface as "WPA inet 127.0.0.2 netmask 255.0.0.0" and then put a script in /usr/local/etc/rc.d that would read out the BSSID and make it's descision accordingly. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Jul 8 19:50:29 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Jul 8 19:50:36 2008 Subject: Jails and IP Aliasing In-Reply-To: <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807082150.26159.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 11:24:33 Mel wrote: > On Monday 07 July 2008 18:51:33 David Allen wrote: > > Granted, everything is really happening over the loopback address, but a > > connection originating from the jailhost to a jail should appear to be > > using the jailhost's IP address, or so I'd like to think. If it doesn't, > > then the scenario is awkward at best when trying to understand or debug > > issues. > > To debug this, you need to 'add jail support to sockstat'. This sounds > hard, and it is It's actually not that hard, though it stretches the output width. Diff inlined below sig, for RELENG_7. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. Index: sockstat.c =================================================================== RCS file: /home/ncvs/src/usr.bin/sockstat/sockstat.c,v retrieving revision 1.17 diff -u -r1.17 sockstat.c --- sockstat.c 16 Jun 2007 20:24:55 -0000 1.17 +++ sockstat.c 8 Jul 2008 19:40:11 -0000 @@ -94,6 +94,11 @@ struct sock *next; }; +struct procinfo { + const char *procname; + int jid; +}; + #define HASHSIZE 1009 static struct sock *sockhash[HASHSIZE]; @@ -513,13 +518,16 @@ return xprintf("%s:%d", addrstr, port); } -static const char * -getprocname(pid_t pid) +static int +getprocinfo(pid_t pid, struct procinfo *pi_ptr) { static struct kinfo_proc proc; size_t len; int mib[4]; + if( pi_ptr == NULL ) + return -1; + mib[0] = CTL_KERN; mib[1] = KERN_PROC; mib[2] = KERN_PROC_PID; @@ -529,9 +537,12 @@ /* Do not warn if the process exits before we get its name. */ if (errno != ESRCH) warn("sysctl()"); - return ("??"); + return -1; } - return (proc.ki_comm); + pi_ptr->procname = proc.ki_comm; + pi_ptr->jid = proc.ki_jid; + + return (0); } static int @@ -564,11 +575,12 @@ struct passwd *pwd; struct xfile *xf; struct sock *s; + struct procinfo pi; void *p; int hash, n, pos; - printf("%-8s %-10s %-5s %-2s %-6s %-21s %-21s\n", - "USER", "COMMAND", "PID", "FD", "PROTO", + printf("%-8s %-10s %-5s %-5s %-2s %-6s %-21s %-21s\n", + "USER", "COMMAND", "PID", "JID", "FD", "PROTO", "LOCAL ADDRESS", "FOREIGN ADDRESS"); setpassent(1); for (xf = xfiles, n = 0; n < nxfiles; ++n, ++xf) { @@ -583,33 +595,41 @@ if (!check_ports(s)) continue; pos = 0; + if( -1 == getprocinfo(xf->xf_pid, &pi) ) + { + pi.procname = "??"; + pi.jid = -1; + } if ((pwd = getpwuid(xf->xf_uid)) == NULL) pos += xprintf("%lu", (u_long)xf->xf_uid); else pos += xprintf("%s", pwd->pw_name); while (pos < 9) pos += xprintf(" "); - pos += xprintf("%.10s", getprocname(xf->xf_pid)); + pos += xprintf("%.10s", pi.procname); while (pos < 20) pos += xprintf(" "); pos += xprintf("%lu", (u_long)xf->xf_pid); while (pos < 26) pos += xprintf(" "); + pos += xprintf("%u", pi.jid); + while (pos < 32) + pos += xprintf(" "); pos += xprintf("%d", xf->xf_fd); - while (pos < 29) + while (pos < 35) pos += xprintf(" "); pos += xprintf("%s", s->protoname); if (s->vflag & INP_IPV4) pos += xprintf("4"); if (s->vflag & INP_IPV6) pos += xprintf("6"); - while (pos < 36) + while (pos < 42) pos += xprintf(" "); switch (s->family) { case AF_INET: case AF_INET6: pos += printaddr(s->family, &s->laddr); - while (pos < 58) + while (pos < 64) pos += xprintf(" "); pos += printaddr(s->family, &s->faddr); break; From the.real.david.allen at gmail.com Tue Jul 8 19:54:34 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Tue Jul 8 19:54:40 2008 Subject: Jails and IP Aliasing In-Reply-To: <4873973D.1080402@infracaninophile.co.uk> References: <2daa8b4e0807070951u607ff031v98b5b96103fdab4@mail.gmail.com> <200807081124.33377.fbsd.questions@rachie.is-a-geek.net> <2daa8b4e0807080903o609d6b7ag831845b7939c20c8@mail.gmail.com> <4873973D.1080402@infracaninophile.co.uk> Message-ID: <2daa8b4e0807081254x44d954c4s7c7d4fc09ffb881@mail.gmail.com> On Tue, Jul 8, 2008 at 9:35 AM, Matthew Seaman wrote: > David Allen wrote: > >> There was a post recently (Matthew Seaman's name comes to mind) that >> suggested binding jails to addresses in the loopback range and then >> using firewall rules to redirect the traffic accordingly. There's a >> possibility that may help in this case, but that layer of added >> complexity isn't much of an improvement over seeing connections with >> seemingly identical endpoints and interpreting the results in my head. > > Guilty as charged M'lud. Stand up, fool, lest I be forced to lower my knee and acknowledge your presence in a manner befitting a man as yourself. > However what I recommended was a more-than-slightly hacky way to achieve > three things: > > * Something like a loopback address inside the jail. It may be > 127.0.0.2 instead of 127.0.0.1 but most software can be persuaded > to use it for loopback style things. > > * The ability to map several IPs onto the jailed system by use of > NAT and redirect within firewall rules > > * The ability to have a jail with /no/ external IP for when the > paranoia becomes unbearable[*]. It could be said that those three expand into more numerous achievements. I'm still debating the "more-than-slightly hacky" aspects of such an arrangement, but undeniably it's interesting enough. > Of course, all this will be immediately obsoleted by Marco Zec's work > on virtualizing the IP stack. http://imunes.tel.fer.hr/virtnet/ Promising, even exciting, but I'm having trouble deciding whether I declare a victory for the triumph of optimism over experience, or offer the comment that the Real Soon Now schedule is a disappointment? Seriously, though, jails can be seen as the greatest thing since slide bread, but I have this nagging feeling I'm at work writing a small book that details their niggly shortcomings, a book whose completion, I hope, will be cut short by the addition of New and Improved features. From scuba at centroin.com.br Tue Jul 8 20:06:08 2008 From: scuba at centroin.com.br (scuba@centroin.com.br) Date: Tue Jul 8 20:06:16 2008 Subject: Load balance for POP3 In-Reply-To: <4868F65B.1050200@unsane.co.uk> References: <20080627101221.E1504@trex.centroin.com.br> <48651799.1020807@passagen.se> <20080630115120.R77719@trex.centroin.com.br> <4868F65B.1050200@unsane.co.uk> Message-ID: <20080708170349.D7776@trex.centroin.com.br> Hi Vince, On Mon, 30 Jun 2008, Vince Hoffman wrote: |> |> I need to switch the users connections between two POP3 servers based on |> |> login information. |> |> Since the login is part of the pop3 handshake, I'm stuck on how to |> |> "transfer" the connection and pass the info already sent. |> |would nginx (as described here |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) |be more what your after? Yes, it seems thar Nginx has what I need. Do you have any working setup? Thank you, - Marcelo Souza - Marcelo From the.real.david.allen at gmail.com Tue Jul 8 20:14:35 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Tue Jul 8 20:14:42 2008 Subject: ports In-Reply-To: <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> Message-ID: <2daa8b4e0807081314v2b02a0fbu4d88da0ca26c988e@mail.gmail.com> On Tue, Jul 8, 2008 at 11:04 AM, Mel wrote: > On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: > >> You can configure named to always send packets using a >> fixed port number (which can be helpful for firewalling) > > Purely outof interest, which (useful) firewall/nat rules cannot be made with > dest port 53, that can be made with source port 53. Not talking syntax, > but "business logically". Fewer rules for those with a predisposition to being anal? IIRC, pf offers a policy-based approch which I believe could make use of such distinctions, but I think the advantages of managing the source/destination ports for querries, transfers, etc. are found more in traffic accounting than in writing rulesets. From frank at shute.org.uk Tue Jul 8 20:20:59 2008 From: frank at shute.org.uk (Frank Shute) Date: Tue Jul 8 20:21:07 2008 Subject: Sound on amd64 In-Reply-To: References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> <20080706162400.740db254@serene.no-ip.org> Message-ID: <20080708202047.GA21361@melon.esperance-linux.co.uk> On Mon, Jul 07, 2008 at 01:41:34PM -0700, Kurt Buff wrote: > > First, my apologies - I sent my last missive to Conrad, and not to the > list. I'm replying to myself with an update. Details below. > > Kurt > > On Sun, Jul 6, 2008 at 2:51 PM, Kurt Buff wrote: > > On Sun, Jul 6, 2008 at 2:24 PM, Conrad J. Sabatier wrote: > >> On Sun, 06 Jul 2008 10:25:58 +0200 > >> Tore Lund wrote: > >> > >>> Kurt Buff wrote: > >>> > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier > >>> > wrote: > >>> >> On Sat, 5 Jul 2008 19:02:09 -0700 > >>> >> "Kurt Buff" wrote: > >>> >> ... > >>> >> Do you have both the generic sound support (sound) as well as the > >>> >> specific hardware driver enabled in your kernel config? > >>> > > >>> > Sigh. Always something new to learn. > >>> > >>> Just wondering, why do people modify the kernel when kernel loadable > >>> modules can handle the sound card? Is it necessary on some types of > >>> hardware? > >> > >> Well, probably the main reason most people do it is to strip away any > >> unneeded functionality. The GENERIC kernel contains a whole slew of > >> drivers and options that most people don't need, but are intended to > >> support a wide range of hardware configurations "out of the box". You > >> can greatly reduce the kernel's size by only including the features you > >> really need. > > > > I tried a new kernel, but that didn't work, for whatever reason, but > > editing loader.conf did, sort of. I tried adding > > > > sound_load="YES" > > snd_hda_load="YES" > > hint.pcm.0.config="gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7" > > > > but while the cd player now works, I'm not getting output from the > > built-in speakers - it just sounds like it's coming from a long way > > away - I can barely make it out. I suppose that means it's coming from > > the headphone setup, but I'm not sure of that. > > > > I've been googling, but haven't figured this out yet. > > > > Kurt > > More careful reading shows that the hint line goes in > /boot/device.hints, but placing it there does not improve the > situation, though the sound does seem to be emitting from the > speakers. It's just that it's very soft, and I can't get it any > louder, though using the slider control in gnome will silence it. > > This is a recent Thinkpad T61, and grepping dmesg reveals that the > sound system is detected as an Intel 82801H, and the codec used seems > to be the Analog Devices AD1984. > > I'm running 7-STABLE, updated on Saturday. > > Thoughts on how to improve this would be much appreciated. > Kurt Have you had a play with mixer(8)? E.g: $ mixer vol Mixer vol is currently set to 75:75 $ mixer vol 70:70 Setting the mixer vol from 75:75 to 70:70. Obviously, you'd want to raise the volume rather than reduce it like I just did. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From kris at FreeBSD.org Tue Jul 8 20:36:33 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 8 20:36:39 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080706085537.J3537@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl> <200807060222.40004.lists@jnielsen.net> <20080706085537.J3537@wojtek.tensor.gdynia.pl> Message-ID: <4873CFD4.3060004@FreeBSD.org> Wojciech Puchar wrote: >> >> ZFS on FreeBSD is GEOM-ified. While I believe what Wojciech said about >> needing a full disk is correct under Solaris, it's not the case in > > i never said it requires full disk. but it will work very slow sharing a > disk with non-ZFS things. Well, of course if you are loading your disk with too many seeks it will be slow. This has nothing to do with ZFS. >>> to say more: zfs set copies could be usable to selectively mirror given >>> data while not mirroring other (using unprotected storage for ZFS). >>> but it's broken. it writes N copies under write, but don't remake >>> copies in case of failure! > > which make it almost unusable. in case of any failure you have to copy > and delete every file to make it actually repaired. Eh? It happens automatically. Kris From kris at FreeBSD.org Tue Jul 8 20:38:08 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 8 20:38:15 2008 Subject: FreeBSD + ZFS on a production server? In-Reply-To: <20080706175206.B5376@wojtek.tensor.gdynia.pl> References: <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl> <200807060222.40004.lists@jnielsen.net> <20080706175206.B5376@wojtek.tensor.gdynia.pl> Message-ID: <4873D032.7040708@FreeBSD.org> Wojciech Puchar wrote: > ZFS can be installed on partitions and share disks with other things, > but the performance will be bad. There is nothing ZFS-specific about this statement. > ZFS - contrary to every other filesystem that use FreeBSD disk I/O > scheduler - does it's own I/O scheduling, so it assumes it's the only > user of physical drive. This is false. ZFS uses GEOM along with everything else in FreeBSD, and GEOM is the thing that eventually talks to the disk driver to perform I/O. Kris From kurt.buff at gmail.com Tue Jul 8 20:49:44 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 8 20:49:51 2008 Subject: Fwd: Sound on amd64 In-Reply-To: References: <20080705224813.4349f701@serene.no-ip.org> <48708196.5040802@next.online.no> <20080706162400.740db254@serene.no-ip.org> <20080708202047.GA21361@melon.esperance-linux.co.uk> Message-ID: On Tue, Jul 8, 2008 at 1:20 PM, Frank Shute wrote: > On Mon, Jul 07, 2008 at 01:41:34PM -0700, Kurt Buff wrote: >> >> First, my apologies - I sent my last missive to Conrad, and not to the >> list. I'm replying to myself with an update. Details below. >> >> Kurt >> >> On Sun, Jul 6, 2008 at 2:51 PM, Kurt Buff wrote: >> > On Sun, Jul 6, 2008 at 2:24 PM, Conrad J. Sabatier wrote: >> >> On Sun, 06 Jul 2008 10:25:58 +0200 >> >> Tore Lund wrote: >> >> >> >>> Kurt Buff wrote: >> >>> > On Sat, Jul 5, 2008 at 8:48 PM, Conrad J. Sabatier >> >>> > wrote: >> >>> >> On Sat, 5 Jul 2008 19:02:09 -0700 >> >>> >> "Kurt Buff" wrote: >> >>> >> ... >> >>> >> Do you have both the generic sound support (sound) as well as the >> >>> >> specific hardware driver enabled in your kernel config? >> >>> > >> >>> > Sigh. Always something new to learn. >> >>> >> >>> Just wondering, why do people modify the kernel when kernel loadable >> >>> modules can handle the sound card? Is it necessary on some types of >> >>> hardware? >> >> >> >> Well, probably the main reason most people do it is to strip away any >> >> unneeded functionality. The GENERIC kernel contains a whole slew of >> >> drivers and options that most people don't need, but are intended to >> >> support a wide range of hardware configurations "out of the box". You >> >> can greatly reduce the kernel's size by only including the features you >> >> really need. >> > >> > I tried a new kernel, but that didn't work, for whatever reason, but >> > editing loader.conf did, sort of. I tried adding >> > >> > sound_load="YES" >> > snd_hda_load="YES" >> > hint.pcm.0.config="gpio0 gpio1 gpio2 gpio3 gpio4 gpio5 gpio6 gpio7" >> > >> > but while the cd player now works, I'm not getting output from the >> > built-in speakers - it just sounds like it's coming from a long way >> > away - I can barely make it out. I suppose that means it's coming from >> > the headphone setup, but I'm not sure of that. >> > >> > I've been googling, but haven't figured this out yet. >> > >> > Kurt >> >> More careful reading shows that the hint line goes in >> /boot/device.hints, but placing it there does not improve the >> situation, though the sound does seem to be emitting from the >> speakers. It's just that it's very soft, and I can't get it any >> louder, though using the slider control in gnome will silence it. >> >> This is a recent Thinkpad T61, and grepping dmesg reveals that the >> sound system is detected as an Intel 82801H, and the codec used seems >> to be the Analog Devices AD1984. >> >> I'm running 7-STABLE, updated on Saturday. >> >> Thoughts on how to improve this would be much appreciated. >> Kurt > > Have you had a play with mixer(8)? > > E.g: > > $ mixer vol > Mixer vol is currently set to 75:75 > $ mixer vol 70:70 > Setting the mixer vol from 75:75 to 70:70. > > Obviously, you'd want to raise the volume rather than reduce it like I > just did. > > Regards, > > -- > > Frank Well, whaddya know? :) vol was set to 75:75, pcm to 75:75 and speaker to 81:81. Cranked it up to 100 across the board, and I'm now rockin'! ZZTop's greatest hits are now playing just fine... Thanks! Now, on to the touchpad/trackstick - but I'll research it first before asking questions... Kurt From kris at FreeBSD.org Tue Jul 8 20:55:34 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue Jul 8 20:55:40 2008 Subject: "New" user with a possible ZFS problem In-Reply-To: References: Message-ID: <4873D449.2040503@FreeBSD.org> Kevin Monceaux wrote: > > On Wed, 2 Jul 2008, Kevin Monceaux wrote: > >> Saturday I finally found one of those "round tuits" and switched my >> home PC from Debian to FreeBSD. > > I probably should have mentioned that the box in question is a slightly > older hyperthreaded Intel Pentium 4 box, an HP m260n to be exact, with > 3GB of RAM. You may be running out of memory. Increase kmem_size until it goes away. I use 1500M on my systems, which are stable. Yes, ZFS is a memory hog. Kris From cswiger at mac.com Tue Jul 8 21:07:59 2008 From: cswiger at mac.com (Chuck Swiger) Date: Tue Jul 8 21:08:05 2008 Subject: ports In-Reply-To: <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> Message-ID: On Jul 8, 2008, at 11:04 AM, Mel wrote: > On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: >> You can configure named to always send packets using a >> fixed port number (which can be helpful for firewalling) > > Purely outof interest, which (useful) firewall/nat rules cannot be > made with > dest port 53, that can be made with source port 53. Not talking > syntax, > but "business logically". Please note that using the same port for answering queries makes it vastly easier for somebody to spoof your DNS traffic. Unless you are one of the handful using DNSSEC, that is. -- -Chuck From bmettee at pchotshots.com Tue Jul 8 22:00:35 2008 From: bmettee at pchotshots.com (Brad Mettee) Date: Tue Jul 8 22:00:43 2008 Subject: rblsmtpd/qmail-smtpd hung processes Message-ID: <4.3.2.7.2.20080708172213.02d3d660@mail.agoron.net> >I've run into a bit of a problem and if I don't solve it soon, I'm going >to be without e-mail (and so will a lot of other people). This is a bit >long, I'm trying to include anything that may help. > >The problem is that qmail-smtpd and/or rblsmtpd get stuck and don't close. >After a while the server just quits accepting smtp connections, or will >connect/disconnect very quickly (connection closed by foreign host). Using >kill on these processes just opens another instance of them (they're >managed by /var/service). Since I'm not seeing any log activity that shows >what's going on, I'm having a hard time figuring it out. I know the >processes are supposed to be timing out and closing, but don't seem to be >doing that > >Has anyone seen this problem? I've tried searching for info on it, but >can't find anything that looks similar. I currently have rblsmtpd disabled >since it sits between the outside world and qmail-smtpd. The errors don't >occur quickly, it seems to take multiple hours to occur so this is hard to >debug because I can't create the problem on demand. Any ideas are welcome. >(hopefully I'll be able to get mail from this address long enough to fix >this - it's one of the ones that's been moved to this machine already) > >uname -a >FreeBSD ns1.pchotshots.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 >10:35:36 UTC >2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > >Related ports in use: >ucspi-tcp-0.88_2 >qmail-1.03_7 >qmailadmin-1.2.10,1 >vpopmail-5.4.26_1 >dovecote-1.0.14 > >A quick bit of history: >Our email/dns provider is closing up shop in about a week (good friend of >mine was a small ISP). I only had about 3 weeks notice on this and I've >been configuring a pair of FreeBSD machines (I posted to the list a couple >weeks ago, thanks everyone for good replies, ) to take over DNS and E-Mail >for about a dozen sites. Basically I've been on a crash course of learning >as I go. I hate responding to my own message, but I think I've finally found the solution. I'm using Matt Simerson's Mail Toaster package. The file "toaster.conf" file needs to be 644 so that when rotating logs, the programs can re-read the config. Apparently all of the hanging files were dying because they couldn't read the config and crashed. Once crashed the supervisor decided it needed to start a new copy, which would crash as soon as something connected to it, and so on. This also seems to have fixed a problem where some e-mails would get stuck in the queue and never leave. They've all been delivered/deleted like they should now. I got lucky in finding this. I happened to spot the rotated log file staying empty within a few minutes of seeing the hung processes starting to stack up. It gave me a good starting point to googling for a solution. From Kevin at RawFedDogs.net Tue Jul 8 23:27:36 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Tue Jul 8 23:27:43 2008 Subject: "New" user with a possible ZFS problem In-Reply-To: <4873D449.2040503@FreeBSD.org> References: <4873D449.2040503@FreeBSD.org> Message-ID: Kris, On Tue, 8 Jul 2008, Kris Kennaway wrote: > You may be running out of memory. Increase kmem_size until it goes > away. I use 1500M on my systems, which are stable. Yes, ZFS is a > memory hog. Boy, ZFS sure does sound like it's earned the title of memory hog. Oddly I'd been running for about a week without problems, and shuffled some large files around during that week, and right before I got your e-mail I had another hang. I tried increasing the kmem_size setting and was rewarded with a panic on reboot. I already had it set at 512M. A little Googling tells me I'm going to have to compile a custom kernel to increase it beyond that. Oh well, it's about time I learned how to do that anyway. I've compiled many a custom Linux kernel. I started using Linux in the 1.xx kernel days before there were loadable kernel modules so almost everything involved a kernel recompile. I've read over the FreeBSD kernel compile docs quite a while back but will need to go over them again. Anyway, thanks for the tip. I'll give it a try after a little research and a little, or a lot of, compiling. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From kurt.buff at gmail.com Tue Jul 8 23:58:16 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Tue Jul 8 23:58:23 2008 Subject: Firefox/epiphany/galeon all crash Message-ID: As soon as I log into my gmail account, and several other sites. Running 7-STABLE, amd64 - FF is 2.0.0.14, gecko is 20080628. I'm writing this on my really old Windows laptop Below are the last few lines from a representative set of output from session launched from the commandline. Is it flash, or something else, and is there anything I can do to fix this? Oddly enough, it's not crashing on the OWA (Outlook Web Access) from my company's Exchange server - but that's just a lot of javascript, AFAICT. CSS Error (https://mail.google.com/mail/?ui=2&view=bsp&ver=1qygpcgurkovy :0.16): Error in parsing value for property 'width'. Declaration dropped. ###!!! ASSERTION: bad width: 'metrics.width>=0', file nsLineLayout.cpp, line 1068 Break: at file nsLineLayout.cpp, line 1068 ++DOMWINDOW == 17 WARNING: Moving XPConnect wrappedNative to new scope, but can't fixup __proto__, file xpcwrappednative.cpp, line 1108 For application/x-shockwave-flash found plugin /usr/local/lib/browser_plugins/libnpflash.so LoadPlugin() /usr/local/lib/browser_plugins/libnpflash.so returned 29e4d60 NP_Initialize New nsPluginNativeWindowGtk2: NPPVpluginNeedsXEmbed=0 nsPluginNativeWindowGtk2: call SetWindow with xid=0x2001584 About to create new ws_info... About to create new xtbin of 100 X 100 from 0x192ccc0... About to show xtbin(0x7b2e90)... completed gtk_widget_show(0x7b2e90) SetWindow nsPluginNativeWindowGtk2: NPPVpluginNeedsXEmbed=0 nsPluginNativeWindowGtk2: call SetWindow with xid=0x2001584 SetWindow nsPluginNativeWindowGtk2: NPPVpluginNeedsXEmbed=0 nsPluginNativeWindowGtk2: call SetWindow with xid=0x2001584 SetWindow NewStream WriteReady Write decoding... The program 'gecko' received an X Window System error. This probably reflects a bug in the program. The error was 'BadImplementation (server does not implement operation)'. (Details: serial 36 error_code 17 request_code 146 minor_code 5) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) nsStringStats => mAllocCount: 47580 => mReallocCount: 7348 => mFreeCount: 40084 -- LEAKED 7496 !!! => mShareCount: 29791 => mAdoptCount: 4257 => mAdoptFreeCount: 4072 -- LEAKED 185 !!! From freebsd at edvax.de Wed Jul 9 02:32:21 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Jul 9 02:32:28 2008 Subject: Data loss after power out - fsck: bad inode number to nextinode Message-ID: <20080709041051.bad001ab.freebsd@edvax.de> Hi, since last week I'm in big trouble: After an power outage my main system didn't boot up anymore, so I checked its hard disk (FreeBSD 5.4) in my new system (FreeBSD 7.0). I booted the system in SUM and ran fsck on the partitions. / on /dev/ad1s1a could be repaired, /var on 1d too, /usr on 1e lost many directory entries (X11R6, for exmaple), but all files and directory entry points got restored to lost+found. Okay, that's as I know it should be. But it doesn't matter, because everything there could be reinstalled. Problems occured when checking /home on /dev/ad1s1f. After lot of 1101472 DUP I=260035 UNEXPECTED SOFT UPDATE INCONSISTENCY and EXCESSIVE DUP BLKS I=260039 CONTINUE? yes and 7310315658325879925 BAD I=260051 UNEXPECTED SOFT UPDATE INCONSISTENCY fsck ended up this way: INCORRECT BLOCK COUNT I=290557 (3104 should be 736) CORRECT? yes fsck_4.2bsd: bad inode number 306176 to nextinode The result: The home directories of all other users where present, but mine (!) - /home/adec - was missing. I may explain this a bit more precise: When looking at the files using the Midnight Commander, the name of my home directory was displayed, preceeded by "?", and in red colour, with a strange date (the epoch?). |?adec | 0|Jan 1 1970| So I could not change into this directory and get my files out of there. In order not to damage the system more, I made a ddrescue dump of the partition: % ddrescue -d -r 3 -n /dev/ad1s1f home.ddrescue logfile The data could be read without problems. The resulting file seemed to be an 1:1 copy of the partition. % file home.ddrescue home.ddrescue: Unix Fast File system [v2] (little-endian) last mounted on /mnt, last written at Wed Jul 2 18:51:06 2008, clean flag 0, readonly flag 0, number of blocks 44322272, number of data blocks 42925108, number of cylinder groups 472, block size 16384, fragment size 2048, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization When checking it with % fsck -t ufs -yf /dev/md10 fsck gives the same error message as above. Then I mounted the image: % sudo mdconfig -a -t vnode -u 10 -f home.ddrescue % mount -t ufs -o ro /dev/md10 mnt And guess what? Same problem: Directory name shown, but directory not changable. But then, I noticed something interesting: % df -h Filesystem Size Used Avail Capacity Mounted on /dev/md10 82G 75G 716M 99% /export/home/adec/rescue/mnt See the size differences? Something seems to be missing. I hope it is the content of my home directory that's still on the disk. Some checking: % sudo du -sch mnt du: mnt/adec: Bad file descriptor du: mnt/archiv/cr/clips.w32/s01.wmv: Bad file descriptor du: mnt/archiv/cr/clips.w32/s02.wmv: Bad file descriptor 52G mnt 52G total This reveals that it seems to be possible that approx. 30 GB are not marked as free. % file mnt/adec mnt/adec: cannot open `mnt/adec' (Bad file descriptor) % cd mnt/adec mnt/adec: Not a directory. Before bothering anyone here at this list, I checked information on the net and found that only one (!!!) person except me seemd to have this problem. And he got no help. Do I? =^_^= Of course I took the time to read about the FFS architecture. If I did understand it correctly, fsck stops working, showing the informative error message "bad inode number 306176 to nextinode" because it cannot get the next inode from a concatenated list that represents the file and directory hierarchy, so there must be a "bad pointer". While the names of the next things represented by inodes reside within a data structure at level N, the corresponting data entries reside at level N + 1 where a pointer should lead to. This may be an explaination why the name "adec" is still in ad1s1f's root directory, but the data that says "I'm a directory, this is my content" is not referenced anymore. So fsck cannot continue. The missing inodes need to get reconnected. In most cases, that's what lost+found usually contains: unreferenced inodes that are not marked free: their names are gone (N), but their content is still there (N + 1), and the new file name is "#" plus their inode number. What should I do? Help is VERY welcome! If you have any ideas what to do, I'd be glad to save the money I would have to spend when sending the disk to a data recovery service - 1000 Euro and more are nothing I can afford. And when you're low on money, adequate tape backup systems are too expensive (allthoug such a device would be my first choice). By the way, this must be the revenge of a higher instance. I always talk about backups, but because everything works fine for years, I got lazy... I'm a long time happy FreeBSD user and I newer saw this kind of problem. My whole existance is connected to my home directory. Yes, it is that hard for me... please help! Thanks! From amistry at am-productions.biz Wed Jul 9 03:31:17 2008 From: amistry at am-productions.biz (Anish Mistry) Date: Wed Jul 9 03:31:23 2008 Subject: Data loss after power out - fsck: bad inode number to nextinode In-Reply-To: <20080709041051.bad001ab.freebsd@edvax.de> References: <20080709041051.bad001ab.freebsd@edvax.de> Message-ID: <200807082257.19737.amistry@am-productions.biz> On Tuesday 08 July 2008, Polytropon wrote: > Hi, > > since last week I'm in big trouble: After an power outage my main > system didn't boot up anymore, so I checked its hard disk (FreeBSD > 5.4) in my new system (FreeBSD 7.0). > > I booted the system in SUM and ran fsck on the partitions. / on > /dev/ad1s1a could be repaired, /var on 1d too, /usr on 1e lost > many directory entries (X11R6, for exmaple), but all files and > directory entry points got restored to lost+found. Okay, that's > as I know it should be. But it doesn't matter, because everything > there could be reinstalled. > > Problems occured when checking /home on /dev/ad1s1f. After lot > of > > 1101472 DUP I=260035 > UNEXPECTED SOFT UPDATE INCONSISTENCY > > and > > EXCESSIVE DUP BLKS I=260039 > CONTINUE? yes > > and > > 7310315658325879925 BAD I=260051 > UNEXPECTED SOFT UPDATE INCONSISTENCY > > fsck ended up this way: > > INCORRECT BLOCK COUNT I=290557 (3104 should be 736) > CORRECT? yes > > fsck_4.2bsd: bad inode number 306176 to nextinode > > The result: The home directories of all other users where present, > but mine (!) - /home/adec - was missing. I may explain this a bit > more precise: When looking at the files using the Midnight > Commander, the name of my home directory was displayed, preceeded > by "?", and in red colour, with a strange date (the epoch?). > > |?adec | 0|Jan 1 1970| > > So I could not change into this directory and get my files out > of there. > > In order not to damage the system more, I made a ddrescue dump > of the partition: > > % ddrescue -d -r 3 -n /dev/ad1s1f home.ddrescue logfile > > The data could be read without problems. The resulting file seemed > to be an 1:1 copy of the partition. > > % file home.ddrescue > home.ddrescue: Unix Fast File system [v2] (little-endian) last > mounted on /mnt, last written at Wed Jul 2 18:51:06 2008, > clean flag 0, > readonly flag 0, > number of blocks 44322272, > number of data blocks 42925108, > number of cylinder groups 472, > block size 16384, > fragment size 2048, > average file size 16384, > average number of files in dir 64, > pending blocks to free 0, > pending inodes to free 0, > system-wide uuid 0, > minimum percentage of free blocks 8, > TIME optimization > > When checking it with > > % fsck -t ufs -yf /dev/md10 > > fsck gives the same error message as above. > > Then I mounted the image: > > % sudo mdconfig -a -t vnode -u 10 -f home.ddrescue > % mount -t ufs -o ro /dev/md10 mnt > > And guess what? Same problem: Directory name shown, but directory > not changable. > > But then, I noticed something interesting: > > % df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/md10 82G 75G 716M 99% > /export/home/adec/rescue/mnt > > See the size differences? Something seems to be missing. I hope it > is the content of my home directory that's still on the disk. Some > checking: > > % sudo du -sch mnt > du: mnt/adec: Bad file descriptor > du: mnt/archiv/cr/clips.w32/s01.wmv: Bad file descriptor > du: mnt/archiv/cr/clips.w32/s02.wmv: Bad file descriptor > 52G mnt > 52G total > > This reveals that it seems to be possible that approx. 30 GB are > not marked as free. > > % file mnt/adec > mnt/adec: cannot open `mnt/adec' (Bad file descriptor) > > % cd mnt/adec > mnt/adec: Not a directory. > > Before bothering anyone here at this list, I checked information on > the net and found that only one (!!!) person except me seemd to > have this problem. And he got no help. Do I? =^_^= > > Of course I took the time to read about the FFS architecture. If I > did understand it correctly, fsck stops working, showing the > informative error message "bad inode number 306176 to nextinode" > because it cannot get the next inode from a concatenated list that > represents the file and directory hierarchy, so there must be a > "bad pointer". While the names of the next things represented by > inodes reside within a data structure at level N, the corresponting > data entries reside at level N + 1 where a pointer should lead to. > This may be an explaination why the name "adec" is still in > ad1s1f's root directory, but the data that says "I'm a directory, > this is my content" is not referenced anymore. So fsck cannot > continue. The missing inodes need to get reconnected. In most > cases, that's what lost+found usually contains: unreferenced inodes > that are not marked free: their names are gone (N), but their > content is still there (N + 1), and the new file name is "#" plus > their inode number. > > What should I do? > > Help is VERY welcome! If you have any ideas what to do, I'd be glad > to save the money I would have to spend when sending the disk to a > data recovery service - 1000 Euro and more are nothing I can > afford. And when you're low on money, adequate tape backup systems > are too expensive (allthoug such a device would be my first > choice). > > By the way, this must be the revenge of a higher instance. I always > talk about backups, but because everything works fine for years, I > got lazy... I'm a long time happy FreeBSD user and I newer saw this > kind of problem. My whole existance is connected to my home > directory. Yes, it is that hard for me... please help! sysutils/ffs2recov ? -- Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080709/95672b0f/attachment.pgp From gobbledegeek at gmail.com Wed Jul 9 04:49:32 2008 From: gobbledegeek at gmail.com (Gobbledegeek) Date: Wed Jul 9 04:49:54 2008 Subject: AMD SB700 southbridge sata ahci supported? In-Reply-To: <463aea570807082148odad03a8t45f93ed4ecaf89bd@mail.gmail.com> References: <463aea570806272321v3285fde1r93136812c0ef6cd@mail.gmail.com> <463aea570807082148odad03a8t45f93ed4ecaf89bd@mail.gmail.com> Message-ID: <463aea570807082149h27018963t3623148bf204323f@mail.gmail.com> Thanks for responding. My problem is different.I think it is in boot stage 2 possibly a problem with the loader. Hence my problem does not resemble yours. I am able to run the install disk just fine nd complete installation. Its the installed Os that I cannot boot. Kind Regards > > On Sun, Jul 6, 2008 at 2:28 AM, Rhomel Chinsio wrote: >> Try disabling USB in the BIOS: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/122880 >> >> On Fri, Jun 27, 2008 at 11:21 PM, Gobbledegeek >> wrote: >>> >>> Hi >>> >>> I install freebsd 7 i386 twice, installed mbr, both times boot loader >>> failed to load at 1st stage with cpu register values displayed on >>> screen. >>> Mobo - gigabyte GA-MA78GM-S2H, AMD 780G chipset with ATI Radeon3200 >>> IGP, cpu amd BE-2350, 2GB transcend DR2800 ram, barracuda hdd with >>> SATA in AHCI mode in bios. >>> >>> I could not find this in the i386 or amd64 platform list. >>> >>> Anyone has any ideas about support for this? >>> >>> Please copy me as I am not subscribed. >>> >>> -- >>> Kind Regards >>> GobbleDeGeek >>> [For everything Gobbledegook!!] >>> _______________________________________________ >>> 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" >> >> > > > > -- > Kind Regards > GobbleDeGeek > [For everything Gobbledegook!!] > -- Kind Regards GobbleDeGeek [For everything Gobbledegook!!] From perryh at pluto.rain.com Wed Jul 9 05:13:47 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Wed Jul 9 05:13:54 2008 Subject: Data loss after power out - fsck: bad inode number to nextinode In-Reply-To: <20080709041051.bad001ab.freebsd@edvax.de> References: <20080709041051.bad001ab.freebsd@edvax.de> Message-ID: <48744812.rPIv7fZj6F/Uf5C8%perryh@pluto.rain.com> > What should I do? In theory, clri {special-file} 306176 should wipe the inode containing the bad pointer and allow fsck to continue, perhaps recovering the files pointed to by that directory into lost+found. Definitely try this on a copy first if at all possible. From m.seaman at infracaninophile.co.uk Wed Jul 9 06:29:38 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jul 9 06:29:45 2008 Subject: ports In-Reply-To: References: <4873927E.3050307@godfur.com> <44ej64s4e7.fsf@be-well.ilk.org> <48739EB6.4040909@infracaninophile.co.uk> <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> Message-ID: <48745AC9.5010200@infracaninophile.co.uk> Chuck Swiger wrote: > On Jul 8, 2008, at 11:04 AM, Mel wrote: >> On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: >>> You can configure named to always send packets using a >>> fixed port number (which can be helpful for firewalling) >> >> Purely outof interest, which (useful) firewall/nat rules cannot be >> made with >> dest port 53, that can be made with source port 53. Not talking syntax, >> but "business logically". > > Please note that using the same port for answering queries makes it > vastly easier for somebody to spoof your DNS traffic. Unless you are > one of the handful using DNSSEC, that is. > Yes. In the light of this, released last night: http://www.kb.cert.org/vuls/id/800113 fixing the response port is a bad idea. A really bad idea. Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080709/7ede7e9d/signature.pgp From ruel.freebsd at gmail.com Wed Jul 9 06:46:04 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Wed Jul 9 06:46:11 2008 Subject: Install Linux in FreeBSD Message-ID: Hi again list, Is it possible to run a VM machine in your freebsd server in which inside that VM you are running on it a Linux environment? coul it be? You would rather want to know why do I want that set up? Simply because I want to install a Quickbooks Enterprise solutions Database manager in Linux, further, Freebsd doesn't support the Quickbooks (also vice versa) it only runs or support in Linux..thats the reason guys.. Could some one give me some idea how will I do that? Thanks.. FreeBSD ROCKS...!!! From unga888 at yahoo.com Wed Jul 9 07:35:34 2008 From: unga888 at yahoo.com (Unga) Date: Wed Jul 9 07:35:40 2008 Subject: A sed question Message-ID: <743969.9333.qm@web57003.mail.re3.yahoo.com> Hi all I want to translate following GNU sed lines to FreeBSD sed: 1. sed -e '/\*address:/{n;s@.*@replaceText @}' 2. sed -e '/\*address:/{n;s@$@ replaceText@}' Appreciate if someone could help with it. Is there a good documentation about FreeBSD sed other than man page? Kind regards Unga From jonathan at hst.org.za Wed Jul 9 07:41:16 2008 From: jonathan at hst.org.za (Jonathan McKeown) Date: Wed Jul 9 07:41:24 2008 Subject: Install Linux in FreeBSD In-Reply-To: References: Message-ID: <200807090858.38386.jonathan@hst.org.za> On Wednesday 09 July 2008 08:46, Ruel Luchavez wrote: > Hi again list, > > Is it possible to run a VM machine in your freebsd server in which inside > that VM you are running on it a Linux environment? coul it be? > You would rather want to know why do I want that set up? Simply because I > want to install a Quickbooks Enterprise solutions Database > manager in Linux, further, Freebsd doesn't support the Quickbooks (also > vice versa) it only runs or support in Linux..thats the reason guys.. > Could some one give me some idea how will I do that? Did you read section 10 of the Handbook - Linux Binary Compatibility? Jonathan From pedro.sousaalves at uclouvain.be Wed Jul 9 08:25:55 2008 From: pedro.sousaalves at uclouvain.be (pedro alves) Date: Wed Jul 9 08:26:02 2008 Subject: Can't run WindowMaker. Fatal server error: In-Reply-To: <20080706122909.W84746@border.lukas.is-a-geek.org> References: <64d1ab581e3356d286e59b2b0e14b53b.squirrel@mmp.sipr-dc.ucl.ac.be> <20080706122909.W84746@border.lukas.is-a-geek.org> Message-ID: I have recompiled the kernel and no change what so ever. I have also upgraded windowmaker to windowmaker-0.92.0_4. Current Xorg is xorg-7.3_2 On 06-juil.-08, at 21:31, Luke Dean wrote: > > > On Sun, 6 Jul 2008, Pedro Alves wrote: > >> Hello >> >> I have a serious problem with windowmaker. >> Every time I configure .xinitrc to launch wmaker, the server aborts >> >> here what I get: >> >> Fatal server error: >> Caught signal 11. Server aborting >> >> xnit: connection to X server lost. >> wmaker warning: got signal1-exiting... >> >> >> >> >> So... What to do, as I don't find any information concerning this >> problem. >> >> I am running FreeBSD 7.0 >> One week old cvs ports upgrade. > > You may find clues in the Xorg log. > /var/log/Xorg.0.log > > When I have this problem, or just about any X-related problem, it > means I need to go rebuild my video driver. ------------------------------ Pedro Alves PhD. ICP Inst. Christian de Duve UCL 7459 Av. Hippocrate, 74 1200 Brussels Belgium work:+32(0)2 764 7434 fax: +32(0)2 762 9405 From jhary at unsane.co.uk Wed Jul 9 08:43:33 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Wed Jul 9 08:43:45 2008 Subject: Load balance for POP3 In-Reply-To: <20080708170349.D7776@trex.centroin.com.br> References: <20080627101221.E1504@trex.centroin.com.br> <48651799.1020807@passagen.se> <20080630115120.R77719@trex.centroin.com.br> <4868F65B.1050200@unsane.co.uk> <20080708170349.D7776@trex.centroin.com.br> Message-ID: <48747A17.5050505@unsane.co.uk> scuba@centroin.com.br wrote: > Hi Vince, > > On Mon, 30 Jun 2008, Vince Hoffman wrote: > > |> |> I need to switch the users connections between two POP3 servers based on > |> |> login information. > |> |> Since the login is part of the pop3 handshake, I'm stuck on how to > |> |> "transfer" the connection and pass the info already sent. > |> > |would nginx (as described here > |http://highscalability.com/nginx-high-performance-smpt-pop-imap-proxy) > |be more what your after? > > Yes, it seems thar Nginx has what I need. Do you have any working > setup? Thank you, > I'm afraid not, I looked into it a little but management ended up deciding we would be using zxtm load balancers (http://www.zeus.com/products/zxtm/) which were better suited for us overall. Vince > - Marcelo Souza > > > - Marcelo From ogarrett at zeus.com Wed Jul 9 10:39:56 2008 From: ogarrett at zeus.com (Owen Garrett) Date: Wed Jul 9 10:40:05 2008 Subject: Load balance for POP3 In-Reply-To: <48747A17.5050505@unsane.co.uk> References: <20080627101221.E1504@trex.centroin.com.br> <48651799.1020807@passagen.se> <20080630115120.R77719@trex.centroin.com.br> <4868F65B.1050200@unsane.co.uk> <20080708170349.D7776@trex.centroin.com.br> <48747A17.5050505@unsane.co.uk> Message-ID: <18358709.post@talk.nabble.com> > I'm afraid not, I looked into it a little but management ended up > deciding we would be using zxtm load balancers > (http://www.zeus.com/products/zxtm/) which were better suited for us > overall. Vince, With a little TrafficScript, you can do exactly this with ZXTM, so perhaps management made a good choice =). Here's a simple TrafficScript rule I've used to connect POP3 connections to two different groups of POP3 servers based on username: $req = request.getLine(); if( string.regexmatch( $req, "USER ([^\\s]*)") ) { $user = $1; if( $user == "owen" ) { pool.use( "local pop servers" ); } if( $user == "owen.garrett" ) { pool.use( "gmail pop servers" ); } # Otherwise, drop the connection connection.discard(); } The 'gmail pop servers' pool is configured to use SSL to connect to gmail's servers on port 995, so you can use this technique to bridge between plain pop3 (port 110) on the client and SSL-wrapped connections on the server too. Talk to Zeus' support team - they will be more than able and willing to help you configure ZXTM with a bit of TrafficScript to do what you need... Owen -- View this message in context: http://www.nabble.com/Load-balance-for-POP3-tp18155594p18358709.html Sent from the freebsd-questions mailing list archive at Nabble.com. From nicolas at nicoelro.net Wed Jul 9 10:44:09 2008 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Wed Jul 9 10:44:16 2008 Subject: problem with sendmail and su Message-ID: <20080709124404.30ed661d@nogrod.nicoelro.net> Hello. I use FreeBSD 7 with sendmail. I have a problem for sending email. More precisely, with the sender of the mail. When I'm logged to my machine in root, the mail is sent with "root@mymachine.com" with sender. OK, no problems. When I'm logged to my machine in nicolas, the mail is sent with "nicolas@mymachine.com" with sender. OK, no problems. However, when I'm logged in nicolas to my machine, and if I do a "su root" or "su - root", and I send a mail, the sender will be "nicolas@mymachine.com" and not "root@mymachine.com". It's a problem, because I done a "su" to be logged as root. I don't have this problem with a FreeBSD/Postfix. Thanks for your advices and helps. I don't understand this problem. Regards, -- - Nicolas. From lists at bertram-scharpf.de Wed Jul 9 10:52:40 2008 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Wed Jul 9 10:52:47 2008 Subject: A sed question In-Reply-To: <743969.9333.qm@web57003.mail.re3.yahoo.com> References: <743969.9333.qm@web57003.mail.re3.yahoo.com> Message-ID: <20080709105237.GA32361@marge.bs.l> Hii, Am Mittwoch, 09. Jul 2008, 00:35:32 -0700 schrieb Unga: > I want to translate following GNU sed lines to FreeBSD sed: > > 1. sed -e '/\*address:/{n;s@.*@replaceText @}' > 2. sed -e '/\*address:/{n;s@$@ replaceText@}' An obvious problem is that a semicolon is missing before the closing brace. sed -e '/\*address:/{n;s@.*@replaceText @;}' I'm almost sure your version won't work with GNU sed either. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From fbsd.questions at rachie.is-a-geek.net Wed Jul 9 10:57:43 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed Jul 9 11:04:54 2008 Subject: ports In-Reply-To: References: <4873927E.3050307@godfur.com> <200807082004.25873.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807091257.24627.fbsd.questions@rachie.is-a-geek.net> On Tuesday 08 July 2008 23:07:58 Chuck Swiger wrote: > On Jul 8, 2008, at 11:04 AM, Mel wrote: > > On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: > >> You can configure named to always send packets using a > >> fixed port number (which can be helpful for firewalling) > > > > Purely outof interest, which (useful) firewall/nat rules cannot be > > made with > > dest port 53, that can be made with source port 53. Not talking > > syntax, > > but "business logically". > > Please note that using the same port for answering queries makes it > vastly easier for somebody to spoof your DNS traffic. Unless you are > one of the handful using DNSSEC, that is. That's exactly why I asked. I don't see a reason to use a fixed source port, since you can always make rules (even for bandwidth shaping) based on destination port only. The only difference you'll able to account for is "resolver clients querying directly to the internet installed on the machine with your DNS server" vs the DNS server itself. IMO, that distinction is not worth the risk or even important in any accounting/bandwidth shaping scheme. But I may have overlooked a valid scenario. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From alydiomc at yahoo.com Wed Jul 9 04:39:31 2008 From: alydiomc at yahoo.com (lyd mc) Date: Wed Jul 9 11:25:31 2008 Subject: quota and sendmail accepts <10k mail size Message-ID: <632084.63626.qm@web52210.mail.re2.yahoo.com> Hi Derek, It is good to hear from you. You are right about sendmail has only global option to limit mail size. However, my company wants to have 20meg mbox space per user. If the User exceeds, he/she should not recieved any mail. So, I use system quota to prevent sendmail from writing to mbox of a user which is under quota.Sendmail should bounce the mail and reply to sender with this kind of error: ----- The following addresses had permanent fatal errors ----- (reason: 550 5.0.0 output error) Here is my configs: I enable quota to /var and /home filesystem /dev/ipsd0s1f?????????? /home?????????? ufs???? rw,userquota??? 2?????? 2 /dev/ipsd0s1d?????????? /var??????????? ufs???? rw,userquota??? 2?????? 2 # qouta -v user.underquota Disk quotas for user user.underquota (uid 1333): ???? Filesystem?? usage?? quota?? limit?? grace?? files?? quota?? limit?? grace ????????? /home???? 210?? 20480?? 20480????????????? 11?????? 0?????? 0 ?????????? /var?? 62960*?? 20480?? 20480??? none???? 1?????? 0?????? 0 As you can see here, user.underquota already exceeded the limit (soft and hard). If I try to send a mail to this user more than 13k mail size, sendmail cannot write to this mbox (since mbox of a user is located in /var/mail) and will reply with an error message. At first I thought it was working, however, when i try to send 10k, 7k, 5k or less mail size, sendmail can write to user.underquota mbox. User file permition: #ls -l -rw-rw----??? 1 user.underquota ?????? mail???????? 64413589 Jul? 8 09:54 user.underquota So, what do you think? Do i missed some config? or this is a bug? Thank you. Best regards, Alyd From juancr at dsa.es Wed Jul 9 11:30:14 2008 From: juancr at dsa.es (DSA - JCR) Date: Wed Jul 9 11:30:24 2008 Subject: (un)mounting usb disk as non root user Message-ID: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> Hi all FreeBSD 6.2 I have made a copy system with USB disk and GELI for crypto. Now, I would like that one non root user can login run a shell form unmount the disk and change it, and then mount the new usb disk. I have the shell script done, but only works if it runs under root. When I tried to run under the user, I get unmount /mnt/usb1 - Operation not permited My user is in the group operator, but what more can I do? I want to let them a script that in the login moment they can safely change the usb disks. Thanks in advance Juan Coru?a Desarrollo de Software Atlantico From raghu at mri.ernet.in Wed Jul 9 12:36:59 2008 From: raghu at mri.ernet.in (N. Raghavendra) Date: Wed Jul 9 12:37:14 2008 Subject: FreeBSD 7.0 and RAM limit In-Reply-To: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> (Robert Heron's message of "Sat, 5 Jul 2008 13:04:19 +0200") References: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> Message-ID: <86ej63z1dt.fsf@riemann.mri.ernet.in> At 2008-07-05T13:04:19+02:00, Robert Heron wrote: > FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM > onboard. BIOS version - 88 (the latest) > > Kernel includes: options MAXMEM=(6*1024*1024) > > And FreeBSD reports only: > > real memory = 2680160256 (2556 MB) > avail memory = 2617892864 (2496 MB) > > Why? What is wrong that FreeBSD sees only about 2.5GB instead of > 6GB? (I ran into this question recently when buying a computer, and did some homework on it, however my understanding may be off the mark.) As mentioned in earlier replies, the problem isn't caused by the OS, but is a limitation of the i386 architecture, in which each byte of memory is indexed by a 32-bit integer. This means that an i386 machine can use only 2^32 bytes, i.e., 4 GB, of memory --- unless one uses pae(4). Some of the 2^32 addresses are used by devices like the video card, and by the BIOS. For instance, if the machine has a video card with 512 MB of video RAM, this means that less than 3.5 GB of memory can be used. It seems a safe bet in such a case to install at most 3 GB of memory. There is more info at http://www.codinghorror.com/blog/archives/000811.html http://en.wikipedia.org/wiki/Memory_address Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From david.gurvich at verizon.net Wed Jul 9 12:54:31 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Wed Jul 9 12:54:37 2008 Subject: FreeBSD 7.0 and RAM limit In-Reply-To: <86ej63z1dt.fsf@riemann.mri.ernet.in> References: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> <86ej63z1dt.fsf@riemann.mri.ernet.in> Message-ID: <20080709085402.3c1f42f8@verizon.net> Hello, You might try the 64bit FreeBSD, I think your system is 64bit capable. That has much higher limits on memory addressing and should get around the issue. From david at vizion2000.net Wed Jul 9 13:40:33 2008 From: david at vizion2000.net (David Southwell) Date: Wed Jul 9 13:40:41 2008 Subject: Image metadata - reading & writing Message-ID: <200807090647.27615.david@vizion2000.net> Hi Does anyone know of a uitlity that for metatdata stored in raw image files (especially canon *.CR2) would enable me to: 1. Read the data from a file 2. Write new information into the file I want to extract the metadata, use it in a mysql database and update the metadata from the mysql database. Thanks in advance David From unga888 at yahoo.com Wed Jul 9 13:49:46 2008 From: unga888 at yahoo.com (Unga) Date: Wed Jul 9 13:49:52 2008 Subject: A sed question In-Reply-To: <20080709105237.GA32361@marge.bs.l> Message-ID: <472423.43997.qm@web57013.mail.re3.yahoo.com> --- On Wed, 7/9/08, Bertram Scharpf wrote: > From: Bertram Scharpf > Subject: Re: A sed question > To: "Unga" , freebsd-questions@freebsd.org > Date: Wednesday, July 9, 2008, 6:52 PM > Hii, > > Am Mittwoch, 09. Jul 2008, 00:35:32 -0700 schrieb Unga: > > I want to translate following GNU sed lines to FreeBSD > sed: > > > > 1. sed -e '/\*address:/{n;s@.*@replaceText > @}' > > 2. sed -e '/\*address:/{n;s@$@ > replaceText@}' > > An obvious problem is that a semicolon is missing before > the closing > brace. > > sed -e '/\*address:/{n;s@.*@replaceText > @;}' > > I'm almost sure your version won't work with GNU > sed either. > Thank you very much for the reply. That was indeed the difference between the GNU sed and the FreeBSD sed in this case. I tested with a semicolon, it worked perfectly but the GNU sed does not require similar semicolon. Best regards Unga From freebsd at troback.com Wed Jul 9 14:20:05 2008 From: freebsd at troback.com (Anders Troback) Date: Wed Jul 9 14:20:15 2008 Subject: (un)mounting usb disk as non root user In-Reply-To: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> References: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> Message-ID: <20080709162117.12611299@itpc02.gelita.swe> On Wed, 9 Jul 2008 11:29:22 -0000 (GMT) "DSA - JCR" wrote: > Hi all > > FreeBSD 6.2 > > I have made a copy system with USB disk and GELI for crypto. > > Now, I would like that one non root user can login run a shell form > unmount the disk and change it, and then mount the new usb disk. > > I have the shell script done, but only works if it runs under root. > When I tried to run under the user, I get > > unmount /mnt/usb1 - Operation not permited > > My user is in the group operator, but what more can I do? > > I want to let them a script that in the login moment they can safely > change the usb disks. > > > Thanks in advance > > Juan Coru?a > Desarrollo de Software Atlantico > > > Add the following line to your /etc/sysctl.conf file: vfs.usermount=1 To enable it immediately run the following command as root: sysctl vfs.usermount=1 The user must be the owner of the mount point! -- Anders Trob?ck http://www.troback.com/ ============================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" -------------------------------------------- From Kevin at RawFedDogs.net Wed Jul 9 14:58:56 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Jul 9 14:59:02 2008 Subject: How do I install openoffice from packages? In-Reply-To: References: Message-ID: /Andreas, On Wed, 9 Jul 2008, Andreas Davour wrote: > I've tried and it just wont work. It look like the packages don't reside on > the server but I can't change ftp.freebsd.org so how do I get it? From the Googling I did on the subject recently there is no official binary packages for OpenOffice available. It is available in the ports tree. The following thread: http://daemonforums.org/showthread.php?t=21 on D?monForums.org has a link to a site: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.4.0/7.0-STABLE/amd64/ With binary packages available for various versions of FreeBSD. Well, the thread pointed to the i386 packages, but the amd64 packages were easy enough to find. I had no trouble installing OpenOffice 3 from ports on my i686 box, other than it taking 8+ hours to compile and my PC locked up shortly after it completed. I thought it had locked up during the compile but eventually discovered that it had completed the install successfully before locking up. I'm still getting the kinks out of my ZFS tweaks. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From david.gurvich at verizon.net Wed Jul 9 15:04:08 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Wed Jul 9 15:04:16 2008 Subject: How do I install openoffice from packages? In-Reply-To: References: Message-ID: <20080709110342.2107bfae@verizon.net> You could try one of the packages from the openoffice.org site http://porting.openoffice.org/freebsd/#obtain . I only see packages for 6.2 and there may be issues. Otherwise you need to build from the ports. From gahr at FreeBSD.org Wed Jul 9 15:09:52 2008 From: gahr at FreeBSD.org (Pietro Cerutti) Date: Wed Jul 9 15:09:58 2008 Subject: Image metadata - reading & writing In-Reply-To: <200807090647.27615.david@vizion2000.net> References: <200807090647.27615.david@vizion2000.net> Message-ID: <4874D4B5.3030204@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 David Southwell wrote: | Hi | | Does anyone know of a uitlity that for metatdata stored in raw image files | (especially canon *.CR2) would enable me to: | 1. Read the data from a file | 2. Write new information into the file You may want to give graphics/dcraw a try.. | | I want to extract the metadata, use it in a mysql database and update the | metadata from the mysql database. | | Thanks in advance Hope this helps, | | David | | _______________________________________________ | 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" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkh01LUACgkQwMJqmJVx9471pwCgjQZeDf+/VNDYRnEj2+/yVZvo eZcAoJ5AUq7t2hYY06uJxcCo9XsERJEx =hDv1 -----END PGP SIGNATURE----- From zanchey at ucc.gu.uwa.edu.au Wed Jul 9 15:21:28 2008 From: zanchey at ucc.gu.uwa.edu.au (David Adam) Date: Wed Jul 9 15:21:36 2008 Subject: gvinum rename doesn't work on drive objects Message-ID: I have been struggling with gvinum over the last few days, and have recently hit an interesting problem: the 'rename' command in gvinum doesn't appear to work on drive objects in 7.0-RELEASE. I initially created three drive objects to support my RAID-5 gvinum setup, named 'r0', 'r1' and 'r2'. Straightaway, I realised that this was not the naming scheme I had intended to use, but rather than deleting and recreating them, I tried renaming to 'rA', 'rB' and 'rC'. This appeared to complete successfully, I created the appropriate volume and plex, newfs(8)ed the filesystem, and mounted it as appropriate. However, on rebooting the machine (some days later) I discovered that the rename operation did not persist across a reboot. Thus, I have three drives named 'r0', 'r1' and 'r2', and a RAID-5 plex that looks for drives to attach to subdisks named 'rA', 'rB' and 'rC'. It fails to load successfully, and I am left without a running volume... especially irritating as it contains my /usr filesystem. No amount of booting to single user and issuing 'rename r0 rA', with or without 'saveconfig', results in a drive name change that persists across reboots. I have tried deleting and recreating the drive objects with the correct names, but all that manages to do is panic the kernel on the create step, with the attached panic message. I realise this is an entirely separate question. Any ideas? I have attached my dmesg, and I'm using 7.0-RELEASE-p2. Thanks, David Adam zanchey@ucc.gu.uwa.edu.au -------------- next part -------------- Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 00 fault virtual address = 0x40 fault code = supervisor read, page not present instruction pointer = 0x20:0xc55dabcb stack pointer = 0x28:0xe56aa800 frame pointer = 0x28:0xe56aa81c 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 = 2 (g_event) trap number = 12 panic: page fault cpuid = 1 -------------- next part -------------- Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU family 1133MHz (1130.45-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383fbff real memory = 2147221504 (2047 MB) avail memory = 2091663360 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard lapic3: Forcing LINT1 to edge trigger kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: on motherboard ACPI Warning (dswload-0794): Type override - [DEB_] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [MLIB] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [DATA] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SIO_] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [SB__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [ICNT] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [ACPI] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [LEDP] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUES] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [WUSE] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [CSB5] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [PM__] had invalid type (String) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [BIOS] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] ACPI Warning (dswload-0794): Type override - [CMOS] had invalid type (Integer) for Scope operator, changed to (Scope) [20070320] acpi0: [ITHREAD] ACPI Error (evxfevnt-0288): Could not enable GlobalLock event [20070320] ACPI Warning (evxface-0235): Could not enable fixed event 1 [20070320] ACPI Error (evmisc-0487): No response from Global Lock hardware, disabling lock [20070320] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0 cpu0: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 fxp0: port 0x1400-0x143f mem 0xfe7e0000-0xfe7e0fff,0xfe7a0000-0xfe7bffff irq 21 at device 3.0 on pci0 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:a5:8e:84 fxp0: [ITHREAD] fxp1: port 0x1440-0x147f mem 0xfe780000-0xfe780fff,0xfe760000-0xfe77ffff irq 20 at device 4.0 on pci0 miibus1: on fxp1 inphy1: PHY 1 on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:a5:8e:86 fxp1: [ITHREAD] vgapci0: port 0x1000-0x10ff mem 0xfd000000-0xfdffffff,0xfe7f0000-0xfe7f0fff irq 18 at device 12.0 on pci0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3a0-0x3af,0x410-0x413 at device 15.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ohci0: mem 0xfe740000-0xfe740fff irq 10 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: <(0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 uhub0: 4 ports with 4 removable, self powered pcib1: on acpi0 pci1: on pcib1 ahc0: port 0x2400-0x24ff mem 0xfebe0000-0xfebe0fff irq 27 at device 7.0 on pci1 ahc0: [ITHREAD] aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs ahc1: port 0x2000-0x20ff mem 0xfebf0000-0xfebf0fff irq 26 at device 7.1 on pci1 ahc1: [ITHREAD] aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs pcib2: on acpi0 pci2: on pcib2 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff,0xcb000-0xd0fff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. Waiting 5 seconds for SCSI devices to settle da0 at ahc1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit) da0: Command Queueing Enabled da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) da1 at ahc1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-4 device da1: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit) da1: Command Queueing Enabled da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) da2 at ahc1 bus 0 target 2 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit) da2: Command Queueing Enabled da2: 34732MB (71132000 512 byte sectors: 255H 63S/T 4427C) ses0 at ahc1 bus 0 target 6 lun 0 ses0: Fixed Processor SCSI-2 device ses0: 3.300MB/s transfers ses0: SAF-TE Compliant Device lapic0: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/da0s1a fxp0: command queue timeout From freebsd-questions-local at be-well.ilk.org Wed Jul 9 15:33:23 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jul 9 15:33:31 2008 Subject: (un)mounting usb disk as non root user In-Reply-To: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> (DSA's message of "Wed\, 9 Jul 2008 11\:29\:22 -0000 \(GMT\)") References: <17233.217.114.136.134.1215602962.squirrel@mail.dsa.es> Message-ID: <441w23dqda.fsf@be-well.ilk.org> This is a Frequently Asked Question. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From fireduck at gmail.com Wed Jul 9 15:56:21 2008 From: fireduck at gmail.com (Joseph Gleason) Date: Wed Jul 9 15:56:28 2008 Subject: Which VIA CPUs have hardware RNG support? Message-ID: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> I am trying to figure out which VIA CPUs support hardware RNG under recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If there is something that else I should be looking at, please let me know. Based on 'man 4 random' I see: "The only hardware implementation currently is for the VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the future." Poking around in the kernel I see that indeed nehemiah and yarrow seem to be the only random sources there. >From 'usr/src/sys/i386/i386/initcpu.c': SYSCTL_UINT(_hw, OID_AUTO, via_feature_rng, CTLFLAG_RD, &via_feature_rng, 0, "VIA C3/C7 RNG feature available in CPU"); Based on all this and some reading on wikipedia, my best guess is that C3 Nehemiah and later and all C7 support the hardware RNG. Can anyone confirm this? From jwblyth at roadrunner.com Wed Jul 9 16:07:26 2008 From: jwblyth at roadrunner.com (John William Blyth) Date: Wed Jul 9 16:07:33 2008 Subject: ia-64 Floppies Message-ID: <4874D1E6.6020108@roadrunner.com> Please help: I am trying to install Free BSD ia-64 architecture but cannot find floppies. Will the 386 floppies work? My cdrom will not boot from ia-64 live. I had a i386 installation but wanted to replace it. Thanks, John William Blyth (newbie) jwblyth@roadrunner.com From kris at FreeBSD.org Wed Jul 9 16:13:54 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Jul 9 16:14:02 2008 Subject: ia-64 Floppies In-Reply-To: <4874D1E6.6020108@roadrunner.com> References: <4874D1E6.6020108@roadrunner.com> Message-ID: <4874E3C1.5030804@FreeBSD.org> John William Blyth wrote: > Please help: > > I am trying to install Free BSD ia-64 architecture but cannot find > floppies. Will the 386 floppies work? My cdrom will not boot from > ia-64 live. I doubt that you have an ia64. Are you absolutely certain you don't mean amd64? Kris From bmettee at pchotshots.com Wed Jul 9 16:23:39 2008 From: bmettee at pchotshots.com (Brad Mettee) Date: Wed Jul 9 16:23:46 2008 Subject: ia-64 Floppies Message-ID: <4.3.2.7.2.20080709122300.039795f8@12.172.123.235> To clarify Kris' response: amd64 = AMD/Intel 64bit capable CPUs ia64 = Intel Itanium So if you're looking for an x86 compatible install CD, then you'll be wanting the amd64 version. (sorry for the direct reply Kris, I'm not used to mailing lists that don't do proper "reply-to") At 12:13 PM 7/9/2008, you wrote: >John William Blyth wrote: >>Please help: >>I am trying to install Free BSD ia-64 architecture but cannot find >>floppies. Will the 386 floppies work? My cdrom will not boot from ia-64 live. > >I doubt that you have an ia64. Are you absolutely certain you don't mean >amd64? > >Kris > >_______________________________________________ >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 mexas at bristol.ac.uk Wed Jul 9 16:43:27 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jul 9 16:43:34 2008 Subject: ports/ImageMagick -> Magick++ -> 2 tests fail on FBSD 6.3 alpha Message-ID: <20080709164316.GA50703@mech-cluster238.men.bris.ac.uk> Two ImageMagick tests fail with core dumps on my FBSD 6.3 alpha: FAIL: Magick++/tests/exceptions.sh FAIL: Magick++/tests/attributes.sh They pass on my FBSD 7.0 i386. exceptions.cpp actually warns: %vi exceptions.cpp [skip] 22 23 cout << "Checking for working exceptions (may crash) ... "; 24 Is this to do with different c++ versions on FBSD 7 and 6? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From ml at t-b-o-h.net Wed Jul 9 17:08:04 2008 From: ml at t-b-o-h.net (Tuc at T-B-O-H.NET) Date: Wed Jul 9 17:08:11 2008 Subject: bind94 security update (UNOFFICIAL) Message-ID: <200807091707.m69H7lHu081689@himinbjorg.tucs-beachin-obx-house.com> Hi, For anyone looking to update the bind94 port due to the recent frenzy, you can : 1) Update the Makefile : >From : PORTREVISION= 1 To : PORTREVISION= 2 >From : ISCVERSION= 9.4.2 To : ISCVERSION= 9.4.2-P1 2) Drop this into distinfo : MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 SHA256 (bind-9.4.2-P1.tar.gz) = eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 SIZE (bind-9.4.2-P1.tar.gz) = 6451654 MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b SHA256 (bind-9.4.2-P1.tar.gz.asc) = c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... This is a stop gap until "MAINTAINER= dougb@FreeBSD.org" does it officially. I have not contacted him about it yet admittedly. I have tested this on a 4.10, 5.5, and 7.0 system and it works fine. Tuc From mexas at bristol.ac.uk Wed Jul 9 17:25:21 2008 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jul 9 17:25:28 2008 Subject: snippet of configure script - explain please Message-ID: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> I get errors building ports/graphviz on FBSD 6.3 on alpha. It seems the error is due to configure script erroneously deciding that there is no strncasecmp function on OS. Based on config.log: configure:9333: result: no configure:9253: checking for strncasecmp I think the following configure snippet is to blame. Could somebody explain, at least in general terms, what this piece of code does. many thanks anton 9249 9250 for ac_func in strcasecmp strncasecmp 9251 do 9252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9253 { echo "$as_me:$LINENO: checking for $ac_func" >&5 9254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9256 echo $ECHO_N "(cached) $ECHO_C" >&6 9257 else 9258 cat >conftest.$ac_ext <<_ACEOF 9259 /* confdefs.h. */ 9260 _ACEOF 9261 cat confdefs.h >>conftest.$ac_ext 9262 cat >>conftest.$ac_ext <<_ACEOF 9263 /* end confdefs.h. */ where as_tr_sh : 549 # Sed expression to map a string onto a valid variable name. 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" as_cr_alnum : 40 as_cr_alnum=$as_cr_Letters$as_cr_digits as_me : 132 # Name of the executable. 133 as_me=`$as_basename -- "$0" || ECHO_N and ECHO_C : 474 ECHO_C= ECHO_N= ECHO_T= 475 case `echo -n x` in 476 -n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481 *) 482 ECHO_N='-n';; 483 esac -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From canito at dalan.us Wed Jul 9 17:29:16 2008 From: canito at dalan.us (David Alanis) Date: Wed Jul 9 17:29:25 2008 Subject: bind94 security update (UNOFFICIAL) In-Reply-To: <200807091707.m69H7lHu081689@himinbjorg.tucs-beachin-obx-house.com> References: <200807091707.m69H7lHu081689@himinbjorg.tucs-beachin-obx-house.com> Message-ID: <20080709122914.f32hr2l14wkkwk44@mail.dalan.us> For those like me who don't know any better. How can I confirm your suggestion will not be introducing addition problems or people into the equation? Thanks, David Quoting "Tuc at T-B-O-H.NET" : > Hi, > > For anyone looking to update the bind94 port due to the recent > frenzy, you can : > > 1) Update the Makefile : > >> From : PORTREVISION= 1 > To : PORTREVISION= 2 > >> From : ISCVERSION= 9.4.2 > To : ISCVERSION= 9.4.2-P1 > > 2) Drop this into distinfo : > > MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 > SHA256 (bind-9.4.2-P1.tar.gz) = > eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 > SIZE (bind-9.4.2-P1.tar.gz) = 6451654 > MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b > SHA256 (bind-9.4.2-P1.tar.gz.asc) = > c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d > SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 > > > THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... > This is a stop gap until "MAINTAINER= dougb@FreeBSD.org" does it > officially. > I have not contacted him about it yet admittedly. I have tested > this on a 4.10, > 5.5, and 7.0 system and it works fine. > > Tuc > _______________________________________________ > 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 message was sent using IMP, the Internet Messaging Program. From outbackdingo at gmail.com Wed Jul 9 17:33:02 2008 From: outbackdingo at gmail.com (Outback Dingo) Date: Wed Jul 9 17:33:09 2008 Subject: bind94 security update (UNOFFICIAL) In-Reply-To: <20080709122914.f32hr2l14wkkwk44@mail.dalan.us> References: <200807091707.m69H7lHu081689@himinbjorg.tucs-beachin-obx-house.com> <20080709122914.f32hr2l14wkkwk44@mail.dalan.us> Message-ID: <5635aa0d0807091032t18388123i3e8eb959dcea210d@mail.gmail.com> because the source download comes from ISC, he is correct in the proceedure, and I trust him :) On Thu, Jul 10, 2008 at 12:29 AM, David Alanis wrote: > For those like me who don't know any better. How can I confirm your > suggestion will not be introducing addition problems or people into the > equation? > > Thanks, > David > > > > Quoting "Tuc at T-B-O-H.NET" : > > Hi, >> >> For anyone looking to update the bind94 port due to the recent >> frenzy, you can : >> >> 1) Update the Makefile : >> >> From : PORTREVISION= 1 >>> >> To : PORTREVISION= 2 >> >> From : ISCVERSION= 9.4.2 >>> >> To : ISCVERSION= 9.4.2-P1 >> >> 2) Drop this into distinfo : >> >> MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 >> SHA256 (bind-9.4.2-P1.tar.gz) = >> eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 >> SIZE (bind-9.4.2-P1.tar.gz) = 6451654 >> MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b >> SHA256 (bind-9.4.2-P1.tar.gz.asc) = >> c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d >> SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 >> >> >> THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR >> MAINTAINER... >> This is a stop gap until "MAINTAINER= dougb@FreeBSD.org" does it >> officially. >> I have not contacted him about it yet admittedly. I have tested this on >> a 4.10, >> 5.5, and 7.0 system and it works fine. >> >> Tuc >> _______________________________________________ >> 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 message was sent using IMP, the Internet Messaging Program. > > > _______________________________________________ > 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 ml at t-b-o-h.net Wed Jul 9 17:47:06 2008 From: ml at t-b-o-h.net (Tuc at T-B-O-H.NET) Date: Wed Jul 9 17:47:14 2008 Subject: [freebsd-questions] Re: bind94 security update (UNOFFICIAL) In-Reply-To: <20080709122914.f32hr2l14wkkwk44@mail.dalan.us> Message-ID: <200807091746.m69HkgUk082356@himinbjorg.tucs-beachin-obx-house.com> David, You are very wise to ask.... If you look at the changes, there are NO changes to what FTP site the binary is picked up from, there are NO additional files inserting patches, etc. I have only changed the PORTREVISION so that portupgrade and the likes will notice it, and the distinfo since there is a new binary and asc. If you check the make, it actually uses the ".asc" file to verify the contents. Had I added any FTP/HTTP sites, additional patches, etc I wouldn't have even published this. But in my opinion, since I only bump the revision and give new checksums for files that are taken off a previous distribution site, I don't feel people are in danger of taking them over. As dougb says, its just as easy to officially D/L it from the source site and compile by hand. I was just doing this in the hopes that people wanted a "make;make install" or "portupgrade ..." could have it quickly. Tuc > > For those like me who don't know any better. How can I confirm your > suggestion will not be introducing addition problems or people into > the equation? > > Thanks, > David > > > Quoting "Tuc at T-B-O-H.NET" : > > > Hi, > > > > For anyone looking to update the bind94 port due to the recent > > frenzy, you can : > > > > 1) Update the Makefile : > > > >> From : PORTREVISION= 1 > > To : PORTREVISION= 2 > > > >> From : ISCVERSION= 9.4.2 > > To : ISCVERSION= 9.4.2-P1 > > > > 2) Drop this into distinfo : > > > > MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 > > SHA256 (bind-9.4.2-P1.tar.gz) = > > eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 > > SIZE (bind-9.4.2-P1.tar.gz) = 6451654 > > MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b > > SHA256 (bind-9.4.2-P1.tar.gz.asc) = > > c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d > > SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 > > > > > > THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR MAINTAINER... > > This is a stop gap until "MAINTAINER= dougb@FreeBSD.org" does it > > officially. > > I have not contacted him about it yet admittedly. I have tested > > this on a 4.10, > > 5.5, and 7.0 system and it works fine. > > > > Tuc > > _______________________________________________ > > 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 message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > 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 ml at t-b-o-h.net Wed Jul 9 17:51:29 2008 From: ml at t-b-o-h.net (Tuc at T-B-O-H.NET) Date: Wed Jul 9 17:51:37 2008 Subject: bind94 security update (UNOFFICIAL) In-Reply-To: <5635aa0d0807091032t18388123i3e8eb959dcea210d@mail.gmail.com> Message-ID: <200807091751.m69Hp6iB082455@himinbjorg.tucs-beachin-obx-house.com> Hi, But Dingo, can YOU be trusted to trust me? ;) BTW: There are 2 ways to tell if your DNS is vulnerable : 1) I PREFER the command line written by Michael C. Toren : http://michael.toren.net/code/noclicky/ Though you need per, Net::DNS and LWP. 2) If you can use a GUI browser on the machine you have DNS itself running on : http://www.doxpara.com/ NEITHER site is mine. Tuc > > because the source download comes from ISC, he is correct in the proceedure, > and I trust him :) > > On Thu, Jul 10, 2008 at 12:29 AM, David Alanis wrote: > > > For those like me who don't know any better. How can I confirm your > > suggestion will not be introducing addition problems or people into the > > equation? > > > > Thanks, > > David > > > > > > > > Quoting "Tuc at T-B-O-H.NET" : > > > > Hi, > >> > >> For anyone looking to update the bind94 port due to the recent > >> frenzy, you can : > >> > >> 1) Update the Makefile : > >> > >> From : PORTREVISION= 1 > >>> > >> To : PORTREVISION= 2 > >> > >> From : ISCVERSION= 9.4.2 > >>> > >> To : ISCVERSION= 9.4.2-P1 > >> > >> 2) Drop this into distinfo : > >> > >> MD5 (bind-9.4.2-P1.tar.gz) = 87b80edd9872cb017053866c81ca9be8 > >> SHA256 (bind-9.4.2-P1.tar.gz) = > >> eeeb8f89fe6d88b250ad85ee21cfde6f8ac6f425c70c6705352b3fa8c4c4ee84 > >> SIZE (bind-9.4.2-P1.tar.gz) = 6451654 > >> MD5 (bind-9.4.2-P1.tar.gz.asc) = 72310b7045d9806b913835c55ba5388b > >> SHA256 (bind-9.4.2-P1.tar.gz.asc) = > >> c84b6446416ff1096ec5bfb1c731d31f984b312b45a3d2064a922a6b50b6162d > >> SIZE (bind-9.4.2-P1.tar.gz.asc) = 479 > >> > >> > >> THIS IS NOT THE OFFICIAL FREEBSD PORTS UPGRADE PATH OR > >> MAINTAINER... > >> This is a stop gap until "MAINTAINER= dougb@FreeBSD.org" does it > >> officially. > >> I have not contacted him about it yet admittedly. I have tested this on > >> a 4.10, > >> 5.5, and 7.0 system and it works fine. > >> > >> Tuc From canito at dalan.us Wed Jul 9 21:41:29 2008 From: canito at dalan.us (David Alanis) Date: Wed Jul 9 21:41:35 2008 Subject: PAE Compilation Error In-Reply-To: <200807091751.m69Hp6iB082455@himinbjorg.tucs-beachin-obx-house.com> References: <200807091751.m69Hp6iB082455@himinbjorg.tucs-beachin-obx-house.com> Message-ID: <20080709164127.ijmgnm6uko40sg0g@mail.dalan.us> Good Day, I suppose now I am paying for questioning TUC's credibility huh?!?!? (jk) In the process of building an older server running 7.0-RELEASE :/usr/obj/usr/src/sys/SERVER i386 on a HP Proliant D380 G3 (CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.05-MHz 686-class CPU). After some research I come to find out having RAM over 4 gigs can have side effects and I will need to compile PAE with the kernel (this is a given). I've also come to find my set up can only handle up to 6 gigs of RAM and it's currently at 5. However, when I compile PAE on this machine the kernel build crashes with the following: n -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c ld -d -warn-common -r -d -o if_rum.kld if_rum.o :> export_syms awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.kld export_syms | xarg s -J% objcopy % if_rum.kld ld -Bshareable -d -warn-common -o if_rum.ko.debug if_rum.kld objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols objcopy --strip-debug --add-gnu-debuglink=if_rum.ko.symbols if_rum.ko.debug if_rum.ko ===> s3 (all) /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODU LE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SERV ER/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth =100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/SERVER -m no-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-s se2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototyp es -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig n -fformat-extensions -c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:394: error: conflicting types for 's3lfb_ mmap' /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:116: error: previous declaration of 's3lf b_mmap' was here /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c: In function 's3lfb_mmap': /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:395: warning: passing argument 3 of 'prev vidsw->mmap' from incompatible pointer type *** Error code 1 Stop in /usr/src/sys/modules/s3. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/SERVER. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have a messy make.conf but I don't think this would be the issue hence it's worked on different servers tweak to fit them ofcourse: #CPUTYPE?=athlon-xp CFLAGS= -O2 -fno-strict-aliasing -pipe MAKE_SHELL?=sh COPTFLAGS= -O -pipe KERNCONF=SERVER The only hit I get on google is this which really does not solve my issue or I am not reading this correctly? http://www.bsdforums.org/forums/archive/index.php/t-34088.html Does anyone have any experience with this that can help? Thank you, David ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From ivoras at freebsd.org Wed Jul 9 22:27:26 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Jul 9 22:27:34 2008 Subject: Which VIA CPUs have hardware RNG support? In-Reply-To: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> References: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> Message-ID: Joseph Gleason wrote: > I am trying to figure out which VIA CPUs support hardware RNG under > recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If > there is something that else I should be looking at, please let me > know. > > Based on 'man 4 random' I see: > "The only hardware implementation currently is for the > VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the > future." > > Poking around in the kernel I see that indeed nehemiah and yarrow seem > to be the only random sources there. > >>From 'usr/src/sys/i386/i386/initcpu.c': > SYSCTL_UINT(_hw, OID_AUTO, via_feature_rng, CTLFLAG_RD, > &via_feature_rng, 0, "VIA C3/C7 RNG feature available in CPU"); > > Based on all this and some reading on wikipedia, my best guess is that > C3 Nehemiah and later and all C7 support the hardware RNG. Can anyone > confirm this? If you don't get any answers here, try freebsd-hardware@ mailing list. AFAIK (I don't have the hardware), the source is correct and C7 is also supported. I'd be glad to hear if anyone confirms it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080709/ecb737f9/signature.pgp From derek at computinginnovations.com Wed Jul 9 23:38:09 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Jul 9 23:38:19 2008 Subject: problem with sendmail and su In-Reply-To: <20080709124404.30ed661d@nogrod.nicoelro.net> References: <20080709124404.30ed661d@nogrod.nicoelro.net> Message-ID: <6.0.0.22.2.20080709183556.026b1890@mail.computinginnovations.com> At 05:44 AM 7/9/2008, Nicolas Letellier wrote: >Hello. > >I use FreeBSD 7 with sendmail. I have a problem for sending email. More >precisely, with the sender of the mail. >When I'm logged to my machine in root, the mail is sent with >"root@mymachine.com" with sender. OK, no problems. >When I'm logged to my machine in nicolas, the mail is sent with >"nicolas@mymachine.com" with sender. OK, no problems. > >However, when I'm logged in nicolas to my machine, and if I do a "su >root" or "su - root", and I send a mail, the sender will be >"nicolas@mymachine.com" and not "root@mymachine.com". > >It's a problem, because I done a "su" to be logged as root. > >I don't have this problem with a FreeBSD/Postfix. > >Thanks for your advices and helps. I don't understand this problem. > >Regards, > >-- > - Nicolas. That is exactly working as designed. The reason sendmail sends the mail as your actual login user is so you cannot spoof so easily. If you have certain emails like system reports you are sending and want them sent as root, add them to roots crontab file. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From gnemmi at gmail.com Thu Jul 10 00:27:35 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Thu Jul 10 00:29:02 2008 Subject: How do I install openoffice from packages? In-Reply-To: References: Message-ID: <200807092127.26838.gnemmi@gmail.com> On Wednesday 09 July 2008 12:39:06 Andreas Davour wrote: > On Wed, 9 Jul 2008, Kevin Monceaux wrote: > > /Andreas, > > > > On Wed, 9 Jul 2008, Andreas Davour wrote: > >> I've tried and it just wont work. It look like the packages don't reside > >> on the server but I can't change ftp.freebsd.org so how do I get it? > > > > From the Googling I did on the subject recently there is no official > > binary packages for OpenOffice available. It is available in the ports > > tree. The following thread: > > Your google-fu is stronger than mine. And mine too ... > > http://daemonforums.org/showthread.php?t=21 > > > > on D?monForums.org has a link to a site: > > > > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.4.0/7.0-STABL > >E/amd64/ > > > > With binary packages available for various versions of FreeBSD. Well, > > the thread pointed to the i386 packages, but the amd64 packages were easy > > enough to find. > > I'll try those ones. Just installed the i386 version ... works like a charm .. thanks _a_lot_ Kevin !!! > > I had no trouble installing OpenOffice 3 from ports on my i686 box, other > > than it taking 8+ hours to compile and my PC locked up shortly after it > > completed. I thought it had locked up during the compile but eventually > > discovered that it had completed the install successfully before locking > > up. I'm still getting the kinks out of my ZFS tweaks. > > Installing from ports is just to lengthy a process. I did it once before > and after compiling for 48 hours (!!!) it crashed every time I tried to > open a document. I'd rather have that happen after a much shorter > package install. > > Thanks. I'll see if the packages from that good-day.net site works. > > /andreas Just in case .. there _is_ yet another (and let me add: "quite clever") way to get OOo installed on your FBSD7 box and it can be found in here: http://www.millingtons.eclipse.co.uk/glyn/freebsd.html ... look under the "Open Office on FreeBSD 7" title ... i haven't tested it .. but it _sure_ looks like a trick I'd like to get in my bag -- Blessings Gonzalo Nemmi From dak.col at gmail.com Thu Jul 10 01:33:30 2008 From: dak.col at gmail.com (Diego F. Arias R.) Date: Thu Jul 10 01:33:36 2008 Subject: Set up keymap Message-ID: <3b93bd110807091833s3cd3fe17o566087bfdc22c4a3@mail.gmail.com> Hi: I have installed XFCE on my freebsd but i dont know why my X keymap is wrong. I need latam on a normal console works but not in X how can i change the keymap? Thanks -- mmm, interesante..... From gnemmi at gmail.com Thu Jul 10 01:55:26 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Thu Jul 10 01:55:32 2008 Subject: Set up keymap In-Reply-To: <3b93bd110807091833s3cd3fe17o566087bfdc22c4a3@mail.gmail.com> References: <3b93bd110807091833s3cd3fe17o566087bfdc22c4a3@mail.gmail.com> Message-ID: <200807092255.16525.gnemmi@gmail.com> On Wednesday 09 July 2008 22:33:29 Diego F. Arias R. wrote: > Hi: > > I have installed XFCE on my freebsd but i dont know why my X keymap is > wrong. I need latam on a normal console works but not in X how can i > change the keymap? > > > Thanks ls /usr/share/syscons/keymaps/ Pick the one you need and set xorg.conf accordingly: I'm using an english keayboard with international accents (my native tongue is spanish so I need ?,?,?,?,?,? and ? .. but I also need portuguese chars like ? and ?, ?, ? and so on ...). Here's my "InputDevice" section in xorg.conf Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us(alt-intl)" Option "XkbOptions" "compose:rwin" EndSection If you have a spanish or latam keyboard, you'll probably need latinamerican.iso.acc.kbd ... or latinamerican.kbd ... Maybe spanish.iso15.acc.kbd .. play around with those until you find the one that better suits your needs :) Ultimate, and only authoritative, answer will be available at: man 4 kbd Regards -- Blessings Gonzalo Nemmi From af300wsm at gmail.com Thu Jul 10 02:26:54 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Jul 10 02:27:01 2008 Subject: User properties and how to make files with a specific group owner Message-ID: <200807092026.42703.af300wsm@gmail.com> Hi, I've not had to set this up and so far my efforts have proven less than successful. I'm working on a web project with my father and one other developer. I need to have it so that our user id's, when creating files in the directory we share the source code in, create the files with the group id common to the three of us. How do I do this? I thought that it would be that I change the primary group membership from the group ID equal to our userid's to the shared group name (in this case www). However, this doesn't seem to be doing it. I've done this on the three of our user ids, but when I checked it (checking out files from subversion), all of the files were still owned by, in my case, UID=andy and GID=andy. How do I get this to stop working like this and create files with UID=andy GID=www? Andy From remegius at comcast.net Thu Jul 10 02:37:03 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 02:37:15 2008 Subject: Locate command Message-ID: <20080710023659.GA51675@remdogbsd> Whenever I do a "locate" command on a new installation I get this message: locate: database too small: /var/db/locate.database Can someone give me a heads up on how to fix this? Thanks, Rem From pprocacci at datapipe.com Thu Jul 10 02:48:05 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Jul 10 02:48:12 2008 Subject: Locate command In-Reply-To: <20080710023659.GA51675@remdogbsd> References: <20080710023659.GA51675@remdogbsd> Message-ID: <48757862.8050802@datapipe.com> Rem P Roberti wrote: > Whenever I do a "locate" command on a new installation I get this > message: > > locate: database too small: /var/db/locate.database > > Can someone give me a heads up on how to fix this? > > Thanks, > > Rem > > _______________________________________________ > 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" > Run this shell script: /etc/periodic/weekly/310.locate From remegius at comcast.net Thu Jul 10 02:51:54 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 02:52:05 2008 Subject: Locate command Message-ID: <20080710025147.GA43976@remdogbsd> > >Whenever I do a "locate" command on a new installation I get this > >message: > > > >locate: database too small: /var/db/locate.database > > > >Can someone give me a heads up on how to fix this? > > > >Thanks, > > > > Run this shell script: > > /etc/periodic/weekly/310.locate Thank you! Rem From pprocacci at datapipe.com Thu Jul 10 02:59:18 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Jul 10 02:59:31 2008 Subject: Locate command In-Reply-To: <20080710025147.GA43976@remdogbsd> References: <20080710025147.GA43976@remdogbsd> Message-ID: <48757B04.7010002@datapipe.com> Rem P Roberti wrote: >>> Whenever I do a "locate" command on a new installation I get this >>> message: >>> >>> locate: database too small: /var/db/locate.database >>> >>> Can someone give me a heads up on how to fix this? >>> >>> Thanks, >>> >>> >> Run this shell script: >> >> /etc/periodic/weekly/310.locate >> > > Thank you! > > Rem > > > Your most welcomed. From doug at polands.org Thu Jul 10 02:59:41 2008 From: doug at polands.org (Doug Poland) Date: Thu Jul 10 02:59:47 2008 Subject: Locate command In-Reply-To: <20080710023659.GA51675@remdogbsd> References: <20080710023659.GA51675@remdogbsd> Message-ID: <4875778E.4030509@polands.org> Rem P Roberti wrote: > Whenever I do a "locate" command on a new installation I get this > message: > > locate: database too small: /var/db/locate.database > > Can someone give me a heads up on how to fix this? > create the locate database via: man locate.updatedb(8) man locate(1) -- Regards, Doug From sahil at tandon.net Thu Jul 10 03:30:06 2008 From: sahil at tandon.net (Sahil Tandon) Date: Thu Jul 10 03:30:13 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <200807092026.42703.af300wsm@gmail.com> References: <200807092026.42703.af300wsm@gmail.com> Message-ID: <20080710033002.GB8384@shepherd> Andrew Falanga wrote: > I've not had to set this up and so far my efforts have proven less than > successful. I'm working on a web project with my father and one other > developer. I need to have it so that our user id's, when creating files in > the directory we share the source code in, create the files with the group > id common to the three of us. How do I do this? [...] New files are created with GID set to that of the directory in which they're contained. In your case, is that directory owned by user and group 'andy'? If so: % chown -R :www /path/to/shared/directory ... and every file created therein will have the default GID. -- Sahil Tandon From rakhmadian at students.tf.itb.ac.id Thu Jul 10 04:25:36 2008 From: rakhmadian at students.tf.itb.ac.id (rakhmadian@students.tf.itb.ac.id) Date: Thu Jul 10 04:25:44 2008 Subject: freeBSD kernel-current Message-ID: <55475.167.205.44.22.1215663908.squirrel@s.tf.itb.ac.id> Dear, I want to know how to install freeBSD on XEN on LInux. And i've read this documentation > http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html But, i get trouble...I cann't found file "krenel-current" because thereis broken link. Could tell me, where i can download it ? Thanks -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From malcolm.kay at internode.on.net Thu Jul 10 04:39:59 2008 From: malcolm.kay at internode.on.net (Malcolm Kay) Date: Thu Jul 10 04:40:06 2008 Subject: snippet of configure script - explain please In-Reply-To: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> Message-ID: <200807101354.46321.malcolm.kay@internode.on.net> On Thu, 10 Jul 2008 02:55 am, Anton Shterenlikht wrote: > I get errors building ports/graphviz on FBSD 6.3 on alpha. > It seems the error is due to configure script erroneously > deciding that there is no strncasecmp function on OS. > > Based on config.log: > > configure:9333: result: no This probably the result for the previous check; probably strcasecmp > configure:9253: checking for strncasecmp > > I think the following configure snippet is to blame. > Could somebody explain, at least in general terms, > what this piece of code does. > > many thanks > anton > > 9249 > 9250 for ac_func in strcasecmp strncasecmp > 9251 do > 9252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` This is eqivalent to: as_ac_var=ac_cv_func_strcasecmp or: as_ac_var=ac_cv_func_strncasecmp depending on which time through the loop. > 9253 { echo "$as_me:$LINENO: checking for $ac_func" >&5 > 9254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } These lines simplly write reports of one type or another (including to config.log ?) The $ECHO_N and $ECHO_C are to cater for different versions of 'echo' wrt line feeds. > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then I find this line somewhat strange as I've not been able to find documentation for the expansion of ${parameter+set} under the Bourne shell. (nor bash, nor ksh) ***************************************************** Presumably someone out there knows where to find it? ***************************************************** But it seems that it returns "set" if "parameter" has been assigned a value and null otherwise. Unless strcasecmp, strncasecmp have already been checked one expects these will fail so the 'else' section is executed. > 9256 echo $ECHO_N "(cached) $ECHO_C" >&6 > 9257 else > 9258 cat >conftest.$ac_ext <<_ACEOF > 9259 /* confdefs.h. */ > 9260 _ACEOF > 9261 cat confdefs.h >>conftest.$ac_ext > 9262 cat >>conftest.$ac_ext <<_ACEOF > 9263 /* end confdefs.h. */ This is the start of the build of a C program to test if the library function exists. But we've barely started -- the guts of the check is still to come. One would expect that if it does not exist the configuration would implement some alternative action so even then I would not expect the built to fail. > where > > as_tr_sh : > > 549 # Sed expression to map a string onto a valid variable name. > 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" > > as_cr_alnum : > > 40 as_cr_alnum=$as_cr_Letters$as_cr_digits > > as_me : > > 132 # Name of the executable. > 133 as_me=`$as_basename -- "$0" || > > ECHO_N and ECHO_C : > > 474 ECHO_C= ECHO_N= ECHO_T= > 475 case `echo -n x` in > 476 -n*) > 477 case `echo 'x\c'` in > 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. > 479 *) ECHO_C='\c';; > 480 esac;; > 481 *) > 482 ECHO_N='-n';; > 483 esac > > Best of luck, Malcolm Kay From frase at frase.id.au Thu Jul 10 04:44:18 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Thu Jul 10 04:44:25 2008 Subject: ntpd(8) - bind only to specified interfaces? Message-ID: <20080710044414.GA30072@bacardi> Having read the man page (also, ntp.conf(5)), it is not apparent that there is a way to tell it to bind only to a particular interface (or particular interfaces). It would be nice if there is actually such a feature, so I figured I'd ask. Definitely not a major problem is this isn't possible right now, but I figure if it's only going to be receiving NTP requests on one interface, it may as well not listen on the others. TIA, frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/36cd8921/attachment.pgp From the.real.david.allen at gmail.com Thu Jul 10 05:45:46 2008 From: the.real.david.allen at gmail.com (David Allen) Date: Thu Jul 10 05:45:53 2008 Subject: ntpd(8) - bind only to specified interfaces? In-Reply-To: <20080710044414.GA30072@bacardi> References: <20080710044414.GA30072@bacardi> Message-ID: <2daa8b4e0807092245t59b2ee12oe435bf5963086b08@mail.gmail.com> On Wed, Jul 9, 2008 at 9:44 PM, Fraser Tweedale wrote: > Having read the man page (also, ntp.conf(5)), it is not apparent that > there is a way to tell it to bind only to a particular interface (or > particular interfaces). It would be nice if there is actually such a > feature, so I figured I'd ask. At the moment, no. Your question could qualify as a FAQ, so it might help in the future to check recent posts or the archives first. > Definitely not a major problem is this isn't possible right now, but > I figure if it's only going to be receiving NTP requests on one > interface, it may as well not listen on the others. The alternative is openntpd (available in ports). Fairly straightforward to set up and use. The caveats are the provided rc script could use some work (see my recent post with the subject of "rc scripts"), there's no logging (ibid), using it may result in occasional "calcru errors" (see my recent post on that subject), and reading the overbrief manpage requires remembering to run "man -M /usr/local ntpd". I did say straightforward, right? ;-) From horus.li at gmail.com Thu Jul 10 06:36:39 2008 From: horus.li at gmail.com (Horus Lee) Date: Thu Jul 10 06:36:46 2008 Subject: panic: ohci_add_done Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all FreeBSD folks, I bought myself a new PC: AMD Athlon 64 X2 5000+ Black Edition Jetway HA06 (http://www.jetway.com.tw/jw/motherboard_view.asp?productid=481&proname=HA06, Integrated USB) Kingston DDR2 800 1GB * 2 I want to install FreeBSD 7.0 on it, so I downloaded the FreeBSD 7.0/amd64 ISO. When I boot the computer (Booting FreeBSD), following lines was printed on my screen: hptrr: no controller detected panic: ohci_add_done: addr 0x6fff1ce0 not found cpuid = 0 uptime: 1s Cannot dump. No dump device defined. than I tried the "with ACPI disabled" option, the message was gone, but crashed at mounting root from md. I've queried the PRs, then i got this: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/107827 and this: http://www.freebsd.org/cgi/query-pr.cgi?pr=104810 the PR 104810 suggest to flash the BIOS with the latest. And the submitter's problem seemed to be solved. I got no Dell, but I still downloaded the latest version of my BIOS from its official page and flashed it. Unluckily, it doesn't work --- I still have the problem. Any ideas to solve this problem? Thanks all in advance. :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkh1p58ACgkQvVxKL9VSxXo6VgCffB0hY9AOXviyxymD18l9WHmT TP8An12l1ey4h06snzuGM4YFI7jDHmhC =i8MM -----END PGP SIGNATURE----- From zhangsc at neusoft.com Thu Jul 10 08:18:07 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Thu Jul 10 08:18:15 2008 Subject: Why can't ping Message-ID: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> I configure ed0 when I install FreeBSD7.0,like follows: Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 Then I Ping itself,like follows: #ping 172.18.0.19 Then result is failure: ping: sendto: No route to host Why? I use ifconfig -a to show my ip,like follows: le0: flags=8843 metric 0 mtu 1500 options=8 either 00:0d:18:23:32:7a inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: Ethernet autoselect status: active plip0:flags=108810 metric 1500 lo0:flags=8049 metric 0 mtu 16384 inet6::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 Where is my following configure information, I can't find them! Host:test.example.com Domain:test.com IPv4 GateWay: 172.18.0.1 Name server: 172.18.0.250 IPv4 Address: 172.18.0.19 Netmask:255.255.255.0 What raise to lost my configure information? How to configure my ip and how to ping successly? I am a newer to BSDUnix,please give me detail steps. Thanks in advance! Best regards, Edward ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From chris at sigd.net Thu Jul 10 09:09:45 2008 From: chris at sigd.net (Chris Haulmark) Date: Thu Jul 10 09:09:52 2008 Subject: Why can't ping In-Reply-To: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> References: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> Hello! > I configure ed0 when I install FreeBSD7.0,like follows: > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 I noticed you are using ed0 as the interface? There is no ed in FreeBSD. > > Then I Ping itself,like follows: > #ping 172.18.0.19 > > Then result is failure: > ping: sendto: No route to host > > Why? > > I use ifconfig -a to show my ip,like follows: > > le0: flags=8843 metric 0 mtu > 1500 This is your interface - le0. > options=8 > either 00:0d:18:23:32:7a > inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 It shows that your le0 interface has not been assigned with the network information that you listed. Try again but use le0 as your interface instead. Chris Haulmark > media: Ethernet autoselect > status: active > plip0:flags=108810 metric > 1500 > lo0:flags=8049 metric 0 mtu 16384 > inet6::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > > Where is my following configure information, I can't find them! > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 > > What raise to lost my configure information? How to configure my ip and > how to ping successly? > > I am a newer to BSDUnix,please give me detail steps. > > Thanks in advance! > Best regards, > Edward > > > ----------------------------------------------------------------------- > ----------------------- > Confidentiality Notice: The information contained in this e-mail and > any accompanying attachment(s) is intended only for the use of the > intended recipient and may be confidential and/or privileged of Neusoft > Group Ltd., its subsidiaries and/or its affiliates. If any reader of > this communication is not the intended recipient, unauthorized use, > forwarding, printing, storing, disclosure or copying is strictly > prohibited, and may be unlawful. If you have received this > communication in error, please immediately notify the sender by return > e-mail, and delete the original message and all copies from your > system. Thank you. > ----------------------------------------------------------------------- > ------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" From zhangsc at neusoft.com Thu Jul 10 09:23:30 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Thu Jul 10 09:24:04 2008 Subject: how to set vi line number? Message-ID: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show "#include" with other different color? How to modify to realize above function? thanks ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From sachidananda.urs at gmail.com Thu Jul 10 09:30:29 2008 From: sachidananda.urs at gmail.com (sac u) Date: Thu Jul 10 09:30:41 2008 Subject: how to set vi line number? In-Reply-To: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> References: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> Message-ID: On 7/10/08, EdwardKing wrote: > > my first question is whether vi can show line number,such as 1: 2: 3:? > my second question is whether vi support c syntax,such as show "#include" > with other different color? To list line numbers. :set nu I don't think vi has syntax highlighting, but vim does have it. sac. From pprocacci at datapipe.com Thu Jul 10 09:33:13 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Thu Jul 10 09:33:23 2008 Subject: how to set vi line number? In-Reply-To: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> References: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> Message-ID: <4875D756.4080209@datapipe.com> EdwardKing wrote: > my first question is whether vi can show line number,such as 1: 2: 3:? > my second question is whether vi support c syntax,such as show "#include" with other different color? > > How to modify to realize above function? > thanks > > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You may want to start with installing vim. vi to my knowledge is not `color capable`. From alt127 at SDF.lonestar.org Thu Jul 10 09:37:23 2008 From: alt127 at SDF.lonestar.org (alt127) Date: Thu Jul 10 09:37:30 2008 Subject: how to set vi line number? In-Reply-To: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> References: <009301c8e26e$934a5020$3f83a8c0@neusofteaf5839> Message-ID: <4875D829.8030907@SDF.lonestar.org> hi, for line number try "set number" for syntax highlighting try vim with "syntax on" if you don`t have vim try pkg_add or ports... ^/ p.s. I suppose this was a generic question out of the list`s scope. :-) EdwardKing wrote: > my first question is whether vi can show line number,such as 1: 2: 3:? > my second question is whether vi support c syntax,such as show "#include" with other different color? > > How to modify to realize above function? > thanks > > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From sachidananda.urs at gmail.com Thu Jul 10 09:44:55 2008 From: sachidananda.urs at gmail.com (sac u) Date: Thu Jul 10 09:45:07 2008 Subject: Why can't ping In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> References: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> Message-ID: > > This is your interface - le0. Additonally do not forget to run /etc/netstart > options=8 > > either 00:0d:18:23:32:7a > > inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 > > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > > It shows that your le0 interface has not been assigned with the network > information > that you listed. > > Try again but use le0 as your interface instead. > > Chris Haulmark sac. From freebsd at edvax.de Thu Jul 10 10:25:05 2008 From: freebsd at edvax.de (Polytropon) Date: Thu Jul 10 10:25:13 2008 Subject: Why can't ping In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> References: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> Message-ID: <20080710122502.08d73404.freebsd@edvax.de> On Thu, 10 Jul 2008 05:10:25 -0400, "Chris Haulmark" wrote: > There is no ed in FreeBSD. Off topic, but there is: % man 4 ed ed -- NE-2000 and WD-80x3 Ethernet driver Older NIC, but still present, works for RealTek RTL-8029, for example. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From alexander.bubnov at gmail.com Thu Jul 10 10:41:10 2008 From: alexander.bubnov at gmail.com (Alexander Bubnov) Date: Thu Jul 10 10:41:17 2008 Subject: known problem about SATA CD-ROM Message-ID: Hi, I have the same problem as describe here http://arkiv.freebsd.se/?ml=freebsd-proliant&a=2008-03&t=6875944 shortly: acd0: DVDR SMP: AP CPU #1 Launched! acd0: TIMEOUT - READ_BIG retraying (1 retry left) acd0: TIMEOUT - READ_BIG retraying (0 retries left) acd0: TIMEOUT - READ_BIG timed out acd0: TIMEOUT - READ_BIG retraying (1 retry left) acd0: TIMEOUT - READ_BIG retraying (0 retries left) acd0: TIMEOUT - READ_BIG timed out acd0: TIMEOUT - READ_BIG retraying (1 retry left) acd0: TIMEOUT - READ_BIG retraying (0 retries left) acd0: TIMEOUT - READ_BIG timed out the answer is here: http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084572.html shortly: The system will reboot properly if you load ipmi module and specify watchdog timeout in 60 seconds. # kldload ipmi # watchdog -t 60; reboot You can create handy alias. alias reboot 'watchdog -t 60; /sbin/reboot' I didn't have any issue with DVD drive when it was running 6.3/7.0. similar problem can be found here too: http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2008-06/msg00171.html this one solved by editing sysctl hw.ata.atapi_dma to 0. Now, I am trying to install FreeBSD 7.0 (or 6.3, it does not metter for me). Can you please let me know how can I change hw.ata.atapi_dma or kldload ipmi module when I do not have installed FreeBSD on my machine? how can I change standard install distributive? How is it possible to install FreeBSD with that problem having one sata cdrom? Thanks in advance. -- /BR, Alexander From fbsd.questions at rachie.is-a-geek.net Thu Jul 10 11:45:15 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 11:45:23 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <200807092026.42703.af300wsm@gmail.com> References: <200807092026.42703.af300wsm@gmail.com> Message-ID: <200807101345.00536.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 04:26:42 Andrew Falanga wrote: > How do I get this to stop working like this and create files > with UID=andy GID=www? Just a head's up: www is the group id from Apache by default, so doing this, you'll make the files writeable by the webserver, generally not something you want to do. It's better to create a seperate group, say 'wwwadmin'. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu Jul 10 12:05:16 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 12:05:23 2008 Subject: panic: ohci_add_done In-Reply-To: References: Message-ID: <200807101405.14545.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 08:09:38 Horus Lee wrote: > Hey all FreeBSD folks, > > I bought myself a new PC: > AMD Athlon 64 X2 5000+ Black Edition > Jetway HA06 > (http://www.jetway.com.tw/jw/motherboard_view.asp?productid=481&proname=HA0 >6, Integrated USB) > Kingston DDR2 800 1GB * 2 > > I want to install FreeBSD 7.0 on it, so I downloaded the FreeBSD 7.0/amd64 > ISO. When I boot the computer (Booting FreeBSD), following lines was > printed on my screen: > > hptrr: no controller detected > panic: ohci_add_done: addr 0x6fff1ce0 not found > cpuid = 0 > uptime: 1s > Cannot dump. No dump device defined. > > than I tried the "with ACPI disabled" option, the message was gone, > but crashed at mounting root from md. > > I've queried the PRs, then i got > this: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/107827 > and > this: http://www.freebsd.org/cgi/query-pr.cgi?pr=104810 > > the PR 104810 suggest to flash the BIOS with the latest. And the > submitter's problem seemed to be solved. > I got no Dell, but I still downloaded the latest version of my BIOS > from its official page and flashed it. > Unluckily, it doesn't work --- I still have the problem. > > Any ideas to solve this problem? Problem is you can't get much information :/ Is there any way to disable the USB hubs, or legacy USB support if that's in there, then get a verbose boot? I'm also mildly confident, that the 6.3 cd will boot. I've had experiences with 2 machines now (one new Dell 64-bit, one old gateway 32-bit), that will not boot FreeBSD 7 cd, but will boot 6.x. I think it's acpi regressions. The Dell will hose the disk and spit out multiple NMI's and WRITE_DMA errors once upgraded inplace to 7-STABLE. The gateway now successfully runs 7-STABLE, though we changed the SATA disk for an UDMA. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu Jul 10 12:15:53 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 12:16:00 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807101354.46321.malcolm.kay@internode.on.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101354.46321.malcolm.kay@internode.on.net> Message-ID: <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; > > then > > I find this line somewhat strange as I've not been able > to find documentation for the expansion of ${parameter+set} under the > Bourne shell. (nor bash, nor ksh) > ***************************************************** > Presumably someone out there knows where to find it? > ***************************************************** It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise you get "set": $ echo ${foo+set} $ echo ${HOME+set} set -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd06 at mlists.homeunix.com Thu Jul 10 12:51:37 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Jul 10 12:51:46 2008 Subject: Locate command In-Reply-To: <48757862.8050802@datapipe.com> References: <20080710023659.GA51675@remdogbsd> <48757862.8050802@datapipe.com> Message-ID: <20080710133619.7d82764c@gumby.homeunix.com.> On Wed, 09 Jul 2008 21:48:02 -0500 Paul Procacci wrote: > Rem P Roberti wrote: > > Whenever I do a "locate" command on a new installation I get this > > message: > > > > locate: database too small: /var/db/locate.database > > > > Can someone give me a heads up on how to fix this? > > > Run this shell script: > > /etc/periodic/weekly/310.locate > You might also think about installing sysutils/anacron, so that the period scripts get run even if the machine is not left on overnight. From horus.li at gmail.com Thu Jul 10 13:08:25 2008 From: horus.li at gmail.com (Horus Lee) Date: Thu Jul 10 13:08:34 2008 Subject: panic: ohci_add_done In-Reply-To: <200807101405.14545.fbsd.questions@rachie.is-a-geek.net> References: <200807101405.14545.fbsd.questions@rachie.is-a-geek.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mel and all, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkh2CcUACgkQvVxKL9VSxXr6rgCgmK63mJx8GlFmsKELMnZ8EtZ6 /BQAoIW/3f7dt+bxjZnBy38V75Irv/Tc =mPiu -----END PGP SIGNATURE----- 2008/7/10 Mel : > Problem is you can't get much information :/ Is there any way to disable the > USB hubs, or legacy USB support if that's in there, then get a verbose boot? Now...I think I've got a quick-and-dirty solution, plug out all USB devices including mouse, keyboard, etc.(continued below) > I'm also mildly confident, that the 6.3 cd will boot. I've had experiences > with 2 machines now (one new Dell 64-bit, one old gateway 32-bit), > that will not boot FreeBSD 7 cd, but will boot 6.x. I think it's acpi regressions. And reboot the computer with FreeBSD 7 CD...finally I could see the interface of sysinstall. It's not the final solution. I think many people are experiencing this problem. But if that's the only way you've never tried, try it. Hopefully it will work in many situations. :) >The Dell will hose the disk and spit out multiple NMI's and WRITE_DMA errors once > upgraded inplace to 7-STABLE. The gateway now successfully runs 7-STABLE, > though we changed the SATA disk for an UDMA. OK, thanks for sharing the helpful info with me. Horus From Kevin at RawFedDogs.net Thu Jul 10 13:45:12 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Thu Jul 10 13:45:19 2008 Subject: How do I install openoffice from packages? In-Reply-To: References: Message-ID: /Andreas, On Thu, 10 Jul 2008, Andreas Davour wrote: > After fooling around a bit with online installs I downloaded the package and > installed manually. It does complain about other stuff not being there. Isn't > packages supposed to work like port and pull in requirements automagically? > > Note: I have 6.3 machine, not 7.0-STABLE so I tried the 6.2 directory. > > /Andreas I install everything from ports so haven't played around with packages very much. I'm sure the FreeBSD team makes sure all official packages have correct dependencies set. But, they have no control over unofficial packages others have put together. That's one drawback to using unofficial packages. When I installed OpenOffice from the ports tree, there were a few packages it depended on with licensing restrictions, like diablo-jdk for example, that had to be manually downloaded and put in /usr/ports/distfiles before the ports in question could be built. That might have something to do with there being no official binary OpenOffice package available. Even if you don't install from ports you could cd to the /usr/ports/editors/openoffice.org-??? directory for the version of OpenOffice you installed and issue: make missing which should give you a list of missing dependencies that need to be installed. You could then install via either ports or packages depending on what you prefer, and what's available. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From af300wsm at gmail.com Thu Jul 10 13:46:47 2008 From: af300wsm at gmail.com (Andrew Falanga) Date: Thu Jul 10 13:46:57 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <20080710033002.GB8384@shepherd> References: <200807092026.42703.af300wsm@gmail.com> <20080710033002.GB8384@shepherd> Message-ID: <340a29540807100646t5aa3c4abr1055c4bef9419ea2@mail.gmail.com> On Wed, Jul 9, 2008 at 9:30 PM, Sahil Tandon wrote: > Andrew Falanga wrote: > >> I've not had to set this up and so far my efforts have proven less than >> successful. I'm working on a web project with my father and one other >> developer. I need to have it so that our user id's, when creating files in >> the directory we share the source code in, create the files with the group >> id common to the three of us. How do I do this? > > [...] > > New files are created with GID set to that of the directory in which they're > contained. In your case, is that directory owned by user and group 'andy'? > If so: > Thank you. That is very helpful. I did not know that. Andy From laszlo_danielisz at yahoo.com Thu Jul 10 13:58:57 2008 From: laszlo_danielisz at yahoo.com (Danielisz Laszlo) Date: Thu Jul 10 13:59:04 2008 Subject: How do I install openoffice from packages? Message-ID: <756149.35622.qm@web30805.mail.mud.yahoo.com> I installed OO on FreeBSD 6.2 using this link: ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.2.1/i386/OOo_2.2.1_FreeBSD62Intel_install_en-US.tbz, without any problems, exactly what error log do you have? ----- Original Message ---- From: Andreas Davour To: Kevin Monceaux Cc: FreeBSD Questions E-Mail List Sent: Thursday, July 10, 2008 3:20:59 PM Subject: Re: How do I install openoffice from packages? On Wed, 9 Jul 2008, Kevin Monceaux wrote: > /Andreas, > > On Wed, 9 Jul 2008, Andreas Davour wrote: > >> I've tried and it just wont work. It look like the packages don't reside on >> the server but I can't change ftp.freebsd.org so how do I get it? > > From the Googling I did on the subject recently there is no official binary > packages for OpenOffice available. It is available in the ports tree. The > following thread: > > http://daemonforums.org/showthread.php?t=21 > > on D?monForums.org has a link to a site: > > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.4.0/7.0-STABLE/amd64/ > > With binary packages available for various versions of FreeBSD. Well, the > thread pointed to the i386 packages, but the amd64 packages were easy enough > to find. After fooling around a bit with online installs I downloaded the package and installed manually. It does complain about other stuff not being there. Isn't packages supposed to work like port and pull in requirements automagically? Note: I have 6.3 machine, not 7.0-STABLE so I tried the 6.2 directory. /Andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From remegius at comcast.net Thu Jul 10 14:30:59 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 14:31:05 2008 Subject: Locate command Message-ID: <20080710143054.GA99511@remdogbsd> > > > Rem P Roberti wrote: > > > Whenever I do a "locate" command on a new installation I get this > > > message: > > > > > > locate: database too small: /var/db/locate.database > > > > > > Can someone give me a heads up on how to fix this? > > > > > > Run this shell script: > > > > /etc/periodic/weekly/310.locate > > > > You might also think about installing sysutils/anacron, so that the > period scripts get run even if the machine is not left on overnight. I didn't know about this program, and I will definitely do an install. Than you. Rem From raggen at passagen.se Thu Jul 10 14:34:41 2008 From: raggen at passagen.se (Roger Olofsson) Date: Thu Jul 10 14:34:48 2008 Subject: Locate command In-Reply-To: <20080710023659.GA51675@remdogbsd> References: <20080710023659.GA51675@remdogbsd> Message-ID: <48761DF8.40300@passagen.se> Rem P Roberti skrev: > Whenever I do a "locate" command on a new installation I get this > message: > > locate: database too small: /var/db/locate.database > > Can someone give me a heads up on how to fix this? > > Thanks, > > Rem > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 2008-07-09 06:50 > > > Actually, the very first thing I always do after installing a FreeBSD is add this line to crontab: 00 02 * * * /usr/libexec/locate.updatedb I guess I'm a locate-freak ;^D /Roger From mikhailg at webanoide.org Thu Jul 10 14:39:19 2008 From: mikhailg at webanoide.org (Mikhail Goriachev) Date: Thu Jul 10 14:39:57 2008 Subject: quota and sendmail accepts <10k mail size In-Reply-To: <632084.63626.qm@web52210.mail.re2.yahoo.com> References: <632084.63626.qm@web52210.mail.re2.yahoo.com> Message-ID: <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> Quoting lyd mc : > However, my company wants to have 20meg mbox space per user. If the > User exceeds, he/she should not recieved any mail. > > So, I use system quota to prevent sendmail from writing to mbox of a Let me suggest slightly different approaches: 1.- You could have /usr/ports/mail/mimedefang making the decisions instead of sendmail or system quota. There you can set your own rules and sendmail will abide them. This gives you far better control and you're limited by your own imagination. 2.- Implement a mail server with quota capabilities. For instance cyrus-imap. There you can set quota limits, warning messages to users, percentages and so on. This is the easiest approach. Regards, Mikhail. -- Mikhail Goriachev Webanoide From remegius at comcast.net Thu Jul 10 14:44:10 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 14:44:16 2008 Subject: Locate command Message-ID: <20080710144408.GC99511@remdogbsd> > > > >Whenever I do a "locate" command on a new installation I get this > >message: > > > >locate: database too small: /var/db/locate.database > > > >Can someone give me a heads up on how to fix this? > > > >Thanks, > > > >Rem > > > > Actually, the very first thing I always do after installing a FreeBSD is > add this line to crontab: > > 00 02 * * * /usr/libexec/locate.updatedb > > I guess I'm a locate-freak ;^D > Done. Thanks again. Rem From vcrobe at gmail.com Thu Jul 10 14:46:48 2008 From: vcrobe at gmail.com (Robe) Date: Thu Jul 10 14:46:55 2008 Subject: Automounting usb flash memory in FreeBSD 7.0 Message-ID: <221c791e0807100721v29afa652yb0c8921c5a033034@mail.gmail.com> Hi there, I'm a novice in FreeBSD and I wanna know if there's some application to automount my USB flash memory in FreeBSD 7.0. Thanks, -- Robe. No se como ser? la tercera guerra mundial, s?lo se que la cuarta ser? con piedras y lanzas. From malcolm.kay at internode.on.net Thu Jul 10 14:48:46 2008 From: malcolm.kay at internode.on.net (Malcolm Kay) Date: Thu Jul 10 14:48:52 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101354.46321.malcolm.kay@internode.on.net> <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807110018.43081.malcolm.kay@internode.on.net> On Thu, 10 Jul 2008 09:45 pm, Mel wrote: > On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: > > > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; > > > then > > > > I find this line somewhat strange as I've not been able > > to find documentation for the expansion of ${parameter+set} under the > > Bourne shell. (nor bash, nor ksh) > > ***************************************************** > > Presumably someone out there knows where to find it? > > ***************************************************** > > It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise you > get "set": > $ echo ${foo+set} > > $ echo ${HOME+set} > set So it appears; but is it stated anywhere that this shorthand is legitimate? I find it quite frequently arising from the GNU configuring tools but haven't found it elsewhere. Is it a deliberate shorthand or just a consequence of the way sh and bash happen to have been programmed? In other words is it a safe shorthand? Anyway thanks for the clarification, Malcolm > > From danger at FreeBSD.org Thu Jul 10 14:55:56 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Thu Jul 10 14:56:32 2008 Subject: Locate command In-Reply-To: <20080710144408.GC99511@remdogbsd> References: <20080710144408.GC99511@remdogbsd> Message-ID: <56f5695e4cf4df1f213d3c2da4a2e817@78.47.53.106> Hello, >> Actually, the very first thing I always do after installing a FreeBSD is >> add this line to crontab: >> >> 00 02 * * * /usr/libexec/locate.updatedb >> >> I guess I'm a locate-freak ;^D >> > > Done. Thanks again. You guys should rather use /etc/periodic/weekly/310.locate script to update your locate database. -- Best regards, Daniel Gerzo From dickey at radix.net Thu Jul 10 14:59:11 2008 From: dickey at radix.net (Thomas Dickey) Date: Thu Jul 10 14:59:18 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807110018.43081.malcolm.kay@internode.on.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101354.46321.malcolm.kay@internode.on.net> <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> <200807110018.43081.malcolm.kay@internode.on.net> Message-ID: <20080710145859.GA10639@saltmine.radix.net> On Fri, Jul 11, 2008 at 12:18:42AM +0930, Malcolm Kay wrote: > On Thu, 10 Jul 2008 09:45 pm, Mel wrote: > > On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: > > > > > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; > > > > then it's interesting, but config.log would probably show the actual check that was made to fill in the shell variable... > > > I find this line somewhat strange as I've not been able > > > to find documentation for the expansion of ${parameter+set} under the > > > Bourne shell. (nor bash, nor ksh) > > > ***************************************************** > > > Presumably someone out there knows where to find it? > > > ***************************************************** > > > > It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise you > > get "set": > > $ echo ${foo+set} > > > > $ echo ${HOME+set} > > set > > So it appears; but is it stated anywhere that this shorthand is legitimate? > I find it quite frequently arising from the GNU configuring tools but > haven't found it elsewhere. > > Is it a deliberate shorthand or just a consequence of the way sh and bash > happen to have been programmed? In other words is it a safe shorthand? man sh on Solaris for instance: ${parameter:+word} If parameter is set and is non-null, substitute word; otherwise substitute nothing. In the above, word is not evaluated unless it is to be used as the substituted string, so that, in the following exam- ple, pwd is executed only if d is not set or is null: echo ${d:-`pwd`} SunOS 5.8 Last change: 9 May 1997 4 The same feature is on OpenBSD - I don't have FreeBSD at hand, but think it's likely to be found in the manpage - I just looked for /+.*} -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/be7fa367/attachment.pgp From remegius at comcast.net Thu Jul 10 15:00:10 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 15:00:16 2008 Subject: Locate command Message-ID: <20080710150008.GD99511@remdogbsd> > > Hello, > > >> Actually, the very first thing I always do after installing a FreeBSD is > >> add this line to crontab: > >> > >> 00 02 * * * /usr/libexec/locate.updatedb > >> > >> I guess I'm a locate-freak ;^D > >> > > > > Done. Thanks again. > > You guys should rather use /etc/periodic/weekly/310.locate script > to update your locate database. I'm pretty new to all of this, so how does one go about invoking that script? Thanks, Rem From fbsd.questions at rachie.is-a-geek.net Thu Jul 10 15:04:42 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 15:04:48 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807110018.43081.malcolm.kay@internode.on.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> <200807110018.43081.malcolm.kay@internode.on.net> Message-ID: <200807101704.40038.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 16:48:42 Malcolm Kay wrote: > On Thu, 10 Jul 2008 09:45 pm, Mel wrote: > > On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: > > > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = > > > > set"; }; then > > > > > > I find this line somewhat strange as I've not been able > > > to find documentation for the expansion of ${parameter+set} under the > > > Bourne shell. (nor bash, nor ksh) > > > ***************************************************** > > > Presumably someone out there knows where to find it? > > > ***************************************************** > > > > It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise > > you get "set": > > $ echo ${foo+set} > > > > $ echo ${HOME+set} > > set > > So it appears; but is it stated anywhere that this shorthand is legitimate? > I find it quite frequently arising from the GNU configuring tools but > haven't found it elsewhere. > > Is it a deliberate shorthand or just a consequence of the way sh and bash > happen to have been programmed? In other words is it a safe shorthand? > > Anyway thanks for the clarification, Hmm, I'm not sure if the colon syntax came first. Autotools claims to create portable shell code, though they also claim to make software developer's lives easier. The person to ask would probably be Doug Barton, since he's capable of writing things in shell, "normal" people would jump to a "real" language ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu Jul 10 15:10:42 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 15:10:48 2008 Subject: quota and sendmail accepts <10k mail size In-Reply-To: <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> References: <632084.63626.qm@web52210.mail.re2.yahoo.com> <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> Message-ID: <200807101710.39469.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 16:19:59 Mikhail Goriachev wrote: > Quoting lyd mc : > > However, my company wants to have 20meg mbox space per user. If the > > User exceeds, he/she should not recieved any mail. > > > > So, I use system quota to prevent sendmail from writing to mbox of a > > Let me suggest slightly different approaches: > > 1.- You could have /usr/ports/mail/mimedefang making the decisions > instead of sendmail or system quota. There you can set your own rules > and sendmail will abide them. This gives you far better control and > you're limited by your own imagination. > > 2.- Implement a mail server with quota capabilities. For instance > cyrus-imap. There you can set quota limits, warning messages to users, > percentages and so on. This is the easiest approach. So there isn't an equivalent to postfix's mailbox_size_limit? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jerrymc at msu.edu Thu Jul 10 15:15:20 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jul 10 15:15:26 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <200807101345.00536.fbsd.questions@rachie.is-a-geek.net> References: <200807092026.42703.af300wsm@gmail.com> <200807101345.00536.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080710151236.GB90730@gizmo.acns.msu.edu> On Thu, Jul 10, 2008 at 01:45:00PM +0200, Mel wrote: > On Thursday 10 July 2008 04:26:42 Andrew Falanga wrote: > > > How do I get this to stop working like this and create files > > with UID=andy GID=www? > > Just a head's up: www is the group id from Apache by default, so doing this, > you'll make the files writeable by the webserver, generally not something you > want to do. Only if the files have group write permission. Or was that covered in this thread already? ////jerry > It's better to create a seperate group, say 'wwwadmin'. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > _______________________________________________ > 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 fbsd.questions at rachie.is-a-geek.net Thu Jul 10 15:32:17 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Jul 10 15:32:24 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <20080710151236.GB90730@gizmo.acns.msu.edu> References: <200807092026.42703.af300wsm@gmail.com> <200807101345.00536.fbsd.questions@rachie.is-a-geek.net> <20080710151236.GB90730@gizmo.acns.msu.edu> Message-ID: <200807101732.15583.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 17:12:36 Jerry McAllister wrote: > On Thu, Jul 10, 2008 at 01:45:00PM +0200, Mel wrote: > > On Thursday 10 July 2008 04:26:42 Andrew Falanga wrote: > > > How do I get this to stop working like this and create files > > > with UID=andy GID=www? > > > > Just a head's up: www is the group id from Apache by default, so doing > > this, you'll make the files writeable by the webserver, generally not > > something you want to do. > > Only if the files have group write permission. Or was > that covered in this thread already? > I assumed it, since they want to work with 3 people on the same files. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jerrymc at msu.edu Thu Jul 10 15:48:29 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jul 10 15:48:36 2008 Subject: Why can't ping In-Reply-To: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> References: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> Message-ID: <20080710154544.GC90730@gizmo.acns.msu.edu> On Wed, Jul 09, 2008 at 04:01:27PM +0800, EdwardKing wrote: > I configure ed0 when I install FreeBSD7.0,like follows: > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 > > Then I Ping itself,like follows: > #ping 172.18.0.19 > > Then result is failure: > ping: sendto: No route to host > > Why? I'll make a wild guess that you have DHCP turned on and your le0 NIC was automatically configured the way it shows below. Then, either you don't have an ed0 on the machine, or for some reason, the system does not find it. Check dmesg(8) to see if the system finds an ed0 NIC. ////jerry > > I use ifconfig -a to show my ip,like follows: > > le0: flags=8843 metric 0 mtu 1500 > options=8 > either 00:0d:18:23:32:7a > inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: Ethernet autoselect > status: active > plip0:flags=108810 metric 1500 > lo0:flags=8049 metric 0 mtu 16384 > inet6::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > > Where is my following configure information, I can't find them! > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 > > What raise to lost my configure information? How to configure my ip and how to ping successly? > > I am a newer to BSDUnix,please give me detail steps. > > Thanks in advance! > Best regards, > Edward > > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From keramida at ceid.upatras.gr Thu Jul 10 15:49:43 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Jul 10 15:49:52 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807110018.43081.malcolm.kay@internode.on.net> (Malcolm Kay's message of "Fri, 11 Jul 2008 00:18:42 +0930") References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101354.46321.malcolm.kay@internode.on.net> <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> <200807110018.43081.malcolm.kay@internode.on.net> Message-ID: <87lk09sps2.fsf@kobe.laptop> On Fri, 11 Jul 2008 00:18:42 +0930, Malcolm Kay wrote: > On Thu, 10 Jul 2008 09:45 pm, Mel wrote: >> On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: >> >> > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; >> > > then >> > >> > I find this line somewhat strange as I've not been able >> > to find documentation for the expansion of ${parameter+set} under the >> > Bourne shell. (nor bash, nor ksh) >> > ***************************************************** >> > Presumably someone out there knows where to find it? >> > ***************************************************** >> >> It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise you >> get "set": >> $ echo ${foo+set} >> >> $ echo ${HOME+set} >> set > > So it appears; but is it stated anywhere that this shorthand is > legitimate? I find it quite frequently arising from the GNU > configuring tools but haven't found it elsewhere. It's legitimate. > Is it a deliberate shorthand or just a consequence of the way sh and > bash happen to have been programmed? In other words is it a safe > shorthand? The shorthand version would work too: if "${foo+set}" = 'set' ; then bar fi The interesting bits in the Autoconf generated code are, however, the side-effects of the expression: * ${ac_var} is set to the name of the variable to check. * The `ac_var' variable is expanded *twice* in the check. It is expanded once before eval runs, to get the _name_ of the variable to check, and then eval sees something like "${foo+set}". * The assignment to `ac_var' is done inside a { ... } pair of brackets; not in parentheses. This means that the rest of the script can keep using ${ac_var} to find the name of the `autoconf variable' this part of the script has set (the assignment to ac_var happens in the current shell, and not in a sub-process). From malcolm.kay at internode.on.net Thu Jul 10 16:03:49 2008 From: malcolm.kay at internode.on.net (Malcolm Kay) Date: Thu Jul 10 16:03:56 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807101704.40038.fbsd.questions@rachie.is-a-geek.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807110018.43081.malcolm.kay@internode.on.net> <200807101704.40038.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200807110133.45331.malcolm.kay@internode.on.net> On Fri, 11 Jul 2008 12:34 am, Mel wrote: > On Thursday 10 July 2008 16:48:42 Malcolm Kay wrote: > > On Thu, 10 Jul 2008 09:45 pm, Mel wrote: > > > On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: > > > > > 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = > > > > > set"; }; then > > > > > > > > I find this line somewhat strange as I've not been able > > > > to find documentation for the expansion of ${parameter+set} under the > > > > Bourne shell. (nor bash, nor ksh) > > > > ***************************************************** > > > > Presumably someone out there knows where to find it? > > > > ***************************************************** > > > > > > It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise > > > you get "set": > > > $ echo ${foo+set} > > > > > > $ echo ${HOME+set} > > > set > > > > So it appears; but is it stated anywhere that this shorthand is legitimate? > > I find it quite frequently arising from the GNU configuring tools but > > haven't found it elsewhere. > > > > Is it a deliberate shorthand or just a consequence of the way sh and bash > > happen to have been programmed? In other words is it a safe shorthand? > > > > Anyway thanks for the clarification, > > Hmm, I'm not sure if the colon syntax came first. Looks like your supposition is correct. I dug out an old DEC Ultrix manual which ducuments an 'sh' shell and a 'sh5' shell the 'sh' being the "normal" bsd version of the Bourne shell and 'sh5' being a compatibility version for system V scripts. The former (bsd version) does not use the ':' in parameter substitutions. But the system V version does. > Autotools claims to create > portable shell code, though they > also claim to make software developer's > lives easier. Malcolm From sgmayo at mail.bloomfield.k12.mo.us Thu Jul 10 16:05:35 2008 From: sgmayo at mail.bloomfield.k12.mo.us (sgmayo@mail.bloomfield.k12.mo.us) Date: Thu Jul 10 16:05:43 2008 Subject: Ldap NSS PAM Samba Message-ID: <2714.204.184.27.217.1215704516.squirrel@mail.bloomfield.k12.mo.us> I am trying to setup a FreeBSD server with samba that uses OpenLdap. I have installed everything and was doing some configuring. I set this all up once before on a Linux box, but I basically just went through the motions and really was not sure what all I did...but it worked. Now I want to understand everything so that I know exactly what all I did. :) I have the following: I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. I installed PAM which put ldap.conf.dist in /usr/local/etc. I installed NSS which put nss_ldap.conf in /usr/local/etc. >From looking at them I assume that the last two are the same file and one of them just needs to be renamed to ldap.conf and configured for PAM and NSS, is that correct? The ldap.conf in /usr/local/etc/openldap is a different config file even though it has the same name? It is used for openldap and the other is used for PAM and NSS? Thanks for any info. -- Scott Mayo - System Administrator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Question: Because it reverses the logical flow of conversation. Answer: Why is putting a reply at the top of the message frowned upon? From luizbcampos at gmail.com Thu Jul 10 16:16:52 2008 From: luizbcampos at gmail.com (luizbcampos) Date: Thu Jul 10 16:16:58 2008 Subject: brazilian ABNT2 keyboard on FBSD-7.0 Message-ID: FBSD-7.0-R amd64 is unable to recognize my keyboard. I have already setup xorgconfig but the failure lingers on From kkutzko at teksavvy.com Thu Jul 10 16:23:55 2008 From: kkutzko at teksavvy.com (Kevin K) Date: Thu Jul 10 16:24:08 2008 Subject: Any idea when a bind update will be forthcoming? In-Reply-To: <6288FD55AC2A881165583218@utd65257.utdallas.edu> References: <6288FD55AC2A881165583218@utd65257.utdallas.edu> Message-ID: <003e01c8e2a9$27641540$762c3fc0$@com> > Given the serious nature of the vulnerability, I'm sure this is at the > top of > someone's list. Do we have a scheduled release date yet? >From -security : >Dear all, > >Doug just updated the ports tree with the updated BIND ports. If you >urgently want to upgrade and really cannot wait for the advisory. Please >use the ports system to get up to speed. > >Thanks Doug for working on this on such short notice! > >Cheers, >remko I understand you can implement the patch manually and rebuild BIND yourself, someone listed the steps needed to do that in -security as well. ~k From joshuafruge at gmail.com Thu Jul 10 16:33:23 2008 From: joshuafruge at gmail.com (=?ISO-8859-1?Q?Joshua_Frug=E9?=) Date: Thu Jul 10 16:33:32 2008 Subject: dns update for 7.0 Message-ID: <2f33bdd20807100905l4d6ead71jfa21838420b42445@mail.gmail.com> I just joined the list (but did search the archive), so I apologize in advance if this was already answered and I missed it. What's the process to update the base bind in freebsd for the new cacheing poisoning vuln that seems to be all the rage lately? I'm running freebsd 7.0-RELEASE-p2 and I am using the included base bind 9.4.2 as resolver for my network. Will there be an update through freebsd-update to upgrade to bind 9.4.2-p1, or is there some other process I need to follow....compile source and replace?. Thanks, -- Joshua Frug? joshuafruge@gmail.com From pschmehl_lists at tx.rr.com Thu Jul 10 16:38:02 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Thu Jul 10 16:38:09 2008 Subject: Any idea when a bind update will be forthcoming? Message-ID: <6288FD55AC2A881165583218@utd65257.utdallas.edu> Given the serious nature of the vulnerability, I'm sure this is at the top of someone's list. Do we have a scheduled release date yet? -- Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. From sullrich at gmail.com Thu Jul 10 16:39:14 2008 From: sullrich at gmail.com (Scott Ullrich) Date: Thu Jul 10 16:39:26 2008 Subject: Any idea when a bind update will be forthcoming? In-Reply-To: <6288FD55AC2A881165583218@utd65257.utdallas.edu> References: <6288FD55AC2A881165583218@utd65257.utdallas.edu> Message-ID: On Thu, Jul 10, 2008 at 12:09 PM, Paul Schmehl wrote: > Given the serious nature of the vulnerability, I'm sure this is at the top > of someone's list. Do we have a scheduled release date yet? See the thread "BIND update?". Scott PS: please do not crosspost. From Golub_Taras at i.ua Thu Jul 10 16:39:44 2008 From: Golub_Taras at i.ua (=?windows-1251?B?0uDw4PE=?=) Date: Thu Jul 10 16:39:51 2008 Subject: mount USB on FreeBSD 7.0 Message-ID: I need to mount USB on FreeBSD 7.0 # mount -t msdos /dev/da0s1 /mnt/usb mount: Using "-t msdosfs", since "-t msdos" is deprecated. mount_msdosfs: /dev/da0s1: : Operation not permitted what must I do? ? ?????????. ????? ????? -- ??????? ----------------------------------------------------------- ????? Chevrolet Aveo ??? ? ???????! http://video.i.ua/user/835678/9877/43665/ From jimmiejaz at gmail.com Thu Jul 10 16:48:33 2008 From: jimmiejaz at gmail.com (Jimmie James) Date: Thu Jul 10 16:49:12 2008 Subject: vlc-devel WxGTK switch to qt4 Message-ID: <48763772.2080902@gmail.com> configure: error: The skins2 module depends on a the Qt4 development package. Without it you won't be able to open any dialog box from the interface, which makes the skins2 interface rather useless. Install the Qt4 development package or alternatively you can also configure with: --disable-qt4 --disable-skins2. Who's bright idea was it to move from WxGTK to qt4? http://docs.freebsd.org/cgi/getmsg.cgi?fetch=756874+0+current/cvs-ports Fix volume bar position problem ? USE_WX=2.6 fixed that issue. Can anyone suggest a work around for us GTK2 users that doesn't require qt4? -- Over the years I've come to regard you as people I've met. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From Kevin at RawFedDogs.net Thu Jul 10 16:52:02 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Thu Jul 10 16:52:09 2008 Subject: How do I install openoffice from packages? In-Reply-To: References: Message-ID: /Andreas, On Thu, 10 Jul 2008, Andreas Davour wrote: > On Thu, 10 Jul 2008, Kevin Monceaux wrote: >> >> make missing > > Nifty! I wasn't aware of that option. Very useful. Thanks. I just recently became aware of it myself. Try: man ports and you might discover several useful make targets you might not have heard of before. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From m.seaman at infracaninophile.co.uk Thu Jul 10 16:59:06 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jul 10 16:59:13 2008 Subject: Locate command In-Reply-To: <20080710150008.GD99511@remdogbsd> References: <20080710150008.GD99511@remdogbsd> Message-ID: <48763FC8.2090107@infracaninophile.co.uk> Rem P Roberti wrote: >> Hello, >> >>>> Actually, the very first thing I always do after installing a FreeBSD is >>>> add this line to crontab: >>>> >>>> 00 02 * * * /usr/libexec/locate.updatedb >>>> >>>> I guess I'm a locate-freak ;^D >>>> >>> Done. Thanks again. >> You guys should rather use /etc/periodic/weekly/310.locate script >> to update your locate database. > > I'm pretty new to all of this, so how does one go about invoking that > script? Well, to run it by hand you type: /etc/periodic/weekly/310.locate Otherwise it will be run automatically by the periodic(8) system. It is enabled by default: happy-idiot-talk:~:% grep locate /etc/defaults/periodic.conf # 310.locate weekly_locate_enable="YES" # Update locate weekly You can create a file /etc/periodic.conf to control turning on or off or to tweak parameters for any of the periodic scripts. As the name suggests it's a weekly script, and if you look at /etc/crontab you will see the line: 15 4 * * 6 root periodic weekly Or in other words, it runs at around 4:15am on Saturdays. If you wanted to run it every day, then you'ld copy it to /usr/local/etc/periodic/daily/310.locate, globally substitute daily_locate for weekly_locate eg. by: sed -i.bak -e 's/weekly_locate/daily_locate/' \ /usr/local/etc/periodic/daily/310.locate and then put both 'daily_locate_enable="YES"' and 'weekly_locate_enable="NO"' into /etc/periodic.conf In this case it would be run by the periodic system like so: 1 3 * * * root periodic daily that is: at 3:01am every day. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/8bb8ce53/signature-0001.pgp From jerrymc at msu.edu Thu Jul 10 17:03:50 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jul 10 17:03:57 2008 Subject: User properties and how to make files with a specific group owner In-Reply-To: <200807101732.15583.fbsd.questions@rachie.is-a-geek.net> References: <200807092026.42703.af300wsm@gmail.com> <200807101345.00536.fbsd.questions@rachie.is-a-geek.net> <20080710151236.GB90730@gizmo.acns.msu.edu> <200807101732.15583.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080710170106.GA91290@gizmo.acns.msu.edu> On Thu, Jul 10, 2008 at 05:32:15PM +0200, Mel wrote: > On Thursday 10 July 2008 17:12:36 Jerry McAllister wrote: > > On Thu, Jul 10, 2008 at 01:45:00PM +0200, Mel wrote: > > > On Thursday 10 July 2008 04:26:42 Andrew Falanga wrote: > > > > How do I get this to stop working like this and create files > > > > with UID=andy GID=www? > > > > > > Just a head's up: www is the group id from Apache by default, so doing > > > this, you'll make the files writeable by the webserver, generally not > > > something you want to do. > > > > Only if the files have group write permission. Or was > > that covered in this thread already? > > > > I assumed it, since they want to work with 3 people on the same files. OK. I missed that part. Sounds like they need to set up a virtual host tied to a login address - eg create a user, add content to user's public_html directory and make that ~newuser/public_html/ directory be the document root for the virtual host web site. Give those 3 users write access to that public_html directory, probably by making a unique group for it, making it group writable and world readable and put those users in that group. Playing around with ACLs would be more interesting for it. ////jerry > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > _______________________________________________ > 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 remegius at comcast.net Thu Jul 10 17:05:49 2008 From: remegius at comcast.net (Rem P Roberti) Date: Thu Jul 10 17:06:32 2008 Subject: Locate command Message-ID: <20080710170546.GA959@remdogbsd> > Rem P Roberti wrote: > >>Hello, > >> > >>>>Actually, the very first thing I always do after installing a FreeBSD is > >>>>add this line to crontab: > >>>> > >>>>00 02 * * * /usr/libexec/locate.updatedb > >>>> > >>>>I guess I'm a locate-freak ;^D > >>>> > >>>Done. Thanks again. > >>You guys should rather use /etc/periodic/weekly/310.locate script > >>to update your locate database. > > > >I'm pretty new to all of this, so how does one go about invoking that > >script? > > Well, to run it by hand you type: > > /etc/periodic/weekly/310.locate > > Otherwise it will be run automatically by the periodic(8) system. > It is enabled by default: > > happy-idiot-talk:~:% grep locate /etc/defaults/periodic.conf > # 310.locate > weekly_locate_enable="YES" # Update locate > weekly > > You can create a file /etc/periodic.conf to control turning on > or off or to tweak parameters for any of the periodic scripts. > > As the name suggests it's a weekly script, and if you look at > /etc/crontab you will see the line: > > 15 4 * * 6 root periodic weekly > > Or in other words, it runs at around 4:15am on Saturdays. > > If you wanted to run it every day, then you'ld copy it to > /usr/local/etc/periodic/daily/310.locate, globally substitute > daily_locate for weekly_locate eg. by: > > sed -i.bak -e 's/weekly_locate/daily_locate/' \ > /usr/local/etc/periodic/daily/310.locate > > and then put both 'daily_locate_enable="YES"' and > 'weekly_locate_enable="NO"' into /etc/periodic.conf > > In this case it would be run by the periodic system like so: > > 1 3 * * * root periodic daily > > that is: at 3:01am every day. > > Cheers, > > Matthew > Thanks to folks like you, Matthew, I'm slowly, but surely, learning this stuff. Rem From m.seaman at infracaninophile.co.uk Thu Jul 10 17:09:55 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jul 10 17:10:02 2008 Subject: snippet of configure script - explain please In-Reply-To: <200807110018.43081.malcolm.kay@internode.on.net> References: <20080709172513.GA51206@mech-cluster238.men.bris.ac.uk> <200807101354.46321.malcolm.kay@internode.on.net> <200807101415.51455.fbsd.questions@rachie.is-a-geek.net> <200807110018.43081.malcolm.kay@internode.on.net> Message-ID: <48764246.8080904@infracaninophile.co.uk> Malcolm Kay wrote: > On Thu, 10 Jul 2008 09:45 pm, Mel wrote: >> On Thursday 10 July 2008 06:24:46 Malcolm Kay wrote: >> >>>> 9255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; >>>> then >>> I find this line somewhat strange as I've not been able >>> to find documentation for the expansion of ${parameter+set} under the >>> Bourne shell. (nor bash, nor ksh) >>> ***************************************************** >>> Presumably someone out there knows where to find it? >>> ***************************************************** >> It's shorthand for ${paramter:+set}, so if unset, you get "", otherwise you >> get "set": >> $ echo ${foo+set} >> >> $ echo ${HOME+set} >> set > > So it appears; but is it stated anywhere that this shorthand is legitimate? > I find it quite frequently arising from the GNU configuring tools but > haven't found it elsewhere. > > Is it a deliberate shorthand or just a consequence of the way sh and bash > happen to have been programmed? In other words is it a safe shorthand? > > Anyway thanks for the clarification, This syntax is certainly legitimate, and it is covered in the sh(1) man page. However, the relevant section talks mostly about the related form: ${parameter:+word} which means 'evaluate to null unless ${parameter} is unset or null, otherwise evaluate to "word"'. Then there's a very small and easily missed note to the effect: "In the parameter expansions shown previously, use of the colon in the format results in a test for a parameter that is unset or null; omission of the colon results in a test for a parameter that is only unset." So ${parameter+word} means 'evaluate to null unless ${parameter} is unset, otherwise evaluate to "word"' Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/512fdc09/signature.pgp From m.seaman at infracaninophile.co.uk Thu Jul 10 17:37:28 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Thu Jul 10 17:37:35 2008 Subject: dns update for 7.0 In-Reply-To: <2f33bdd20807100905l4d6ead71jfa21838420b42445@mail.gmail.com> References: <2f33bdd20807100905l4d6ead71jfa21838420b42445@mail.gmail.com> Message-ID: <487648C6.6030403@infracaninophile.co.uk> Joshua Frug? wrote: > I just joined the list (but did search the archive), so I apologize in > advance if this was already answered and I missed it. > > What's the process to update the base bind in freebsd for the new > cacheing poisoning vuln that seems to be all the rage lately? > > I'm running freebsd 7.0-RELEASE-p2 and I am using the included base > bind 9.4.2 as resolver for my network. Will there be an update > through freebsd-update to upgrade to bind 9.4.2-p1, or is there some > other process I need to follow....compile source and replace?. I recommend you install one or other of the bind ports: dns/bin9 dns/bind94 dns/bind95 All of these were updated last night to include the UDP port randomization stuff in the latest security patch. (There's not much point in installing dns/bind9 though, as that's a downgrade to bind9.3 from the system supplied bind-9.4.2) You don't need to overwrite the base system bind -- the vulnerability works on the cache of a running instance of named when configured as a recursive resolver. So as long as you start up the patched daemon, everything should be fine. To start up the version of bind you just installed from ports, add named_enable="YES" named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf" to /etc/rc.conf and then run: /etc/rc.d/named restart and check your system logs for a line saying something like: starting BIND 9.X.Y-P1 -c /etc/namedb/named.conf -t /var/named -u bind where the 'P1' bit shows you're running the patched version. There may well be a security notice and a patch for the base system generated in the next few days: the security team is looking into the matter and will respond in due course. D-day for having everything properly patched is the presentation Dan Kaminsky is doing at the Blackhats conference on August 6th (or possibly August 7th) The patches ISC have produced will have an adverse effect if you're answering something in excess of 10,000 DNS queries a second, which is rather more than most people would get to deal with, but are otherwise innocuous. http://www.isc.org/index.pl?/sw/bind/bind-security.php To test if a recursive nameserver is potentially vulnerable, grab the perl script from this site: http://michael.toren.net/code/noclicky/ Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/2bb42cc9/signature.pgp From fbsd06 at mlists.homeunix.com Thu Jul 10 17:51:51 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu Jul 10 17:52:04 2008 Subject: Which VIA CPUs have hardware RNG support? In-Reply-To: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> References: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> Message-ID: <20080710185146.37f0a625@gumby.homeunix.com.> On Wed, 9 Jul 2008 11:31:36 -0400 "Joseph Gleason" wrote: > I am trying to figure out which VIA CPUs support hardware RNG under > recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If > there is something that else I should be looking at, please let me > know. > > Based on 'man 4 random' I see: > "The only hardware implementation currently is for the > VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added > in the future." > > Poking around in the kernel I see that indeed nehemiah and yarrow seem > to be the only random sources there. If you have a need for a lot of entropy, you can also use the kernel RC4 generator via "sysctl kern.arandom". A couple of other hardware sources are implemented as yarrow entropy sources rather than using the hardware generator directly. I think the support for AMD Geode LX, will be of this form. I suspect that this is more secure than the nehemiah support since it doesn't actually rely on on the hardware alone. From freebsd at troback.com Thu Jul 10 18:34:28 2008 From: freebsd at troback.com (Anders =?UTF-8?B?VHJvYsOkY2s=?=) Date: Thu Jul 10 18:34:35 2008 Subject: mount USB on FreeBSD 7.0 In-Reply-To: References: Message-ID: <20080710203205.1703f8b4@baal.troback.com> On Thu, 10 Jul 2008 18:07:32 +0300 ????? wrote: > I need to mount USB on FreeBSD 7.0 > # mount -t msdos /dev/da0s1 /mnt/usb > mount: Using "-t msdosfs", since "-t msdos" is deprecated. > mount_msdosfs: /dev/da0s1: : Operation not permitted > what must I do? > > ? ?????????. ????? ????? > Have a look at this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT Did that help? \\troback -- ================================================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" ---------------------------------------------------------------- Anders Trob?ck http://www.troback.com/ - From pschmehl_lists at tx.rr.com Thu Jul 10 18:38:40 2008 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Thu Jul 10 18:38:47 2008 Subject: dns update for 7.0 In-Reply-To: <2f33bdd20807100905l4d6ead71jfa21838420b42445@mail.gmail.com> References: <2f33bdd20807100905l4d6ead71jfa21838420b42445@mail.gmail.com> Message-ID: <96D7621878D5987CDC645541@utd65257.utdallas.edu> --On Thursday, July 10, 2008 11:05:11 -0500 Joshua Frug? wrote: > I just joined the list (but did search the archive), so I apologize in > advance if this was already answered and I missed it. > > What's the process to update the base bind in freebsd for the new > cacheing poisoning vuln that seems to be all the rage lately? > > I'm running freebsd 7.0-RELEASE-p2 and I am using the included base > bind 9.4.2 as resolver for my network. Will there be an update > through freebsd-update to upgrade to bind 9.4.2-p1, or is there some > other process I need to follow....compile source and replace?. > Base bind is updated by freebsd-update *assuming* you are using the base bind and not the port bind *and* assuming you haven't altered any of the binaries by patching them manually. You can, of course, use the tried and true make buildworld process to update it as well *when* the patches are released. -- Paul Schmehl As if it wasn't already obvious, my opinions are my own and not those of my employer. From freebsd at troback.com Thu Jul 10 18:39:18 2008 From: freebsd at troback.com (Anders =?UTF-8?B?VHJvYsOkY2s=?=) Date: Thu Jul 10 18:39:33 2008 Subject: Automounting usb flash memory in FreeBSD 7.0 In-Reply-To: <221c791e0807100721v29afa652yb0c8921c5a033034@mail.gmail.com> References: <221c791e0807100721v29afa652yb0c8921c5a033034@mail.gmail.com> Message-ID: <20080710203655.43a0f5d7@baal.troback.com> On Thu, 10 Jul 2008 09:21:35 -0500 Robe wrote: > Hi there, > > I'm a novice in FreeBSD and I wanna know if there's some application > to automount my USB flash memory in FreeBSD 7.0. > > > Thanks, > Hi, one way is amd. Have a look at section 27.3.5 "Automatic Mounts with amd" in the handbook and maybe http://renaud.waldura.com/doc/freebsd/automounting.txt \\troback -- ================================================================ Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" ---------------------------------------------------------------- Anders Trob?ck http://www.troback.com/ - From rsmith at xs4all.nl Thu Jul 10 18:41:36 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Jul 10 18:41:49 2008 Subject: mount USB on FreeBSD 7.0 In-Reply-To: References: Message-ID: <20080710180736.GA37787@slackbox.xs4all.nl> On Thu, Jul 10, 2008 at 06:07:32PM +0300, ????? wrote: > I need to mount USB on FreeBSD 7.0 > # mount -t msdos /dev/da0s1 /mnt/usb > mount: Using "-t msdosfs", since "-t msdos" is deprecated. > mount_msdosfs: /dev/da0s1: : Operation not permitted > what must I do? - make sure you have read/write access to the device node (see devfs.rules(5)). - make sure that the sysctl vfs.usermount=1 - make sure that you own the mount point. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/fe7c5805/attachment.pgp From perrin at apotheon.com Thu Jul 10 18:41:39 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu Jul 10 18:41:50 2008 Subject: GPL in the base system Message-ID: <20080710183555.GA83343@kokopelli.hydra> Is there an up-to-date list of GPLed stuff in the base system? I seem to recall finding a page for a project for replacing GNU tools with BSD-licensed tools, but managed to lose it in the meantime. I'd like to find that again too. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Edmund Burke: "The only thing necessary for the triumph of evil is for good men to do nothing." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/2b64a7c1/attachment.pgp From kris at FreeBSD.org Thu Jul 10 18:53:27 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Thu Jul 10 18:53:35 2008 Subject: GPL in the base system In-Reply-To: <20080710183555.GA83343@kokopelli.hydra> References: <20080710183555.GA83343@kokopelli.hydra> Message-ID: <48765AA6.307@FreeBSD.org> Chad Perrin wrote: > Is there an up-to-date list of GPLed stuff in the base system? find /usr/src/gnu Kris From ivoras at freebsd.org Thu Jul 10 19:07:09 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Jul 10 19:07:17 2008 Subject: FreeBSD 7.0 and RAM limit In-Reply-To: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> References: <1FC03320-82E6-4ADD-AE3F-E0BAD48AF4D0@heron.pl> Message-ID: Robert Heron wrote: > Hi, > > I use: > > FreeBSD 7.0-R on i386 server with motherboard S5000VSA and 6GB RAM > onboard. BIOS version - 88 (the latest) > > Kernel includes: options MAXMEM=(6*1024*1024) You generally shouldn't touch MAXMEM as it's autotuned. > And FreeBSD reports only: > > real memory = 2680160256 (2556 MB) > avail memory = 2617892864 (2496 MB) > > Why? What is wrong that FreeBSD sees only about 2.5GB instead of 6GB? Having only 2.5 GB is a bit severe (do you have lots of PCI hardware? video cards with lots of memory?), but PAE could be your solution. See here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/37055cd5/signature.pgp From thedossone at googlemail.com Thu Jul 10 20:13:57 2008 From: thedossone at googlemail.com (Max Russell) Date: Thu Jul 10 20:14:03 2008 Subject: compile agp kernel support Message-ID: <6fec50390807101248p3adecf54u2852914cbbf110d9@mail.gmail.com> I need to compile nvidia agp support in to my kernel. I can work through the handbook and have previously compiled a kernel, but if anyone has previously add the agp support, could they give me sime pointers? From rsmith at xs4all.nl Thu Jul 10 20:20:54 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Jul 10 20:21:02 2008 Subject: compile agp kernel support In-Reply-To: <6fec50390807101248p3adecf54u2852914cbbf110d9@mail.gmail.com> References: <6fec50390807101248p3adecf54u2852914cbbf110d9@mail.gmail.com> Message-ID: <20080710202052.GA41215@slackbox.xs4all.nl> On Thu, Jul 10, 2008 at 08:48:35PM +0100, Max Russell wrote: > I need to compile nvidia agp support in to my kernel. I can work through the > handbook and have previously compiled a kernel, but if anyone has previously > add the agp support, could they give me sime pointers? The agp driver is compiled into the GENERIC kernel. And it is available as a module that can be loaded via /boot/loader.conf. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080710/155937f8/attachment.pgp From gomez at telehouse.com Thu Jul 10 21:07:52 2008 From: gomez at telehouse.com (Julio Gomez) Date: Thu Jul 10 21:08:00 2008 Subject: Dell's PERC6i Message-ID: <010201c8e2cf$810894b0$8319be10$@com> I am planning to purchase Dell PowerEdge 2950 III with RAID 5 configuration. I checked Hardware Note on FreeBSD site but Dell's PERC6i is not on the list. Is it supported by FreeBSD 7.0 and/or FreeBSD 6.3 Thank you very much for your help in advance. === Hardware Configuration === Backplane: 1x6 Backplane for 3.5-inch Hard Drives [Included in Price] SAS RAID Contoller: PERC6i SAS RAID Controller, 2x4 Connectors, Int, PCIe, 256MB Cache, x6 Back Hard Drive Configuration: Integrated SAS/SATA RAID 5, PERC 6/i Integrated Hard Drive: Five (5) 146GB 15K RPM Serial-Attach SCSI 3Gbps 3.5-in HotPlug Hard Drive Regards, Julio Gomez From vlf at unex.berkeley.edu Thu Jul 10 21:14:05 2008 From: vlf at unex.berkeley.edu ( Veronica Labarca) Date: Thu Jul 10 21:14:14 2008 Subject: Enabling root login without an administrator account Message-ID: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> Hi, I have inherited a FreeBSD server and need to change the apache configuration, but cannot log in to the server. I have the root password (and know how to change it if needed in any case). The problem is that root login is disabled. There are various administrative accounts on the server, but I don't have the password to any of those. Can someone advise me as to either, how to get the root login enabled or how to change the password on a different account? Thanks for any help you can provide. Viqui From cswiger at mac.com Thu Jul 10 21:21:54 2008 From: cswiger at mac.com (Chuck Swiger) Date: Thu Jul 10 21:22:05 2008 Subject: Enabling root login without an administrator account In-Reply-To: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> References: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> Message-ID: Hi-- On Jul 10, 2008, at 1:58 PM, Veronica Labarca wrote: > I have inherited a FreeBSD server and need to change the apache > configuration, but cannot log in to the server. I have the root > password > (and know how to change it if needed in any case). The problem is > that root > login is disabled. There are various administrative accounts on the > server, > but I don't have the password to any of those. Can someone advise me > as to > either, how to get the root login enabled or how to change the > password on a > different account? > Thanks for any help you can provide. If you can login to the machine directly on console, the root password should work. At which point, set up a normal user account which is in the wheel group and can use su, and/or install sudo. Or use passwd to change the passwords of some of the existing accounts to a known state. If you really want to permit remote logins as root via SSH, edit /etc/ ssh/sshd_config and set "PermitRootLogin yes", and then restart SSHd...but please be warned that this is a significant security risk, unless you take measures like disabling password in favor of SSH keys only, or use a firewall to restrict which machines can connect to SSHd on this machine. Regards, -- -Chuck From chris at smartt.com Thu Jul 10 21:23:51 2008 From: chris at smartt.com (Chris St Denis) Date: Thu Jul 10 21:23:57 2008 Subject: Enabling root login without an administrator account In-Reply-To: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> References: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> Message-ID: <48767DF2.9020703@smartt.com> Veronica Labarca wrote: > Hi, > I have inherited a FreeBSD server and need to change the apache > configuration, but cannot log in to the server. I have the root password > (and know how to change it if needed in any case). The problem is that root > login is disabled. There are various administrative accounts on the server, > but I don't have the password to any of those. Can someone advise me as to > either, how to get the root login enabled or how to change the password on a > different account? > Thanks for any help you can provide. > Viqui > _______________________________________________ > 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'm assuming you mean root login via SSH is disabled (as is the default). IIRC, root can always login from the console. Login as root from the console (or boot into single user mode) and edit /etc/ssh/sshd_config Uncomment "PermitRootLogin" line and change no to yes. An alternate (and better) solution is to create yourself a user account in the wheel group and use that to login then SU up to root. From nickhardcore at gmail.com Thu Jul 10 22:04:25 2008 From: nickhardcore at gmail.com (nickhardcore@gmail.com) Date: Thu Jul 10 22:04:33 2008 Subject: unknown option IPV6FIREWALL_VERBOSE when compiling Message-ID: <48768120.60705@gmail.com> Hi list. I was following this guide (http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html) to configure and use IPFW on my FreeBSD 7 (is a vmware virtual machine but I don't think this is a problem) [root@hyperion /usr/src]$ uname -a FreeBSD hyperion.xxx.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #1: Wed Jul 2 19:48:58 CEST 2008 root@hyperion.xxx.org:/usr/obj/usr/src/sys/CUSTOM i386 But when compiling the kernel I have the following error: [root@hyperion /usr/src]# make buildkernel KERNCONF=CUSTOM -------------------------------------------------------------- >>> Kernel build for CUSTOM started on Thu Jul 10 23:21:45 CEST 2008 -------------------------------------------------------------- ===> CUSTOM mkdir -p /usr/obj/usr/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/CUSTOM /usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf/CUSTOM: unknown option "IPV6FIREWALL_VERBOSE" *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. The kernel configuration is a "GENERIC" with this few customizations: options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA options DEVICE_POLLING options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPV6FIREWALL options IPV6FIREWALL_VERBOSE options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT I tried to update through cvsup the system and then recompile the kernel with the new options but the error is still there. Any idea? nick From rfg at tristatelogic.com Thu Jul 10 22:09:22 2008 From: rfg at tristatelogic.com (Ronald F. Guilmette) Date: Thu Jul 10 22:09:29 2008 Subject: Install failure for 7.0-RELEASE (Need help!) Message-ID: <52573.1215726636@tristatelogic.com> This is drivin' me nuts. I hope somebody can pass me a clue. I have an older system that I've been running 6.1-RELEASE on for a long long time now. I want to upgrade it to run 7.0-RELEASE. (CPU => AMD Athlon XP 2000, Motherboard => ASUS A7N266-VM/AA.) OK, so I install a new hard drive (known good /practically new) and I'm ready to do a fresh install of 7.0-RELEASE onto this fresh new blank drive. The problem is that the bleedin' *&^$#@*!^% 7.0-RELEASE install disk (#1) seems to be trying to do some new and fancy schmancy stuff as regards to reading stuff off the installation CD that prior releases did not do. (I've checked with the exact same hardware, and I can still boot/install from an old 6.1-RELEASE CD with no problems. So the software has changed, obviously, and not in a good way.) Basically, I get down past the so-called "Stage 3 boot loader prompt" and then I'm actually booting the 7.0 OS from the CD ROM drive and regardless of which CD ROM drive I use... I've already tried several... and regardless of which burned copy of 7.0-RELEASE install disk #1 I try to use (I have tried at least two... one know to be good from a prior install on a different machine) I always get the same results... acd0: CDROM at ata1-master UDMA33 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install. acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 ... whreupon the install process dies with some other messages that I doubt are of any importance to what is happening here. The real problem seems to clearly be the failure of these big reads off the CD that this new 7.0-RELEASE is trying to do as part of the install process. Can anybody help? I've been Googling around for "acd0: FAILURE - READ_BIG ILLEGAL REQUEST" for half the day already and I'm no wiser about this problem than when I started. What the bleep does this message actually mean? And what the devil is actually causing it? More importantly, how can I get it to go away so that I can just simply complete my install of 7.0-RELEASE onto this system? A little help would be appreciated. Regards, rfg P.S. Before anybody asks to see my dmesg output, please remember that I'm trying to do an install, and I'm not even getting fully booted up. So I have no way to capture, let alone share a dmesg log. From pcloches at gmail.com Thu Jul 10 23:21:56 2008 From: pcloches at gmail.com (Patrick C) Date: Thu Jul 10 23:22:03 2008 Subject: Dell's PERC6i In-Reply-To: <010201c8e2cf$810894b0$8319be10$@com> References: <010201c8e2cf$810894b0$8319be10$@com> Message-ID: <34394a3a0807101621l41f7f24dt8d0e894824f5d5ad@mail.gmail.com> The 6i will work on FreeBSD, however realize that a much better choice for a production machine is a card which "really" supports FreeBSD... just due to the availability and reliability of the tools required for maintaining the system while running. Have you considered SuperMicro machines with 3ware (AMCC) cards? I'm not affiliated either, but it seems to be a great combo. AMCC still supports FreeBSD pretty well, and the cards perform well. -Patrick 2008/7/10 Julio Gomez : > I am planning to purchase Dell PowerEdge 2950 III with RAID 5 configuration. > > I checked Hardware Note on FreeBSD site but Dell's PERC6i is not on the > list. Is it supported by FreeBSD 7.0 and/or FreeBSD 6.3 > > Thank you very much for your help in advance. > > === Hardware Configuration === > > Backplane: > 1x6 Backplane for 3.5-inch Hard Drives [Included in Price] > > SAS RAID Contoller: > PERC6i SAS RAID Controller, 2x4 Connectors, Int, PCIe, 256MB Cache, x6 Back > > Hard Drive Configuration: > Integrated SAS/SATA RAID 5, PERC 6/i Integrated > > Hard Drive: > Five (5) 146GB 15K RPM Serial-Attach SCSI 3Gbps 3.5-in HotPlug Hard Drive > > Regards, > Julio Gomez > > _______________________________________________ > 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 chris at smartt.com Thu Jul 10 23:40:11 2008 From: chris at smartt.com (Chris St Denis) Date: Thu Jul 10 23:40:18 2008 Subject: Enabling root login without an administrator account In-Reply-To: <0F1CBA0DF6DD4247922CD548E6C6E306@unex.berkeley.edu> References: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> <48767DF2.9020703@smartt.com> <0F1CBA0DF6DD4247922CD548E6C6E306@unex.berkeley.edu> Message-ID: <48769DE6.1040403@smartt.com> Well, my second suggestion about creating an account and SUing to root should still be correct. Assuming of course that you can get in in single user mode. Take a look at /etc/ttys there may be something in there restricting it, thats all I can think of. Veronica Labarca wrote: > Hi Chris, > Thanks for your quick response. No. I mean root login at the console is > dissallowed. Why??? Beats me! I got it that way. > Viqui > > -----Original Message----- > From: Chris St Denis [mailto:chris@smartt.com] > Sent: Thursday, July 10, 2008 2:24 PM > To: Veronica Labarca > Cc: freebsd-questions@freebsd.org > Subject: Re: Enabling root login without an administrator account > > Veronica Labarca wrote: > >> Hi, >> I have inherited a FreeBSD server and need to change the apache >> configuration, but cannot log in to the server. I have the root >> password (and know how to change it if needed in any case). The >> problem is that root login is disabled. There are various >> administrative accounts on the server, but I don't have the password >> to any of those. Can someone advise me as to either, how to get the >> root login enabled or how to change the password on a different account? >> Thanks for any help you can provide. >> Viqui >> _______________________________________________ >> 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'm assuming you mean root login via SSH is disabled (as is the default). > IIRC, root can always login from the console. > > Login as root from the console (or boot into single user mode) and edit > /etc/ssh/sshd_config > > Uncomment "PermitRootLogin" line and change no to yes. > > An alternate (and better) solution is to create yourself a user account in > the wheel group and use that to login then SU up to root. > > -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 ------------------------------------------- "Smart Internet Solutions For Businesses" From david.gurvich at verizon.net Fri Jul 11 00:08:39 2008 From: david.gurvich at verizon.net (David Gurvich) Date: Fri Jul 11 00:08:45 2008 Subject: Install failure for 7.0-RELEASE (Need help!) In-Reply-To: <52573.1215726636@tristatelogic.com> References: <52573.1215726636@tristatelogic.com> Message-ID: <20080710200733.65f00cef@verizon.net> Have you tried mounting the iso on the existing system and using sysinstall to partition and install 7.0 on the new hard drive? There may be a problem with the ide controller or ide cable. Have you tried swapping cables? You could also do a minimal 6.3 install with no additional packages as you say that cd works. Then do 'freebsd-update -r 7.0-RELEASE upgrade'. See the man page on freebsd-update. Afterwords either pkg_add -r, sysinstall, or use the ports to install packages. From tajudd at gmail.com Fri Jul 11 00:10:48 2008 From: tajudd at gmail.com (Tim Judd) Date: Fri Jul 11 00:11:28 2008 Subject: Ldap NSS PAM Samba In-Reply-To: <2714.204.184.27.217.1215704516.squirrel@mail.bloomfield.k12.mo.us> References: <2714.204.184.27.217.1215704516.squirrel@mail.bloomfield.k12.mo.us> Message-ID: <4876A338.2010502@gmail.com> sgmayo@mail.bloomfield.k12.mo.us wrote: > I am trying to setup a FreeBSD server with samba that uses OpenLdap. I > have installed everything and was doing some configuring. I set this all > up once before on a Linux box, but I basically just went through the > motions and really was not sure what all I did...but it worked. Now I > want to understand everything so that I know exactly what all I did. :) > > I have the following: > I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. > I installed PAM which put ldap.conf.dist in /usr/local/etc. > I installed NSS which put nss_ldap.conf in /usr/local/etc. > > >From looking at them I assume that the last two are the same file and one > of them just needs to be renamed to ldap.conf and configured for PAM and > NSS, is that correct? > > The ldap.conf in /usr/local/etc/openldap is a different config file even > though it has the same name? It is used for openldap and the other is > used for PAM and NSS? > > Thanks for any info. > > openldap/ldap.conf is the OpenLDAP client configuration. You're likely looking for the LDAP server configuration, openldap/slapd.conf etc/ldap.conf is for PAM, and etc/nss_ldap.conf are not to be merged. I've played ***VERY*** briefly with LDAP authentication through PAM and NSS, and both were required. I can't quote easily what the difference between NSS and PAM is, but all the docs I referenced from Google when I searched said I needed both. From alydiomc at yahoo.com Fri Jul 11 00:15:52 2008 From: alydiomc at yahoo.com (lyd mc) Date: Fri Jul 11 00:16:01 2008 Subject: quota and sendmail accepts <10k mail size In-Reply-To: <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> Message-ID: <307908.1918.qm@web52210.mail.re2.yahoo.com> Hi Mikhail, Thank you for the great suggestion. I will try it in our new server. Regards, alyd --- On Thu, 7/10/08, Mikhail Goriachev wrote: From: Mikhail Goriachev Subject: Re: quota and sendmail accepts <10k mail size To: alydiomc@yahoo.com, derek@computinginnovations.com, freebsd-questions@freebsd.org Date: Thursday, July 10, 2008, 10:19 PM Quoting lyd mc : > However, my company wants to have 20meg mbox space per user. If the > User exceeds, he/she should not recieved any mail. > > So, I use system quota to prevent sendmail from writing to mbox of a Let me suggest slightly different approaches: 1.- You could have /usr/ports/mail/mimedefang making the decisions instead of sendmail or system quota. There you can set your own rules and sendmail will abide them. This gives you far better control and you're limited by your own imagination. 2.- Implement a mail server with quota capabilities. For instance cyrus-imap. There you can set quota limits, warning messages to users, percentages and so on. This is the easiest approach. Regards, Mikhail. -- Mikhail Goriachev Webanoide From tajudd at gmail.com Fri Jul 11 00:21:13 2008 From: tajudd at gmail.com (Tim Judd) Date: Fri Jul 11 00:21:20 2008 Subject: Enabling root login without an administrator account In-Reply-To: <48769DE6.1040403@smartt.com> References: <87AE793F5A644EF6A68E73E13AFCED64@unex.berkeley.edu> <48767DF2.9020703@smartt.com> <0F1CBA0DF6DD4247922CD548E6C6E306@unex.berkeley.edu> <48769DE6.1040403@smartt.com> Message-ID: <4876A117.4050701@gmail.com> Chris St Denis wrote: > Well, my second suggestion about creating an account and SUing to root > should still be correct. Assuming of course that you can get in in > single user mode. > > Take a look at /etc/ttys there may be something in there restricting > it, thats all I can think of. > > > Veronica Labarca wrote: >> Hi Chris, >> Thanks for your quick response. No. I mean root login at the console is >> dissallowed. Why??? Beats me! I got it that way. Viqui >> -----Original Message----- >> From: Chris St Denis [mailto:chris@smartt.com] Sent: Thursday, July >> 10, 2008 2:24 PM >> To: Veronica Labarca >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Enabling root login without an administrator account >> >> Veronica Labarca wrote: >> >>> Hi, >>> I have inherited a FreeBSD server and need to change the apache >>> configuration, but cannot log in to the server. I have the root >>> password (and know how to change it if needed in any case). The >>> problem is that root login is disabled. There are various >>> administrative accounts on the server, but I don't have the password >>> to any of those. Can someone advise me as to either, how to get the >>> root login enabled or how to change the password on a different >>> account? >>> Thanks for any help you can provide. >>> Viqui >>> _______________________________________________ >>> 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'm assuming you mean root login via SSH is disabled (as is the >> default). >> IIRC, root can always login from the console. >> >> Login as root from the console (or boot into single user mode) and edit >> /etc/ssh/sshd_config >> >> Uncomment "PermitRootLogin" line and change no to yes. >> >> An alternate (and better) solution is to create yourself a user >> account in >> the wheel group and use that to login then SU up to root. >> >> > > Maybe root logins on TTYv0 is disabled, but enabled on TTYv1-7. Have you tried switching virtual consoles and logging in? From the console, can you login as a regular user and su/sudo up? Couple of ideas there -- all valid choices. From zhangsc at neusoft.com Fri Jul 11 00:30:12 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Jul 11 00:30:19 2008 Subject: mail not work Message-ID: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? Thanks ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From keramida at ceid.upatras.gr Fri Jul 11 01:06:19 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Jul 11 01:06:27 2008 Subject: mail not work In-Reply-To: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> (EdwardKing's message of "Fri, 11 Jul 2008 08:30:18 +0800") References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> Message-ID: <871w21fcw6.fsf@kobe.laptop> On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing wrote: > I use mailx command,such as Tom to Kate,I like following command: > $mail Kate > Subject:Hello > Hello world > (press Ctrl+D) > EOT > > Then I use user Kate to login,and check mail, > $mail > No mail for Kate > > Why I can't receive letter? where is wrong? mailx depends on a correctly configured `mail transfer agent', and it expects the *login* name of a user, not their real name. * Do you have a local user whose login name is `Kate'? * Did you do anything to enable Sendmail (the default mail transfer agent)? * What does the `/var/log/maillog' file contain? From fbsd06 at mlists.homeunix.com Fri Jul 11 01:30:38 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Jul 11 01:30:46 2008 Subject: mail not work In-Reply-To: <871w21fcw6.fsf@kobe.laptop> References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> <871w21fcw6.fsf@kobe.laptop> Message-ID: <20080711021910.69557390@gumby.homeunix.com.> On Fri, 11 Jul 2008 04:06:01 +0300 Giorgos Keramidas wrote: > * Did you do anything to enable Sendmail (the default mail transfer > agent)? It's enabled by default on localhost. From unga888 at yahoo.com Fri Jul 11 02:12:40 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 02:12:47 2008 Subject: How to submit a patch to FreeBSD project? Message-ID: <328348.89897.qm@web57010.mail.re3.yahoo.com> Hi all Recently I have submitted a patch to the FreeBSD current mailing list, it seems the patch is not applied yet. (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086814.html) I'm not sure whether the FreeBSD project does not accept patches from non-committers or may be I did not submit it right. How do I submit a patch to the FreeBSD project? Kind regards Unga From beech at freebsd.org Fri Jul 11 02:26:10 2008 From: beech at freebsd.org (Beech Rintoul) Date: Fri Jul 11 02:26:17 2008 Subject: How to submit a patch to FreeBSD project? In-Reply-To: <328348.89897.qm@web57010.mail.re3.yahoo.com> References: <328348.89897.qm@web57010.mail.re3.yahoo.com> Message-ID: <200807101826.04045.beech@freebsd.org> On Thursday 10 July 2008, Unga said: > Hi all > > Recently I have submitted a patch to the FreeBSD current mailing > list, it seems the patch is not applied yet. > (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/08681 >4.html) > > I'm not sure whether the FreeBSD project does not accept patches > from non-committers or may be I did not submit it right. > > How do I submit a patch to the FreeBSD project? > > Kind regards > Unga File a pr. You can use send-pr or the web interface on the website. Attach your patch to the pr. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From unga888 at yahoo.com Fri Jul 11 02:37:40 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 02:37:46 2008 Subject: How to submit a patch to FreeBSD project? In-Reply-To: <200807101826.04045.beech@freebsd.org> Message-ID: <749411.1206.qm@web57012.mail.re3.yahoo.com> --- On Fri, 7/11/08, Beech Rintoul wrote: > From: Beech Rintoul > Subject: Re: How to submit a patch to FreeBSD project? > To: freebsd-questions@freebsd.org, unga888@yahoo.com > Date: Friday, July 11, 2008, 10:25 AM > On Thursday 10 July 2008, Unga said: > > Hi all > > > > Recently I have submitted a patch to the FreeBSD > current mailing > > list, it seems the patch is not applied yet. > > > (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/08681 > >4.html) > > > > I'm not sure whether the FreeBSD project does not > accept patches > > from non-committers or may be I did not submit it > right. > > > > How do I submit a patch to the FreeBSD project? > > > > Kind regards > > Unga > > File a pr. You can use send-pr or the web interface on the > website. > Attach your patch to the pr. > Thanks Beech and v. I'll submit it again the right way. Regards Unga From lveax.m at gmail.com Fri Jul 11 02:42:05 2008 From: lveax.m at gmail.com (v) Date: Fri Jul 11 02:42:13 2008 Subject: How to submit a patch to FreeBSD project? In-Reply-To: <328348.89897.qm@web57010.mail.re3.yahoo.com> References: <328348.89897.qm@web57010.mail.re3.yahoo.com> Message-ID: <576dcbc20807101915w5f468775o94ef0a94a8c0bc6a@mail.gmail.com> On Fri, Jul 11, 2008 at 2:12 AM, Unga wrote: > Hi all > > Recently I have submitted a patch to the FreeBSD current mailing list, it seems the patch is not applied yet. (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086814.html) > > I'm not sure whether the FreeBSD project does not accept patches from non-committers or may be I did not submit it right. > > How do I submit a patch to the FreeBSD project? http://www.freebsd.org/support/bugreports.html From nehe at telus.net Fri Jul 11 03:14:07 2008 From: nehe at telus.net (Jeff Molofee) Date: Fri Jul 11 03:14:14 2008 Subject: freebsd-questions Digest, Vol 223, Issue 10 In-Reply-To: <20080711024216.B0CF11065728@hub.freebsd.org> References: <20080711024216.B0CF11065728@hub.freebsd.org> Message-ID: <4876CACC.6010304@telus.net> I'm having some MAJOR issues with compiz/nvidia crashing xorg whenever I try to run an opengl application... is anyone else experiencing this? From zhangsc at neusoft.com Fri Jul 11 03:21:07 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Jul 11 03:21:16 2008 Subject: mail not work References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> <871w21fcw6.fsf@kobe.laptop> Message-ID: <006d01c8e304$e8a65b90$3f83a8c0@neusofteaf5839> >> * Do you have a local user whose login name is `Kate'? I have a local user whose login name is `Kate' >>* Did you do anything to enable Sendmail (the default mail transfer agent)? How to enable Sendmail? >>* What does the `/var/log/maillog' file contain? I have maillog,its contains is follows, how to make mail work? Jul 9 17:45:58 k6-2 newsyslog[585]: logfile first created Jul 9 17:46:02 k6-2 sm-mta[760]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 9 17:46:02 k6-2 sm-msp-queue[764]: starting daemon (8.14.2): queueing@00:30:00 Jul 9 18:16:31 k6-2 sm-mta[761]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 9 18:16:31 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): queueing@00:30:00 Jul 9 19:20:05 k6-2 sm-mta[761]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 9 19:20:05 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): queueing@00:30:00 Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom, size=86, class=0, nrcpts=1, msgid=<200807091409.m69E98gv001314@k6-2.example.com>, relay=Tom@localhost Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: from=, size=414, class=0, nrcpts=1, msgid=<200807091409.m69E98gv001314@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: to=, delay=00:00:00, mailer=local, pri=30414, dsn=4.4.3, stat=queued Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69E98rr001315 Message accepted for delivery) Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: from=Tom, size=25, class=0, nrcpts=1, msgid=<200807091417.m69EHHKv001351@k6-2.example.com>, relay=Tom@localhost Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: from=, size=353, class=0, nrcpts=1, msgid=<200807091417.m69EHHKv001351@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: to=, delay=00:00:00, mailer=local, pri=30353, dsn=4.4.3, stat=queued Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30025, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EHHJs001352 Message accepted for delivery) Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: from=Kate, size=29, class=0, nrcpts=2, msgid=<200807091422.m69EMmKR001381@k6-2.example.com>, relay=Kate@localhost Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: from=, size=368, class=0, nrcpts=2, msgid=<200807091422.m69EMmKR001381@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=, delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=, delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: to=Tom,for, ctladdr=Kate (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EMmsR001382 Message accepted for delivery) Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: from=Tom, size=42, class=0, nrcpts=1, msgid=<200807091454.m69EsW8m001476@k6-2.example.com>, relay=Tom@localhost Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: to=Kate@example.com, delay=00:00:00, mailer=esmtp, pri=30042, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[778]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 18:53:18 k6-2 sm-mta[780]: m69EMmsR001382: m6AArIqi000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqi000780: to=, delay=00:00:00, mailer=local, pri=31604, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69EHHJs001352: m6AArIqj000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqj000780: to=, delay=00:00:00, mailer=local, pri=31641, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69E98rr001315: m6AArIqk000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqk000780: to=, delay=00:00:00, mailer=local, pri=31702, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[784]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m69EsW8m001476: m6AArIvV000786: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: from=<>, size=2017, class=0, nrcpts=1, msgid=<200807101053.m6AArIvV000786@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: to=, delay=00:00:00, mailer=local, pri=32017, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m6AArIvV000786: to=Tom, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31410, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m6AArImM000790 Message accepted for delivery) Jul 10 19:16:05 k6-2 sm-mta[777]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:16:05 k6-2 sm-msp-queue[781]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 19:25:30 k6-2 sm-mta[740]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:25:31 k6-2 sm-msp-queue[744]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 19:31:20 k6-2 sm-mta[777]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:31:20 k6-2 sm-msp-queue[781]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 19:35:39 k6-2 sm-mta[791]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:35:39 k6-2 sm-msp-queue[795]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 19:40:02 k6-2 sm-mta[790]: gethostbyaddr(192.168.131.61) failed: 2 Jul 10 19:40:02 k6-2 sm-mta[791]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:40:02 k6-2 sm-msp-queue[795]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 19:47:18 k6-2 sm-mta[791]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 19:47:18 k6-2 sm-msp-queue[795]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 20:29:18 k6-2 sm-mta[804]: gethostbyaddr(192.168.131.61) failed: 2 Jul 10 20:29:18 k6-2 sm-mta[805]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 20:29:18 k6-2 sm-msp-queue[809]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 21:11:09 k6-2 sm-mta[804]: gethostbyaddr(192.168.131.61) failed: 2 Jul 10 21:11:09 k6-2 sm-mta[805]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 21:11:09 k6-2 sm-msp-queue[809]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 21:21:23 k6-2 sm-mta[804]: gethostbyaddr(192.168.131.61) failed: 2 Jul 10 21:21:23 k6-2 sm-mta[805]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 21:21:24 k6-2 sm-msp-queue[809]: starting daemon (8.14.2): queueing@00:30:00 Jul 10 21:31:30 k6-2 sm-mta[804]: gethostbyaddr(192.168.131.61) failed: 2 Jul 10 21:31:30 k6-2 sm-mta[805]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 10 21:31:30 k6-2 sm-msp-queue[809]: starting daemon (8.14.2): queueing@00:30:00 Jul 11 08:22:35 k6-2 sm-mta[804]: gethostbyaddr(192.168.131.61) failed: 2 Jul 11 08:22:35 k6-2 sm-mta[805]: starting daemon (8.14.2): SMTP+queueing@00:30:00 Jul 11 08:22:35 k6-2 sm-msp-queue[809]: starting daemon (8.14.2): queueing@00:30:00 Jul 11 08:23:12 k6-2 sendmail[898]: m6B0NC3m000898: from=Kate, size=39, class=0, nrcpts=1, msgid=<200807110023.m6B0NC3m000898@k6-2.example.com>, relay=Tom@localhost Jul 11 08:23:13 k6-2 sm-mta[899]: m6B0NCux000899: from=, size=372, class=0, nrcpts=1, msgid=<200807110023.m6B0NC3m000898@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 11 08:23:13 k6-2 sm-mta[899]: m6B0NCux000899: to=, delay=00:00:01, mailer=local, pri=30372, dsn=4.4.3, stat=queued Jul 11 08:23:13 k6-2 sendmail[898]: m6B0NC3m000898: to=Kate, ctladdr=Kate (1001/1001), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m6B0NCux000899 Message accepted for delivery) Jul 11 08:23:21 k6-2 sendmail[901]: m6B0NLf1000901: from=Kate, size=39, class=0, nrcpts=1, msgid=<200807110023.m6B0NLf1000901@k6-2.example.com>, relay=Tom@localhost Jul 11 08:23:21 k6-2 sm-mta[902]: m6B0NLQv000902: from=, size=372, class=0, nrcpts=1, msgid=<200807110023.m6B0NLf1000901@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 11 08:23:21 k6-2 sm-mta[902]: m6B0NLQv000902: to=, delay=00:00:00, mailer=local, pri=30372, dsn=4.4.3, stat=queued Jul 11 08:23:21 k6-2 sendmail[901]: m6B0NLf1000901: to=Kate, ctladdr=Kate (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m6B0NLQv000902 Message accepted for delivery) Jul 11 08:26:45 k6-2 sendmail[917]: m6B0QjNl000917: from=Kate, size=51, class=0, nrcpts=1, msgid=<200807110026.m6B0QjNl000917@k6-2.example.com>, relay=Tom@localhost Jul 11 08:26:45 k6-2 sendmail[917]: m6B0QjNl000917: to=Kate@example.com, delay=00:00:00, mailer=esmtp, pri=30051, dsn=4.4.3, stat=queued Jul 11 08:27:11 k6-2 sendmail[922]: m6B0RB3n000922: from=Kate, size=43, class=0, nrcpts=1, msgid=<200807110027.m6B0RB3n000922@k6-2.example.com>, relay=Kate@localhost Jul 11 08:27:11 k6-2 sendmail[922]: m6B0RB3n000922: to=Tom@example.com, delay=00:00:00, mailer=esmtp, pri=30043, dsn=4.4.3, stat=queued Jul 11 08:30:08 k6-2 sendmail[939]: m6B0U8PJ000939: from=Kate, size=57, class=0, nrcpts=1, msgid=<200807110030.m6B0U8PJ000939@k6-2.example.com>, relay=Kate@localhost Jul 11 08:30:08 k6-2 sendmail[939]: m6B0U8PJ000939: to=zhangsc@neusoft.com, delay=00:00:00, mailer=esmtp, pri=30057, dsn=4.4.3, stat=queued Jul 11 08:32:49 k6-2 sendmail[941]: m6B0Wn56000941: from=Kate, size=25, class=0, nrcpts=1, msgid=<200807110032.m6B0Wn56000941@k6-2.example.com>, relay=Kate@localhost Jul 11 08:32:49 k6-2 sm-mta[942]: m6B0WndZ000942: from=, size=360, class=0, nrcpts=1, msgid=<200807110032.m6B0Wn56000941@k6-2.example.com>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 11 08:32:49 k6-2 sm-mta[942]: m6B0WndZ000942: to=, delay=00:00:00, mailer=local, pri=30360, dsn=4.4.3, stat=queued Jul 11 08:32:49 k6-2 sendmail[941]: m6B0Wn56000941: to=Kate, ctladdr=Kate (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30025, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m6B0WndZ000942 Message accepted for delivery) ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From zhangsc at neusoft.com Fri Jul 11 03:27:20 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Jul 11 03:27:28 2008 Subject: locate:database too small Message-ID: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> I use locate command,like follows: $locate mail locate:database too small: /var/db/locate.database I know it need to update from document: /usr/libexec/locate.updatedb ,but I don't know how to execute above command,I am a newer to Unix,how to do it? Thanks ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From ruel.freebsd at gmail.com Fri Jul 11 03:30:00 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Fri Jul 11 03:30:07 2008 Subject: Install Linux in FreeBSD In-Reply-To: <200807090858.38386.jonathan@hst.org.za> References: <200807090858.38386.jonathan@hst.org.za> Message-ID: Yes I read it Jonathan, Im newbie in BSD...regarding on my post is it possible? or Do you have any link so that i could much understand it aside from freebsd handbook? Thanks to your reply... FreeBSD Rocks.....:D On Wed, Jul 9, 2008 at 2:58 PM, Jonathan McKeown wrote: > On Wednesday 09 July 2008 08:46, Ruel Luchavez wrote: > > Hi again list, > > > > Is it possible to run a VM machine in your freebsd server in which inside > > that VM you are running on it a Linux environment? coul it be? > > You would rather want to know why do I want that set up? Simply because I > > want to install a Quickbooks Enterprise solutions Database > > manager in Linux, further, Freebsd doesn't support the Quickbooks (also > > vice versa) it only runs or support in Linux..thats the reason guys.. > > Could some one give me some idea how will I do that? > > Did you read section 10 of the Handbook - Linux Binary Compatibility? > > Jonathan > _______________________________________________ > 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 pprocacci at datapipe.com Fri Jul 11 03:33:21 2008 From: pprocacci at datapipe.com (Paul Procacci) Date: Fri Jul 11 03:33:29 2008 Subject: locate:database too small In-Reply-To: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> References: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> Message-ID: <4876D47A.4040708@datapipe.com> EdwardKing wrote: > I use locate command,like follows: > $locate mail > locate:database too small: /var/db/locate.database > > I know it need to update from document: /usr/libexec/locate.updatedb ,but I don't know how to execute above command,I am a newer to Unix,how to do it? > > Thanks > > > ---------------------------------------------------------------------------------------------- > Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. > ----------------------------------------------------------------------------------------------- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Type exactly that within a shell (as root): /usr/libexec/locate.updatedb or alternatively /etc/periodic/weekly/310.locate From unga888 at yahoo.com Fri Jul 11 03:35:41 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 03:36:09 2008 Subject: PR - Incorrect confirmation code Message-ID: <525640.24000.qm@web57015.mail.re3.yahoo.com> Hi I tried to submit a problem report over the web (http://www.freebsd.org/send-pr.html) but on submit gives following error: "Incorrect confirmation code You need to enter the correct code from the image displayed. Please return to the form and enter the code exactly as shown. Thank you." Its really "Thank you" from my part also, this Problem Report wasted lot of my time :( Regards Unga From frase at frase.id.au Fri Jul 11 03:39:36 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Fri Jul 11 03:39:42 2008 Subject: freebsd-questions Digest, Vol 223, Issue 10 In-Reply-To: <4876CACC.6010304@telus.net> References: <20080711024216.B0CF11065728@hub.freebsd.org> <4876CACC.6010304@telus.net> Message-ID: <20080711033932.GA81940@bacardi> On Thu, Jul 10, 2008 at 08:51:56PM -0600, Jeff Molofee wrote: > I'm having some MAJOR issues with compiz/nvidia crashing xorg whenever I > try to run an opengl application... is anyone else experiencing this? > Which driver are you using. I had issues with the 173.14.0x official driver, but rolling back to 169.12 and everything is fine. If that doesn't solve your issues, please let us know what driver you're using, which FreeBSD version, et cetera. frase -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/3cc9f99b/attachment.pgp From carpetsmoker at rwxrwxrwx.net Fri Jul 11 04:05:11 2008 From: carpetsmoker at rwxrwxrwx.net (Martin Tournoij) Date: Fri Jul 11 04:05:19 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <525640.24000.qm@web57015.mail.re3.yahoo.com> References: <525640.24000.qm@web57015.mail.re3.yahoo.com> Message-ID: <20080711034837.GA49596@rwxrwxrwx.net> On Thu, Jul 10, 2008 at 08:35:38PM -0700, Unga wrote: > Hi > > I tried to submit a problem report over the web (http://www.freebsd.org/send-pr.html) but on submit gives following error: > > "Incorrect confirmation code > > You need to enter the correct code from the image displayed. Please return to the form and enter the code exactly as shown. Thank you." > > Its really "Thank you" from my part also, this Problem Report wasted lot of my time :( > > Regards > Unga That sucks :-( In some browsers (Opera for example) you can press back and whatever you typed in forms will still be there ... Not sure how this works with other browsers ... Guess it's to late for that now... Other then this, I would recommend to _ALWAYS_, on any site/forum, copy content to a file and/or the clipboard before submitting it in a webform. You may also want to try using send-pr(1) included in FreeBSD base, IMO it works a lot better than the webform anyway. -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: It isn't easy being the parent of a six-year-old. However, it's a pretty small price to pay for having somebody around the house who understands computers. From freebsd-questions at slightlystrange.org Fri Jul 11 04:45:26 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Fri Jul 11 04:45:33 2008 Subject: locate:database too small In-Reply-To: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> References: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> Message-ID: <20080711044518.GA84566@torus.slightlystrange.org> On Fri, Jul 11, 2008 at 11:26:19AM +0800, EdwardKing wrote: > I use locate command,like follows: > $locate mail > locate:database too small: /var/db/locate.database > > I know it need to update from document: /usr/libexec/locate.updatedb ,but I don't know how to execute above command,I am a newer to Unix,how to do it? Probably the best way to do it is to become root using su(1) or sudo(1), and then type: /etc/periodic/weekly/310.locate This could take several minutes, depending on your system. Or you could wait another couple of days, and it will run automatically (take a look at cron(8), crontab(1,5), periodic(8) and periodic.conf(5)) -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/4cf653d9/attachment.pgp From speed_daemon at the-carlos.net Fri Jul 11 05:30:18 2008 From: speed_daemon at the-carlos.net (Carlos Linares) Date: Fri Jul 11 05:30:25 2008 Subject: Tyan K8WE (S2895) Status Message-ID: <532137.91024.qm@web1108.biz.mail.sk1.yahoo.com> Hello all. Can anyone with the afore-mentioned motherboard relate their experiences? I'm particularly interested in how it runs FreeBSD amd64 with two Opteron dual-core 2xx chips (it seems you need both chips in order to see all mobo devices since buses are connected to one or the other cpu socket via hypertransport link), and whether recent releases or -current can see all ethernet ports and PCI (incl. -X and e) slots with ACPI enabled/disabled. Has anyone tried the new BIOS update? S2895's not EOL'd yet - though availability is getting sketchy... Below is some of the stuff I've dug up so far... <> <> <> http://search.gmane.org/?query=s2895+&author=&group=gmane.os.freebsd.*&sort=relevance&DEFAULTOP=and&%5B=1&TOPDOC=40&xP=Zs2895&xFILTERS=Gos.freebsd.*---A http://mail-index.netbsd.org/netbsd-bugs/2008/01/19/msg000353.html http://www.tyan.com/support_download_bios.aspx?model=S.S2895 2008/07/09 S2895_v105e_beta.zip v.1.05E BETA Problem Fix Description: - Changed PCI-e Slot 3 Option ROM default setting to [Enabled} - Fixed an issue where you could not run 2x 7950GT video cards under Vista without getting a Code 12 in the device manager - Fixed an issue where you could not run 2x 8800GT video cards under Vista without getting a Code 12 in the device manager - Added bios option for enabling SLI for 88xx series video cards From unga888 at yahoo.com Fri Jul 11 06:17:02 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 06:17:25 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <20080711034837.GA49596@rwxrwxrwx.net> Message-ID: <174532.4402.qm@web57001.mail.re3.yahoo.com> --- On Fri, 7/11/08, Martin Tournoij wrote: > From: Martin Tournoij > Subject: Re: PR - Incorrect confirmation code > To: freebsd-questions@freebsd.org > Cc: unga888@yahoo.com > Date: Friday, July 11, 2008, 11:48 AM > On Thu, Jul 10, 2008 at 08:35:38PM -0700, Unga wrote: > > Hi > > > > I tried to submit a problem report over the web > (http://www.freebsd.org/send-pr.html) but on submit gives > following error: > > > > "Incorrect confirmation code > > > > You need to enter the correct code from the image > displayed. Please return to the form and enter the code > exactly as shown. Thank you." > > > > Its really "Thank you" from my part also, > this Problem Report wasted lot of my time :( > > > > Regards > > Unga > > That sucks :-( > > In some browsers (Opera for example) you can press back and > whatever you typed > in forms will still be there ... Not sure how this works > with other browsers > ... Guess it's to late for that now... > > Other then this, I would recommend to _ALWAYS_, on any > site/forum, copy > content to a file and/or the clipboard before submitting it > in a webform. > > You may also want to try using send-pr(1) included in > FreeBSD base, IMO it > works a lot better than the webform anyway. > The issue is app running for the submit PR form either buggy or it has a very small time-out. It does not recognize the image code typed. Regards Unga From beech at freebsd.org Fri Jul 11 06:18:26 2008 From: beech at freebsd.org (Beech Rintoul) Date: Fri Jul 11 06:18:33 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <20080711034837.GA49596@rwxrwxrwx.net> References: <525640.24000.qm@web57015.mail.re3.yahoo.com> <20080711034837.GA49596@rwxrwxrwx.net> Message-ID: <200807102218.20570.beech@freebsd.org> On Thursday 10 July 2008, Martin Tournoij said: > On Thu, Jul 10, 2008 at 08:35:38PM -0700, Unga wrote: > > Hi > > > > I tried to submit a problem report over the web > > (http://www.freebsd.org/send-pr.html) but on submit gives > > following error: > > > > "Incorrect confirmation code > > > > You need to enter the correct code from the image displayed. > > Please return to the form and enter the code exactly as shown. > > Thank you." > > > > Its really "Thank you" from my part also, this Problem Report > > wasted lot of my time :( > > > > Regards > > Unga > > That sucks :-( > > In some browsers (Opera for example) you can press back and > whatever you typed in forms will still be there ... Not sure how > this works with other browsers ... Guess it's to late for that > now... > > Other then this, I would recommend to _ALWAYS_, on any site/forum, > copy content to a file and/or the clipboard before submitting it in > a webform. > > You may also want to try using send-pr(1) included in FreeBSD base, > IMO it works a lot better than the webform anyway. If you prefer a GUI front end try gtk-send-pr (in the ports) It's a nice gui for send-pr and doesn't mangle patches. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From bc979 at lafn.org Fri Jul 11 06:30:02 2008 From: bc979 at lafn.org (Doug Hardie) Date: Fri Jul 11 06:30:10 2008 Subject: IPv6 Auto Discovery Message-ID: Mac OS-X does a form of auto discovery on IPv6 where the machines on a local network add the machine name to the ndp table when they see activity from that machine. So far I only have a rudimentary IPv6 configuration on FreeBSD 7 running and it only sees the IP address, and then only after I ping the other end. I couldn't find anything in /etc/defaults that seems to address auto discovery. Is this something I have missed or what? Thanks. From unga888 at yahoo.com Fri Jul 11 06:49:23 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 06:49:30 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <20080711063703.GA50738@rwxrwxrwx.net> Message-ID: <986674.34750.qm@web57014.mail.re3.yahoo.com> --- On Fri, 7/11/08, Martin Tournoij wrote: > From: Martin Tournoij > Subject: Re: PR - Incorrect confirmation code > To: freebsd-questions@freebsd.org > Cc: unga888@yahoo.com > Date: Friday, July 11, 2008, 2:37 PM > On Thu, Jul 10, 2008 at 11:17:01PM -0700, Unga wrote: > > --- On Fri, 7/11/08, Martin Tournoij > wrote: > > > > > From: Martin Tournoij > > > > Subject: Re: PR - Incorrect confirmation code > > > To: freebsd-questions@freebsd.org > > > Cc: unga888@yahoo.com > > > Date: Friday, July 11, 2008, 11:48 AM > > > On Thu, Jul 10, 2008 at 08:35:38PM -0700, Unga > wrote: > > > > Hi > > > > > > > > I tried to submit a problem report over the > web > > > (http://www.freebsd.org/send-pr.html) but on > submit gives > > > following error: > > > > > > > > "Incorrect confirmation code > > > > > > > > You need to enter the correct code from the > image > > > displayed. Please return to the form and enter > the code > > > exactly as shown. Thank you." > > > > > > > > Its really "Thank you" from my > part also, > > > this Problem Report wasted lot of my time :( > > > > > > > > Regards > > > > Unga > > > > > > That sucks :-( > > > > > > In some browsers (Opera for example) you can > press back and > > > whatever you typed > > > in forms will still be there ... Not sure how > this works > > > with other browsers > > > ... Guess it's to late for that now... > > > > > > Other then this, I would recommend to _ALWAYS_, > on any > > > site/forum, copy > > > content to a file and/or the clipboard before > submitting it > > > in a webform. > > > > > > You may also want to try using send-pr(1) > included in > > > FreeBSD base, IMO it > > > works a lot better than the webform anyway. > > > > > > > The issue is app running for the submit PR form either > buggy or it has a > > very small time-out. It does not recognize the image > code typed. > > There is a PR for this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=www/99305 > > August 2006 ... Doesn't seem to be very high priority. > > You may want to attempt to get the webmaster's > attention by sending your > previous email to www@. > I would fix it myself but I'm not really familiar with > perl (And even less > familiar with using perl for webpages) and don't have > the time to learn/get > familiar... > Ok, sent to the webmaster@FreeBSD.org. Regards Unga From carpetsmoker at rwxrwxrwx.net Fri Jul 11 06:50:13 2008 From: carpetsmoker at rwxrwxrwx.net (Martin Tournoij) Date: Fri Jul 11 06:50:19 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <174532.4402.qm@web57001.mail.re3.yahoo.com> References: <20080711034837.GA49596@rwxrwxrwx.net> <174532.4402.qm@web57001.mail.re3.yahoo.com> Message-ID: <20080711063703.GA50738@rwxrwxrwx.net> On Thu, Jul 10, 2008 at 11:17:01PM -0700, Unga wrote: > --- On Fri, 7/11/08, Martin Tournoij wrote: > > > From: Martin Tournoij > > Subject: Re: PR - Incorrect confirmation code > > To: freebsd-questions@freebsd.org > > Cc: unga888@yahoo.com > > Date: Friday, July 11, 2008, 11:48 AM > > On Thu, Jul 10, 2008 at 08:35:38PM -0700, Unga wrote: > > > Hi > > > > > > I tried to submit a problem report over the web > > (http://www.freebsd.org/send-pr.html) but on submit gives > > following error: > > > > > > "Incorrect confirmation code > > > > > > You need to enter the correct code from the image > > displayed. Please return to the form and enter the code > > exactly as shown. Thank you." > > > > > > Its really "Thank you" from my part also, > > this Problem Report wasted lot of my time :( > > > > > > Regards > > > Unga > > > > That sucks :-( > > > > In some browsers (Opera for example) you can press back and > > whatever you typed > > in forms will still be there ... Not sure how this works > > with other browsers > > ... Guess it's to late for that now... > > > > Other then this, I would recommend to _ALWAYS_, on any > > site/forum, copy > > content to a file and/or the clipboard before submitting it > > in a webform. > > > > You may also want to try using send-pr(1) included in > > FreeBSD base, IMO it > > works a lot better than the webform anyway. > > > > The issue is app running for the submit PR form either buggy or it has a > very small time-out. It does not recognize the image code typed. There is a PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=www/99305 August 2006 ... Doesn't seem to be very high priority. You may want to attempt to get the webmaster's attention by sending your previous email to www@. I would fix it myself but I'm not really familiar with perl (And even less familiar with using perl for webpages) and don't have the time to learn/get familiar... -- Martin Tournoij carpetsmoker@rwxrwxrwx.net http://www.daemonforums.org QOTD: A furore Normanorum libera nos, O Domine! From zhangsc at neusoft.com Fri Jul 11 06:54:20 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Jul 11 06:54:28 2008 Subject: inetd[860]: ssh/tcp: bind: Address already in use Message-ID: <00c601c8e322$efdc6210$3f83a8c0@neusofteaf5839> I use FreeBSD7.0,I find some time it raise following information: inetd[860]: ssh/tcp: bind: Address already in use I look up my /etc/rc.conf file,it contains: inetd_enable="YES" sshd_enable="YES" /etc/inetd.conf file contains: ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 Where wrong with my BSD system? How to solve it? Any idea will be appreciated! Edward ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From m.seaman at infracaninophile.co.uk Fri Jul 11 07:30:15 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Jul 11 07:30:22 2008 Subject: inetd[860]: ssh/tcp: bind: Address already in use In-Reply-To: <00c601c8e322$efdc6210$3f83a8c0@neusofteaf5839> References: <00c601c8e322$efdc6210$3f83a8c0@neusofteaf5839> Message-ID: <48770BFD.9050902@infracaninophile.co.uk> EdwardKing wrote: > I use FreeBSD7.0,I find some time it raise following information: > inetd[860]: ssh/tcp: bind: Address already in use > > I look up my /etc/rc.conf file,it contains: > > inetd_enable="YES" > sshd_enable="YES" > > /etc/inetd.conf file contains: > > ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 > #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 > > Where wrong with my BSD system? How to solve it? Well, you're already 99% of the way there. You can't run sshd both as a standalone daemon and as a service to be started from inetd. As the error message says, they both try and bind to the same network port which is never going to work. Running sshd out of inetd is weird and unnatural, so I suggest you just comment out the ssh line in inetd.conf and restart the inetd service: /etc/rc.d/inetd restart Then make sure sshd is running happilly: /etc/rc.d/sshd restart (bouncing sshd like this is even safe to do if you're logged in via ssh...) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/a02ecd3b/signature.pgp From patfbsd at davenulle.org Fri Jul 11 07:51:16 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Fri Jul 11 07:51:23 2008 Subject: locate:database too small In-Reply-To: <4876D47A.4040708@datapipe.com> References: <007a01c8e305$e8b07840$3f83a8c0@neusofteaf5839> <4876D47A.4040708@datapipe.com> Message-ID: <20080711095112.5914e392@baby-jane-lamaiziere-net.local> Le Thu, 10 Jul 2008 22:33:14 -0500, Paul Procacci a ?crit : > Type exactly that within a shell (as root): > > /usr/libexec/locate.updatedb > > or alternatively > > /etc/periodic/weekly/310.locate This is not the same thing, /etc/periodic/weekly/310.locate calls locate.updatedb with the user nobody. You should avoid to run locate.updatedb as root. Regards. From patfbsd at davenulle.org Fri Jul 11 08:21:16 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Fri Jul 11 08:21:24 2008 Subject: PR - Incorrect confirmation code In-Reply-To: <525640.24000.qm@web57015.mail.re3.yahoo.com> References: <525640.24000.qm@web57015.mail.re3.yahoo.com> Message-ID: <20080711102113.0643030b@baby-jane-lamaiziere-net.local> Le Thu, 10 Jul 2008 20:35:38 -0700 (PDT), Unga a ?crit : > Hi > > I tried to submit a problem report over the web > (http://www.freebsd.org/send-pr.html) but on submit gives following > error: > > "Incorrect confirmation code > > You need to enter the correct code from the image displayed. Please > return to the form and enter the code exactly as shown. Thank you." > > Its really "Thank you" from my part also, this Problem Report wasted > lot of my time :( "Note: before hitting 'submit', please save your work. If your browser caches images, or if you take longer than 45 minutes to fill in the form, you may have a stale image shown on your page, and your submission will be rejected. Depending on your browser, you might lose work in this case. Help save yourself from this common frustration" From unga888 at yahoo.com Fri Jul 11 08:22:22 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 08:22:29 2008 Subject: Library mapping question Message-ID: <310032.41745.qm@web57009.mail.re3.yahoo.com> Hi all I have same name libraries in two different locations, eg. /usr/lib/libXXX.so and /usr/local/lib/libXXX.so. They were created using same sources and the same compiler. The app1 is linked with /usr/lib/libXXX.so and app2 is linked with /usr/local/lib/libXXX.so. When app2 is run, the dynamic linker (ld-elf.so.1) finds /usr/lib/libXXX.so first and ends up with following error: undefined reference to `_myxxx' This is not an issue with Linux's dynamic linker but it seems FreeBSD's function look up is very specific. I cannot change the dynamic linker's search path, then app1 fails. How do I get the app2 to refer to /usr/local/lib/libXXX.so? In FreeBSD, is there a way to instruct the dynamic linker (ld-elf.so.1) to continue to search for the same library name in different locations? What are the other possible options? Appreciate your reply. Kind regards Unga From freebsd at edvax.de Fri Jul 11 09:09:09 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 11 09:09:17 2008 Subject: Library mapping question In-Reply-To: <310032.41745.qm@web57009.mail.re3.yahoo.com> References: <310032.41745.qm@web57009.mail.re3.yahoo.com> Message-ID: <20080711110906.57dd9de3.freebsd@edvax.de> Hi. On Fri, 11 Jul 2008 01:22:21 -0700 (PDT), Unga wrote: > How do I get the app2 to refer to /usr/local/lib/libXXX.so? > > In FreeBSD, is there a way to instruct the dynamic linker > (ld-elf.so.1) to continue to search for the same library > name in different locations? Maybe an entry in /etc/libmap.conf (man 5 libmap.conf) will reveal a possible solution? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 From unga888 at yahoo.com Fri Jul 11 09:18:23 2008 From: unga888 at yahoo.com (Unga) Date: Fri Jul 11 09:18:29 2008 Subject: Library mapping question In-Reply-To: <20080711110906.57dd9de3.freebsd@edvax.de> Message-ID: <115118.71641.qm@web57010.mail.re3.yahoo.com> --- On Fri, 7/11/08, Polytropon wrote: > From: Polytropon > Subject: Re: Library mapping question > To: freebsd-questions@freebsd.org > Cc: unga888@yahoo.com > Date: Friday, July 11, 2008, 5:09 PM > Hi. > > On Fri, 11 Jul 2008 01:22:21 -0700 (PDT), Unga > wrote: > > How do I get the app2 to refer to > /usr/local/lib/libXXX.so? > > > > In FreeBSD, is there a way to instruct the dynamic > linker > > (ld-elf.so.1) to continue to search for the same > library > > name in different locations? > > Maybe an entry in /etc/libmap.conf (man 5 libmap.conf) will > reveal a possible solution? > Hi I was just now trying it after reading the libmap.conf(5). I specified following in /etc/libmap.conf: [/usr/bin/app2/] libXXX.so /usr/local/lib/libXXX.so Now when run app2 it does not say anymore "undefined references" but it says "Shared object "/usr/local/lib/libXXX.so" not found" ls -l /usr/local/lib/libXXX.so shows its there. Is /etc/libmap.conf specification correct? Regards Unga From jonathan+freebsd-questions at hst.org.za Fri Jul 11 09:19:06 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Fri Jul 11 09:19:13 2008 Subject: Install Linux in FreeBSD In-Reply-To: References: <200807090858.38386.jonathan@hst.org.za> Message-ID: <200807111119.21028.jonathan+freebsd-questions@hst.org.za> On Friday 11 July 2008 05:29, Ruel Luchavez wrote: [running Linux in a VM on FreeBSD] > > Did you read section 10 of the Handbook - Linux Binary Compatibility? > > Yes I read it Jonathan, Im newbie in BSD...regarding on my post is it > possible? > or Do you have any link so that i could much understand it aside from > freebsd handbook? I haven't played with it at all - others (who have) may be able to help you more than I can: I'm just going by the documentation. As I understand it, FreeBSD will run most Linux binaries natively, as long as you install a suitable Linux environment (libraries etc). The easiest way to do this is to install a Linux version from ports (probably emulators/linux_base-f8 which will install a basic Fedora 8) which will create /compat/linux. You then install your Linux software in the usual way. I suspect you'll receive better offers of help if you start this process and then let the list know where you break down. Jonathan From iiv at dom.raid.ru Fri Jul 11 09:24:34 2008 From: iiv at dom.raid.ru (iiv@dom.raid.ru) Date: Fri Jul 11 09:24:41 2008 Subject: build system to DESTDIR Message-ID: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> To build system for the diskless station, whether there are differences between: [in script] #!/bin/sh export DESTDIR=/usr/diskless cd /usr/src; make buildworld and [in csh] # setenv DESTDIR /usr/diskless # cd /usr/src # make buildworld From zhangsc at neusoft.com Fri Jul 11 09:28:04 2008 From: zhangsc at neusoft.com (EdwardKing) Date: Fri Jul 11 09:28:12 2008 Subject: mail not work References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> <871w21fcw6.fsf@kobe.laptop> Message-ID: <011f01c8e337$846fb940$3f83a8c0@neusofteaf5839> > * Did you do anything to enable Sendmail (the default mail transfer > agent)? >>It's enabled by default on localhost. How to make FreeBSD mail to work? ----- Original Message ----- From: "Giorgos Keramidas" To: "EdwardKing" Cc: Sent: Friday, July 11, 2008 9:06 AM Subject: Re: mail not work > On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing wrote: >> I use mailx command,such as Tom to Kate,I like following command: >> $mail Kate >> Subject:Hello >> Hello world >> (press Ctrl+D) >> EOT >> >> Then I use user Kate to login,and check mail, >> $mail >> No mail for Kate >> >> Why I can't receive letter? where is wrong? > > mailx depends on a correctly configured `mail transfer agent', and it > expects the *login* name of a user, not their real name. > > * Do you have a local user whose login name is `Kate'? > > * Did you do anything to enable Sendmail (the default mail transfer > agent)? > > * What does the `/var/log/maillog' file contain? > ---------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ----------------------------------------------------------------------------------------------- From gerard at seibercom.net Fri Jul 11 09:57:57 2008 From: gerard at seibercom.net (Gerard) Date: Fri Jul 11 09:58:05 2008 Subject: Error Message When Mounting Share Message-ID: <20080711055741.4cf9bcc5@scorpio> I have XFCE-4 installed. I usually access this from my WinXP box via TightVNC. No problem there. From within XFCE-4, I usually mount a share on my WinXP box. Although I do not experience any apparent problems with that share, this error message is printed ad infinitum on the screen of the FreeBSD PC. +netsmb_dev: loaded +smb_maperror: Unmapped error 1:158 +smb_maperror: Unmapped error 1:158 +smb_maperror: Unmapped error 1:158 {message continues until I disconnect the share} How can I go about finding out what is causing this problem? -- Gerard gerard@seibercom.net Unnamed Law: If it happens, it must be possible. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/fd35e3f5/signature.pgp From gerard at seibercom.net Fri Jul 11 10:09:11 2008 From: gerard at seibercom.net (Gerard) Date: Fri Jul 11 10:09:18 2008 Subject: mail not work In-Reply-To: <011f01c8e337$846fb940$3f83a8c0@neusofteaf5839> References: <002b01c8e2ed$4c486ac0$3f83a8c0@neusofteaf5839> <871w21fcw6.fsf@kobe.laptop> <011f01c8e337$846fb940$3f83a8c0@neusofteaf5839> Message-ID: <20080711060853.65e6c018@scorpio> On Fri, 11 Jul 2008 17:21:35 +0800 EdwardKing wrote: > > * Did you do anything to enable Sendmail (the default mail > > transfer agent)? > > >>It's enabled by default on localhost. > > How to make FreeBSD mail to work? > > From: "Giorgos Keramidas" > > > On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing > > wrote: > >> I use mailx command,such as Tom to Kate,I like following command: > >> $mail Kate > >> Subject:Hello > >> Hello world > >> (press Ctrl+D) > >> EOT > >> > >> Then I use user Kate to login,and check mail, > >> $mail > >> No mail for Kate > >> > >> Why I can't receive letter? where is wrong? > > > > mailx depends on a correctly configured `mail transfer agent', and > > it expects the *login* name of a user, not their real name. > > > > * Do you have a local user whose login name is `Kate'? > > > > * Did you do anything to enable Sendmail (the default mail transfer > > agent)? > > > > * What does the `/var/log/maillog' file contain? Please don't top post. If you don't know what that means, Google for it. Regarding your 'sendmail' problem, might I suggest that you start by reading the material available at the following URLs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html http://www.technoids.org/freebsdsendmailfaqs.html http://www.freebsd.org/doc/en/books/handbook/sendmail.html There is a wealth of information available on this subject. Try reading and then posting if there is something that you do not fully understand. -- Gerard gerard@seibercom.net Common sense and a sense of humor are the same thing, moving at different speeds. A sense of humor is just common sense, dancing. Clive James -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080711/e56c1299/signature.pgp From roberto.nunnari at supsi.ch Fri Jul 11 10:37:11 2008 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Fri Jul 11 10:37:18 2008 Subject: Install Linux in FreeBSD In-Reply-To: <200807111119.21028.jonathan+freebsd-questions@hst.org.za> References: <200807090858.38386.jonathan@hst.org.za> <200807111119.21028.jonathan+freebsd-questions@hst.org.za> Message-ID: <487737CB.5080709@supsi.ch> I believe the OP question is: How to run a Full blown linux OS on a Virtual Machine on FreeBSD, and not how to run linux binaries on FreeBSD via emulation.. As for myself, I went the other way round, as I needed to run FreeBSD and windows on the same hardware. Best regards. Robi Jonathan McKeown wrote: > On Friday 11 July 2008 05:29, Ruel Luchavez wrote: > > [running Linux in a VM on FreeBSD] > >>> Did you read section 10 of the Handbook - Linux Binary Compatibility? >> Yes I read it Jonathan, Im newbie in BSD...regarding on my post is it >> possible? >> or Do you have any link so that i could much understand it aside from >> freebsd handbook? > > I haven't played with it at all - others (who have) may be able to help you > more than I can: I'm just going by the documentation. > > As I understand it, FreeBSD will run most Linux binaries natively, as long as > you install a suitable Linux environment (libraries etc). > > The easiest way to do this is to install a Linux version from ports (probably > emulators/linux_base-f8 which will install a basic Fedora 8) which will > create /compat/linux. > > You then install your Linux software in the usual way. > > I suspect you'll receive better offers of help if you start this process and > then let the list know where you break down. > > Jonathan > _______________________________________________ > 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 girish at hri.res.in Fri Jul 11 11:38:21 2008 From: girish at hri.res.in (Girish Kulkarni) Date: Fri Jul 11 11:38:28 2008 Subject: Disabling Super key? In-Reply-To: <8a2141c0807110419u4e07d2bct190056c627ec047d@mail.gmail.com> References: <8a2141c0807060227x2e28a4fgeea15ebd0dc02d32@mail.gmail.com> <692660060807060436u30deb4a3j4332426bccc8327d@mail.gmail.com> <8a2141c0807110419u4e07d2bct190056c627ec047d@mail.gmail.com> Message-ID: <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymk?w wrote: > Did you try kbdcontrol ? Thanks. I could do that using kbdcontrol(1) although this disables the Windows key only in the console and not in X, where xmodmap(1) does the job instead. I could make the effect of kbdcontrol permanent by adding a line to ~/.bash_profile. Any idea how I could make the effect xmodmap permanent? (Adding relevant lines to ~/.xsession doesn't seem to help.) Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com From mailing-lists at msdi.ca Fri Jul 11 11:41:43 2008 From: mailing-lists at msdi.ca (Ian Lord) Date: Fri Jul 11 11:41:51 2008 Subject: Linux for freebsd admins Message-ID: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Hi, I am not trying to start a war linux vs freebsd or a long thread on which distribution is best. Just trying to get a quick answer here. I am an inconditional to freebsd and I love it. Unfortunately I have an application that doesn't support freebsd and only run on linux. I tried to run it for a week under freebsd and it doesn't work. I have to install a linux machine and don't know which distribution to take. I tried debian ubuntu and fedora and didn't like them. I want: - A basic install (not 900 packages installed by default - No gui, I like my flashing cursor - an equivalent of ports. I want to easily compile my ports I don't like prebuilt package. Want to retrieve them by cvs. - an equivalent to portupgrade. I gotta admit mabe the three I tried was able to do that, but I'm so negative about linux thay maybe I didn't see the good point of it. Could you tell me which distribution you are using when you have no choice and need to go to linux ? Thanks From jonathan+freebsd-questions at hst.org.za Fri Jul 11 11:44:57 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Fri Jul 11 11:45:05 2008 Subject: Install Linux in FreeBSD In-Reply-To: <487737CB.5080709@supsi.ch> References: <200807111119.21028.jonathan+freebsd-questions@hst.org.za> <487737CB.5080709@supsi.ch> Message-ID: <200807111345.14776.jonathan+freebsd-questions@hst.org.za> On Friday 11 July 2008 12:36, Roberto Nunnari wrote: > I believe the OP question is: > How to run a Full blown linux OS on a Virtual Machine on FreeBSD, > > and not > how to run linux binaries on FreeBSD via emulation.. Not in context: the original question was Is it possible to run Linux in a VM on FreeBSD so as to run the Linux version of QuickBooks. I don't know if it's possible to run QuickBooks through Linux compatibility, but personally I would try it first before trying to set up a VM. In any case it's not clear whether the OP was aware that this might be an option. Jonathan From fbsd06 at mlists.homeunix.com Fri Jul 11 11:51:19 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Jul 11 11:51:26 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <20080711125109.70a48035@gumby.homeunix.com.> On Fri, 11 Jul 2008 07:29:35 -0400 "Ian Lord" wrote: > > I have to install a linux machine and don't know which distribution > to take. > I tried debian ubuntu and fedora and didn't like them. > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't > like prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. Try Gentoo From ross.cameron at linuxpro.co.za Fri Jul 11 11:54:11 2008 From: ross.cameron at linuxpro.co.za (Ross Cameron) Date: Fri Jul 11 11:54:18 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <35f70db10807110454w79ee2c78xa75fbfd9e5187c76@mail.gmail.com> I'd go with CRUX www.crux.nu I've used it for the same reasons as a base for my embedded Linux distro's On Fri, Jul 11, 2008 at 1:29 PM, Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to > take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > 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" > -- Fred Allen - "Television is a medium because anything well done is rare." From ross.cameron at linuxpro.co.za Fri Jul 11 11:54:57 2008 From: ross.cameron at linuxpro.co.za (Ross Cameron) Date: Fri Jul 11 11:55:14 2008 Subject: Linux for freebsd admins In-Reply-To: <20080711125109.70a48035@gumby.homeunix.com.> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711125109.70a48035@gumby.homeunix.com.> Message-ID: <35f70db10807110454s298b8ba1r1bba53c87c377cfc@mail.gmail.com> On Fri, Jul 11, 2008 at 1:51 PM, RW wrote: > > Try Gentoo Personally I find Gentoo too temperamental and a pain in the rear,... but YMMV From wmoran at potentialtech.com Fri Jul 11 11:58:08 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Fri Jul 11 11:58:16 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <20080711075708.e9fee4a7.wmoran@potentialtech.com> In response to "Ian Lord" : > > I have to install a linux machine and don't know which distribution to take. I highly recommend CentOS for the following reasons: 1) It's free. 2) It's kept up to date. 3) It's 100% Red Hat compatible, which means: a) 99% of the howtos on the internet will work b) 99% of the Linux packages you find will work c) You can lie to vendors and tell them you're running Red Hat to get support. As for the packages thing: 300 seems to be about the minimum # of packages to make a working Linux install. Keep in mind that _everything_ is a package in Linux, even the kernel, so just installing typical stuff like ls and ps and top adds packages to the system. The CentOS installer does have an option for an X-less install. The Red Hat mentality doesn't go much for rolling your own packages, so you might not like CentOS for that reason, but it's a compromise. They have a # of upgrade managers similar to portupgrade, such as up2date and yum. -- Bill Moran http://www.potentialtech.com From nickhardcore at gmail.com Fri Jul 11 11:59:28 2008 From: nickhardcore at gmail.com (nickhardcore) Date: Fri Jul 11 11:59:35 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <48774B34.1020808@gmail.com> Absolutely Gentoo. A very flexible distro, doing what you say to do! Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > Thanks > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 12:01:13 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 12:01:20 2008 Subject: build system to DESTDIR In-Reply-To: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> References: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> Message-ID: <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> On Friday 11 July 2008 11:08:04 iiv@dom.raid.ru wrote: > To build system for the diskless station, whether there are > differences between: > > [in script] > #!/bin/sh > export DESTDIR=/usr/diskless > cd /usr/src; make buildworld > > and > > [in csh] > # setenv DESTDIR /usr/diskless > # cd /usr/src > # make buildworld There should not be a difference, but to rule out any shell issues, it is best to invoke: make buildworld DESTDIR=/usr/diskless Make itself then handles the variable. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dak.col at gmail.com Fri Jul 11 12:02:56 2008 From: dak.col at gmail.com (Diego F. Arias R.) Date: Fri Jul 11 12:03:03 2008 Subject: Fwd: Linux for freebsd admins In-Reply-To: <3b93bd110807110502l59eeb779gd44101771abae6e9@mail.gmail.com> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <48774B34.1020808@gmail.com> <3b93bd110807110502l59eeb779gd44101771abae6e9@mail.gmail.com> Message-ID: <3b93bd110807110502s5663edf8geaf04a793eedfb74@mail.gmail.com> ---------- Forwarded message ---------- From: Diego F. Arias R. Date: Fri, Jul 11, 2008 at 7:02 AM Subject: Re: Linux for freebsd admins To: nickhardcore@gmail.com Slackware, is one of themore similar unix-like distro. If you dont want prebuild packages then you can try. On Fri, Jul 11, 2008 at 6:59 AM, nickhardcore wrote: > Absolutely Gentoo. A very flexible distro, doing what you say to do! > > Ian Lord wrote: >> Hi, >> >> >> >> I am not trying to start a war linux vs freebsd or a long thread on which >> distribution is best. Just trying to get a quick answer here. >> >> >> >> I am an inconditional to freebsd and I love it. Unfortunately I have an >> application that doesn't support freebsd and only run on linux. I tried to >> run it for a week under freebsd and it doesn't work. >> >> >> >> I have to install a linux machine and don't know which distribution to take. >> >> >> >> I tried debian ubuntu and fedora and didn't like them. >> >> >> >> I want: >> >> - A basic install (not 900 packages installed by default >> >> - No gui, I like my flashing cursor >> >> - an equivalent of ports. I want to easily compile my ports I don't like >> prebuilt package. Want to retrieve them by cvs. >> >> - an equivalent to portupgrade. >> >> >> >> I gotta admit mabe the three I tried was able to do that, but I'm so >> negative about linux thay maybe I didn't see the good point of it. >> >> >> >> Could you tell me which distribution you are using when you have no choice >> and need to go to linux ? >> >> >> >> 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" > _______________________________________________ > 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" > -- mmm, interesante..... -- mmm, interesante..... From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 12:08:13 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 12:08:19 2008 Subject: Library mapping question In-Reply-To: <310032.41745.qm@web57009.mail.re3.yahoo.com> References: <310032.41745.qm@web57009.mail.re3.yahoo.com> Message-ID: <200807111408.11050.fbsd.questions@rachie.is-a-geek.net> On Friday 11 July 2008 10:22:21 Unga wrote: > Hi all > > I have same name libraries in two different locations, eg. > /usr/lib/libXXX.so and /usr/local/lib/libXXX.so. They were created using > same sources and the same compiler. > > The app1 is linked with /usr/lib/libXXX.so and app2 is linked with > /usr/local/lib/libXXX.so. > > When app2 is run, the dynamic linker (ld-elf.so.1) finds /usr/lib/libXXX.so > first and ends up with following error: undefined reference to `_myxxx' > > This is not an issue with Linux's dynamic linker but it seems FreeBSD's > function look up is very specific. I cannot change the dynamic linker's > search path, then app1 fails. > > How do I get the app2 to refer to /usr/local/lib/libXXX.so? > > In FreeBSD, is there a way to instruct the dynamic linker (ld-elf.so.1) to > continue to search for the same library name in different locations? > > What are the other possible options? The best option is to bump version number of the shared library with the more functions. FreeBSD doesn't link with .so, it links with .so.$VERSION. It would be easier to help you though, if we wouldn't be talking about libXXX but the actual libraries. Maybe it can be done by adding small changes to the port that installs /usr/local/lib/libXXX.so (if this isn't your own library). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From sonic2000gr at gmail.com Fri Jul 11 12:08:34 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Fri Jul 11 12:08:41 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <48774D30.1000108@gmail.com> Ian Lord wrote: > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > If you wish something really close to you FreeBSD experience, you should try Arch linux: - Uses rc.conf file (bsd style init) - Fully configurable, no GUI installed by default - Package manager allow both source / binary packages - Rolling distro means you never have to reinstall. - You will easily apply your knowledge from FreeBSD to it From matthias.apitz at oclc.org Fri Jul 11 12:21:07 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Fri Jul 11 12:21:20 2008 Subject: growisofs && non aligned DMA transfer (7.0R) Message-ID: <20080711122104.GA2012@rebelion.Sisis.de> Hello, I wanted to add a file to an already written DVD+RW (written a day before on the same system) with # growisofs -M /dev/cd0 -r -T -J -joliet-long -v directory This produced tons of error messages via syslog as Jul 11 13:45:30 rebelion kernel: ata0: FAILURE - non aligned DMA transfer attempted Jul 11 13:45:30 rebelion kernel: acd0: setting up DMA failed and the only way to get the system back to a usable state was rebooting it; this is with FreeBSD-7.0R; what I have done wrong? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ ?...una sola vez, que es cuanto basta si se trata de verdades definitivas.? ?...only once, which is enough if it has todo with definite truth.? Jos? Saramago, Historia del Cerca de Lisboa From jcigar at ulb.ac.be Fri Jul 11 12:24:04 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Fri Jul 11 12:24:12 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <1215785005.2605.3.camel@frodon.be-bif.ulb.ac.be> Debian (not Ubuntu ..) On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote: > Hi, > > > > I am not trying to start a war linux vs freebsd or a long thread on which > distribution is best. Just trying to get a quick answer here. > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > application that doesn't support freebsd and only run on linux. I tried to > run it for a week under freebsd and it doesn't work. > > > > I have to install a linux machine and don't know which distribution to take. > > > > I tried debian ubuntu and fedora and didn't like them. > > > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? > > > > 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" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 12:28:21 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 12:28:29 2008 Subject: Install failure for 7.0-RELEASE (Need help!) In-Reply-To: <52573.1215726636@tristatelogic.com> References: <52573.1215726636@tristatelogic.com> Message-ID: <200807111428.19594.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 23:50:36 Ronald F. Guilmette wrote: > I have an older system that I've been running 6.1-RELEASE on for a > long long time now. I want to upgrade it to run 7.0-RELEASE. > (CPU => AMD Athlon XP 2000, Motherboard => ASUS A7N266-VM/AA.) > > OK, so I install a new hard drive (known good /practically new) and > I'm ready to do a fresh install of 7.0-RELEASE onto this fresh new > blank drive. > acd0: CDROM at ata1-master UDMA33 > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 > GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install. > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 Errm, so don't install from cd. You have a working 6.1 system. Use csup with /usr/share/examples/cvsup/standard-supfile as your template, set a real host, change tag to RELENG_7_0, change prefix to /usr/RELENG_7_0/src, mkdir -p /usr/RELENG_7_0/src and get the source csup -L2 /path/to/standard-supfile. Format the new disk using the chapter on this topic from the handbook and make sure the slice is bootable. Mount the drive's root on /mnt, usr and var and whatever else you had partitions made for below that and read the entry in UPDATING under COMMON ITEMS that describes "To cross-install current onto a seperate partition". -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From lenzi at k1.com.br Fri Jul 11 12:32:22 2008 From: lenzi at k1.com.br (sergio lenzi) Date: Fri Jul 11 12:32:29 2008 Subject: Linux for freebsd admins In-Reply-To: <1215785005.2605.3.camel@frodon.be-bif.ulb.ac.be> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <1215785005.2605.3.camel@frodon.be-bif.ulb.ac.be> Message-ID: <1215779485.1201.4.camel@localhost> Em Sex, 2008-07-11 ?s 16:03 +0200, Julien Cigar escreveu: > Debian (not Ubuntu ..) > > On Fri, 2008-07-11 at 07:29 -0400, Ian Lord wrote: > > Hi, > > > > > > > > I am not trying to start a war linux vs freebsd or a long thread on which > > distribution is best. Just trying to get a quick answer here. > > > > > > > > I am an inconditional to freebsd and I love it. Unfortunately I have an > > application that doesn't support freebsd and only run on linux. I tried to > > run it for a week under freebsd and it doesn't work. Try ARCH linux -> http://www.archlinux.org > > > > > > > > I have to install a linux machine and don't know which distribution to take. > > > > > > > > I tried debian ubuntu and fedora and didn't like them. > > > > > > > > I want: > > > > - A basic install (not 900 packages installed by default very small, 140Mb, no GUI... installs fast, > > > > - No gui, I like my flashing cursor > > > > - an equivalent of ports. I want to easily compile my ports I don't like > > prebuilt package. Want to retrieve them by cvs. PACMAN (in the archlinux....) is fast and workd very good.. not many features as freebsd ports, but works very fast. > > > > - an equivalent to portupgrade. > > the same program -> pacman > > > > > > I gotta admit mabe the three I tried was able to do that, but I'm so > > negative about linux thay maybe I didn't see the good point of it. > > > > > > > > Could you tell me which distribution you are using when you have no choice > > and need to go to linux ? > > > > > > > > Thanks > > > > > > take a look -> http://www.archlinux.org Sergio From frank at shute.org.uk Fri Jul 11 12:32:42 2008 From: frank at shute.org.uk (Frank Shute) Date: Fri Jul 11 12:32:49 2008 Subject: Disabling Super key? In-Reply-To: <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> References: <8a2141c0807060227x2e28a4fgeea15ebd0dc02d32@mail.gmail.com> <692660060807060436u30deb4a3j4332426bccc8327d@mail.gmail.com> <8a2141c0807110419u4e07d2bct190056c627ec047d@mail.gmail.com> <8a2141c0807110438m219018afoba91c986e2c9be73@mail.gmail.com> Message-ID: <20080711123230.GA39237@melon.esperance-linux.co.uk> On Fri, Jul 11, 2008 at 05:08:18PM +0530, Girish Kulkarni wrote: > > On Sun, Jul 6, 2008 at 5:06 PM, Sebastian Tymk?w wrote: > > Did you try kbdcontrol ? > > Thanks. I could do that using kbdcontrol(1) although this disables > the Windows key only in the console and not in X, where xmodmap(1) > does the job instead. I could make the effect of kbdcontrol > permanent by adding a line to ~/.bash_profile. Any idea how I could > make the effect xmodmap permanent? (Adding relevant lines to > ~/.xsession doesn't seem to help.) Make a ~/.xmodmaprc with your setting(s) in it and then call it from ~/.xsession or ~/.xinitrc (depends on how you start X). E.g you want a line like: xmodmap -display :0.0 .xmodmaprc in there. For the kbdcontrol stuff, I put it in /etc/rc.local > > Girish. > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 12:34:33 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 12:34:41 2008 Subject: unknown option IPV6FIREWALL_VERBOSE when compiling In-Reply-To: <48768120.60705@gmail.com> References: <48768120.60705@gmail.com> Message-ID: <200807111434.31595.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 23:37:36 nickhardcore@gmail.com wrote: > Hi list. > I was following this guide > (http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html) to > configure and use IPFW on my FreeBSD 7 (is a vmware virtual machine but > I don't think this is a problem) > > [root@hyperion /usr/src]$ uname -a > FreeBSD hyperion.xxx.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #1: Wed > Jul 2 19:48:58 CEST 2008 > root@hyperion.xxx.org:/usr/obj/usr/src/sys/CUSTOM i386 > > But when compiling the kernel I have the following error: > > [root@hyperion /usr/src]# make buildkernel KERNCONF=CUSTOM > -------------------------------------------------------------- > > >>> Kernel build for CUSTOM started on Thu Jul 10 23:21:45 CEST 2008 > > -------------------------------------------------------------- > ===> CUSTOM > mkdir -p /usr/obj/usr/src/sys > -------------------------------------------------------------- > > >>> stage 1: configuring the kernel > > -------------------------------------------------------------- > cd /usr/src/sys/i386/conf; > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/b >in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/ >obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin: >/usr/bin config -d /usr/obj/usr/src/sys/CUSTOM > /usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf/CUSTOM: unknown option > "IPV6FIREWALL_VERBOSE" *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. > > The kernel configuration is a "GENERIC" with this few customizations: > > options ACCEPT_FILTER_HTTP > options ACCEPT_FILTER_DATA > options DEVICE_POLLING > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPV6FIREWALL > options IPV6FIREWALL_VERBOSE > options IPV6FIREWALL_DEFAULT_TO_ACCEPT > options IPDIVERT > > I tried to update through cvsup the system and then recompile the kernel > with the new options but the error is still there. > Any idea? All, IPV6FIREWALL options have been removed. Docs have to be updated. The IPFIREWALL is now 4 and 6 both, so you don't need them. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From iiv at dom.raid.ru Fri Jul 11 12:43:12 2008 From: iiv at dom.raid.ru (iiv@dom.raid.ru) Date: Fri Jul 11 12:43:24 2008 Subject: build system to DESTDIR In-Reply-To: <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> References: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> Message-ID: <50508.10.90.34.181.1215780189.squirrel@dom.raid.ru> > On Friday 11 July 2008 11:08:04 iiv@dom.raid.ru wrote: >> To build system for the diskless station, whether there are >> differences between: >> >> [in script] >> #!/bin/sh >> export DESTDIR=/usr/diskless >> cd /usr/src; make buildworld >> >> and >> >> [in csh] >> # setenv DESTDIR /usr/diskless >> # cd /usr/src >> # make buildworld > > There should not be a difference, but to rule out any shell issues, > it is best > to invoke: > make buildworld DESTDIR=/usr/diskless > > Make itself then handles the variable. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > thanks, I will try this method of installing the system in /usr/diskless: # cd /usr/src # make installworld DESTDIR=/usr/diskless # make installkernel DESTDIR=/usr/diskless # make distribution DESTDIR=/usr/diskless From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 12:45:12 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 12:45:19 2008 Subject: compile agp kernel support In-Reply-To: <6fec50390807101248p3adecf54u2852914cbbf110d9@mail.gmail.com> References: <6fec50390807101248p3adecf54u2852914cbbf110d9@mail.gmail.com> Message-ID: <200807111445.10102.fbsd.questions@rachie.is-a-geek.net> On Thursday 10 July 2008 21:48:35 Max Russell wrote: > I need to compile nvidia agp support in to my kernel. No you don't. nvidia agp is loaded through xorg.conf and requires that the FreeBSD agp driver is disabled: echo 'hint.agp.0.disabled="1"' >> /boot/device.hints If your card for some reason does not work with nvidia's agp driver, then you need to disable the nvidia agp driver in xorg.conf and remove that line. Install x11/nvidia-xconfig and look at it's manpage to see that it can autogenerate an xorg.conf file for you, with and without the nvidia agp. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From juancr at dsa.es Fri Jul 11 12:45:42 2008 From: juancr at dsa.es (DSA - JCR) Date: Fri Jul 11 12:45:50 2008 Subject: geli not working under non root user Message-ID: <58668.217.114.136.134.1215780290.squirrel@mail.dsa.es> Hi all FreebSD 6.2 I have usb disk crypto with GELI and now I am making a script in order the operators users can change this disks When I try to do cat key 1 key2 | geli attach -k - /dev/da0 I get the error: Can?t lock memory: Operation not permited if I run under root user it work without problems. is there a solution for that? or is a problem of GELI? thanks in advance Juan Coru?a Desarrollo de Software Atlantico From steve at ibctech.ca Fri Jul 11 12:47:16 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jul 11 12:47:23 2008 Subject: IPv6 Auto Discovery In-Reply-To: References: Message-ID: <48775658.2020508@ibctech.ca> Doug Hardie wrote: > Mac OS-X does a form of auto discovery on IPv6 where the machines on a > local network add the machine name to the ndp table when they see > activity from that machine. ...FreeBSD does this as well (Neighbor Discovery). pearl# ndp -a Neighbor Linklayer Address Netif Expire S Flags lanx.eagle.ca 0:b:46:3e:f3:41 fxp0 23h59m41s S R vandetta.ibctech.ca 0:f:b5:80:58:77 fxp0 15s R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R v6.ibctech.ca 0:e:c:6c:e9:62 fxp0 permanent R ...etc, etc. If you don't have DNS configured, or you do not have reverse DNS entries for the host IPs you are talking to, then only the IP will be listed above. > So far I only have a rudimentary IPv6 > configuration on FreeBSD 7 running and it only sees the IP address, and > then only after I ping the other end. What you see above is normal functionality of the IPv6 Neighbor Discovery Protocol (RFC-4861). The 'neighbor cache' only gets populated with entries when IP communication takes place, or you receive/accept a router advertisement with a list of prefixes (ndp -p). The fact that names are not appearing is due to (mis|non) configuration of DNS either for the resolver on the box itself, or reverse DNS missing for the LAN IPs as stated above. To add a DNS server in FreeBSD, simply: # echo "nameserver ip.of.name.server" >> /etc/resolv.conf > I couldn't find anything in > /etc/defaults that seems to address auto discovery. Is this something I > have missed or what? Perhaps you are referring to 'Auto Configuration' (RFC-4862)? Neighbor Discovery and Auto Configuration perform different tasks, but the former is required by the latter. Can you describe exactly what you want to achieve? Is it only the name resolution problem you described above? Steve From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 13:01:53 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 13:01:59 2008 Subject: Ldap NSS PAM Samba In-Reply-To: <4876A338.2010502@gmail.com> References: <2714.204.184.27.217.1215704516.squirrel@mail.bloomfield.k12.mo.us> <4876A338.2010502@gmail.com> Message-ID: <200807111501.50971.fbsd.questions@rachie.is-a-geek.net> On Friday 11 July 2008 02:03:04 Tim Judd wrote: > I can't quote easily what the difference > between NSS and PAM is PAM is a module that abstracts authentication, it does not authenticate itself, yet asks "providers" if the information passed to it is correct and then relays this to the application or tries a different method if this is allowed. NSS is an abstraction of cryptographic protocols, applied to a network. In this schema, it is a transport provider: ------- Application ------- ----- Network ----- / \ / \ +---------------+ +-----+ +-----+ +---------------+ + User/password | <---> | PAM | <---> | NSS | <---> | LDAP database + +---------------+ +-----+ +-----+ +---------------+ \ / \______Authentication______/ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at meijome.net Fri Jul 11 13:16:08 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Jul 11 13:16:16 2008 Subject: Linux for freebsd admins In-Reply-To: <35f70db10807110454s298b8ba1r1bba53c87c377cfc@mail.gmail.com> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711125109.70a48035@gumby.homeunix.com.> <35f70db10807110454s298b8ba1r1bba53c87c377cfc@mail.gmail.com> Message-ID: <20080711231604.4ffc11d9@ayiin> On Fri, 11 Jul 2008 13:54:55 +0200 "Ross Cameron" wrote: > On Fri, Jul 11, 2008 at 1:51 PM, RW wrote: > > > > > Try Gentoo > > > Personally I find Gentoo too temperamental and a pain in the rear,... but > YMMV I'll have to agree here... first i thought, cool, you can customise most things, build packages ala bsd... but it just was borked enough to really don't make much sense. ( and no, i'm not really a linux newbie, started using slackware in '95). I've stuck to centos since then - v reliable when i can't use fbsd. and quite easy to remove or not install ui. b _________________________ {Beto|Norberto|Numard} Meijome "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels it finds the darkness has always got there first, and is waiting for it." Terry Pratchett, in "Reaper Man" I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Fri Jul 11 13:24:15 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Jul 11 13:24:30 2008 Subject: Linux for freebsd admins In-Reply-To: <20080711075708.e9fee4a7.wmoran@potentialtech.com> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711075708.e9fee4a7.wmoran@potentialtech.com> Message-ID: <20080711232410.31ce0f74@ayiin> On Fri, 11 Jul 2008 07:57:08 -0400 Bill Moran wrote: > In response to "Ian Lord" : > > > > I have to install a linux machine and don't know which distribution to take. > > I highly recommend CentOS for the following reasons: > 1) It's free. > 2) It's kept up to date. > 3) It's 100% Red Hat compatible, which means: > a) 99% of the howtos on the internet will work > b) 99% of the Linux packages you find will work > c) You can lie to vendors and tell them you're running Red Hat to get > support. +1 > As for the packages thing: 300 seems to be about the minimum # of > packages to make a working Linux install. Keep in mind that > _everything_ is a package in Linux, even the kernel, so just installing > typical stuff like ls and ps and top adds packages to the system. yup > The CentOS installer does have an option for an X-less install. yup > The Red Hat mentality doesn't go much for rolling your own packages, > so you might not like CentOS for that reason, but it's a compromise. actually, i've been rolling my own rpms from srpms and it IS quite simple. > They have a # of upgrade managers similar to portupgrade, such as > up2date and yum. yum is 100 times better than up2date (except that u can't run 2 instances of yum @ the same time...but it's just a minor annoyance) _________________________ {Beto|Norberto|Numard} Meijome "And that's one reason we like to believe in genius. It gives us an excuse for being lazy." Paul Graham I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From freebsd at meijome.net Fri Jul 11 13:25:58 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Jul 11 13:26:05 2008 Subject: geli not working under non root user In-Reply-To: <58668.217.114.136.134.1215780290.squirrel@mail.dsa.es> References: <58668.217.114.136.134.1215780290.squirrel@mail.dsa.es> Message-ID: <20080711232554.3c55dec9@ayiin> On Fri, 11 Jul 2008 12:44:50 -0000 (GMT) "DSA - JCR" wrote: > When I try to do > > cat key 1 key2 | geli attach -k - /dev/da0 > > I get the error: > > Can__t lock memory: Operation not permited > > > if I run under root user it work without problems. > > is there a solution for that? or is a problem of GELI? give the operators sudo access to geli ? _________________________ {Beto|Norberto|Numard} Meijome "Science Fiction...the only genuine consciousness expanding drug" Arthur C. Clarke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From raghu at mri.ernet.in Fri Jul 11 13:29:18 2008 From: raghu at mri.ernet.in (N. Raghavendra) Date: Fri Jul 11 13:29:28 2008 Subject: Library mapping question In-Reply-To: <115118.71641.qm@web57010.mail.re3.yahoo.com> (Unga's message of "Fri, 11 Jul 2008 02:18:21 -0700 (PDT)") References: <115118.71641.qm@web57010.mail.re3.yahoo.com> Message-ID: <864p6wzhb7.fsf@riemann.mri.ernet.in> At 2008-07-11T02:18:21-07:00, Unga wrote: > [/usr/bin/app2/] > libXXX.so /usr/local/lib/libXXX.so > > Now when run app2 it does not say anymore "undefined references" but > it says "Shared object "/usr/local/lib/libXXX.so" not found" > > ls -l /usr/local/lib/libXXX.so shows its there. > > Is /etc/libmap.conf specification correct? In all the examples I've seen, the "mapping" entries in libmap.conf(5), i.e., the ones in the second column, are relative to the search path for libraries. Further, it is better to use only the basename of the executable in the constraint of the mapping --- the part enclosed by square brackets. So, the following may work: cd /usr/local/lib && ln -s libXXX.so libFOO.so to distinguish it from the one in `/usr/lib', which directory comes earlier in the search path. Then, append these two lines to `/etc/libmap.conf': [app2] libXXX.so libFOO.so HTH, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. From Albert.Shih at obspm.fr Fri Jul 11 13:34:48 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jul 11 13:34:55 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: <20080711132343.GH90678@pcjas.obspm.fr> Le 11/07/2008 ? 07:29:35-0400, Ian Lord a ?crit > Hi, > > > I tried debian ubuntu and fedora and didn't like them. > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > I gotta admit mabe the three I tried was able to do that, but I'm so > negative about linux thay maybe I didn't see the good point of it. > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? I'm in the same situation : My experience : Fedora -->If you like the lastest features (including bugs) of software it's good distro Debian --> Good distro but IMHO the update is to slow and after some year on a server you run very out-of-date software CentOS --> Good if the software you need is RedHat Compliant only, because CentOS is a RedHat without the support. About software (packages) : Fedora/CentOS : Using yum and rpm. Work well but they are not many packages in the official repository. You need to find with rpmfind many package. Debian : Lots of packages, but as I said it's out-of-date. You can run unstable (like 7-Stable) or Testing (like 7-current) but it's on your own risk. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 11 jul 2008 15:16:53 CEST From jan.h.zab at googlemail.com Fri Jul 11 13:36:38 2008 From: jan.h.zab at googlemail.com (Jan-Hendrik Zab) Date: Fri Jul 11 13:36:46 2008 Subject: Ldap NSS PAM Samba In-Reply-To: <4876A338.2010502@gmail.com> References: <2714.204.184.27.217.1215704516.squirrel@mail.bloomfield.k12.mo.us> <4876A338.2010502@gmail.com> Message-ID: <20080711145847.5ee17dce@pc171.l3s.uni-hannover.de> On Thu, 10 Jul 2008 18:03:04 -0600 Tim Judd wrote: > sgmayo@mail.bloomfield.k12.mo.us wrote: > > I am trying to setup a FreeBSD server with samba that uses > > OpenLdap. I have installed everything and was doing some > > configuring. I set this all up once before on a Linux box, but I > > basically just went through the motions and really was not sure > > what all I did...but it worked. Now I want to understand > > everything so that I know exactly what all I did. :) > > > > I have the following: > > I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. > > I installed PAM which put ldap.conf.dist in /usr/local/etc. > > I installed NSS which put nss_ldap.conf in /usr/local/etc. > > > > >From looking at them I assume that the last two are the same file > > >and one > > of them just needs to be renamed to ldap.conf and configured for > > PAM and NSS, is that correct? > > > > The ldap.conf in /usr/local/etc/openldap is a different config file > > even though it has the same name? It is used for openldap and the > > other is used for PAM and NSS? > > > > Thanks for any info. > > > > > openldap/ldap.conf is the OpenLDAP client configuration. You're > likely looking for the LDAP server configuration, openldap/slapd.conf > > etc/ldap.conf is for PAM, and etc/nss_ldap.conf are not to be > merged. I've played ***VERY*** briefly with LDAP authentication > through PAM and NSS, and both were required. I can't quote easily > what the difference between NSS and PAM is, but all the docs I > referenced from Google when I searched said I needed both. It's theoretically possible to use only one file for all three, but you really need to know what you're doing. (with symlinks) OpenLDAP tools, pam_ldap and nss_ldap have more or less the same configuration options. But there are a few quite subtle differences between them, the easiest thing is to just configure them separately while having a look at the appropriate man page. Additionally, they don't start to bark at you, when you configure a parameter that does not exist (in pam_ldap or nss_ldpa only etc.). It wouldn't be easy to find out that the syntax of one of the three was changed, etc. Jan-Hendrik Zab From steve at ibctech.ca Fri Jul 11 13:41:12 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jul 11 13:41:18 2008 Subject: Disk configuration recommendations Message-ID: <487762FC.2090502@ibctech.ca> Hi everyone, We've just built a new network storage box that will replace an existing unit. The device is purely for storing a hot backup of server images. The motherboard has four SATA ports, which I have connected to four 500GB SATA drives. I had full intentions on using either GEOM or ZFS (I'm just reading up on the latter now) to span the drives together (I don't care about redundancy on this unit). I did not realize until yesterday that the motherboard my colleague went with has onboard RAID. What I'm looking for are opinions on a solution to make this box as resilient as possible for the long term (eg: if the motherboard dies, it would be nice to drop the disks into another box). Do you have any recommendations on how I should proceed? Hardware RAID, ZFS or GEOM? Some info that may help guide recommendations: - 4GB of memory - dual core 2.2Ghz - I have no problem having /boot on a USB key - preferably /backup to be ~1.6TB - like to have a small piece of the disk encrypted (directory or partition) - would be nice to be able to easily (ie: dynamically) add storage capacity without wiping existing data - three GigE NICs, so would like to pursue the possibility of perhaps using disk space of other nodes (or at least mounting it remotely) - would consider a RAID 5 setup if a recommendation meets other (non-listed) design objectives Thanks all! Steve From Kevin at RawFedDogs.net Fri Jul 11 13:44:26 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Fri Jul 11 13:44:33 2008 Subject: Linux for freebsd admins In-Reply-To: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> Message-ID: Ian, On Fri, 11 Jul 2008, Ian Lord wrote: > > I have to install a linux machine and don't know which distribution to take. > > I tried debian ubuntu and fedora and didn't like them. > > I want: > > - A basic install (not 900 packages installed by default > > - No gui, I like my flashing cursor > > - an equivalent of ports. I want to easily compile my ports I don't like > prebuilt package. Want to retrieve them by cvs. > > - an equivalent to portupgrade. > > > Could you tell me which distribution you are using when you have no choice > and need to go to linux ? Well, sort of. In my case I did have a choice. I just recently switched my home PC from Linux to FreeBSD after having been a Linux user since the 1.xx kernel, not to mention the i486, days. I've tried many Linux distros over the years, some source based and some binary package based. >From the above it sounds like you want a source based system. I've tried several. I ran Gentoo for a few years before I got fed up with it and moved on. I think of the completely source based distros I've tried my favorite was SourceMage. As others have suggested, CRUX or ArchLinux might be good choices for your requirements. Although I think the CRUX ports system uses rsync instead of CVS to update the ports tree. I forget what Arch uses. If you don't want a GUI installer, you can't get much less GUI than CRUX. Quite a bit of the installation process is done "by hand." One first uses fdisk and mkfs to partition and format their hard drive, mounts the partitions, then runs the setup script to install packages. After the packages are installed, one exits the installer, chroots into the new system, edits fstab, rc.conf, etc., by hand, compiles/installs a custom kernel, then installs a boot loader. I ran CRUX for a while followed by ArchLinux for a while and liked them both. The Linux distro I was running just before switching my home PC to FreeBSD was Debian, and I think overall it's the one I liked best. It has a text based installer, and one can install a minimal system via the installer, then install other needed packages later. Although it is binary package based rebuilding packages from source isn't too difficult, once one gets the hang of it. There were a few Debian packages I found the need to rebuild. For example, the ffmpeg package available from debian-multimedia.org has mmx disabled. Enabling mmx roughly triples it's performance. My notes on rebuilding the package can be found at: http://www.RawFedDogs.net/DebianFfmpegMMX.html Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From Golub_Taras at i.ua Fri Jul 11 13:46:38 2008 From: Golub_Taras at i.ua (=?windows-1251?B?0uDw4PE=?=) Date: Fri Jul 11 13:46:45 2008 Subject: Can't connect to local MySQL server through socket '/tmp/mysql.sock Message-ID: Hi! I need two MySQL servers run simultaneously. But when I try to run server I have ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) I had read something about it, but don't find what can help me! ? ?????????. ????? ????? -- ??????? ----------------------------------------------------------- ????? Chevrolet Aveo ??? ? ???????! http://video.i.ua/user/835678/9877/43665/ From online.service at bankofamerica.com Fri Jul 11 13:47:56 2008 From: online.service at bankofamerica.com (Bank Of America) Date: Fri Jul 11 13:48:04 2008 Subject: Security Alert! {Update Your Online Banking Information} Message-ID: <200807110437.m6B4bQb3019390@atlant.mtw.ru> [em_logo.gif ] [em_photo.jpg] Online Banking Alert [em_promo2.gif ] Update Your Online Banking Because of unusual number of invalid login attempts on you account, we had to believe that, their might be some security problem on you account. So we have decided to put an extra verification process to ensure your identity and your account security. Please click on sign in to Online Banking to continue to the verification process and ensure your account security. It is all about your security. Thank you. and visit the customer service section. _________________________________________________________________ Olympic Logo Bank of America, N.A. Member FDIC. [1]Equal Housing Lender [house_1.gif ] (c) 2008 Bank of America Corporation. All rights reserved DeleteReplyForwardSpamMove... References 1. http://jeuxetstrategie.free.fr/administrator/components/com_login/signin.html From steve at ibctech.ca Fri Jul 11 13:54:19 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jul 11 13:54:26 2008 Subject: Can't connect to local MySQL server through socket '/tmp/mysql.sock In-Reply-To: References: Message-ID: <48776604.4070403@ibctech.ca> ????? wrote: > Hi! I need two MySQL servers run simultaneously. But when I try to run server I have > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Does this happen when you try to start the first instance, or starting the second instance when you already have one started. If the latter is the case, you are going to have to tell the second instance to use a different socket file. # touch /tmp/mysql.sock2 # chmod mysql_user:mysql_group /tmp/mysql.sock2 ....and then, I believe if you add this to your /etc/my.cnf file: [mysqld] socket=/tmp/mysql.sock2 This should start at least one of your instances on the new socket, leaving the other one alone. Note: I have not tested the above, its off the top of my head. Be worth Googling for verification. Steve From steve at ibctech.ca Fri Jul 11 13:58:07 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jul 11 13:58:14 2008 Subject: Can't connect to local MySQL server through socket '/tmp/mysql.sock In-Reply-To: <48776604.4070403@ibctech.ca> References: <48776604.4070403@ibctech.ca> Message-ID: <487766F4.1020901@ibctech.ca> Steve Bertrand wrote: > ????? wrote: >> Hi! I need two MySQL servers run simultaneously. But when I try to run >> server I have > ....and then, I believe if you add this to your /etc/my.cnf file: > > [mysqld] > socket=/tmp/mysql.sock2 ...after thinking about it, this would likely cause both daemons to use the new socket file. Perhaps a better approach would be to start mysqld with the --socket=/tmp/mysql.sock2 argument, leaving /etc/my.cnf as is. Steve From nickhardcore at gmail.com Fri Jul 11 14:03:53 2008 From: nickhardcore at gmail.com (nickhardcore@gmail.com) Date: Fri Jul 11 14:04:01 2008 Subject: unknown option IPV6FIREWALL_VERBOSE when compiling [SOLVED] In-Reply-To: <200807111434.31595.fbsd.questions@rachie.is-a-geek.net> References: <48768120.60705@gmail.com> <200807111434.31595.fbsd.questions@rachie.is-a-geek.net> Message-ID: <48776843.4070307@gmail.com> Great!! Thank you very much Mel. Bye Nicola Mel wrote: > On Thursday 10 July 2008 23:37:36 nickhardcore@gmail.com wrote: >> Hi list. >> I was following this guide >> (http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html) to >> configure and use IPFW on my FreeBSD 7 (is a vmware virtual machine but >> I don't think this is a problem) >> >> [root@hyperion /usr/src]$ uname -a >> FreeBSD hyperion.xxx.org 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #1: Wed >> Jul 2 19:48:58 CEST 2008 >> root@hyperion.xxx.org:/usr/obj/usr/src/sys/CUSTOM i386 >> >> But when compiling the kernel I have the following error: >> >> [root@hyperion /usr/src]# make buildkernel KERNCONF=CUSTOM >> -------------------------------------------------------------- >> >> >>> Kernel build for CUSTOM started on Thu Jul 10 23:21:45 CEST 2008 >> >> -------------------------------------------------------------- >> ===> CUSTOM >> mkdir -p /usr/obj/usr/src/sys >> -------------------------------------------------------------- >> >> >>> stage 1: configuring the kernel >> >> -------------------------------------------------------------- >> cd /usr/src/sys/i386/conf; >> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/b >> in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/ >> obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin: >> /usr/bin config -d /usr/obj/usr/src/sys/CUSTOM >> /usr/src/sys/i386/conf/CUSTOM /usr/src/sys/i386/conf/CUSTOM: unknown option >> "IPV6FIREWALL_VERBOSE" *** Error code 1 >> Stop in /usr/src. >> *** Error code 1 >> Stop in /usr/src. >> >> The kernel configuration is a "GENERIC" with this few customizations: >> >> options ACCEPT_FILTER_HTTP >> options ACCEPT_FILTER_DATA >> options DEVICE_POLLING >> options IPFIREWALL >> options IPFIREWALL_VERBOSE >> options IPFIREWALL_DEFAULT_TO_ACCEPT >> options IPV6FIREWALL >> options IPV6FIREWALL_VERBOSE >> options IPV6FIREWALL_DEFAULT_TO_ACCEPT >> options IPDIVERT >> >> I tried to update through cvsup the system and then recompile the kernel >> with the new options but the error is still there. >> Any idea? > > All, IPV6FIREWALL options have been removed. Docs have to be updated. The > IPFIREWALL is now 4 and 6 both, so you don't need them. > From fbsd.questions at rachie.is-a-geek.net Fri Jul 11 14:08:44 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Jul 11 14:08:50 2008 Subject: Can't connect to local MySQL server through socket '/tmp/mysql.sock In-Reply-To: References: Message-ID: <200807111608.40859.fbsd.questions@rachie.is-a-geek.net> On Friday 11 July 2008 15:46:25 ????? wrote: > Hi! I need two MySQL servers run simultaneously. Why? > But when I try to run > server I have > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) Use jails if you have really need to, or start each of them with different configuration file, so that you can change: - socket - listen address/networking - data directory - log directory - possibly something I"m forgetting -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at meijome.net Fri Jul 11 14:08:55 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Fri Jul 11 14:09:02 2008 Subject: Linux for freebsd admins In-Reply-To: <20080711132343.GH90678@pcjas.obspm.fr> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711132343.GH90678@pcjas.obspm.fr> Message-ID: <20080712000851.3d259b2a@ayiin> On Fri, 11 Jul 2008 15:23:43 +0200 Albert Shih wrote: > Fedora/CentOS : Using yum and rpm. Work well but they are not many > packages in the official repository. You need to find with rpmfind > many package. you may want to use dag's repository, as well as the cutting edge official centos repository (CentosPlus, i think). http://dag.wieers.com/rpm/FAQ.php B _________________________ {Beto|Norberto|Numard} Meijome If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From david.robillard at gmail.com Fri Jul 11 14:56:22 2008 From: david.robillard at gmail.com (David Robillard) Date: Fri Jul 11 14:56:29 2008 Subject: Ldap NSS PAM Samba Message-ID: <226ae0c60807110756g5fc4fe29u5c4d427f1362d56e@mail.gmail.com> >> I am trying to setup a FreeBSD server with samba that uses OpenLdap. I >> have installed everything and was doing some configuring. I set this all >> up once before on a Linux box, but I basically just went through the >> motions and really was not sure what all I did...but it worked. Now I >> want to understand everything so that I know exactly what all I did. :) >> >> I have the following: >> I installed OpenLdap which put ldap.conf in /usr/local/etc/openldap. >> I installed PAM which put ldap.conf.dist in /usr/local/etc. >> I installed NSS which put nss_ldap.conf in /usr/local/etc. >> >> >From looking at them I assume that the last two are the same file and one >> of them just needs to be renamed to ldap.conf and configured for PAM and >> NSS, is that correct? >> >> The ldap.conf in /usr/local/etc/openldap is a different config file even >> though it has the same name? It is used for openldap and the other is >> used for PAM and NSS? >> >> Thanks for any info. >> >> > openldap/ldap.conf is the OpenLDAP client configuration. You're likely > looking for the LDAP server configuration, openldap/slapd.conf True. > etc/ldap.conf is for PAM, and etc/nss_ldap.conf are not to be merged. False. You can symlink nss_ldap.conf to ldap.conf. Keep them seperate if you like to edit configuration files that contain the exact same data. This way you can make mistakes. (Just kidding :) Both nss_ldap and pam_ldap use the same configuration when they both need to query the same LDAP server. If, for a reason, your company uses different LDAP servers for PAM and NSS (say you just purchased another company or something), then you need to keep etc/nss_ldap.conf and etc/ldap.conf(5) files seperate. Otherwise, IMHO you should try and use a single LDAP server for all your data. Using several LDAP repository is the path to the dark side... (and to a lot of problems!) If you do have more then one LDAP server (say an OpenLDAP, an Oracle Internet Directory and a Microsoft Active Directory for instance), then setup referals between them. Or better yet, dump an LDIF file of one and import it to another and drop one of the LDAP server altogether (or just use it as a referal point for it's data if you can't rip it out of your network). It's not an easy task, but it sure is possible. > I've played ***VERY*** briefly with LDAP authentication through PAM and > NSS, and both were required. I can't quote easily what the difference > between NSS and PAM is, but all the docs I referenced from Google when I > searched said I needed both. NSS stands for Name Service Switch. Normally it's achieved via /etc/nsswitch.conf file. Basically it's telling applications where to look for data (i.e. local files, NIS, NIS+, LDAP, DNS) for the various data sources (i.e. groups, users, hosts, etc). See nsswitch.conf(5) and getent(1) and http://www.padl.com/OSS/nss_ldap.html for details. PAM stands for Pluggable Authentication Modules. It's an easy way to plug various authentication methods into an existing infrastructure. It basically allows you to use the local files, a Kerberos realm, an LDAP directory and such to decides who can login to your machines without having to rewrite the entire authentication mechanisms. See pam.conf(5) and pam(3) plus http://www.padl.com/OSS/pam_ldap.html for details. Why do you need both NSS and PAM? Well, suppose you decide that you want to use a Kerberos realm to authenticate and that the Kerberos principals (or users if you prefer) are stored in an LDAP directory. Now suppose an SSH connection comes in from user bob. Your machine will check the PAM configuration as to which PAM modules it should check for authentication. It will use NSS to know where to check in order to find out who is this bob user (will it be in the local passwd file or in the LDAP directory?) Once it finds where bob is stored (if he exists) then it will compare the passwd string (or the Kerberos ticket if our example) and use PAM to locate which module it has to compare the ticket or password against. HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 If you receive something that says "Send this to everyone you know", then please pretend you don't know me. From Albert.Shih at obspm.fr Fri Jul 11 15:30:37 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Fri Jul 11 15:30:49 2008 Subject: Linux for freebsd admins In-Reply-To: <20080712000851.3d259b2a@ayiin> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711132343.GH90678@pcjas.obspm.fr> <20080712000851.3d259b2a@ayiin> Message-ID: <20080711153034.GD94019@pcjas.obspm.fr> Le 12/07/2008 ? 00:08:51+1000, Norberto Meijome a ?crit > On Fri, 11 Jul 2008 15:23:43 +0200 > Albert Shih wrote: > > > Fedora/CentOS : Using yum and rpm. Work well but they are not many > > packages in the official repository. You need to find with rpmfind > > many package. > > you may want to use dag's repository, as well as the cutting edge official centos repository (CentosPlus, i think). > > http://dag.wieers.com/rpm/FAQ.php > Thanks for the tips. But what I mean is if you don't want add any repository (for example you must run on your server some commercial software don't allow you to install any software don't come from RedHat/CentOS) you stuck. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Ven 11 jul 2008 17:29:23 CEST From outbackdingo at gmail.com Fri Jul 11 15:32:23 2008 From: outbackdingo at gmail.com (Outback Dingo) Date: Fri Jul 11 15:32:31 2008 Subject: Linux for freebsd admins In-Reply-To: <20080712000851.3d259b2a@ayiin> References: <990695FC90DB4BC8B3439F779B73FCF8@msdi.local> <20080711132343.GH90678@pcjas.obspm.fr> <20080712000851.3d259b2a@ayiin> Message-ID: <5635aa0d0807110832p1e5e8f23p32ae7cbee9b2479a@mail.gmail.com> Simple question whats the application, and what does it state for requirements, by the way anything RPM based or Gentoo completely suck and a