From ruel.freebsd at gmail.com Thu May 1 02:38:45 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Thu May 1 02:38:49 2008 Subject: DNS Problem Message-ID: Hi.. I dont know if this post belong here..but i try searching anywhere but none could solve my problem..hope someone will help me here I have problem in my load images using Mozilla & IE, the image can't load for example in site of friendster most images don't load, i have read lots of blogs about it some says that its a "BUG" from friendster but they say they it was already. Suddenly, i read from one blog by changing the DNS in IPV4 properties of Network Connection it will fix the problem honestly i followed the instruction and gotcha it work out. but when i resume it to its current configuration "Obtain DBS server automatically" the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server "/etc/rc.d/named restart" but nothing happens the problem is still there..Is there any one here could help me solve it? Hope someone here will help me, I'm stuck in this problem for 3 weeks, another thing only site friendster the images dont load no other site else... Thanks..:( From jhall at vandaliamo.net Thu May 1 02:44:57 2008 From: jhall at vandaliamo.net (Jay Hall) Date: Thu May 1 02:45:02 2008 Subject: Perl 5.8.8 Compile Message-ID: <19839418.168091209608296130.JavaMail.javamailuser@localhost> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location. make: don't know how to make . Stop. I have run make depend, and it finishes without any problems. I'm sure this is something simple I am missing because I have been looking at the problem for so long. Thanks in advance for your assistance. Jay From freebsd-questions at lists.goldenpath.org Thu May 1 05:46:52 2008 From: freebsd-questions at lists.goldenpath.org (T.) Date: Thu May 1 05:46:57 2008 Subject: Even more documentation? In-Reply-To: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> References: <919383240804251932i6043dd0auff9423c98019a7ef@mail.gmail.com> Message-ID: <48195315.2010101@lists.goldenpath.org> Edward Ruggeri wrote: > Hi all, > > I've used FreeBSD for about two years now. Besides using Linux for > projects on school computers, I never had much experience with > Unix-like operating systems. While I get by nicely on FreeBSD, I > recently felt that I didn't have a very solid understanding of it's > organization or structure. I suppose one can't know everything about > an operating system with as much functionality as FreeBSD, but I > started to feel like my knowledge was really ad-hoc, and that I didn't > completely understand what I was doing (as if I had learned only by > example). > > To that end, I started reading the FreeBSD handbook front-to-back. > I've gotten to Part III, and while it's been very valuable, I still > feel like I'm learning by example, and not by understanding the > operating system. I'm starting to think I'm expecting something out > of the handbook it's not designed to do. > > It seems like the man pages would be a good place to go, but my > trouble with using them is that they're difficult to put together the > information on different pages. I suppose I want something like a > textbook. I dream of a K&R type text that is very comprehensive and > well-organized. > > If anyone has advice, I'd very much appreciate it! > > Sincerely, > > -- Ned Ruggeri A lot more than just the handbook and man pages: http://www.freebsd.org/doc/en/books/ Design and Implementation is dense if you're not at that level of understanding yet. It's the high level, comprehensive OS engineering manual. And, like any engineering manual, by it's nature (not reflecting on McKusick), it can put you to sleep trying to read it front to back. Honestly, it's too much too fast to practically learn from unless your already familiar with designing and implementing an OS and just want to get up to speed on FreeBSD. The purpose spans the whole OS, so it's impossible to find focus on some relevant achievable goal in a straight front to back reading. I'm finding it better for referencing particular internals you're focusing on at the moment. A fun and exciting whirlwind tour that cuts quickly to the most significant internals and is strictly focused with a well defined and immediately achievable purpose is "Designing BSD Rootkits" by Joseph Kong. You'll be tinkering with protocol structures and manipulating critical system tables a lot faster. It's a serious eye-opener. What you will find is that, in terms of development, /usr/src and analysis tools are the ultimate resources. In terms of system administration, the Handbook, man pages and domain specific documentation are your best reference. Your best resource is experience. Ultimately, FreeBSD is just another system. The system must have a purpose. Your purpose will entail providing services. Your experience will be in mastering these services. Services are more so defined by their protocols and APIs than by the systems they're hosted on. Once you put it in perspective, the system is really just another collection of services, but these focus on providing a standard interface to the actual hardware beneath that make it all possible. But that's not entirely accurate, because ultimately, it's people that have made it possible, not the machines. Again and again, it comes down to "Purpose" and focus. So, the real question becomes not one of resources (of which, there are plenty), but of inspiration and creativity. From perryh at pluto.rain.com Thu May 1 06:12:50 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Thu May 1 06:12:53 2008 Subject: wine: notepad OK, others not In-Reply-To: <200804231409.21628.tijl@ulyssis.org> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804201359.36883.tijl@ulyssis.org> <480ed31a.HvK8tbgcrTzAxWiD%perryh@pluto.rain.com> <200804231409.21628.tijl@ulyssis.org> Message-ID: <48195c77.gWKwJdFnMZSip4d4%perryh@pluto.rain.com> > You have to mount the floppy and then link a: to the mount point. > So if you mount it under /mnt you'd need this: > > mount -t msdosfs /dev/fd0 /mnt > ln -s /mnt ~/.wine/dosdevices/a: That got only a little bit farther. It did find the setup program, and the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although it did allow AltTab to bring up FVWM's window list). After clicking OK: Visio Setup i Setup failed. and it quit. From fbsd.questions at rachie.is-a-geek.net Thu May 1 08:20:28 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 08:20:31 2008 Subject: dmesg empty after shutdown -r In-Reply-To: References: Message-ID: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > After "shutdown -r now" and the subsequent reboot, I have > logged in to my machine > FreeBSD qemg.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 > UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > amd64 > > Everything seems to be running normally, except "dmesg" produces > no output, and /var/run/dmesg.boot is zero bytes long. > > Does anyone have any ideas why this would ever occur? Or even how > it could occur? dmesg -M doesn't show anything either? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From oli.garnier at free.fr Thu May 1 09:00:57 2008 From: oli.garnier at free.fr (Olivier GARNIER) Date: Thu May 1 09:01:02 2008 Subject: Nut problem and last message repeated in dmesg Message-ID: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> There are my questions: > Does anyone become to correct the same problem and can help me to correct this? > Can anyone tell my how to see the "last message" which is repeated hundred times? I've got an MGE ellipse 750 USBS. I've connected it to my server with USB cable. I've installed NUT via ports. Now this service is crashing very often. For example it crashes yesterday 23h16, I restarted it and when I watch it today : # dmesg - a . Apr 30 23:12:38 myhost last message repeated 120 times Apr 30 23:16:28 myhost last message repeated 46 times Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - Server disconnected May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - Data stale May 1 08:58:19 myhost last message repeated 7 times May 1 09:00:24 myhost last message repeated 25 times May 1 09:10:29 myhost last message repeated 121 times May 1 09:20:34 myhost last message repeated 121 times May 1 09:30:35 myhost last message repeated 120 times May 1 09:40:40 myhost last message repeated 121 times May 1 09:50:40 myhost last message repeated 120 times May 1 10:00:40 myhost last message repeated 120 times May 1 10:10:40 myhost last message repeated 120 times May 1 10:20:40 myhost last message repeated 120 times May 1 10:30:40 myhost last message repeated 120 times May 1 10:40:40 myhost last message repeated 120 times [myuser@myhost ~]$ /usr/local/etc/rc.d/nut stop Password: Stopping nut. Network UPS Tools - UPS driver controller 2.2.1 [myuser@myhost ~]$ /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Thanks. Olivier From geo at pulsar.bg Thu May 1 09:39:56 2008 From: geo at pulsar.bg (Georgi Iovchev) Date: Thu May 1 09:40:00 2008 Subject: is there driver for (Bearlake) HECI Controller for releng_7 (or 7_0_0) Message-ID: <422521026.20080501122436@pulsar.bg> Hello lists Intel G33 motherboard (Intel DG33FB) with FreeBSD 7 AMD64 (7.0-RELEASE-p1) one thing is missing: [root@asterisk ~]# pciconf -lv | grep -A3 none none0@pci0:0:3:0: class=0x078000 card=0x50448086 chip=0x29c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) HECI Controller' class = simple comms Actually I dont know if I really need this (machine will be used for asterisk voip solution), but for completeness is there a driver for this piece of hardware? 10x in advance From fbsd.questions at rachie.is-a-geek.net Thu May 1 09:56:27 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 09:56:32 2008 Subject: Nut problem and last message repeated in dmesg In-Reply-To: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> Message-ID: <200805011156.25336.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 11:01:02 Olivier GARNIER wrote: > > Can anyone tell my how to see the "last message" which is repeated > > hundred > > times? ... > Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - > Server disconnected > > May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - > Data stale > > May 1 08:58:19 myhost last message repeated 7 times It's a bit bad choice of words, better would be "previous message repeated 7 times". So the message that is repeated, is the message directly above it. Sorry, can't help you with NUT, but it looks like server disconnects are not handled correctly and just generate hundreds of messages about stale data, rather then refreshing the data. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From aijaz.abaig at gmail.com Thu May 1 11:05:54 2008 From: aijaz.abaig at gmail.com (Aijaz Baig) Date: Thu May 1 11:05:58 2008 Subject: gdm sessions - xfce + fluxbox Message-ID: <101a1afc0805010405s127300aew5b2d0ecd65c5b6fa@mail.gmail.com> Hello, I would want to have a choice at login time between xfce (my default desktop wm) and fluxbox. I have followed the steps from this document : http://geek00l.blogspot.com/2006/06/freebsd-fluxbox-gdm.html but i did not have the xsessions directory under /usr/X11R6/share/gnome/. so i created one and created another file called Fluxbox.desktop inside it. Then followed the rest of the document as is. Additionally I copied the startfluxbox binary to the ~/.Xclients file under the binary for xfce. What has happened now is that I still dont see no choice under the sessions menu in gdm morever i get logged on to xfce first. Now when I log on from xfce I get logged on to fluxbox meaning the fluxbox desktop may be waiting for the x-resources like the screen, mouse etc to become available and then when it does become available it starts to run. Im rather confused. Please help me with this and perhaps give me some insight as to why it is the wa it is if you can Hope to hear from you fellas -- Best Regards, Aijaz From amsibamsi at gmail.com Thu May 1 11:17:16 2008 From: amsibamsi at gmail.com (Anselm Strauss) Date: Thu May 1 11:17:21 2008 Subject: 7.0-RELEASE + newer kernel Message-ID: So, I'm one of those trying to run FreeBSD on one of the newest Macbooks. The hardware support looks very good, except that the network chips are not supported. But the Ethernet chip is supported by the msk driver in the current 7.0-STABLE kernel. Now, before I push the whole system from RELEASE to STABLE, is there some chance I can stay with 7.0-RELEASE and just use a new version of the msk module with the release kernel? I compiled the miibus.ko and if_msk.ko modules from a stable kernel, but the latter complains about an undefined symbol 'm_collapse' at loading. This symbol is defined in sys/kern/uipc_mbuf.c, so I think I have bad chances running the new driver on the old kernel. The reasons why I hesitate to upgrade to 7.0-STABLE are: - freebsd-update won't work anymore. How do I then get informed about security updates? - Can't install distributions with sysinstall anymore. Do I just compile everything from source? - How do I actually update from release to stable? I have to compile everything myself from the sources, right? As well as for any update? Thanks for any suggestions, Anselm From fbsd.questions at rachie.is-a-geek.net Thu May 1 11:34:50 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 11:34:54 2008 Subject: 7.0-RELEASE + newer kernel In-Reply-To: References: Message-ID: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 13:17:03 Anselm Strauss wrote: > The reasons why I hesitate to upgrade to 7.0-STABLE are: > > - freebsd-update won't work anymore. How do I then get informed about > security updates? Using your favorite RSS reader and subscribe to: http://www.freebsd.org/security/advisories.rdf > - Can't install distributions with sysinstall anymore. Do I just > compile everything from source? Yes (to distributions, no to ports), but you have to upgrade by source to -STABLE to begin with, unless you want to go the hard way and bake a new CD/DVD. > - How do I actually update from release to stable? I have to compile > everything myself from the sources, right? As well as for any update? The handbook has an entire section for this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From andrewhw at ieee.org Thu May 1 11:58:44 2008 From: andrewhw at ieee.org (A. Hamilton-Wright) Date: Thu May 1 11:58:50 2008 Subject: dmesg empty after shutdown -r In-Reply-To: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> References: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> Message-ID: > On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > >> After "shutdown -r now" and the subsequent reboot, I have (... no dmesg) On Thu, 1 May 2008, Mel wrote: > > dmesg -M doesn't show anything either? Wish I'd thought to try that last night. I eventually shut it down again (shutdown -p) until I could come in this morning and take a look at the console while booting -- and now everything is fine. I have now tried a few reboots (shutdown -r) and halts (shutdown -h), and I have a dmesg every time it recovers. I will certainly keep an eye on this and see if I can reproduce this in any fashion. If anyone else sees this phenomena (even transiently), I would love to know about it. Andrew. From fbsd.questions at rachie.is-a-geek.net Thu May 1 12:33:05 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 12:33:09 2008 Subject: dmesg empty after shutdown -r In-Reply-To: References: <200805011019.50895.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805011433.02733.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 13:58:45 A. Hamilton-Wright wrote: > > On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: > >> After "shutdown -r now" and the subsequent reboot, I have > > (... no dmesg) > > On Thu, 1 May 2008, Mel wrote: > > dmesg -M doesn't show anything either? > > Wish I'd thought to try that last night. I eventually shut it > down again (shutdown -p) until I could come in this morning and > take a look at the console while booting -- and now everything > is fine. I have now tried a few reboots (shutdown -r) and halts > (shutdown -h), and I have a dmesg every time it recovers. Just for the record, I asked because by default, dmesg uses kvm_read(3) to read the kernel's message buffer. -M tries to read the sysctl kern.msgbuf, so in the event kvm_read screwed up somewhere without noting an error, the 'backdoor' might just work. Pure speculation without having looked in detail at the kernel code, but I wanted to rule it out. What I did suspect, is that kernel's message buffer didn't get filled to begin with and that's a whole different ballgame. FYI: unless you really need dmesg to work for normal operations, you could've just let it up running and use scroll-lock+arrows/pgup|down to go all the way back up to btx loader. If it was the kernel message buffer not getting filled, I'd suspect some kind of message complaining about that. I know that doesn't help now, but for next time and googlers ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd-questions-local at be-well.ilk.org Thu May 1 13:27:13 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu May 1 13:27:18 2008 Subject: Kernel Compile Error In-Reply-To: <4817F889.80006@chrismaness.com> (Chris Maness's message of "Tue\, 29 Apr 2008 21\:41\:45 -0700") References: <4817F889.80006@chrismaness.com> Message-ID: <44ej8mxihc.fsf@be-well.ilk.org> Chris Maness writes: > I was trying to compile a 7.0 Release and the compile failed. I have > never had a kernel compilation fail before. > > Here is the last of the output: > > opt_global.h -fno-common -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror > /usr/src/sys/kern/kern_descrip.c > /usr/src/sys/kern/kern_descrip.c:211:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdused': > /usr/src/sys/kern/kern_descrip.c:211: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:211: error: (Each undeclared > identifier is reported only once > /usr/src/sys/kern/kern_descrip.c:211: error: for each function it > appears in.) > /usr/src/sys/kern/kern_descrip.c:227:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdunused': > /usr/src/sys/kern/kern_descrip.c:227: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > cc1: warnings being treated as errors > /usr/src/sys/kern/kern_descrip.c: In function 'kern_fcntl': > /usr/src/sys/kern/kern_descrip.c:383: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:386: warning: implicit declaration of > function 'FILEDESC_UNLOCK' > /usr/src/sys/kern/kern_descrip.c:386: warning: nested extern > declaration of 'FILEDESC_UNLOCK' > /usr/src/sys/kern/kern_descrip.c:540: warning: implicit declaration of > function 'FILEDESC_LOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:540: warning: nested extern > declaration of 'FILEDESC_LOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:543: warning: implicit declaration of > function 'FILEDESC_UNLOCK_FAST' > /usr/src/sys/kern/kern_descrip.c:543: warning: nested extern > declaration of 'FILEDESC_UNLOCK_FAST' > /usr/src/sys/kern/kern_descrip.c: In function 'do_dup': > /usr/src/sys/kern/kern_descrip.c:631: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:670: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c: In function 'kern_close': > /usr/src/sys/kern/kern_descrip.c:994: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:997: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1202:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdgrowtable': > /usr/src/sys/kern/kern_descrip.c:1202: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1224: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1263:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdalloc': > /usr/src/sys/kern/kern_descrip.c:1263: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1313:36: error: macro > "FILEDESC_LOCK_ASSERT" passed 2 arguments, but takes just 1 > /usr/src/sys/kern/kern_descrip.c: In function 'fdavail': > /usr/src/sys/kern/kern_descrip.c:1313: error: 'FILEDESC_LOCK_ASSERT' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c: In function 'falloc': > /usr/src/sys/kern/kern_descrip.c:1351: warning: implicit declaration > of function 'suser_cred' > /usr/src/sys/kern/kern_descrip.c:1351: warning: nested extern > declaration of 'suser_cred' > /usr/src/sys/kern/kern_descrip.c:1351: error: 'SUSER_RUID' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1376: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdinit': > /usr/src/sys/kern/kern_descrip.c:1409: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1409: error: 'FILEDESC_LOCK_DESC' > undeclared (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1411: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fddrop': > /usr/src/sys/kern/kern_descrip.c:1460: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c: In function 'fdcopy': > /usr/src/sys/kern/kern_descrip.c:1514: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1524: error: 'UF_OPENING' undeclared > (first use in this function) > /usr/src/sys/kern/kern_descrip.c:1535: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdfree': > /usr/src/sys/kern/kern_descrip.c:1570: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1598: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1612: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1622: error: 'struct filedesc' has no > member named 'fd_mtx' > /usr/src/sys/kern/kern_descrip.c:1653: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'setugidsafety': > /usr/src/sys/kern/kern_descrip.c:1733: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1751: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdclose': > /usr/src/sys/kern/kern_descrip.c:1761: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fdcloseexec': > /usr/src/sys/kern/kern_descrip.c:1786: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1808: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'closef': > /usr/src/sys/kern/kern_descrip.c:1904: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c:1921: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function '_fget': > /usr/src/sys/kern/kern_descrip.c:1962: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'fgetsock': > /usr/src/sys/kern/kern_descrip.c:2073: warning: implicit declaration > of function 'NET_ASSERT_GIANT' > /usr/src/sys/kern/kern_descrip.c:2073: warning: nested extern > declaration of 'NET_ASSERT_GIANT' > /usr/src/sys/kern/kern_descrip.c: In function 'dupfdopen': > /usr/src/sys/kern/kern_descrip.c:2238: warning: statement with no effect > /usr/src/sys/kern/kern_descrip.c: In function 'filedesc_to_leader_alloc': > /usr/src/sys/kern/kern_descrip.c:2378: warning: statement with no effect > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GENERIC. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > [root@ns2 /usr/src]# exit > exit That's really weird. Is that an unchanged GENERIC kernel, with an empty make.conf? If so, youseem to have something inconsistent in your sources. How did you install the sources? Can you wipe them clean and try again? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions-local at be-well.ilk.org Thu May 1 13:30:49 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Thu May 1 13:30:53 2008 Subject: Perl 5.8.8 Compile In-Reply-To: <19839418.168091209608296130.JavaMail.javamailuser@localhost> (Jay Hall's message of "Thu\, 1 May 2008 02\:18\:16 +0000 \(GMT\)") References: <19839418.168091209608296130.JavaMail.javamailuser@localhost> Message-ID: <44abjaxibc.fsf@be-well.ilk.org> Jay Hall writes: > I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make > it through the configuration just fine, but when I attempt to run the > make command, I receive the following error message. I am creating a > custom install. The only parameter I am changing is the installation > location. > > make: don't know how to make . Stop. > > I have run make depend, and it finishes without any problems. > > I'm sure this is something simple I am missing because I have been > looking at the problem for so long. > > Thanks in advance for your assistance. Even for non-standard location installs, I recommend using the ports instead of building yourself, but if you really want to do it by hand, expect to need to know a bit more about what you're doing. In this case, I suspect you need to use gmake instead of (the native) make. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From chris at chrismaness.com Thu May 1 14:33:58 2008 From: chris at chrismaness.com (chris@chrismaness.com) Date: Thu May 1 14:34:02 2008 Subject: Kernel Compile Error In-Reply-To: <44ej8mxihc.fsf@be-well.ilk.org> References: <4817F889.80006@chrismaness.com> <44ej8mxihc.fsf@be-well.ilk.org> Message-ID: <25822.163.150.112.1.1209652414.squirrel@squirrel.kq6up.org> > Chris Maness writes: > >> I was trying to compile a 7.0 Release and the compile failed. I have >> never had a kernel compilation fail before. >> >> Here is the last of the output: >> >> opt_global.h -fno-common -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 >> -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx bla bla bla > > That's really weird. Is that an unchanged GENERIC kernel, with an > empty make.conf? If so, youseem to have something inconsistent in > your sources. How did you install the sources? Can you wipe them > clean and try again? > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > Thanks for responding. I used CVSUP to update the source. This system is actually a restore from another server that I dumped from. The original server worked just fine (I tried it as an experiment). This is the only issue I have seen on the restored server so far. I just did a binary upgrade and am now rebuilding all of the ports from scratch. I will do as you suggested when that is done (rm -rf /usr/src/) and start from scratch. I thought the fact that the compile failed was really strange. I have never seen that before. Chris Maness From david.robillard at gmail.com Thu May 1 15:49:16 2008 From: david.robillard at gmail.com (David Robillard) Date: Thu May 1 15:49:18 2008 Subject: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account? Message-ID: <226ae0c60805010849j796f682cjea77773ca7aa3049@mail.gmail.com> > On Wednesday 30 April 2008 16:43, David Robillard wrote: > > > On Wednesday 30 April 2008 11:00, O. Hartmann wrote: > > > > [ --- 8< --- SNIP! --- 8< --- ] > > > > That sounds very interesting Jonathan. Could you please share with us > > the complete LDIF data used to create such a user? > > This is live from my LDAP server: > > # jfm, group, hst.org.za > dn: cn=jfm,ou=group,dc=hst,dc=org,dc=za > objectClass: posixGroup > gidNumber: 1001 > cn: jfm > > # jfm, people, hst.org.za > dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za > objectClass: inetOrgPerson > objectClass: posixAccount > objectClass: extensibleObject > sn: McKeown > cn: Jonathan McKeown > uidNumber: 1001 > gidNumber: 1001 > mail: jonathan@hst.org.za > loginShell: /usr/local/bin/bash > host: charlotte.hst.org.za > host: clare.hst.org.za > uid: jfm > homeDirectory: /home/jfm > > There is, of course, also a userPassword attribute in the user account. (You > didn't expect me to show you that, did you?!) lol Well, if it's in {SSHA} format and you change a few digits here and there, that's not a security issue :) > Using posixGroup, the attribute for adding additional members to a group is memberUid. > > There's a bit more to getting this all working: configuring slapd.conf with > appropriate schemas, installing and configuring pam_ldap and nss_ldap, and > setting up PAM correctly. I can go into excruciating detail if you like... Well, I'd certainly love to see how you've set things up. We could compare with what I've published on my wiki. The documentation is not finished, but it's a start. I'd really appreciate if people could check it out and tell me where the document could be enhanced, if I made any mistakes, things like that. Check it out here: http://wiki.zerocatastrophe.com/wiki/UNIX/FreeBSD/Kerberos+OpenLDAP Notice that I've updated my documentation to reflect your LDIF data as I believe it to be the very flexible. Thanks! I know that Edward Capriolo (in Cc: to this email) has also published some Kerberos & OpenLDAP documentations online. Edward, care to join us here? > My only irritation is that although passwd(1) in 6.3 has the code within it to > allow it to be controlled by PAM, it's all currently diked out, so that you > can't use passwd(1) transparently with LDAP users. (As far as I know this > hasn't changed in 7.0). Indeed, that's also a problem I have. How do you go about to solve this? > inetOrgPerson gives you a huge number of optional fields for other > information, up to and including a JPEG photo. It inherits from > organizationalPerson which inherits from person, so you need to combine all > three sets of attributes to get the complete spec for inetOrgPerson (note the > only MUST attributes are sn and cn from person): > > [ --- 8< --- SNIP! --- 8< --- ] > > We're hardly using any of these, but it seemed to make more sense to build it > in, in case. You're right, I totally agree. > Jonathan Cheers! DA+ -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122 From mail at chdevelopment.se Thu May 1 16:51:39 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Thu May 1 16:51:45 2008 Subject: DNS Problem In-Reply-To: References: Message-ID: <4819EE70.60609@chdevelopment.se> Ruel Luchavez wrote: > when i resume it to its current configuration > "Obtain DBS server automatically" the problem is back, is this a problem in > my DNS server? > I'm using the FreeBSD 6.2 version... > > I already restarted the DNS Server "/etc/rc.d/named restart" but nothing > happens the problem is still there..Is there any one here could help > me solve it? > > I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson From ervin23 at gmail.com Thu May 1 16:53:11 2008 From: ervin23 at gmail.com (ervin) Date: Thu May 1 16:53:14 2008 Subject: PHP5 install error Message-ID: hi made a portsnap fetch update .... but I still get this error ---- ideas? portaudit shows the vulnerability ... but that should be included in the port or? Error: make clean && make install ===> Cleaning for php5-5.2.5_1 ===> php5-5.2.5_1 has known vulnerabilities: => php -- integer overflow vulnerability. Reference: => Please update your ports tree and try again. *** Error code 1 Stop in /var/ports/lang/php5. mvh/best regards ervin From jhall at vandaliamo.net Thu May 1 17:53:24 2008 From: jhall at vandaliamo.net (Jay Hall) Date: Thu May 1 17:53:31 2008 Subject: Perl 5.8.8 Compile Message-ID: <17174274.182011209664401216.JavaMail.javamailuser@localhost> I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > Jay Hall writes: > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make >> it through the configuration just fine, but when I attempt to run the >> make command, I receive the following error message. I am creating a >> custom install. The only parameter I am changing is the installation >> location. >> >> make: don't know how to make . Stop. >> >> I have run make depend, and it finishes without any problems. >> >> I'm sure this is something simple I am missing because I have been >> looking at the problem for so long. >> >> Thanks in advance for your assistance. > > Even for non-standard location installs, I recommend using the ports > instead of building yourself, but if you really want to do it by hand, > expect to need to know a bit more about what you're doing. In this > case, I suspect you need to use gmake instead of (the native) make. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ From jhall at vandaliamo.net Thu May 1 17:53:24 2008 From: jhall at vandaliamo.net (Jay Hall) Date: Thu May 1 17:53:31 2008 Subject: Perl 5.8.8 Compile Message-ID: <17174274.182011209664401216.JavaMail.javamailuser@localhost> I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > Jay Hall writes: > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make >> it through the configuration just fine, but when I attempt to run the >> make command, I receive the following error message. I am creating a >> custom install. The only parameter I am changing is the installation >> location. >> >> make: don't know how to make . Stop. >> >> I have run make depend, and it finishes without any problems. >> >> I'm sure this is something simple I am missing because I have been >> looking at the problem for so long. >> >> Thanks in advance for your assistance. > > Even for non-standard location installs, I recommend using the ports > instead of building yourself, but if you really want to do it by hand, > expect to need to know a bit more about what you're doing. In this > case, I suspect you need to use gmake instead of (the native) make. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ From vaughajj at jmu.edu Thu May 1 17:55:50 2008 From: vaughajj at jmu.edu (John) Date: Thu May 1 17:55:55 2008 Subject: Recovering mysql data - mysqlbinlog Message-ID: <200805011745.GER48602@jmu.edu> Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name "bin." Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John From pauls at utdallas.edu Thu May 1 18:09:33 2008 From: pauls at utdallas.edu (Paul Schmehl) Date: Thu May 1 18:09:38 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805011745.GER48602@jmu.edu> References: <200805011745.GER48602@jmu.edu> Message-ID: <7E01AC8E821E45790B514F2E@utd65257.utdallas.edu> --On Thursday, May 01, 2008 13:45:32 -0400 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra > config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. /var/db/mysql/hostname-bin.number /var/db/mysql/hostname-bin.index /var/db/mysql/hostname.err And if you've enabled query logging (stores passwords in plain text!) /var/db/mysql/query.log -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From derek at computinginnovations.com Thu May 1 18:14:42 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Thu May 1 18:14:45 2008 Subject: Nut problem and last message repeated in dmesg In-Reply-To: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> Message-ID: <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> At 04:01 AM 5/1/2008, Olivier GARNIER wrote: >There are my questions: > > > Does anyone become to correct the same problem and can help me to correct >this? > > > Can anyone tell my how to see the "last message" which is repeated hundred >times? > > > >I've got an MGE ellipse 750 USBS. > >I've connected it to my server with USB cable. > >I've installed NUT via ports. > > > >Now this service is crashing very often. > >For example it crashes yesterday 23h16, I restarted it and when I watch it >today : > > > ># dmesg - a > >. > >Apr 30 23:12:38 myhost last message repeated 120 times > >Apr 30 23:16:28 myhost last message repeated 46 times > >Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - >Server disconnected > >May 1 08:57:44 myhost upsmon[1011]: Poll UPS [ellipse@localhost] failed - >Data stale > >May 1 08:58:19 myhost last message repeated 7 times > >May 1 09:00:24 myhost last message repeated 25 times > >May 1 09:10:29 myhost last message repeated 121 times > >May 1 09:20:34 myhost last message repeated 121 times > >May 1 09:30:35 myhost last message repeated 120 times > >May 1 09:40:40 myhost last message repeated 121 times > >May 1 09:50:40 myhost last message repeated 120 times > >May 1 10:00:40 myhost last message repeated 120 times > >May 1 10:10:40 myhost last message repeated 120 times > >May 1 10:20:40 myhost last message repeated 120 times > >May 1 10:30:40 myhost last message repeated 120 times > >May 1 10:40:40 myhost last message repeated 120 times > >[myuser@myhost ~]$ /usr/local/etc/rc.d/nut stop > >Password: > >Stopping nut. > >Network UPS Tools - UPS driver controller 2.2.1 > >[myuser@myhost ~]$ /usr/local/etc/rc.d/nut start > >Network UPS Tools - UPS driver controller 2.2.1 > >Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) > > > >Using subdriver: MGE HID 1.01 > >Starting nut. > >Network UPS Tools upsd 2.2.1 > >listening on 0.0.0.0 port 3493 > >Connected to UPS [ellipse]: usbhid-ups-ellipse > > Make sure you are using the correct driver. Nut has consolidated and changed drivers in recent releases. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kdk at daleco.biz Thu May 1 18:20:05 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Thu May 1 18:20:10 2008 Subject: PHP5 install error In-Reply-To: References: Message-ID: <481A043D.6020508@daleco.biz> ervin wrote: > hi > made a portsnap fetch update .... but I still get this error ---- ideas? > portaudit shows the vulnerability ... but that should be included in > the port or? > > Error: > make clean && make install > ===> Cleaning for php5-5.2.5_1 > ===> php5-5.2.5_1 has known vulnerabilities: > => php -- integer overflow vulnerability. > Reference: > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /var/ports/lang/php5. > > mvh/best regards ervin 1. Wait until the PHP port gets updated. 2. OR, uninstall portaudit and throw all sheets to the wind. 3. OR, read the appropriate manpage for either ports(7) or portaudit and determine how to override the portaudit check. I've not got portaudit installed on this box, and ports(7) is a rather long manpage, so I'll leave this exercise to the reader. Oh, and <#include disclaimer.h> and all that.... HTH, Kevin Kinsey -- FORCE YOURSELF TO RELAX! From fbsd.questions at rachie.is-a-geek.net Thu May 1 18:23:58 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 18:24:02 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805011745.GER48602@jmu.edu> References: <200805011745.GER48602@jmu.edu> Message-ID: <200805012023.22509.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 19:45:32 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no > extra config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. > I'll also note that it is not in var/db/mysql with the rest of the mysql > data files and the ib_logfiles which would have been useful, but the data I > am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jjvaughan at gmail.com Thu May 1 18:32:50 2008 From: jjvaughan at gmail.com (John Vaughan) Date: Thu May 1 18:32:53 2008 Subject: Recovering mysql data - mysqlbinlog Message-ID: Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name "bin." Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John From gulenler at boun.edu.tr Thu May 1 19:05:21 2008 From: gulenler at boun.edu.tr (Berk Gulenler) Date: Thu May 1 19:05:26 2008 Subject: Perl 5.8.8 Compile In-Reply-To: <17174274.182011209664401216.JavaMail.javamailuser@localhost> References: <17174274.182011209664401216.JavaMail.javamailuser@localhost> Message-ID: <1209666559.481a0c00026b4@webmail.boun.edu.tr> I solved the problem with using Perl 5.10.0 on FreeBSD 7. But it is not stable. Quoting Jay Hall : > I received the same error with both make and gmake. > > Thanks, > > > Jay > > > On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: > > > Jay Hall writes: > > > >> I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make > >> it through the configuration just fine, but when I attempt to run the > >> make command, I receive the following error message. I am creating a > >> custom install. The only parameter I am changing is the installation > >> location. > >> > >> make: don't know how to make . Stop. > >> > >> I have run make depend, and it finishes without any problems. > >> > >> I'm sure this is something simple I am missing because I have been > >> looking at the problem for so long. > >> > >> Thanks in advance for your assistance. > > > > Even for non-standard location installs, I recommend using the ports > > instead of building yourself, but if you really want to do it by hand, > > expect to need to know a bit more about what you're doing. In this > > case, I suspect you need to use gmake instead of (the native) make. > > > > -- > > Lowell Gilbert, embedded/networking software engineer, Boston area > > http://be-well.ilk.org/~lowell/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From vaughajj at jmu.edu Thu May 1 19:13:49 2008 From: vaughajj at jmu.edu (John) Date: Thu May 1 19:13:53 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805012023.22509.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805011913.DSZ93243@jmu.edu> Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I didn't run myisamchk since I'm trying to restore data that was mistakenly deleted and not recovering from a corruption. -John -----Original Message----- From: Mel [mailto:fbsd.questions@rachie.is-a-geek.net] Sent: Thursday, May 01, 2008 2:23 PM To: freebsd-questions@freebsd.org Cc: John; jjvaughan@gmail.com Subject: Re: Recovering mysql data - mysqlbinlog On Thursday 01 May 2008 19:45:32 John wrote: > Can someone direct me to where the MySQL transaction logs are stored? I am > running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no > extra config. From what I've read online, unless you disable them (which I > couldn't find in the makefile) the logs should be being created. Doing a > find / --name "bin." Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. > I'll also note that it is not in var/db/mysql with the rest of the mysql > data files and the ib_logfiles which would have been useful, but the data I > am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu May 1 19:52:09 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 19:52:12 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805011913.DSZ93243@jmu.edu> References: <200805011913.DSZ93243@jmu.edu> Message-ID: <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 21:13:41 John wrote: > Thank you Mel and Paul for the suggestions. From what I understand the > general query log is more for debugging and the binary log is for point in > time recovery and replication. I'll be adding a my.cnf file (using the > my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on > and now I'm the wiser thanks to you guys. I wonder why the default is no. > I can't think of anyone who wouldn't find the binary logging beneficial. I can think of a reason for FreeBSD. The binary logs are never deleted and upon every server restart a new one is created. If you're like me, developing on a laptop with a webenvironment including 'Mysql server', shutting down your laptop daily, you quickly find yourself having full /var partition. People running dedicated or semi-dedicated MySQL installations, are encouraged to tweak their installation anyway. The most common ones being: - put the binary logs on a large enough disk, if possible a seperate disk all together for performance. - by default, /tmp is used for temporary sorting tables, when JOINs demand it. If that's a small partition or worse a 64MB memory disk, expect to get in trouble, system wide. Use the tmpdir configuration variable. - thread_concurrency as indicated in the templates - skip-networking for security if all traffic is local - sort and key buffer + max_connections to limit/max out memory usage. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From pauls at utdallas.edu Thu May 1 20:24:34 2008 From: pauls at utdallas.edu (Paul Schmehl) Date: Thu May 1 20:24:38 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> Message-ID: --On Thursday, May 01, 2008 21:52:05 +0200 Mel wrote: > On Thursday 01 May 2008 21:13:41 John wrote: >> Thank you Mel and Paul for the suggestions. From what I understand the >> general query log is more for debugging and the binary log is for point in >> time recovery and replication. I'll be adding a my.cnf file (using the >> my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on >> and now I'm the wiser thanks to you guys. I wonder why the default is no. >> I can't think of anyone who wouldn't find the binary logging beneficial. > > I can think of a reason for FreeBSD. The binary logs are never deleted and > upon every server restart a new one is created. If you're like me, developing > on a laptop with a webenvironment including 'Mysql server', shutting down > your laptop daily, you quickly find yourself having full /var partition. > That can be alleviated by adding the logs to newsyslog.conf and gzipping and rotating them regularly. If you don't restart mysql much, something like this would work: /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 JBG /var/db/mysql/[FQHN].pid If you're restarting it daily, something like this should work: /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG /var/db/mysql/[FQHN].pid Adjust the counts and the rotation schedule to your liking and, of course, use your own hostname and fully qualified hostname. -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From cameigons at hotmail.com Thu May 1 20:31:15 2008 From: cameigons at hotmail.com (Cameigons) Date: Thu May 1 20:31:25 2008 Subject: HDD missing from sysinstall In-Reply-To: <20080316161222.GA17723@photon> References: <20080316161222.GA17723@photon> Message-ID: <16995050.post@talk.nabble.com> I just want to say I'm having the same problem. I have an asus p5n-e SLI, two seagate 250GB sata2 HD's. When trying to install FreeBSD 7.0-Release, the sysinstall pops up the message "No Disks Found!(...)". And after that I can't boot up neither my Win Xp, Linux or Freebsd 6.2 anymore... Has anyone figured out a solution yet? :/ Another minor problem was that I was unable to run sysinstall with my usb keyboard, got stuck right at the region choice window. Troels Kofoed Jacobsen wrote: > >> When I put in my fbsd 6.3 or 7.0 install disk sysinstall is unable to >> detect any of the hard drives in my computer. >> >> This is includes SATA and IDE HDDs in varying orders. BIOS is able >> to detect the the hard drives. I Previously had fbsd 6.2 installed >> on them and the problem started when I upgraded the kernel to 6.3 >> although I don't see my upgrades relevance as I have tried to >> reinstall from a clean disk since then. > > I have the exact same problem on an Asus P5N-E sli board. I have two ide > harddrives, two ide optical drives and one sata harddisk connected. After > trying to boot FreeBSD 7.0, which gives me "No disks found", i cannot boot > in freebsd 6.2 or linux anymore. I have to reboot with the ide harddisks > disconnected. And then erboot again (with drives reconnected) before my > machine can boot again. (Then both freebsd 6.2 and linxu works again) > > This is not a problem in the installer but in the kernel as i get the same > result when upgrading (both to 7.0 and 8.0-current) > > I thing thes is a very severe problem/bug/regression.. I dont dare to try > FreeBSD on a laptop where i cannot disconnect the drives as easily. > > dmesg from 6.2 attached. I cannot find a way to provide dmesg from 7.0 > from the install cd (disk 1 -- i cannot mount livefs as optical drives are > also not found) > > Best Regards > Troels > > -- > Troels Kofoed Jacobsen > tkjacobsen@gmail.com > tel: +45 20880798 > > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.02-MHz > 686-class CPU) > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > > Features=0xbfebfbff > > Features2=0xe3bd,CX16,,> > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 2 > real memory = 2146369536 (2046 MB) > avail memory = 2095267840 (1998 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 4 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > acpi0: on motherboard > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > acpi0: Power Button (fixed) > acpi_bus_number: can't get _ADR > acpi_bus_number: can't get _ADR > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.1 (no driver attached) > pci0: at device 0.2 (no driver attached) > pci0: at device 0.3 (no driver attached) > pci0: at device 0.4 (no driver attached) > pci0: at device 0.5 (no driver attached) > pci0: at device 0.6 (no driver attached) > pci0: at device 0.7 (no driver attached) > pci0: at device 1.0 (no driver attached) > pci0: at device 1.1 (no driver attached) > pci0: at device 1.2 (no driver attached) > pci0: at device 1.3 (no driver attached) > pci0: at device 1.4 (no driver attached) > pci0: at device 1.5 (no driver attached) > pci0: at device 1.6 (no driver attached) > pci0: at device 2.0 (no driver attached) > pci0: at device 2.1 (no driver attached) > pci0: at device 2.2 (no driver attached) > pcib1: at device 3.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pcib2: at device 5.0 on pci0 > pci2: on pcib2 > pcib3: at device 6.0 on pci0 > pci3: on pcib3 > pcib4: at device 7.0 on pci0 > pci4: on pcib4 > atapci0: port > 0xdf00-0xdf07,0xde00-0xde03,0xdd00-0xdd07,0xdc00-0xdc03,0xdb00-0xdb0f mem > 0xfd9fe000-0xfd9fffff irq 16 at device 0.0 on pci4 > atapci0: AHCI Version 01.00 controller with 1 ports detected > ata2: on atapci0 > pci0: at device 9.0 (no driver attached) > isab0: at device 10.0 on pci0 > isa0: on isab0 > pci0: at device 10.1 (no driver attached) > pci0: at device 10.2 (no driver attached) > ohci0: mem 0xfe02f000-0xfe02ffff at device > 11.0 on pci0 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: SMM does not respond, resetting > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 8 ports with 8 removable, self powered > ehci0: mem 0xfe02e000-0xfe02e0ff at > device 11.1 on pci0 > ehci0: [GIANT-LOCKED] > usb1: EHCI version 1.0 > usb1: companion controller, 8 ports each: usb0 > usb1: on ehci0 > usb1: USB revision 2.0 > uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > uhub1: 8 ports with 8 removable, self powered > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfd00-0xfd0f at device 13.0 on pci0 > ata0: on atapci1 > ata1: on atapci1 > atapci2: port > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf800-0xf80f mem > 0xfe02d000-0xfe02dfff irq 20 at device 14.0 on pci0 > ata3: on atapci2 > ata4: on atapci2 > atapci3: port > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xf300-0xf30f mem > 0xfe02c000-0xfe02cfff irq 21 at device 15.0 on pci0 > ata5: on atapci3 > ata6: on atapci3 > pcib5: at device 16.0 on pci0 > pci5: on pcib5 > fwohci0: port 0xbf00-0xbf7f mem > 0xfdbff000-0xfdbff7ff at device 8.0 on pci5 > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:11:d8:00:01:26:eb:74 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:11:d8:26:eb:74 > fwe0: Ethernet address: 02:11:d8:26:eb:74 > fwe0: if_start running deferred for Giant > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > pci0: at device 16.1 (no driver attached) > nve0: port 0xf200-0xf207 mem > 0xfe02b000-0xfe02bfff irq 23 at device 20.0 on pci0 > nve0: Ethernet address 00:1a:92:63:18:e7 > miibus0: on nve0 > ukphy0: on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > nve0: Ethernet address: 00:1a:92:63:18:e7 > acpi_tz0: on acpi0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > ppc0: port 0x378-0x37f irq 7 on acpi0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model MouseMan+, device ID 0 > pmtimer0 on isa0 > orm0: at iomem 0xd0000-0xd3fff,0xd4000-0xd5fff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > uhub2: Cypress Semiconductor Combi keyboard Hub ref design V1.74, class > 9/0, rev 1.10/0.01, addr 2 > uhub2: 2 ports with 2 removable, bus powered > ums0: SONY USB Mouse, rev 1.10/2.00, addr 3, iclass 3/1 > ums0: 5 buttons and Z dir. > Timecounters tick every 1.000 msec > ad0: 156334MB at ata0-master UDMA133 > ad1: 78167MB at ata0-slave UDMA133 > acd0: DMA limited to UDMA33, device found non-ATA66 cable > acd0: DVDR at ata1-master UDMA33 > acd1: CDRW at ata1-slave UDMA33 > ad6: 238475MB at ata3-master SATA150 > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad0s1a > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- View this message in context: http://www.nabble.com/Re%3A-HDD-missing-from-sysinstall-tp16081012p16995050.html Sent from the freebsd-questions mailing list archive at Nabble.com. From fbsd.questions at rachie.is-a-geek.net Thu May 1 20:55:48 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 20:55:52 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 22:24:33 Paul Schmehl wrote: > --On Thursday, May 01, 2008 21:52:05 +0200 Mel > > wrote: > > On Thursday 01 May 2008 21:13:41 John wrote: > >> Thank you Mel and Paul for the suggestions. From what I understand the > >> general query log is more for debugging and the binary log is for point > >> in time recovery and replication. I'll be adding a my.cnf file (using > >> the my-large.cnf as a skeleton) soon. I'm glad the issue was caught > >> earlier on and now I'm the wiser thanks to you guys. I wonder why the > >> default is no. I can't think of anyone who wouldn't find the binary > >> logging beneficial. > > > > I can think of a reason for FreeBSD. The binary logs are never deleted > > and upon every server restart a new one is created. If you're like me, > > developing on a laptop with a webenvironment including 'Mysql server', > > shutting down your laptop daily, you quickly find yourself having full > > /var partition. > > That can be alleviated by adding the logs to newsyslog.conf and gzipping > and rotating them regularly. > If you don't restart mysql much, something like this would work: > > /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 JBG > /var/db/mysql/[FQHN].pid > > If you're restarting it daily, something like this should work: > > /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG > /var/db/mysql/[FQHN].pid > > Adjust the counts and the rotation schedule to your liking and, of course, > use your own hostname and fully qualified hostname. Yes, in this particular case it can, not changing hostnames is a plus then (as in, getting hostname from your dhcp server) ;) Actually, I think you can use a fixed name, but it's been a while since I looked at the bin-log related variables. However if you're using the bin-log, to recover accidental deletes or replications, then you need to use the mysql provided SQL commands for it. It's scriptable (periodic/crontab), but not for use in newsyslog. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From alexus at gmail.com Thu May 1 20:56:40 2008 From: alexus at gmail.com (alexus) Date: Thu May 1 20:56:44 2008 Subject: TERM Message-ID: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> My HOME, END isn't working whenever I login through PuTTY or SecureCRT to FreeBSD-7.0-RELEASE-p1 anyone knows where/what needs to be adjusted? -- http://alexus.org/ From alexus at gmail.com Thu May 1 20:57:14 2008 From: alexus at gmail.com (alexus) Date: Thu May 1 20:57:18 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> Message-ID: <6ae50c2d0805011357l66b86a2ew8b61121dd157a979@mail.gmail.com> anyone? On Wed, Apr 30, 2008 at 5:23 PM, alexus wrote: > dd# make cleandepend && make depend > rm -f .depend machine amd64 > cd ../../../modules; > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > ===> aac (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_data (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_http (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> acpi (cleandepend) > ===> acpi/acpi (cleandepend) > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > amd64 and ia64 platforms" > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/dd. > dd# > > I took GENERIC and rewise it a little bit > > -- > http://alexus.org/ > -- http://alexus.org/ From fbsd.questions at rachie.is-a-geek.net Thu May 1 21:03:35 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 21:03:38 2008 Subject: HDD missing from sysinstall In-Reply-To: <16995050.post@talk.nabble.com> References: <20080316161222.GA17723@photon> <16995050.post@talk.nabble.com> Message-ID: <200805012303.32903.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 22:31:13 Cameigons wrote: > I just want to say I'm having the same problem. I have an asus p5n-e SLI, > two seagate 250GB sata2 HD's. > > When trying to install FreeBSD 7.0-Release, the sysinstall pops up the > message "No Disks Found!(...)". And after that I can't boot up neither my > Win Xp, Linux or Freebsd 6.2 anymore... > > Has anyone figured out a solution yet? :/ That would typically start with send-pr, so devs know there's a problem. Looking at the dmesg posted by Troels, I would include an acpi dump. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu May 1 21:34:22 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 21:34:26 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> Message-ID: <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> On Wednesday 30 April 2008 23:23:27 alexus wrote: > dd# make cleandepend && make depend > rm -f .depend machine amd64 > cd ../../../modules; > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > ===> aac (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_data (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> accf_http (cleandepend) > rm -f @ machine amd64 > rm -f .depend GPATH GRTAGS GSYMS GTAGS > ===> acpi (cleandepend) > ===> acpi/acpi (cleandepend) > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > amd64 and ia64 platforms" > *** Error code 1 > > Stop in /usr/src/sys/modules/acpi. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/dd. > dd# > > I took GENERIC and rewise it a little bit You removed device acpi and shouldn't have done that. Also, your build system looks weird. What is compile/dd, why are you compiling under i386 when your system is detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory below the source tree, rather then a directory outside the source tree. In other words, not enough info (aside from the missing question). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu May 1 21:40:40 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 21:40:45 2008 Subject: TERM In-Reply-To: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> Message-ID: <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 22:56:39 alexus wrote: > My HOME, END isn't working whenever I login through PuTTY or SecureCRT > to FreeBSD-7.0-RELEASE-p1 > > anyone knows where/what needs to be adjusted? Your client. IIRC, secureCRT had an option to bind keys to a different combination. But it's been a while. ctrl-a for HOME and ctrl-e for END should work, regardless of client. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From alexus at gmail.com Thu May 1 21:43:19 2008 From: alexus at gmail.com (alexus) Date: Thu May 1 21:43:25 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> Message-ID: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> like i said i copy GENERIC dd# pwd /usr/src/sys/i386/conf dd# grep -i acpi GENERIC dd# my GENERIC doesn't have acpi either... as far as "weird" part goes, this is a plain vanila FreeBSD-7.0-RELEASE, I'm not sure what you mean by "weird" or i386 part, all I did is cp GENERIC dd then vi dd, then config dd and then tried compiling and it threw me an error right away. On Thu, May 1, 2008 at 5:34 PM, Mel wrote: > > On Wednesday 30 April 2008 23:23:27 alexus wrote: > > dd# make cleandepend && make depend > > rm -f .depend machine amd64 > > cd ../../../modules; > > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > > ===> aac (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_data (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_http (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> acpi (cleandepend) > > ===> acpi/acpi (cleandepend) > > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > > amd64 and ia64 platforms" > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/acpi. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/src/sys/i386/compile/dd. > > dd# > > > > I took GENERIC and rewise it a little bit > > You removed device acpi and shouldn't have done that. > Also, your build system looks weird. > What is compile/dd, why are you compiling under i386 when your system is > detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory > below the source tree, rather then a directory outside the source tree. > In other words, not enough info (aside from the missing question). > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- http://alexus.org/ From danm at prime.gushi.org Thu May 1 21:44:11 2008 From: danm at prime.gushi.org (Dan Mahoney, System Admin) Date: Thu May 1 21:44:16 2008 Subject: mailcap documentation? Message-ID: Hello all, There's apparently an RFC-standard file called /etc/mailcap (as well as .mailcap), but I can't find any docs on this file. Would it be worthwhile to rework the RFC into a manpage (I am willing to do it), or should I bother the providers of ports that use it (such as, say, alpine (and possibly others)? The problem is, they likely don't bundle it because other OSes have it already. It's a fairly standard file, but FreeBSD doesn't ship with an MUA that uses it (I *think*). I know mail(1) does not. -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- From alexus at gmail.com Thu May 1 21:46:13 2008 From: alexus at gmail.com (alexus) Date: Thu May 1 21:46:17 2008 Subject: TERM In-Reply-To: <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> Message-ID: <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> I use same client for RHEL, and it works fine, is there anything can be done in order to make key work as a key (not on client side) but on server? On Thu, May 1, 2008 at 5:40 PM, Mel wrote: > On Thursday 01 May 2008 22:56:39 alexus wrote: > > My HOME, END isn't working whenever I login through PuTTY or SecureCRT > > to FreeBSD-7.0-RELEASE-p1 > > > > anyone knows where/what needs to be adjusted? > > Your client. IIRC, secureCRT had an option to bind keys to a different > combination. But it's been a while. > ctrl-a for HOME and ctrl-e for END should work, regardless of client. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- http://alexus.org/ From fbsd.questions at rachie.is-a-geek.net Thu May 1 22:03:41 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 1 22:03:45 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> Message-ID: <200805020003.38648.fbsd.questions@rachie.is-a-geek.net> On Thursday 01 May 2008 23:43:17 alexus wrote: > like i said i copy GENERIC > > dd# pwd > /usr/src/sys/i386/conf > dd# grep -i acpi GENERIC > dd# > > my GENERIC doesn't have acpi either... > > as far as "weird" part goes, this is a plain vanila > FreeBSD-7.0-RELEASE, I'm not sure what you mean by "weird" or i386 > part, all I did is cp GENERIC dd then vi dd, then config dd and then > tried compiling and it threw me an error right away. Ah, the old config way. Better to use buildkernel target in /usr/src. What's your uname -m? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From mlobo at digiart.art.br Thu May 1 22:06:51 2008 From: mlobo at digiart.art.br (Mario Lobo) Date: Thu May 1 22:06:56 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> Message-ID: <200805011914.21238.mlobo@digiart.art.br> On Thursday 01 May 2008 18:43:17 alexus wrote: >> why are you compiling under i386 when your system is >>?detected as amd64 or ia64 ? You didn't answer this one. uname -a can help. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From alexus at gmail.com Thu May 1 23:41:51 2008 From: alexus at gmail.com (alexus) Date: Thu May 1 23:41:53 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <200805011914.21238.mlobo@digiart.art.br> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> <200805011914.21238.mlobo@digiart.art.br> Message-ID: <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> sorry, this is amd64 On Thu, May 1, 2008 at 6:14 PM, Mario Lobo wrote: > On Thursday 01 May 2008 18:43:17 alexus wrote: > >> why are you compiling under i386 when your system is > >> detected as amd64 or ia64 ? > > You didn't answer this one. > > uname -a can help. > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- http://alexus.org/ From ruel.freebsd at gmail.com Fri May 2 01:35:41 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Fri May 2 01:35:45 2008 Subject: DNS Problem In-Reply-To: <4819EE70.60609@chdevelopment.se> References: <4819EE70.60609@chdevelopment.se> Message-ID: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson wrote: > Ruel Luchavez wrote: > > > when i resume it to its current configuration > > "Obtain DBS server automatically" the problem is back, is this a problem > > in > > my DNS server? > > I'm using the FreeBSD 6.2 version... > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but nothing > > happens the problem is still there..Is there any one here could help > > me solve it? > > > > > > > I'm not sure but it seems that you are trying to use dhcp to receive the > address of DNS-server. > > Check the file /etc/resolv.conf ,this file should look like this: > > nameserver 10.1.2.3 > nameserver 10.4.5.6 > nameserver 10.7.8.9 > > -- > > Christer Hermansson > > > > From ruel.freebsd at gmail.com Fri May 2 01:36:52 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Fri May 2 01:38:46 2008 Subject: DNS Problem In-Reply-To: References: <4819EE70.60609@chdevelopment.se> Message-ID: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server 192.168.1.62 could it be my firewall blocking it? but i didn't change any configuration from it.. Thanks in advance for your help..:( > > On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < > mail@chdevelopment.se> wrote: > > > Ruel Luchavez wrote: > > > > > when i resume it to its current configuration > > > "Obtain DBS server automatically" the problem is back, is this a > > > problem in > > > my DNS server? > > > I'm using the FreeBSD 6.2 version... > > > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but > > > nothing > > > happens the problem is still there..Is there any one here could help > > > me solve it? > > > > > > > > > > > I'm not sure but it seems that you are trying to use dhcp to receive the > > address of DNS-server. > > > > Check the file /etc/resolv.conf ,this file should look like this: > > > > nameserver 10.1.2.3 > > nameserver 10.4.5.6 > > nameserver 10.7.8.9 > > > > -- > > > > Christer Hermansson > > > > > > > > > From d.hill at yournetplus.com Fri May 2 01:45:40 2008 From: d.hill at yournetplus.com (D Hill) Date: Fri May 2 01:45:44 2008 Subject: DNS Problem In-Reply-To: References: <4819EE70.60609@chdevelopment.se> Message-ID: On Fri, 2 May 2008 at 09:36 +0800, ruel.freebsd@gmail.com confabulated: > before i post here i already check the /etc/resolve.conf and this is what's > inside of it > > domain name myplace.com.ph > name server 101.1.21.1 > name server 192.168.1.62 According to the resolver(5) documentation, it should look like this: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 > could it be my firewall blocking it? but i didn't change any configuration > from it.. > > Thanks in advance for your help..:( > > >> >> On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < >> mail@chdevelopment.se> wrote: >> >>> Ruel Luchavez wrote: >>> >>>> when i resume it to its current configuration >>>> "Obtain DBS server automatically" the problem is back, is this a >>>> problem in >>>> my DNS server? >>>> I'm using the FreeBSD 6.2 version... >>>> >>>> I already restarted the DNS Server "/etc/rc.d/named restart" but >>>> nothing >>>> happens the problem is still there..Is there any one here could help >>>> me solve it? >>>> >>>> >>>> >>> I'm not sure but it seems that you are trying to use dhcp to receive the >>> address of DNS-server. >>> >>> Check the file /etc/resolv.conf ,this file should look like this: >>> >>> nameserver 10.1.2.3 >>> nameserver 10.4.5.6 >>> nameserver 10.7.8.9 >>> >>> -- >>> >>> Christer Hermansson >>> >>> >>> >>> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From ruel.freebsd at gmail.com Fri May 2 02:06:21 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Fri May 2 02:06:25 2008 Subject: DNS Problem In-Reply-To: References: <4819EE70.60609@chdevelopment.se> Message-ID: Ok..I have follow your post D Hill, but it doesn't solve the problem Please HELP... Thanks..:( On Fri, May 2, 2008 at 9:45 AM, D Hill wrote: > On Fri, 2 May 2008 at 09:36 +0800, ruel.freebsd@gmail.com confabulated: > > before i post here i already check the /etc/resolve.conf and this is > > what's > > inside of it > > > > domain name myplace.com.ph > > name server 101.1.21.1 > > name server 192.168.1.62 > > > > According to the resolver(5) documentation, it should look like this: > > domain myplace.com.ph > nameserver 101.1.21.1 > nameserver 192.168.1.62 > > could it be my firewall blocking it? but i didn't change any > > configuration > > from it.. > > > > Thanks in advance for your help..:( > > > > > > > > > On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson < > > > mail@chdevelopment.se> wrote: > > > > > > Ruel Luchavez wrote: > > > > > > > > when i resume it to its current configuration > > > > > "Obtain DBS server automatically" the problem is back, is this a > > > > > problem in > > > > > my DNS server? > > > > > I'm using the FreeBSD 6.2 version... > > > > > > > > > > I already restarted the DNS Server "/etc/rc.d/named restart" but > > > > > nothing > > > > > happens the problem is still there..Is there any one here could > > > > > help > > > > > me solve it? > > > > > > > > > > > > > > > > > > > > I'm not sure but it seems that you are trying to use dhcp to > > > > receive the > > > > address of DNS-server. > > > > > > > > Check the file /etc/resolv.conf ,this file should look like this: > > > > > > > > nameserver 10.1.2.3 > > > > nameserver 10.4.5.6 > > > > nameserver 10.7.8.9 > > > > > > > > -- > > > > > > > > Christer Hermansson > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > From jonc at chen.org.nz Fri May 2 03:35:22 2008 From: jonc at chen.org.nz (Jonathan Chen) Date: Fri May 2 03:35:26 2008 Subject: DNS Problem In-Reply-To: References: <4819EE70.60609@chdevelopment.se> Message-ID: <20080502033520.GA60904@osiris.chen.org.nz> On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: > before i post here i already check the /etc/resolve.conf and this is what's > inside of it > > domain name myplace.com.ph > name server 101.1.21.1 > name server 192.168.1.62 > The problems with what you've just posted are: 1. the file is /etc/resolv.conf, not /etc/resolve.conf 2. your contents are wrong, they should look like: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 -- Jonathan Chen ---------------------------------------------------------------------- "The things we know best are the things we haven't been taught." - Marquis de Vauvenargues From d.hill at yournetplus.com Fri May 2 04:14:38 2008 From: d.hill at yournetplus.com (D Hill) Date: Fri May 2 04:14:42 2008 Subject: DNS Problem In-Reply-To: <20080502033520.GA60904@osiris.chen.org.nz> References: <4819EE70.60609@chdevelopment.se> <20080502033520.GA60904@osiris.chen.org.nz> Message-ID: On Fri, 2 May 2008 at 15:35 +1200, jonc@chen.org.nz confabulated: > On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: >> before i post here i already check the /etc/resolve.conf and this is what's >> inside of it >> >> domain name myplace.com.ph >> name server 101.1.21.1 >> name server 192.168.1.62 >> > > The problems with what you've just posted are: > > 1. the file is /etc/resolv.conf, not /etc/resolve.conf Ha! I didn't catch the misspelling of resolv.conf. :-( > 2. your contents are wrong, they should look like: > domain myplace.com.ph > nameserver 101.1.21.1 > nameserver 192.168.1.62 From cptsalek at gmail.com Fri May 2 04:50:17 2008 From: cptsalek at gmail.com (Christian Walther) Date: Fri May 2 04:50:21 2008 Subject: TERM In-Reply-To: <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> References: <6ae50c2d0805011356i75ad61cgd6160bb2013aca2d@mail.gmail.com> <200805012340.37895.fbsd.questions@rachie.is-a-geek.net> <6ae50c2d0805011446nc38987ewed7746e39252e60e@mail.gmail.com> Message-ID: <14989d6e0805012150j1e5b41c3g4b598cfa94a52fec@mail.gmail.com> Hi Alexus, 2008/5/1 alexus : > I use same client for RHEL, and it works fine, is there anything can > be done in order to make key work as a key (not on client side) but on > server? probably, yes. I guess that your client sets the TERM variable to something FreeBSD doesn't understand correctly. The settings in TERMINFO aren't neccessarily the same on all platforms, let alone the fact that some aren't available at all. There's for example "linux" which I've seen to be the default in some terminals but doesn't work on non Linux-systems of course. "xterm" seems to be available everywhere, but doesn't contain the same binding on all platforms. Solaris for example lacks color support on some other bindings I've forgotten. "vt100" should be fine everywhere (but might miss a few features). You can try several TERM settings in one session by assigning the proper value to this variable, respectively. If you found one that suits your needs you can save this setting on the client side, because its the client that sends the Terminfo to be used to the server. HTH Christian From z.szalbot at lc-words.com Fri May 2 05:20:37 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Fri May 2 05:20:44 2008 Subject: handling stale dependencies Message-ID: <481AA49E.2020404@lc-words.com> Hello, I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: netpbm-10.26.52 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pear-Image_Color-1.0.2_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pecl-pdflib-2.1.5 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: php5-gd-5.2.5_1 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: phpMyAdmin-2.11.5 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: rrdtool-1.2.26 -> png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. I am not even sure png is installed. $ pkg_info -Ix png pkg_info: no packages match pattern(s) $ cat /usr/ports/graphics/png/distinfo MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc SIZE (libpng-1.2.28.tar.bz2) = 788156 Many thanks in advance! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080502/0ff7520c/smime.bin From oli.garnier at free.fr Fri May 2 05:38:57 2008 From: oli.garnier at free.fr (Olivier GARNIER) Date: Fri May 2 05:39:01 2008 Subject: Nut problem and last message repeated in dmesg In-Reply-To: <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> References: <000001c8ab69$e2276ed0$6501a8c0@DIMENSION> <6.0.0.22.2.20080501131259.0257c110@mail.computinginnovations.com> Message-ID: <000a01c8ac16$d61f90b0$6501a8c0@DIMENSION> $ pkg_info | grep nut nut-2.2.1_1 Network UPS Tools $ grep driver /usr/local/etc/nut/*.conf | grep -v \# /usr/local/etc/nut/ups.conf: driver = usbhid-ups $ grep Ellipse /usr/local/etc/nut/driver.list | grep 750 | grep usb "MGE Office Protection Systems" "Ellipse ASR USBS 600/750/1000/1500 VA" "USB cable" "usbhid-ups" "MGE UPS SYSTEMS" "Ellipse Office 750" "USB" "usbhid-ups" $ sudo /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Broadcast Message from root@myhost (no tty) at 7:34 CEST... Communications with UPS ellipse@localhost established It seems to be the good driver. It seems to be the last nut version. It seems to run weel during about 1/2 day, and then crash :/ Olivier ________________________________________ De?: Derek Ragona [mailto:derek@computinginnovations.com] Envoy??: jeudi 1 mai 2008 20:14 ??: Olivier GARNIER; freebsd-questions@freebsd.org Objet?: Re: Nut problem and last message repeated in dmesg ? Make sure you are using the correct driver.? Nut has consolidated and changed drivers in recent releases.? ????????-Derek From m.seaman at infracaninophile.co.uk Fri May 2 06:09:22 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri May 2 06:09:24 2008 Subject: Recovering mysql data - mysqlbinlog In-Reply-To: <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> References: <200805011913.DSZ93243@jmu.edu> <200805012152.06354.fbsd.questions@rachie.is-a-geek.net> <200805012255.45600.fbsd.questions@rachie.is-a-geek.net> Message-ID: <481AAFFC.80101@infracaninophile.co.uk> Mel wrote: > On Thursday 01 May 2008 22:24:33 Paul Schmehl wrote: >> --On Thursday, May 01, 2008 21:52:05 +0200 Mel >> >> wrote: >>> On Thursday 01 May 2008 21:13:41 John wrote: >>>> Thank you Mel and Paul for the suggestions. From what I understand the >>>> general query log is more for debugging and the binary log is for point >>>> in time recovery and replication. I'll be adding a my.cnf file (using >>>> the my-large.cnf as a skeleton) soon. I'm glad the issue was caught >>>> earlier on and now I'm the wiser thanks to you guys. I wonder why the >>>> default is no. I can't think of anyone who wouldn't find the binary >>>> logging beneficial. >>> I can think of a reason for FreeBSD. The binary logs are never deleted >>> and upon every server restart a new one is created. If you're like me, >>> developing on a laptop with a webenvironment including 'Mysql server', >>> shutting down your laptop daily, you quickly find yourself having full >>> /var partition. >> That can be alleviated by adding the logs to newsyslog.conf and gzipping >> and rotating them regularly. >> If you don't restart mysql much, something like this would work: >> >> /var/db/mysql/[hostname]-bin.* mysql:mysql 660 7 * $W6D0 JBG >> /var/db/mysql/[FQHN].pid >> >> If you're restarting it daily, something like this should work: >> >> /var/db/mysql/[hostname]-bin.* mysql:mysql 660 25 * $D0 JBG >> /var/db/mysql/[FQHN].pid >> >> Adjust the counts and the rotation schedule to your liking and, of course, >> use your own hostname and fully qualified hostname. Ummm... actually this is not a particularly good idea. MySQL keeps an internal list of all the binlogs it has available, and doing this will break that. The best method is to cron a script that will run eg. PURGE MASTER LOGS BEFORE DATE_SUB( NOW( ), INTERVAL 7 DAY); for whatever interval suits you. binlogs can absorb a lot of space for very little return, especially on a busy server. There's really no point in keeping binlogs from before the earliest full database dump in your backup cycle, and even keeping that many is probably a little OTT for most purposes. You are regularly dumping the database aren't you? > Yes, in this particular case it can, not changing hostnames is a plus then (as > in, getting hostname from your dhcp server) ;) > Actually, I think you can use a fixed name, but it's been a while since I > looked at the bin-log related variables. > > However if you're using the bin-log, to recover accidental deletes or > replications, then you need to use the mysql provided SQL commands for it. > It's scriptable (periodic/crontab), but not for use in newsyslog. > MySQL recommends that you use a fixed name for binary logs nowadays. mysql-bin.NNNNNNN typically. The reasoning seems to be that it makes it easier to deal with replication -- although relay logs are all still labeled by the hostname of the master server. 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/20080502/9bb90743/signature.pgp From aryeh.friedman at gmail.com Fri May 2 06:13:02 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Fri May 2 06:13:07 2008 Subject: handling stale dependencies In-Reply-To: <481AA49E.2020404@lc-words.com> References: <481AA49E.2020404@lc-words.com> Message-ID: <481AB0E5.5080300@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zbigniew Szalbot wrote: | Hello, | | I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? I am not sure what your asking... if your asking do you need png for phpMyAdmin the short answer is no... the long answer is yes because if you want to maintain the ports it depends on then they need png. Portupgrade uses an external DB (not the same one as pkg_* uses) and this is the one that pkgdb maintains. Which means that until you run pkgdb portupgrade will use the "old" depends... now if you not using portupgrade this is not an issue but since you are you need to make sure the two are in sync. That being said once you answered yes/all to "Delete this?" then any mention of the depend in pkgdb will be removed and if you had already done a make deinstall or pkg_delete then your fine all the way around (and by definition you already have because you will not get that question unless the port/package doesn't exist in the /var/db/pkg hierachy) | | Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: netpbm-10.26.52 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pear-Image_Color-1.0.2_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: pecl-pdflib-2.1.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: php5-gd-5.2.5_1 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: phpMyAdmin-2.11.5 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | Stale dependency: rrdtool-1.2.26 -> png-1.2.27 (graphics/png): | Delete this? ([y]es/[n]o/[a]ll) [yes] | Deleted. | | I am not even sure png is installed. | $ pkg_info -Ix png | pkg_info: no packages match pattern(s) | | $ cat /usr/ports/graphics/png/distinfo | MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e | SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc | SIZE (libpng-1.2.28.tar.bz2) = 788156 | | Many thanks in advance! | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgasOUACgkQk8GFzCrQm4B5nQCdGTC1J9VxQ6q2+bOZFvuOxVvk cFkAn0VNZMqA0Z2RLGoyMMlpfPkHMhAb =bEax -----END PGP SIGNATURE----- From amsibamsi at gmail.com Fri May 2 08:11:20 2008 From: amsibamsi at gmail.com (Anselm Strauss) Date: Fri May 2 08:11:25 2008 Subject: 7.0-RELEASE + newer kernel In-Reply-To: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> References: <200805011334.47200.fbsd.questions@rachie.is-a-geek.net> Message-ID: On May 1, 2008, at 13:34 , Mel wrote: > On Thursday 01 May 2008 13:17:03 Anselm Strauss wrote: > > >> The reasons why I hesitate to upgrade to 7.0-STABLE are: >> >> - freebsd-update won't work anymore. How do I then get informed about >> security updates? > > Using your favorite RSS reader and subscribe to: > http://www.freebsd.org/security/advisories.rdf Ok, I already subscribed to the freebsd-security-notifications list, I assume that should do the same. >> - Can't install distributions with sysinstall anymore. Do I just >> compile everything from source? > > Yes (to distributions, no to ports), but you have to upgrade by source > to -STABLE to begin with, unless you want to go the hard way and > bake a new > CD/DVD. Since compiling is no problem for me, I think I will stick with the source, since you also can install parts of the source, e.g. install the manual pages afterwards. >> - How do I actually update from release to stable? I have to compile >> everything myself from the sources, right? As well as for any update? > > The handbook has an entire section for this: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Yes, I saw that once, but forgot it again. Worked perfectly for me. > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. Thanks, Anselm From ruel.freebsd at gmail.com Fri May 2 09:09:52 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Fri May 2 09:09:56 2008 Subject: KDE3 Error Message-ID: Hi, Why is it when i install KDE3 in my server I always got an error, this is the command when i install it -cd /usr/ports/x11/kde3 -make install *and this is the reply of the server:* -Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. -fetch:// ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable (e.g., file not found, no access) -Couldn't fetch ot-please try to retreive this -port manually into /usr/ports/distfiles/KDE and try again. ***Error code 1 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Stop in usr/ports/x11-toolkits/qt33/ *** Error code 1 Did i miss something??? Please HELP here... Thanks in advance...:( From matthias.apitz at oclc.org Fri May 2 09:46:53 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Fri May 2 09:47:01 2008 Subject: measure traffic caused by pppd (UMTS) Message-ID: <20080502094646.GA3576@rebelion.Sisis.de> Hello, Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; Is there some tool which I could put into /etc/ppp/ip_down script which logs the traffic done into some file; I see /usr/ports/net/ppptraf which comes without any documentation and is curses based :-( any other ideas? I'm not interested in any analysis about to which location the traffic goes or about speed and bandwidth; just - cmd line based with output to a file or stdout - the amount of bytes/megabytes in and out; thx in advance matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From freebsd at the-irc.org Fri May 2 11:54:14 2008 From: freebsd at the-irc.org (Free BSD) Date: Fri May 2 11:54:38 2008 Subject: FreeBSD Server Settings Consult Message-ID: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=8192 kern.maxvnodes=132072 kern.maxfiles=65535 kern.maxfilesperproc=65536 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=1 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 vfs.vmiodirenable=1 net.inet.ip.portrange.randomized=1 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 kern.randompid=89061 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.random_id=89061 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=256 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 net.link.ether.inet.max_age=1200 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=32768 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=65535 kern.maxfilesperproc=65536 # cat /etc/rc.conf (minus networking) clear_tmp_enable="YES" update_motd="NO" tcp_extensions="YES" firewall_enable="YES" firewall_script="/etc/ipfw.rules" linux_enable="YES" sshd_enable="NO" usbd_enable="NO" fsck_y_enable="YES" oidentd_enable="YES" pureftpd_enable="no" syslogd_enable="YES" syslogd_flags="-ss" ntpd_enable="YES" ntpd_flags="-4 -p/var/run/ntpd.pid" tcp_keepalive="YES" icmp_bmcastecho="NO" icmp_bandlim=="YES" portmap_enable="NO" icmp_drop_redirect="YES" quota_enable="YES" check_quotas="YES" #accounting_enable="YES" named_program="/usr/sbin/named" named_flags="-u bind -c /etc/namedb/named.conf" named_enable="YES" local_startup="/usr/local/etc/rc.d" openssh_enable="YES" openssh_flags="-4 -f/etc/ssh/sshd_config" openssh_pidfile="/var/run/sshd.pid" sendmail_enable="NO" network_interfaces="rl0 lo0" webmin_enable="YES" dumpdev="AUTO" dumpdir="/var/crash" courier_imap_imapd_enable="YES" courier_imap_imapd_ssl_enable="YES" courier_imap_pop3d_enable="YES" courier_imap_pop3d_ssl_enable="YES" courier_authdaemond_enable="YES" tor_enable="NO" chkservd_enable="YES" apop3d_enable="NO" From z.szalbot at lc-words.com Fri May 2 12:27:35 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Fri May 2 12:27:39 2008 Subject: handling mysql binlog data Message-ID: <481B08B2.7070702@lc-words.com> Hello, Following a recent thread I would like to ask if it is safe to remove old binlog data. From the below I understand that the current binlog is mysql-bin.000007 and the previous ones (from 000001-000006) are not written to any more. I just need confirmation before I take any action. By asking whether it is safe, I only mean if deleting them will not affect mysql operation. I do backups of mysql data anyway. -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 Do I understand correctly that removing mysql-bin.000007 would result in mysql not writing any data to mysql-bin file until the server gets restarted? Many thanks for sharing! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080502/dc8d47e7/smime.bin From mlobo at digiart.art.br Fri May 2 12:47:07 2008 From: mlobo at digiart.art.br (Mario Lobo) Date: Fri May 2 12:47:11 2008 Subject: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms In-Reply-To: <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805011914.21238.mlobo@digiart.art.br> <6ae50c2d0805011641j5c1b2fel227758933bf25dbb@mail.gmail.com> Message-ID: <200805020954.38275.mlobo@digiart.art.br> On Thursday 01 May 2008 20:41:49 alexus wrote: > sorry, this is amd64 > > On Thu, May 1, 2008 at 6:14 PM, Mario Lobo wrote: > > On Thursday 01 May 2008 18:43:17 alexus wrote: > > >> why are you compiling under i386 when your system is > > >> detected as amd64 or ia64 ? > > > > You didn't answer this one. > > > > uname -a can help. > > -- > > Mario Lobo > > http://www.mallavoodoo.com.br > > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows > > FREE) _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" Then you should: cd /usr/src/sys/amd64/conf copy/edit GENERIC dd /usr/sbin/config dd cd ../compile/dd make cleandepend;make depend;make;make make install this should work -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE) From chris at chrismaness.com Fri May 2 14:36:41 2008 From: chris at chrismaness.com (Chris Maness) Date: Fri May 2 14:36:46 2008 Subject: Compiling in Debugging Flags Message-ID: How do I compile in debugging into apache using ports? There is no configmenu when one begins to install/compile the port. I'm still having trouble with apache crashing on a recently upgraded server. (after I have rebuilt all of the ports). I was having the same problem with apache on a sandbox server after upgrade to 7.0-RELEASE. I wasn't ever able to figure it out. I have just upgraded apache on a production server, and I am not able to cut over until apache working. I get no errors in log files no errors on std out, and no core dump either. If I attache to GDB, I get no messages either. Wierd. Thanks, Chris Maness (909) 223-9179 http://www.chrismaness.com From wmoran at potentialtech.com Fri May 2 14:58:40 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Fri May 2 14:58:44 2008 Subject: Compiling in Debugging Flags In-Reply-To: References: Message-ID: <20080502105853.36874cdf.wmoran@potentialtech.com> In response to Chris Maness : > How do I compile in debugging into apache using ports? There is no > configmenu when one begins to install/compile the port. I'm still having > trouble with apache crashing on a recently upgraded server. (after I have > rebuilt all of the ports). I was having the same problem with apache on a > sandbox server after upgrade to 7.0-RELEASE. I wasn't ever able to figure > it out. I have just upgraded apache on a production server, and I am not > able to cut over until apache working. I get no errors in log files no > errors on std out, and no core dump either. If I attache to GDB, I get no > messages either. Wierd. First, put WITH_DEBUG=absolutely in /etc/make.conf. This will cause all ports that are built to have debug symbols. I believe you need to save the /usr/ports/*/[portname]/work directory after installing, so don't do a make clean until you've archived that somewhere. Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. Specifically: kern.coredump: 1 kern.sugid_coredump: 1 Then, make sure the www user has write access to wherever it's trying to dump to. Personally, I prefer to tweak kern.corefile to be /usr/local/corefiles/%N.%P.core. I can then ensure that directory exists and that all users have write access to it (probably not the best idea on a production server, however) >From there, you should be getting usable coredumps. -- Bill Moran http://www.potentialtech.com From m.seaman at infracaninophile.co.uk Fri May 2 14:58:50 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri May 2 14:58:52 2008 Subject: handling mysql binlog data In-Reply-To: <481B08B2.7070702@lc-words.com> References: <481B08B2.7070702@lc-words.com> Message-ID: <481B2C1C.2050206@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zbigniew Szalbot wrote: > Hello, > > Following a recent thread I would like to ask if it is safe to remove > old binlog data. From the below I understand that the current binlog is > mysql-bin.000007 and the previous ones (from 000001-000006) are not > written to any more. I just need confirmation before I take any action. > By asking whether it is safe, I only mean if deleting them will not > affect mysql operation. I do backups of mysql data anyway. The reason for keeping binlog files is so that you can replay any SQL queries that modify the database contents. You may want this for auditing or for performance analysis, but the most usual reason is as a way of recoverng the database contents right up to the very latest point possible. In that case, if you're making regular database dumps, you only need the binlog data written after the database dump. (Depending on how paranoid you are, you might have several database dumps, and keep binlogs between the oldest dump you have and the present, but that's probably more than is strictly necessary) > -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 > -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 > -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 > -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 > -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 > -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 > -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 > > Do I understand correctly that removing mysql-bin.000007 would result in > mysql not writing any data to mysql-bin file until the server gets > restarted? MySQL maintains an open file descriptor on the current binlog file -- if you delete that file while MySQL is running, you'll clear the directory entry for the file, but the file data will still exist and be writable for MySQL. Of course, as soon as MySQL closes the descriptor, the last link to the data will be lost, and the OS will feel free to recycle that chunk of disk space. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkgbLBwACgkQ3jDkPpsZ+VZJRACgqRwhCfQcV/HV7XUe89w1UGDs 3lMAoIHm4elc4s/ACuhWQRt8hKnvvI+i =10Os -----END PGP SIGNATURE----- From eagletree at hughes.net Fri May 2 15:36:40 2008 From: eagletree at hughes.net (Chris Pratt) Date: Fri May 2 15:36:44 2008 Subject: handling mysql binlog data In-Reply-To: <481B08B2.7070702@lc-words.com> References: <481B08B2.7070702@lc-words.com> Message-ID: <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> On May 2, 2008, at 5:27 AM, Zbigniew Szalbot wrote: > Hello, > > Following a recent thread I would like to ask if it is safe to > remove old binlog data. From the below I understand that the > current binlog is mysql-bin.000007 and the previous ones (from > 000001-000006) are not written to any more. I just need > confirmation before I take any action. By asking whether it is > safe, I only mean if deleting them will not affect mysql operation. > I do backups of mysql data anyway. > > -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 > -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 > -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 > -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 > -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 > -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 > -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 > > Do I understand correctly that removing mysql-bin.000007 would > result in mysql not writing any data to mysql-bin file until the > server gets restarted? > I recently removed all logs prior to the one shown as current without any problems. I would not think you would want to remove the one currently in use or problems would result. The procedure for this is here: http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html for 5.1 and here: http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html for 5.0 Simply doing an rm on the files you know are no longer in use is probably not a good idea because they are known within mysql data files. Using the above will make sure they are removed in an orderly manner. According to the docs, if you use the process as shown, the active file will be skipped even if you accidently try to remove it. > Many thanks for sharing! > -- > Zbigniew Szalbot > www.lc-words.com From frank at shute.org.uk Fri May 2 15:36:53 2008 From: frank at shute.org.uk (Frank Shute) Date: Fri May 2 15:36:58 2008 Subject: mailcap documentation? In-Reply-To: References: Message-ID: <20080502151644.GA79968@melon.esperance-linux.co.uk> On Thu, May 01, 2008 at 05:44:04PM -0400, Dan Mahoney, System Admin wrote: > > Hello all, > > There's apparently an RFC-standard file called /etc/mailcap (as well as > .mailcap), but I can't find any docs on this file. > > Would it be worthwhile to rework the RFC into a manpage (I am willing to > do it), or should I bother the providers of ports that use it (such as, > say, alpine (and possibly others)? The problem is, they likely don't > bundle it because other OSes have it already. > > It's a fairly standard file, but FreeBSD doesn't ship with an MUA that > uses it (I *think*). I know mail(1) does not. > I'd like a manpage for mailcap. Even though it doesn't exist in FreeBSD quite a lot of ports use it as you say e.g mutt which comes with a very short example mailcap. I think there should be an example mailcap in base too. I can't see what harm it would do. You're probably best raising this on docs though. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From chris at chrismaness.com Fri May 2 15:51:39 2008 From: chris at chrismaness.com (Chris Maness) Date: Fri May 2 15:51:43 2008 Subject: Compiling in Debugging Flags In-Reply-To: <20080502105853.36874cdf.wmoran@potentialtech.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> Message-ID: > Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. > Specifically: > kern.coredump: 1 > kern.sugid_coredump: 1 > What is frobbed? Chris From rjhjr at cox.net Fri May 2 15:52:19 2008 From: rjhjr at cox.net (Bob Hall) Date: Fri May 2 15:52:24 2008 Subject: FreeBSD Server Settings Consult In-Reply-To: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> Message-ID: <20080502153032.GA99457@kongemord.krig.net> On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. You'll probably get more help if you post the problems and any diagnostic info. :) From schulra at earlham.edu Fri May 2 15:55:38 2008 From: schulra at earlham.edu (Randy Schultz) Date: Fri May 2 15:55:41 2008 Subject: ipf fails after cvsup Message-ID: Heya, Running a fresh install of 7.0-RELEASE. I've cvsup'd the sources, done the standard updating, e.g. make buildworld make buildkernel make installkernel (reboot) mergemaster -p make installworld mergemaster (reboot) But now ipf gives me ye olde Root Dude ? /sbin/ipf -Fa -f /etc/ipf.rules open device: No such file or directory User/kernel version check failed The ipf version is: Root Dude ? ipf -V ipf: IP Filter: v4.1.28 (512) open device: No such file or directory My supfile is pretty standard, with *default release=cvs tag=RELENG_7 src-all I've had this before when I've spaced out the make installworld. I've never gotten this *after* the sync/build. Have I missed a bit of documentation somewhere? -- Randy (schulra@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around. From z.szalbot at lc-words.com Fri May 2 15:58:11 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Fri May 2 15:58:16 2008 Subject: handling mysql binlog data In-Reply-To: <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> Message-ID: <481B3A0E.6060300@lc-words.com> Hello, Chris Pratt pisze: > On May 2, 2008, at 5:27 AM, Zbigniew Szalbot wrote: > >> Hello, >> >> Following a recent thread I would like to ask if it is safe to >> remove old binlog data. From the below I understand that the >> current binlog is mysql-bin.000007 and the previous ones (from >> 000001-000006) are not written to any more. I just need >> confirmation before I take any action. By asking whether it is >> safe, I only mean if deleting them will not affect mysql operation. >> I do backups of mysql data anyway. >> >> -rw-rw---- 1 mysql mysql 61956466 Apr 16 08:44 mysql-bin.000001 >> -rw-rw---- 1 mysql mysql 697756219 Apr 17 14:26 mysql-bin.000002 >> -rw-rw---- 1 mysql mysql 1056 Apr 17 14:29 mysql-bin.000003 >> -rw-rw---- 1 mysql mysql 1073745860 Apr 24 05:49 mysql-bin.000004 >> -rw-rw---- 1 mysql mysql 620489997 Apr 27 10:48 mysql-bin.000005 >> -rw-rw---- 1 mysql mysql 229357379 Apr 28 15:55 mysql-bin.000006 >> -rw-rw---- 1 mysql mysql 869964294 May 2 14:15 mysql-bin.000007 >> >> Do I understand correctly that removing mysql-bin.000007 would >> result in mysql not writing any data to mysql-bin file until the >> server gets restarted? >> > > I recently removed all logs prior to the one shown as current > without any problems. I would not think you would want to > remove the one currently in use or problems would result. > > The procedure for this is here: > http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html > for 5.1 and here: > http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html > for 5.0 Thanks a lot! It did help me get rid of a few files in a safe way. I only wonder now how to set up a cron job to do it on a permanent basis? 1/ I would probably be better off setting this mysql query (URGE {MASTER | BINARY} LOGS BEFORE 'date') in a separate file an run it from cron? 2/ Even if I do that, I would still have to change the 'date' value each month... hmm... as non-programmer I will probably do best to simply enter a task in a calendar to run this manually... each month :) Thank you anyway - this was very helpful and I instantly saved a lot of space on a shrinking /var partition! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080502/53ca14ca/smime.bin From eagletree at hughes.net Fri May 2 16:21:52 2008 From: eagletree at hughes.net (Chris Pratt) Date: Fri May 2 16:21:55 2008 Subject: handling mysql binlog data In-Reply-To: <481B3A0E.6060300@lc-words.com> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> Message-ID: <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> On May 2, 2008, at 8:58 AM, Zbigniew Szalbot wrote: > >> The procedure for this is here: >> http://dev.mysql.com/doc/refman/5.1/en/purge-master-logs.html >> for 5.1 and here: >> http://dev.mysql.com/doc/refman/5.0/en/purge-master-logs.html >> for 5.0 > > Thanks a lot! It did help me get rid of a few files in a safe way. > I only wonder now how to set up a cron job to do it on a permanent > basis? > > 1/ I would probably be better off setting this mysql query (URGE > {MASTER | BINARY} LOGS BEFORE 'date') in a separate file an run it > from cron? > > 2/ Even if I do that, I would still have to change the 'date' value > each month... hmm... as non-programmer I will probably do best to > simply enter a task in a calendar to run this manually... each > month :) > > Thank you anyway - this was very helpful and I instantly saved a > lot of space on a shrinking /var partition! > I find it most comfortable to do this manually so I can check my backups first. There is an example in the reply comments below the documentation on the 5.0 version of the mysql doc page that shows a "unix" way to set up a cron script and automate the process. I've not tried it. Shrinking /var partition?: I found the ports setup of mysql to be overly restrictive by using the /var method. It was simple to install, shutdown mysqld, copy the contents of the /var database files (preserving the appropriate ownership and permissions). I then added (assuming /usr is your large partition) mysql_dbdir="/usr/mysql" mysql_datadir="/usr/mysql" to /etc/rc.conf and restarted. It is an outage but it helped given I'd never have thought to size /var anywhere near what a medium size database required. From z.szalbot at lc-words.com Fri May 2 16:28:27 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Fri May 2 16:28:33 2008 Subject: handling mysql binlog data In-Reply-To: <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> Message-ID: <481B4126.8030802@lc-words.com> Hi Chris, Chris Pratt pisze: >> Thank you anyway - this was very helpful and I instantly saved a >> lot of space on a shrinking /var partition! >> > > I find it most comfortable to do this manually so I can check > my backups first. There is an example in the reply comments > below the documentation on the 5.0 version of the mysql > doc page that shows a "unix" way to set up a cron script > and automate the process. I've not tried it. > > Shrinking /var partition?: I found the ports setup of mysql to > be overly restrictive by using the /var method. It was simple > to install, shutdown mysqld, copy the contents of the /var > database files (preserving the appropriate ownership and > permissions). I then added (assuming /usr is your large > partition) > > mysql_dbdir="/usr/mysql" > mysql_datadir="/usr/mysql" > > to /etc/rc.conf and restarted. It is an outage but it helped given > I'd never have thought to size /var anywhere near what a > medium size database required. Yeah, I am in the same boat so to say... I guess copying mysql data using cp -p will preserve all the file attributes? Will any future upgrade (by means of portupgrade) not change the custom mysql location back to /var/db/mysql? Thanks again Chris! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080502/0fb10544/smime.bin From freebsd at the-irc.org Fri May 2 16:47:11 2008 From: freebsd at the-irc.org (Free BSD) Date: Fri May 2 16:47:14 2008 Subject: FreeBSD Server Settings Consult In-Reply-To: <20080502153032.GA99457@kongemord.krig.net> References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> <20080502153032.GA99457@kongemord.krig.net> Message-ID: <322efb7b0805020947m232a82fds14c36e03db362e77@mail.gmail.com> Well from bad experience that goes no where, due-to rare issue and no supporting logs/core dumps... Therefore that be a complete no :( On Fri, May 2, 2008 at 11:30 AM, Bob Hall wrote: > On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: > > We've been having some problems with our server and I was wondering if > > someone had any advice or suggestions for our current system settings. > > You'll probably get more help if you post the problems and any > diagnostic info. :) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From wmoran at potentialtech.com Fri May 2 17:00:03 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Fri May 2 17:00:08 2008 Subject: Compiling in Debugging Flags In-Reply-To: References: <20080502105853.36874cdf.wmoran@potentialtech.com> Message-ID: <20080502130017.ac721261.wmoran@potentialtech.com> In response to Chris Maness : > > Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. > > Specifically: > > kern.coredump: 1 > > kern.sugid_coredump: 1 > > What is frobbed? http://en.wikipedia.org/wiki/Frob You need to learn important things like this if you're going to get anywhere in this business ... -- Bill Moran http://www.potentialtech.com From grog at FreeBSD.ORG Fri May 2 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri May 2 17:02:05 2008 Subject: How to get best results from FreeBSD-questions Message-ID: <20080502170201.103FA1065676@hub.freebsd.org> How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From grog at FreeBSD.ORG Fri May 2 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri May 2 17:02:06 2008 Subject: "The Complete FreeBSD": errata and addenda Message-ID: <20080502170201.167B51065678@hub.freebsd.org> The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From unix at mutu.us Fri May 2 17:12:46 2008 From: unix at mutu.us (Valeriu Mutu) Date: Fri May 2 17:12:49 2008 Subject: KDE3 Error In-Reply-To: References: Message-ID: <20080502171239.GA1460@devil.mutu.us> On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: > Hi, > Why is it when i install KDE3 in my server I always got an error, this is > the command when i install it > > -cd /usr/ports/x11/kde3 > -make install > > *and this is the reply of the server:* > -Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. > -fetch:// > ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable > (e.g., file not found, no access) > -Couldn't fetch ot-please try to retreive this > -port manually into /usr/ports/distfiles/KDE and try again. > ***Error code 1 > > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt33 > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Did i miss something??? Please HELP here... > > Thanks in advance...:( > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi Ruel, Can you please verify that: 1. Internet is accessible. Try: ftp ftp.iasi.roedu.net 2. Your ports tree is up to date. After this is done, remove the directory /usr/ports/distfiles/KDE/ . Then do: cd /usr/ports/x11-toolkits/qt33/ make fetch If this still results in an error, try this instead of "make fetch": make MASTER_SITE_OVERRIDE=ftp://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ fetch or make MASTER_SITE_OVERRIDE=ftp://ftp.fu-berlin.de/unix/X11/gui/Qt/source/ fetch These are mirrors taken from /usr/ports/Mk/bsd.siteis.mk . Search for MASTER_SITE_QT in that file. -- Valeriu Mutu From eagletree at hughes.net Fri May 2 19:03:09 2008 From: eagletree at hughes.net (Chris Pratt) Date: Fri May 2 19:03:15 2008 Subject: handling mysql binlog data In-Reply-To: <481B4126.8030802@lc-words.com> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> <481B4126.8030802@lc-words.com> Message-ID: <3CFBF5F9-4503-4D39-9A66-643A2350C0B4@hughes.net> On May 2, 2008, at 9:28 AM, Zbigniew Szalbot wrote: > Hi Chris, > > Chris Pratt pisze: > >>> Thank you anyway - this was very helpful and I instantly saved a >>> lot of space on a shrinking /var partition! >>> >> I find it most comfortable to do this manually so I can check >> my backups first. There is an example in the reply comments >> below the documentation on the 5.0 version of the mysql >> doc page that shows a "unix" way to set up a cron script >> and automate the process. I've not tried it. >> Shrinking /var partition?: I found the ports setup of mysql to >> be overly restrictive by using the /var method. It was simple >> to install, shutdown mysqld, copy the contents of the /var >> database files (preserving the appropriate ownership and >> permissions). I then added (assuming /usr is your large >> partition) >> mysql_dbdir="/usr/mysql" >> mysql_datadir="/usr/mysql" >> to /etc/rc.conf and restarted. It is an outage but it helped given >> I'd never have thought to size /var anywhere near what a >> medium size database required. > > > Yeah, I am in the same boat so to say... I guess copying mysql data > using cp -p will preserve all the file attributes? > I didn't do that so I can't say. I actually tarred and untarred. > Will any future upgrade (by means of portupgrade) not change the > custom mysql location back to /var/db/mysql? > I ran through portupgrade on both systems twice but I can't recall if mysql was updated. Given the change is in /etc/rc.conf, the upgrade shouldn't have an impact. If an upgrade uses a supplied script to alter the installation I'd presume it would be an issue. Usually you can provide these directories as command line options on scripts provided with mysql. The saving grace is that since you are not hurting your original installation, a trial run is rather simple, falling back is as pretty much a vi /etc/rc.conf and a reboot. > Thanks again Chris! > > > -- > Zbigniew Szalbot > www.lc-words.com From chris at chrismaness.com Fri May 2 22:54:11 2008 From: chris at chrismaness.com (Chris Maness) Date: Fri May 2 22:54:15 2008 Subject: Compiling in Debugging Flags In-Reply-To: <20080502130017.ac721261.wmoran@potentialtech.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> Message-ID: <481B9B90.6050906@chrismaness.com> Bill Moran wrote: > In response to Chris Maness : > > >>> Then, ensure the sysctls in the kernel are all frobbed to allow coredumps. >>> Specifically: >>> kern.coredump: 1 >>> kern.sugid_coredump: 1 >>> >> What is frobbed? >> > > http://en.wikipedia.org/wiki/Frob > > You need to learn important things like this if you're going to get > anywhere in this business ... > > sysctl -a | grep core kern.corefile: %N.core kern.nodump_coredump: 0 kern.coredump: 1 kern.sugid_coredump: 0 <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) debug.elf32_legacy_coredump: 0 How do I change the the values? Also, where do the files go by default? From fbsd.questions at rachie.is-a-geek.net Fri May 2 23:20:44 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri May 2 23:20:49 2008 Subject: FreeBSD Server Settings Consult In-Reply-To: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> Message-ID: <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> On Friday 02 May 2008 13:28:44 Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. Would help to know, at minimum: - ammount of ram - ammount of cpu's - platform (uname -m ) - pciconf -lv|grep ^none - dmesg output that complains about hardware - what's different about your kernel with respect to GENERIC What the problems are: - from the sysctl variables, I'm guessing you want more network performance - you mention core dumps, does the kernel crash? Some background: - what's the primary purpose of the machine - why are things like ipc tuned? > kern.maxfilesperproc=65536 The above will only work with programs that use open(2) exclusively and not fopen, because fopen is limited to SHRT_MAX, being 32767. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Fri May 2 23:39:39 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri May 2 23:39:43 2008 Subject: handling stale dependencies In-Reply-To: <481AA49E.2020404@lc-words.com> References: <481AA49E.2020404@lc-words.com> Message-ID: <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> On Friday 02 May 2008 07:20:30 Zbigniew Szalbot wrote: > Hello, > > I will appreciate your advice about how to best handle stale > dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of > questions about stale dependencies. I eventually deleted all of them, > but does this mean I need to upgrade ports which used this dependency > (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, > php5-gd-5.2.5_1, and rrdtool-1.2.26)? > > Stale dependency: mailgraph-1.14_1 -> png-1.2.27 (graphics/png): > Delete this? ([y]es/[n]o/[a]ll) [yes] > Deleted. Something went wrong earlier on, and portupgrade screwed up. It tried to upgrade png, got as far as uninstalling it, failed to install it and then failed to restore the backup and for some reason also thinks that rrdtool does not depend on graphics/png, while it does, unconditionally. Best thing to do when you see pkgdb mentioning "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll up to see what it did wrong and try to figure out how to correct it's mess. What is at present the png version installed on your system and could you show the output of: grep 'DEPORIGIN: graphics/png' /var/db/pkg/*/+CONTENTS -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From chris at chrismaness.com Fri May 2 23:42:39 2008 From: chris at chrismaness.com (Chris Maness) Date: Fri May 2 23:42:44 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481B9B90.6050906@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> Message-ID: <481BA6EC.2020209@chrismaness.com> Chris Maness wrote: > Bill Moran wrote: >> In response to Chris Maness : >> >> >>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>> coredumps. >>>> Specifically: >>>> kern.coredump: 1 >>>> kern.sugid_coredump: 1 >>>> >>> What is frobbed? >>> >> >> http://en.wikipedia.org/wiki/Frob >> >> You need to learn important things like this if you're going to get >> anywhere in this business ... >> >> > sysctl -a | grep core > kern.corefile: %N.core > kern.nodump_coredump: 0 > kern.coredump: 1 > kern.sugid_coredump: 0 > <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) > <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) > <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) > <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) > debug.elf32_legacy_coredump: 0 > > How do I change the the values? Also, where do the files go by default? > Never mind, I figured it out. Stay tuned, and I'll have some output. Chris From chris at chrismaness.com Fri May 2 23:54:00 2008 From: chris at chrismaness.com (Chris Maness) Date: Fri May 2 23:54:07 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481BA6EC.2020209@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> Message-ID: <481BA996.50005@chrismaness.com> Chris Maness wrote: > Chris Maness wrote: >> Bill Moran wrote: >>> In response to Chris Maness : >>> >>> >>>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>>> coredumps. >>>>> Specifically: >>>>> kern.coredump: 1 >>>>> kern.sugid_coredump: 1 >>>>> >>>> What is frobbed? >>>> >>> >>> http://en.wikipedia.org/wiki/Frob >>> >>> You need to learn important things like this if you're going to get >>> anywhere in this business ... >>> >>> >> sysctl -a | grep core >> kern.corefile: %N.core >> kern.nodump_coredump: 0 >> kern.coredump: 1 >> kern.sugid_coredump: 0 >> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) >> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) >> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) >> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) >> debug.elf32_legacy_coredump: 0 >> >> How do I change the the values? Also, where do the files go by default? >> > Never mind, I figured it out. Stay tuned, and I'll have some output. > > Chris Is it choking on: /libexec/ld-elf.so.1 or /libexec/ld-elf.so.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `httpd'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.4...done. Loaded symbols for /lib/libcrypt.so.4 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so Reading symbols from /usr/local/libexec/apache/mod_env.so...done. Loaded symbols for /usr/local/libexec/apache/mod_env.so Reading symbols from /usr/local/libexec/apache/mod_log_config.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_config.so Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so Reading symbols from /usr/local/libexec/apache/mod_mime.so...done. Loaded symbols for /usr/local/libexec/apache/mod_mime.so Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...done. Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so Reading symbols from /usr/local/libexec/apache/mod_status.so...done. Loaded symbols for /usr/local/libexec/apache/mod_status.so Reading symbols from /usr/local/libexec/apache/mod_info.so...done. Loaded symbols for /usr/local/libexec/apache/mod_info.so Reading symbols from /usr/local/libexec/apache/mod_include.so...done. Loaded symbols for /usr/local/libexec/apache/mod_include.so Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...done. Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so Reading symbols from /usr/local/libexec/apache/mod_dir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_dir.so Reading symbols from /usr/local/libexec/apache/mod_cgi.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cgi.so Reading symbols from /usr/local/libexec/apache/mod_asis.so...done. Loaded symbols for /usr/local/libexec/apache/mod_asis.so Reading symbols from /usr/local/libexec/apache/mod_imap.so...done. Loaded symbols for /usr/local/libexec/apache/mod_imap.so Reading symbols from /usr/local/libexec/apache/mod_actions.so...done. Loaded symbols for /usr/local/libexec/apache/mod_actions.so Reading symbols from /usr/local/libexec/apache/mod_speling.so...done. Loaded symbols for /usr/local/libexec/apache/mod_speling.so Reading symbols from /usr/local/libexec/apache/mod_userdir.so...done. Loaded symbols for /usr/local/libexec/apache/mod_userdir.so Reading symbols from /usr/local/libexec/apache/mod_alias.so...done. Loaded symbols for /usr/local/libexec/apache/mod_alias.so Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...done. Loaded symbols for /usr/local/libexec/apache/mod_rewrite.so Reading symbols from /usr/local/libexec/apache/mod_access.so...done. Loaded symbols for /usr/local/libexec/apache/mod_access.so Reading symbols from /usr/local/libexec/apache/mod_auth.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth.so Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_anon.so Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...done. Loaded symbols for /usr/local/libexec/apache/mod_auth_db.so Reading symbols from /usr/local/libexec/apache/mod_digest.so...done. Loaded symbols for /usr/local/libexec/apache/mod_digest.so Reading symbols from /usr/local/libexec/apache/libproxy.so...done. Loaded symbols for /usr/local/libexec/apache/libproxy.so Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...done. Loaded symbols for /usr/local/libexec/apache/mod_cern_meta.so Reading symbols from /usr/local/libexec/apache/mod_expires.so...done. Loaded symbols for /usr/local/libexec/apache/mod_expires.so Reading symbols from /usr/local/libexec/apache/mod_headers.so...done. Loaded symbols for /usr/local/libexec/apache/mod_headers.so Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...done. Loaded symbols for /usr/local/libexec/apache/mod_usertrack.so Reading symbols from /usr/local/libexec/apache/mod_log_forensic.so...done. Loaded symbols for /usr/local/libexec/apache/mod_log_forensic.so Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...done. Loaded symbols for /usr/local/libexec/apache/mod_unique_id.so Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...done. Loaded symbols for /usr/local/libexec/apache/mod_setenvif.so Reading symbols from /usr/local/libexec/apache/libphp5.so...done. Loaded symbols for /usr/local/libexec/apache/libphp5.so Reading symbols from /lib/libm.so.5...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x28b00bd0 in ?? () From v.velox at vvelox.net Sat May 3 00:25:14 2008 From: v.velox at vvelox.net (Zane C.B.) Date: Sat May 3 00:25:23 2008 Subject: Firewalls In-Reply-To: <48162A6E.8050607@cran.org.uk> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> Message-ID: <20080502191124.578b7cfe@vixen42> On Mon, 28 Apr 2008 20:50:06 +0100 Bruce Cran wrote: > Doug Hardie wrote: > > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > > (perhaps years) I seem to recall some discussion that one or more > > of those was better maintained and higher quality than the > > others. I don't see any indications of this in the handbook. > > Several years ago I needed to do traffic shaping and used IPFW > > with dummynet. It worked but the need eventually went away. > > More recently I needed to incorporate spamd which defaults to PF > > so I used that. However, now I am back to needing traffic > > shaping again. I suspect trying to use both PF and IPFW > > simultaneously will not be a good approach. In addition, there > > now are instructions for using spamd with IPFW so it appears that > > either PF or IPFW will do what I need. Is there any additional > > information available to assist in selecting between those? > > Thanks. > > As I understand it pf is often found to be easiest to use and has > lots of features like altq and os fingerprinting but is quite a bit > slower than ipfw. There is one thing that IPFW has that PF does not that I have found to be very handy at times. It can be used to setup firewall rules that only affect a specific group or user. From v.velox at vvelox.net Sat May 3 00:25:14 2008 From: v.velox at vvelox.net (Zane C.B.) Date: Sat May 3 00:25:23 2008 Subject: Firewalls In-Reply-To: <51d7a5160804290951p43cd3bbfw91c968bf5247c6ba@mail.gmail.com> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> <51d7a5160804290951p43cd3bbfw91c968bf5247c6ba@mail.gmail.com> Message-ID: <20080502191223.768925f3@vixen42> On Tue, 29 Apr 2008 09:51:29 -0700 perikillo wrote: > On Mon, Apr 28, 2008 at 12:50 PM, Bruce Cran > wrote: > > > Doug Hardie wrote: > > > > > FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago > > > (perhaps years) I seem to recall some discussion that one or > > > more of those was better maintained and higher quality than the > > > others. I don't see any indications of this in the handbook. > > > Several years ago I needed to do traffic shaping and used IPFW > > > with dummynet. It worked but the need eventually went away. > > > More recently I needed to incorporate spamd which defaults to > > > PF so I used that. However, now I am back to needing traffic > > > shaping again. I suspect trying to use both PF and IPFW > > > simultaneously will not be a good approach. In addition, there > > > now are instructions for using spamd with IPFW so it appears > > > that either PF or IPFW will do what I need. Is there any > > > additional information available to assist in selecting between > > > those? Thanks. > > > > > > > As I understand it pf is often found to be easiest to use and has > > lots of features like altq and os fingerprinting but is quite a > > bit slower than ipfw. > > > > -- > > Bruce > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > Reading this post, i have some doubt, how is IPFW support for VoIP > packets, can do traffic shaping?, i read that PF can do that, I'm > right? What exactly are you looking to do in this area? From LukeD at pobox.com Sat May 3 01:01:52 2008 From: LukeD at pobox.com (Luke Dean) Date: Sat May 3 01:01:57 2008 Subject: Firewalls In-Reply-To: <20080502191124.578b7cfe@vixen42> References: <05B6619C-9771-41EA-B43E-05DB40CB3258@lafn.org> <48162A6E.8050607@cran.org.uk> <20080502191124.578b7cfe@vixen42> Message-ID: <20080502175312.O21313@border.lukas.is-a-geek.org> On Fri, 2 May 2008, Zane C.B. wrote: > On Mon, 28 Apr 2008 20:50:06 +0100 > Bruce Cran wrote: > >> Doug Hardie wrote: >>> FreeBSD supports 3 firewalls: IPF, IPFW, and PF. Some time ago >>> (perhaps years) I seem to recall some discussion that one or more >>> of those was better maintained and higher quality than the >>> others. I don't see any indications of this in the handbook. >>> Several years ago I needed to do traffic shaping and used IPFW >>> with dummynet. It worked but the need eventually went away. >>> More recently I needed to incorporate spamd which defaults to PF >>> so I used that. However, now I am back to needing traffic >>> shaping again. I suspect trying to use both PF and IPFW >>> simultaneously will not be a good approach. In addition, there >>> now are instructions for using spamd with IPFW so it appears that >>> either PF or IPFW will do what I need. Is there any additional >>> information available to assist in selecting between those? >>> Thanks. >> >> As I understand it pf is often found to be easiest to use and has >> lots of features like altq and os fingerprinting but is quite a bit >> slower than ipfw. > > There is one thing that IPFW has that PF does not that I have found > to be very handy at times. It can be used to setup firewall rules > that only affect a specific group or user. PF can do this too. There were threading/locking/crashing issues when last I tried to use that feature of PF back in FreeBSD 5.x, but that was a very long time ago. From chris at chrismaness.com Sat May 3 01:08:09 2008 From: chris at chrismaness.com (Chris Maness) Date: Sat May 3 01:08:13 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481BA996.50005@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> Message-ID: <481BBAF6.8000400@chrismaness.com> Chris Maness wrote: > Chris Maness wrote: >> Chris Maness wrote: >>> Bill Moran wrote: >>>> In response to Chris Maness : >>>> >>>> >>>>>> Then, ensure the sysctls in the kernel are all frobbed to allow >>>>>> coredumps. >>>>>> Specifically: >>>>>> kern.coredump: 1 >>>>>> kern.sugid_coredump: 1 >>>>>> >>>>> What is frobbed? >>>>> >>>> >>>> http://en.wikipedia.org/wiki/Frob >>>> >>>> You need to learn important things like this if you're going to get >>>> anywhere in this business ... >>>> >>>> >>> sysctl -a | grep core >>> kern.corefile: %N.core >>> kern.nodump_coredump: 0 >>> kern.coredump: 1 >>> kern.sugid_coredump: 0 >>> <6>pid 36665 (conftest), uid 0: exited on signal 11 (core dumped) >>> <6>pid 97013 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 48143 (conftest), uid 0: exited on signal 12 (core dumped) >>> <6>pid 69261 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 30477 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 17468 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 72511 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 88618 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 91921 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 48962 (httpd), uid 0: exited on signal 11 (core dumped) >>> <6>pid 96510 (httpd), uid 0: exited on signal 11 (core dumped) >>> debug.elf32_legacy_coredump: 0 >>> >>> How do I change the the values? Also, where do the files go by >>> default? >>> >> Never mind, I figured it out. Stay tuned, and I'll have some output. >> >> Chris > Is it choking on: > > /libexec/ld-elf.so.1 > > or > > /libexec/ld-elf.so.1 > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-marcel-freebsd"... > Core was generated by `httpd'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libcrypt.so.4...done. > Loaded symbols for /lib/libcrypt.so.4 > Reading symbols from /usr/local/lib/libexpat.so.6...done. > Loaded symbols for /usr/local/lib/libexpat.so.6 > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mmap_static.so > Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_vhost_alias.so > Reading symbols from /usr/local/libexec/apache/mod_env.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_env.so > Reading symbols from /usr/local/libexec/apache/mod_log_config.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_log_config.so > Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mime_magic.so > Reading symbols from /usr/local/libexec/apache/mod_mime.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_mime.so > Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_negotiation.so > Reading symbols from /usr/local/libexec/apache/mod_status.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_status.so > Reading symbols from /usr/local/libexec/apache/mod_info.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_info.so > Reading symbols from /usr/local/libexec/apache/mod_include.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_include.so > Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_autoindex.so > Reading symbols from /usr/local/libexec/apache/mod_dir.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_dir.so > Reading symbols from /usr/local/libexec/apache/mod_cgi.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_cgi.so > Reading symbols from /usr/local/libexec/apache/mod_asis.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_asis.so > Reading symbols from /usr/local/libexec/apache/mod_imap.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_imap.so > Reading symbols from /usr/local/libexec/apache/mod_actions.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_actions.so > Reading symbols from /usr/local/libexec/apache/mod_speling.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_speling.so > Reading symbols from /usr/local/libexec/apache/mod_userdir.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_userdir.so > Reading symbols from /usr/local/libexec/apache/mod_alias.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_alias.so > Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_rewrite.so > Reading symbols from /usr/local/libexec/apache/mod_access.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_access.so > Reading symbols from /usr/local/libexec/apache/mod_auth.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth.so > Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth_anon.so > Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_auth_db.so > Reading symbols from /usr/local/libexec/apache/mod_digest.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_digest.so > Reading symbols from /usr/local/libexec/apache/libproxy.so...done. > Loaded symbols for /usr/local/libexec/apache/libproxy.so > Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_cern_meta.so > Reading symbols from /usr/local/libexec/apache/mod_expires.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_expires.so > Reading symbols from /usr/local/libexec/apache/mod_headers.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_headers.so > Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_usertrack.so > Reading symbols from > /usr/local/libexec/apache/mod_log_forensic.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_log_forensic.so > Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_unique_id.so > Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...done. > Loaded symbols for /usr/local/libexec/apache/mod_setenvif.so > Reading symbols from /usr/local/libexec/apache/libphp5.so...done. > Loaded symbols for /usr/local/libexec/apache/libphp5.so > Reading symbols from /lib/libm.so.5...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /usr/local/lib/libxml2.so.5...done. > Loaded symbols for /usr/local/lib/libxml2.so.5 > Reading symbols from /lib/libz.so.4...done. > Loaded symbols for /lib/libz.so.4 > Reading symbols from /usr/local/lib/libiconv.so.3...done. > Loaded symbols for /usr/local/lib/libiconv.so.3 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28b00bd0 in ?? () > > > Sorry about all of the e-mails. I remembered that I was having issues with apache and the php5 module. I have deinstalled php5 and apache runs fine. However, even with the latest ports tree with apache13 and php5 module rebuilt, apache crashes. I had this same exact behavior on a test box, but I don't see other complaints in the archives. Am I the only one running apache13 with the php5 module installed? Also, this works fine on my 6.3-RELEASE production server (however, it is not upgraded to the latest version). Thanks, Chris Maness From jmzhack at gmail.com Sat May 3 07:00:17 2008 From: jmzhack at gmail.com (jmz_hack) Date: Sat May 3 07:00:20 2008 Subject: consulta acerca de la version Message-ID: <5441bf290805022334m44685b1bme9c82dfb8758cb84@mail.gmail.com> hola, disculpen por favor me podrias decir o pasar alguna version descargable para poner un servidor con freebsd, un pentium 233 con 24 mb de ram y un disco de 1,6 gb necesito que haga de servidor web con php, y pueda usar el shoutcast y en lo posible que sea compatible con placas de red isa gracias -- jmz_hack. xD From z.szalbot at lc-words.com Sat May 3 07:12:07 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Sat May 3 07:12:12 2008 Subject: handling stale dependencies In-Reply-To: <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> References: <481AA49E.2020404@lc-words.com> <200805030139.35105.fbsd.questions@rachie.is-a-geek.net> Message-ID: <481C1041.3030309@lc-words.com> Hello, > Something went wrong earlier on, and portupgrade screwed up. It tried > to upgrade png, got as far as uninstalling it, failed to install it > and then failed to restore the backup and for some reason also thinks > that rrdtool does not depend on graphics/png, while it does, > unconditionally. Best thing to do when you see pkgdb mentioning > "stale dependencies" is hit ctrl-c hard, fast and often. Then scroll > up to see what it did wrong and try to figure out how to correct it's > mess. > > What is at present the png version installed on your system and could > you show the output of: grep 'DEPORIGIN: graphics/png' > /var/db/pkg/*/+CONTENTS It reveals nothing but so far so good. Everything seems to work so I am not going to worry about it. I just don't remember. I may have installed then uninstalled png at some point but no idea if I did. I have actually started to run a journal of everything being done to the server - it should help in future! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080503/c71a700d/smime.bin From wojtek at wojtek.tensor.gdynia.pl Sat May 3 09:24:12 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 3 09:24:14 2008 Subject: logger blocking Message-ID: <20080503111941.L10738@wojtek.tensor.gdynia.pl> how to prevent logger working for non-root? it allows any user log anything it likes. i can change permission for /var/run/syslogd.socket but many different programs running as different users logs through this. any smart method? From m.seaman at infracaninophile.co.uk Sat May 3 09:34:36 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat May 3 09:34:40 2008 Subject: handling mysql binlog data In-Reply-To: <481B4126.8030802@lc-words.com> References: <481B08B2.7070702@lc-words.com> <4C629ECE-9203-4A3B-94FA-8BACEA07EE70@hughes.net> <481B3A0E.6060300@lc-words.com> <9C2A6842-CBB4-4DD6-B759-4054BCAE2C70@hughes.net> <481B4126.8030802@lc-words.com> Message-ID: <481C31A0.4080604@infracaninophile.co.uk> Zbigniew Szalbot wrote: > Will any future upgrade (by means of portupgrade) not change the custom > mysql location back to /var/db/mysql? Not if you set: mysql_dbdir="/usr/mysql" in /etc/rc.conf 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/20080503/308aba98/signature.pgp From z.szalbot at lc-words.com Sat May 3 10:02:45 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Sat May 3 10:02:50 2008 Subject: .forward file / do not leave messages on server Message-ID: <481C3840.50007@lc-words.com> Hello, How do I specify in a .forward file that forwarded messages should not be kept on server? user adres@domain.tld just gets the mail forwarded but also leaves a copy on server. Thank you! -- Zbigniew Szalbot www.lc-words.com -------------- 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/20080503/608aa0f5/smime.bin From jmc-freebsd at milibyte.co.uk Sat May 3 11:11:18 2008 From: jmc-freebsd at milibyte.co.uk (Mike Clarke) Date: Sat May 3 11:11:23 2008 Subject: "Operation not permitted" at end of portupgrade Message-ID: <200805031211.15176.jmc-freebsd@milibyte.co.uk> At the end of a portupgrade run for firefox I get the following ===> Registering installation for firefox-2.0.0.14,1 ===> Cleaning for firefox-2.0.0.14,1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 626 packages found (-0 +1) . done] Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 The permissions on all these files are -r--r--r--. Should I change them to -rwxr-xr-x like the rest of the files in that directory or just ignore it? FreeBSD kestrel.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 -- Mike Clarke From kasthurirangan.balaji at gmail.com Sat May 3 11:22:14 2008 From: kasthurirangan.balaji at gmail.com (Balaji Kasthurirangan) Date: Sat May 3 11:22:17 2008 Subject: socket bind failure - errno 49 Message-ID: <92db61c20805030321x7b943088x6bc79933e4e3bd7d@mail.gmail.com> Hi, I have tried searching the archives and in vain. Hence i am posting to this group. If this not the right one, pls direct me. I am using FreeBSD 6.1. Initially i was able to create socket, bind it and do all sorts of things. But when i tried now, it isn't working. I am trying after a long gap. The errno is 49 - invalid address. I used gethostbyname and it returns whatever is there in /etc/hosts. I have checked the /etc/resolv.conf. My config details are /etc/rc.conf hostname="Balaji" /etc/hosts 192.168.1.1 Balaji 127.0.0.1 localhost ::1 localhost /etc/resolv.conf nameserver 192.168.1.1 I tried setting Balaji to 0.0.0.0, still it doesn't work. Pls help me. Also, when my system boots, couple of eye-catchy messages syslogd: can't bind address sm_mta[root]:syserror : can't assign address // i hope this is wrt mail/smtp My suspect is that, the error happens after my system was shutdown improperly(sudden power off and my laptop battery isn't working, and ofcourse i am freebsd on my toshiba tera laptop - P4). I have done fdisk to ensure my disk is clean. Thanks, Balaji. From peo at intersonic.se Sat May 3 11:27:23 2008 From: peo at intersonic.se (Per olof Ljungmark) Date: Sat May 3 11:27:26 2008 Subject: "Operation not permitted" at end of portupgrade In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> References: <200805031211.15176.jmc-freebsd@milibyte.co.uk> Message-ID: <481C4C16.10002@intersonic.se> Mike Clarke wrote: > At the end of a portupgrade run for firefox I get the following > > ===> Registering installation for firefox-2.0.0.14,1 > ===> Cleaning for firefox-2.0.0.14,1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... - 626 packages > found (-0 +1) . done] > Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 > Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 > Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 > > The permissions on all these files are -r--r--r--. Should I change them > to -rwxr-xr-x like the rest of the files in that directory or just > ignore it? Read the archives for an answer. --per From m.seaman at infracaninophile.co.uk Sat May 3 11:31:22 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat May 3 11:31:26 2008 Subject: "Operation not permitted" at end of portupgrade In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> References: <200805031211.15176.jmc-freebsd@milibyte.co.uk> Message-ID: <481C4CFD.5070408@infracaninophile.co.uk> Mike Clarke wrote: > Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5 > Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2 > Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1 > Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1 > > The permissions on all these files are -r--r--r--. Should I change them > to -rwxr-xr-x like the rest of the files in that directory or just > ignore it? That's actually because those are backup copies of system shared libraries (probably from the compat5x port) which have the system immutable bit set on them. Use 'ls -lo' to see what flags are set. Use 'chflags -0 filename' to unset any flags: note your ability to do this depends on the kern.securelevel setting. If 'sysctl kern.securelevel' returns greater than zero, then you'll need to reboot into single user in order to modify those files. 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/20080503/e3e41d56/signature.pgp From donotreply at tringme.com Sat May 3 12:04:10 2008 From: donotreply at tringme.com (TringMe) Date: Sat May 3 12:04:26 2008 Subject: Make Free Calls Worldwide - Invitation From Mohd. Aijaz Message-ID: <20080503114358.715D5B685D3@tringme.com> Dear TringMe User, Mohd. Aijaz has invited you to join TringMe and make worldwide calls FREE. TringMe allows you to make call to worldwide phones, Gtalk and any SIP phones for FREE. You can call free from your web browser, mobile or even Gtalk. TringMe also gives you a free widget which will allow your website visitors, friends and customers to call live or leave a voicemail to you - directly from the web. You will instantly receive a call or a voicemail on your existing cell phone, landline Gtalk or via e-mail. Join TringMe by clicking on the following link (or copy/paste in your browser) http://tringme.com/myinvite.php?e=freebsd-questions%40freebsd.org&f=13847-2483659572&ic=4c7e0a380ff8aa1a Feel free to write to us at support@tringme.com if you need any assistance. Regards, TringMe Support http://www.tringme.com/ From naylor.b.david at gmail.com Sat May 3 13:25:29 2008 From: naylor.b.david at gmail.com (David Naylor) Date: Sat May 3 13:25:33 2008 Subject: ATA and APIC IRQ conflict Message-ID: <200805031525.07086.naylor.b.david@gmail.com> Hi, I am trying to install FreeBSD on a gigabyte board (based on nForce 650i chipset (with MCP51 controller)) however no SATA hard drives are detected. However, if APIC is disabled then I have access to the hard drives (and only one CPU). It has been suggested that it is an IRQ conflict (or something else related to APIC). Could someone please point me in the right direction so that I could try fix this problem (i.e. how to change the IRQ of the ATA drivers or where to fiddle with APIC to try get it to work?) Thanks in advance David -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080503/78b419f0/attachment.pgp From gilles.ganault at free.fr Sat May 3 14:46:39 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat May 3 14:46:44 2008 Subject: [CRON] Recommended FTP client to download and upload files? Message-ID: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Hello I need to run a CRON job to download files from one FTP server if they're more recent, and upload them to another FTP server. The files all live in one directory, so there's no need for recursion. What command-line FTP client would you recommend for this? Thank you. From gilles.ganault at free.fr Sat May 3 14:50:04 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat May 3 14:50:09 2008 Subject: [6.3] Keeping host up to date Message-ID: Hello I have some newbie questions: 1. Am I right in understanding that running "make ; make install" in /usr/ports/ turns the port into a package, so that when I run "pkg_info", it doesn't make any difference whether a package was downloaded directly from the Net or compiled locally through the Ports collection? 2. When I run "pkg_version -v", some of the packages are out of date. Generally speaking, what is the safe way to update a package? I'm worried about compiling a new version of a ports that will break the one I already have up and running. 3. Do I really need to run both "csup standard-supfile ; csup ports-supfile" to update my ports collection? What's the difference between the two? Thank you. From sonicy at otenet.gr Sat May 3 15:07:13 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sat May 3 15:07:25 2008 Subject: [6.3] Keeping host up to date In-Reply-To: References: Message-ID: <481C7F9C.9050405@otenet.gr> Gilles wrote: > Hello > > I have some newbie questions: > > 1. Am I right in understanding that running "make ; make install" in > /usr/ports/ turns the port into a package, so that when I run > "pkg_info", it doesn't make any difference whether a package was > downloaded directly from the Net or compiled locally through the Ports > collection? > When you compile a port, a package is created and installed (but you get to select the options. Pre-built packages have the default options and are usually older versions). In fact, you can even use the ports to create packages and install them on other systems. (See man ports) > 2. When I run "pkg_version -v", some of the packages are out of date. > Generally speaking, what is the safe way to update a package? I'm > worried about compiling a new version of a ports that will break the > one I already have up and running. > There are programs to automate and safeguard the upgrade. Look at ports-mgmt/portupgrade > 3. Do I really need to run both "csup standard-supfile ; csup > ports-supfile" to update my ports collection? What's the difference > between the two? > > Thank you. > > No. You just need the ports-supfile. The standard supfile is for the base system. Assuming you are running a -RELEASE version of FreeBSD and you just want to get the latest security fixes and patches for the base system, you only need to use the freebsd-update utility. It is as simple as this: freebsd-update fetch freebsd-update install From infofarmer at FreeBSD.org Sat May 3 15:45:20 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Sat May 3 15:45:25 2008 Subject: [CRON] Recommended FTP client to download and upload files? In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Message-ID: <20080503154459.GG92161@amilo.cenkes.org> On Sat, May 03, 2008 at 04:46:27PM +0200, Gilles wrote: > Hello > > I need to run a CRON job to download files from one FTP server if > they're more recent, and upload them to another FTP server. The files > all live in one directory, so there's no need for recursion. > > What command-line FTP client would you recommend for this? ftp(1) From infofarmer at FreeBSD.org Sat May 3 15:51:14 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Sat May 3 15:51:18 2008 Subject: logger blocking In-Reply-To: <20080503111941.L10738@wojtek.tensor.gdynia.pl> References: <20080503111941.L10738@wojtek.tensor.gdynia.pl> Message-ID: <20080503155104.GH92161@amilo.cenkes.org> On Sat, May 03, 2008 at 11:21:16AM +0200, Wojciech Puchar wrote: > how to prevent logger working for non-root? > it allows any user log anything it likes. > > i can change permission for /var/run/syslogd.socket but many different > programs running as different users logs through this. Let's see what options we have... a) rm -rf /usr/bin/logger b) echo 'echo I am a bad boy;rm -rf $HOME' > /usr/bin/logger c) create group 'syslog' add good users to it chown :syslog /var/run/syslogd.socket chmod 660 /var/run/syslogd.socket From tedm at toybox.placo.com Sat May 3 16:10:00 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Sat May 3 16:10:04 2008 Subject: raid1 + degraded (take out one disk) + fatal trap 12 on next reboot In-Reply-To: <48177873.8080600@supsi.ch> Message-ID: Roberto, You can't simulate a disk drive failure that way. If you really want to know what's going on, the issue is that your pointing the swap to ar0. If you must get this booted again you can try booting into single user mode and editing /etc/fstab and pointing the partitions to /dev/ad0 instead of /dev/ar0 and booting. But this is an emergency action and is not recommended. If you want to simulate a drive failure, WHILE THE SYSTEM IS RUNNING pull the SATA connector on one drive. The system should NOT trap, it should simply print a error to the console and show it's gone into degraded mode. If you then reboot, the system may or may not come back up. You have to understand the approach of RAID mirroring. Basically this is poor-man's data protection. The idea is that a disk usually fails in the middle of the day during the worst possible time. When it does you do NOT want the server to stop or crash. You want it to keep running until the evening when you can spend a couple hours getting the disk replaced. (or until the next day when you can buy a replacement drive) When you have the replacement disk ready to plug into the system, you are supposed to run a full backup of your data on the degraded array just in case the reinsertion goes badly. I have found the safest is to leave the server alone and get the replacement disk ready. Wiping it in another system with dd if=/dev/zero of=/dev/ad1 bs=50k is the best policy before reinsertion. Follow the steps in the man page for reinsertion. Keep in mind that they don't always work. If they don't then you will have to wipe both disks and regenerate the array and reinstall the OS. That is why you make a backup first when the system is off-duty. Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Roberto Nunnari > Sent: Tuesday, April 29, 2008 12:35 PM > To: freebsd-questions@freebsd.org > Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on > next reboot > > > Nobody on this, please? :) > > > Roberto Nunnari wrote: > > Hi all! > > > > I'm playing with new HW and FreeBSD 6.3 and 7.0. > > > > I set up raid 1 on two sata disks (fakeraid on ICH9R) > > and as long as I can see, it seams to work very well. > > > > Now I'm trying to simulate 1 disk failure (I just take > > out a disk and boot again). Doesn't matter which of the > > two disks I take out, the bios correctly shows the raid > > as degraded and bootable, loads the FreeBSD loader, who > > loads the kernel and starts the boot. > > But when the kernel comes to the drives (or the swap?) > > it fatal traps 12. The trap descriptions sais that > > current process is 0 (swapper). > > > > Reading that I commented out the swap partition from fstab, > > but that doesn't help. > > > > How can I get the system to finish the boot? > > > > Thank you and best regards. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From jeffrey at goldmark.org Sat May 3 16:14:50 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Sat May 3 16:14:56 2008 Subject: [CRON] Recommended FTP client to download and upload files? In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Message-ID: <62E06D97-11D6-4D55-A2CC-5B39F06A0AFD@goldmark.org> On May 3, 2008, at 9:46 AM, Gilles wrote: > I need to run a CRON job to download files from one FTP server if > they're more recent, and upload them to another FTP server. The files > all live in one directory, so there's no need for recursion. > > What command-line FTP client would you recommend for this? lftp in ports. It is very scriptable and has built in facilities to only copy "newer" files. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From sahil at tandon.net Sat May 3 17:51:51 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat May 3 17:51:55 2008 Subject: Portmanager loop when trying to upgrade perl Message-ID: <20080503173510.GA12768@shepherd> Hi. I'm running FreeBSD 6.1. I have never had a problem with portmanager until today. I was trying to update amavisd-new. When I issued the upgrade command, portmanager started to update perl5.8. Everything was going fine until I realized it was looping. After the "3rd strike," I was told to look at the log. I am not able to glean much in the way of solutions, so hoping someone with a similar experience can help. I did see prior threads about the looping problem but I am still unable to update perl. -- Sahil Tandon From prad at towardsfreedom.com Sat May 3 18:34:34 2008 From: prad at towardsfreedom.com (prad) Date: Sat May 3 18:34:39 2008 Subject: [CRON] Recommended FTP client to download and upload files? In-Reply-To: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Message-ID: <20080503113430.409688a2@gom.home> On Sat, 03 May 2008 16:46:27 +0200 Gilles wrote: > What command-line FTP client would you recommend for this? > i like lftp the best. you can script it and everything has always worked smoothly for me using it. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From gerard at seibercom.net Sat May 3 18:48:06 2008 From: gerard at seibercom.net (Gerard) Date: Sat May 3 18:48:11 2008 Subject: Portmanager loop when trying to upgrade perl In-Reply-To: <20080503173510.GA12768@shepherd> References: <20080503173510.GA12768@shepherd> Message-ID: <20080503144756.7f0b876c@scorpio> On Sat, 3 May 2008 13:35:10 -0400 Sahil Tandon wrote: > Hi. I'm running FreeBSD 6.1. I have never had a problem with > portmanager until today. I was trying to update amavisd-new. When I > issued the upgrade command, portmanager started to update perl5.8. > Everything was going fine until I realized it was looping. After the > "3rd strike," I was told to look at the log. I am not able to glean > much in the way of solutions, so hoping someone with a similar > experience can help. I did see prior threads about the looping > problem but I am still unable to update perl. What version of portmanager are you running? The last one is '0.4.1.9' I believe. It might have been nice if you had also posted any pertinent portions of the log file also. There was a looping problem in a very old version of portmanager; however, supposedly it had been corrected. Portmanager will not update itself if I remember correctly. I believe you have to do it manually. I might suggest the following. Assuming you have the latest version of portmanager: 1) Update your ports tree 2) Clean out '/usr/ports/distfiles' Not really necessary; however, it cannot hurt. 3) If available, run: portsclean -CDLP 4) Run: portmanager -u -p -y -l Good Luck! -- Gerard gerard@seibercom.net Ban the bomb. Save the world for conventional warfare. -------------- 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/20080503/231bb9af/signature.pgp From sahil at tandon.net Sat May 3 18:58:37 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat May 3 18:58:41 2008 Subject: Portmanager loop when trying to upgrade perl In-Reply-To: <20080503144756.7f0b876c@scorpio> References: <20080503173510.GA12768@shepherd> <20080503144756.7f0b876c@scorpio> Message-ID: <20080503185830.GA12912@shepherd> * Gerard [2008-05-03 14:47:56 -0400]: > On Sat, 3 May 2008 13:35:10 -0400 > Sahil Tandon wrote: > > > Hi. I'm running FreeBSD 6.1. I have never had a problem with > > portmanager until today. I was trying to update amavisd-new. When I > > issued the upgrade command, portmanager started to update perl5.8. > > Everything was going fine until I realized it was looping. After the > > "3rd strike," I was told to look at the log. I am not able to glean > > much in the way of solutions, so hoping someone with a similar > > experience can help. I did see prior threads about the looping > > problem but I am still unable to update perl. > > > What version of portmanager are you running? The last one is '0.4.1.9' I > believe. It might have been nice if you had also posted any pertinent > portions of the log file also. There was a looping problem in a very > old version of portmanager; however, supposedly it had been corrected. > Portmanager will not update itself if I remember correctly. I believe > you have to do it manually. Sorry for not posting the log file; I meant to do this and forgot: ------------------------------------------------------------------------ autoConflicts 0 autoMoved 0 backUp 0 buildDependsAreLeaves 0 forced 0 interactive 0 log 1 pmMode 1 pristine 0 resume 0 ------------------------------------------------------------------------ Sat May 3 09:55:47 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:06:45 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:06:46 2008 perl-5.8.8_1 /lang/perl5.8 make Strike 2 Sat May 3 10:25:21 2008 perl-5.8.8_1 /lang/perl5.8 MISSING perl-5.8.8_1 /lang/perl5.8 Sat May 3 10:25:40 2008 perl-5.8.8_1 /lang/perl5.8 make Strike 3, marking port as ignore/looping Sat May 3 10:25:40 2008 portmanager 0.4.1_9 INFO: finished with some ports not updated if --log was used see /var/log/portmanager.log > Assuming you have the latest version of portmanager: I do: portmanager-0.4.1_9 > 1) Update your ports tree I did, via portsnap update. > 2) Clean out '/usr/ports/distfiles' > Not really necessary; however, it cannot hurt. Done. > 3) If available, run: portsclean -CDLP Tried this. > 4) Run: portmanager -u -p -y -l Will try this, though I am a bit reluctant to do an all-out update of everything! For what it's worth, I had a perl module installed via CPAN (instead of the ports tree, because the port does not exist), about which portmanager seems to complain. The port was for Net-DNS-Async. portmanager asks me to pkg_delete and re-install. I will try that and perhaps perl will then build/update properly. -- Sahil Tandon From roberto.nunnari at supsi.ch Sat May 3 19:55:05 2008 From: roberto.nunnari at supsi.ch (Roberto Nunnari) Date: Sat May 3 19:55:11 2008 Subject: raid1 + degraded (take out one disk) + fatal trap 12 on next reboot In-Reply-To: References: Message-ID: <481CC2ED.3020303@supsi.ch> Hi Ted. Thank you for replying to my post. see my comments below. Ted Mittelstaedt wrote: > Roberto, > > You can't simulate a disk drive failure that way. If > you really want to know what's going on, the issue is that > your pointing the swap to ar0. If you must get this > booted again you can try booting into single user mode > and editing /etc/fstab and pointing the partitions to > /dev/ad0 instead of /dev/ar0 and booting. But this is > an emergency action and is not recommended. It doesn't even get to that point.. it panics before giving me the shell for single user mode.. I even made a few tests trying to comment out the swap in fstab, but that didn't help. but it doesn't matter.. I solved the problem by removing and then readding the disk from the raid in the bios. One up again had to rebuild the raid in the OS.. and that was it.. > > If you want to simulate a drive failure, WHILE THE > SYSTEM IS RUNNING pull the SATA connector on one drive. For sure that makes for a real test.. but.. Are you sure that that will not fry up the mainboard or the drive? > > The system should NOT trap, it should simply print a > error to the console and show it's gone into degraded mode. > > If you then reboot, the system may or may not come back up. > > You have to understand the approach of RAID mirroring. Basically > this is poor-man's data protection. The idea is that a disk > usually fails in the middle of the day during the worst possible > time. When it does you do NOT want the server to stop or > crash. You want it to keep running until the evening when you > can spend a couple hours getting the disk replaced. (or until > the next day when you can buy a replacement drive) > > When you have the replacement disk ready to plug into the > system, you are supposed to run a full backup of your data > on the degraded array just in case the reinsertion goes badly. > > I have found the safest is to leave the server alone and > get the replacement disk ready. Wiping it in another system > with dd if=/dev/zero of=/dev/ad1 bs=50k is the best policy > before reinsertion. Thank you very much for these instructions. Luckly I'm not familiar with failing drives! :) > > Follow the steps in the man page for reinsertion. Keep in What man page? Again Thank you very much. Best regards. Robi > mind that they don't always work. If they don't then you will > have to wipe both disks and regenerate the array and reinstall > the OS. That is why you make a backup first when the system is > off-duty. > > Ted > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Roberto Nunnari >> Sent: Tuesday, April 29, 2008 12:35 PM >> To: freebsd-questions@freebsd.org >> Subject: Re: raid1 + degraded (take out one disk) + fatal trap 12 on >> next reboot >> >> >> Nobody on this, please? :) >> >> >> Roberto Nunnari wrote: >>> Hi all! >>> >>> I'm playing with new HW and FreeBSD 6.3 and 7.0. >>> >>> I set up raid 1 on two sata disks (fakeraid on ICH9R) >>> and as long as I can see, it seams to work very well. >>> >>> Now I'm trying to simulate 1 disk failure (I just take >>> out a disk and boot again). Doesn't matter which of the >>> two disks I take out, the bios correctly shows the raid >>> as degraded and bootable, loads the FreeBSD loader, who >>> loads the kernel and starts the boot. >>> But when the kernel comes to the drives (or the swap?) >>> it fatal traps 12. The trap descriptions sais that >>> current process is 0 (swapper). >>> >>> Reading that I commented out the swap partition from fstab, >>> but that doesn't help. >>> >>> How can I get the system to finish the boot? >>> >>> Thank you and best regards. >>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From perryh at pluto.rain.com Sat May 3 21:24:29 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sat May 3 21:24:34 2008 Subject: wine: app won't install from floppy Message-ID: <481cd29a.tpRIhFQiGHIJiBOm%perryh@pluto.rain.com> What is the correct way of installing something into wine from floppy? The obvious approach: $ wine 'a:\setup.exe' did not work with a (fairly old version of) Visio: the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' It somehow locked out CtrlAltF1 so I could not switch to a text screen, but AltTab did bring up FVWM's window list (thus making it possible to transcribe the error message into an xterm that was not related to the wine session). After clicking OK I got an info box: Visio Setup i Setup failed. and it quit when I clicked OK there. Comparing the contents of .wine before/after the attempt, it seems the only change involves the font entries in the registry: $ diff -r wineBak .wine diff -r wineBak/system.reg .wine/system.reg 9082c9082 < [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1208923638 --- > [Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1209616619 diff -r wineBak/user.reg .wine/user.reg 453c453 < [Software\\Wine\\Fonts] 1208923638 --- > [Software\\Wine\\Fonts] 1209616619 456c456 < [Software\\Wine\\Fonts\\External Fonts] 1208923638 --- > [Software\\Wine\\Fonts\\External Fonts] 1209616619 and of course I have no clue whether this makes any difference to anything. $ uname -a FreeBSD fbsd70.uucp 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $ wine --version wine-0.9.48 a: is symlinked to /fd in .wine/dosdevices and /dev/fd0 is mounted on /fd From freebsd at the-irc.org Sat May 3 22:56:47 2008 From: freebsd at the-irc.org (Free BSD) Date: Sat May 3 22:56:50 2008 Subject: FreeBSD Server Settings Consult In-Reply-To: <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> Message-ID: <322efb7b0805031556n34f00c49oe4e503f561acf366@mail.gmail.com> 4 GB physical ram but only 3GB usable via System. AMD X2 64 3800+ (2 CPUs) i386 Platform # pciconf -lv|grep ^none none0@pci0:0:17:5: class=0x040100 card=0x0c84105b chip=0x30591106 rev=0x60 hdr=0x00 Only difference is IPFW/Quota/Device Polling/2000HZ On 6.3 (now on 7) it was having random crashes 1-7 days at a time and did not produce a kernel dump. Web/IRC Hosting server All Sysctls are there from researching the internet for suggested values. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=125000 net.inet.tcp.recvspace=125000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=2048 kern.maxvnodes=132072 kern.maxfiles=32768 kern.maxfilesperproc=32768 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=1024 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=81920 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=32768 kern.maxfilesperproc=32768 accf_http_load="YES" Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #0: Fri May 2 12:52:50 CDT 2008 root@Eden.The-IRC.Org:/usr/obj/usr/src/sys/THE-IRC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1f Cores per package: 2 real memory = 3152936960 (3006 MB) avail memory = 3078762496 (2936 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bbde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on pci1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 rl0: port 0xf200-0xf2ff mem 0xdffff000-0xdffff0ff irq 19 at device 9.0 on pci0 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:58:61:20:4c rl0: [ITHREAD] atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xf900-0xf91f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xf800-0xf81f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xf700-0xf71f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xf600-0xf61f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xdfffe000-0xdfffe0ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] pmtimer0 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ukbd0: on uhub0 kbd2 at ukbd0 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ad0: 76319MB at ata0-master UDMA100 ad4: 76319MB at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a rl0: link state changed to UP - Hide quoted text - On Fri, May 2, 2008 at 7:20 PM, Mel wrote: On Friday 02 May 2008 13:28:44 Free BSD wrote: > We've been having some problems with our server and I was wondering if > someone had any advice or suggestions for our current system settings. Would help to know, at minimum: - ammount of ram - ammount of cpu's - platform (uname -m ) - pciconf -lv|grep ^none - dmesg output that complains about hardware - what's different about your kernel with respect to GENERIC What the problems are: - from the sysctl variables, I'm guessing you want more network performance - you mention core dumps, does the kernel crash? Some background: - what's the primary purpose of the machine - why are things like ipc tuned? > kern.maxfilesperproc=65536 The above will only work with programs that use open(2) exclusively and not fopen, because fopen is limited to SHRT_MAX, being 32767. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From pisymbol at gmail.com Sat May 3 23:17:17 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Sat May 3 23:17:22 2008 Subject: ATA and APIC IRQ conflict In-Reply-To: <200805031525.07086.naylor.b.david@gmail.com> References: <200805031525.07086.naylor.b.david@gmail.com> Message-ID: <3c0b01820805031617i4dc19c92tf65c8a167b881172@mail.gmail.com> David: On Sat, May 3, 2008 at 9:25 AM, David Naylor wrote: > I am trying to install FreeBSD on a gigabyte board (based on nForce 650i > chipset (with MCP51 controller)) however no SATA hard drives are detected. > However, if APIC is disabled then I have access to the hard drives (and only > one CPU). It has been suggested that it is an IRQ conflict (or something > else related to APIC). I'll bet its interrupt routing more than IRQ conflicts (which these days on a modern system really doesn't make sense). More than likely there is some funkiness going on with the BIOS's ACPI tables (I would start with the MADT and verify its entries look kosher). Though it could be a power management problem and have nothing to do with interrupts (though with the SATA hard drives not being detected I would guess its interrupts). > Could someone please point me in the right direction so that I could try fix > this problem (i.e. how to change the IRQ of the ATA drivers or where to > fiddle with APIC to try get it to work?) I would read this: http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html I would definitely set ACPI_DEBUG=1 and go from there. Perhaps if you can start dumping the AML on your system (acpidump) and any messages you get on the console (dmesg etc.) you can post them here. Also let us know what kind of BIOS options you have revolving ACPI, power management, and any legacy settings (e.g. MPS Table options if any). Without more information its hard to say what exactly is your problem other than disabling ACPI kinda fixes it. Also, PLEASE CHECK GIGABYTE's motherboard web page for any BIOS updates that have been released. Typically BIOS updates fix these kinds of problems. -aps From sahil at tandon.net Sat May 3 23:22:02 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sat May 3 23:22:06 2008 Subject: Installing PERL modules from CPAN (instead of ports) Message-ID: <20080503232156.GB13074@shepherd> In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD port, several PERL modules are required; one of them, Net::DNS::Async, also does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, but then this breaks portupgrade and portmanager when trying to update perl or keep track of new versions of the bsdpan-* "packages". Is there another way to go about this outside of trying to create my own postfwd and Net::DNS::Async ports? -- Sahil Tandon From pgollucci at p6m7g8.com Sun May 4 00:19:12 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Sun May 4 00:19:16 2008 Subject: Perl 5.8.8 Compile In-Reply-To: <44abjaxibc.fsf@be-well.ilk.org> References: <19839418.168091209608296130.JavaMail.javamailuser@localhost> <44abjaxibc.fsf@be-well.ilk.org> Message-ID: <481D00F3.5030306@p6m7g8.com> Lowell Gilbert wrote >> make: don't know how to make . Stop. Look in /usr/ports/lang/perl5.8/files/patch-makedepend Really, we should submit this and a few others back to 5.8.9 Its really annoying in a when working in a mod_perl related world to not have perl compile out of the box. Changing the install paths is one thing.... From pcloches at gmail.com Sun May 4 00:41:25 2008 From: pcloches at gmail.com (Patrick Clochesy) Date: Sun May 4 00:41:31 2008 Subject: FreeBSD Server Settings Consult In-Reply-To: <322efb7b0805031556n34f00c49oe4e503f561acf366@mail.gmail.com> References: <322efb7b0805020428y5f439fadk4b1beb95d397493@mail.gmail.com> <200805030120.05590.fbsd.questions@rachie.is-a-geek.net> <322efb7b0805031556n34f00c49oe4e503f561acf366@mail.gmail.com> Message-ID: This is a 64-bit platform... Any reasons you're on an i386 kernel? At the least it would fix your RAM issue. -Patrick On May 3, 2008, at 3:56 PM, "Free BSD" wrote: > 4 GB physical ram but only 3GB usable via System. > AMD X2 64 3800+ (2 CPUs) > > i386 Platform > > # pciconf -lv|grep ^none > none0@pci0:0:17:5: class=0x040100 card=0x0c84105b chip=0x30591106 > rev=0x60 hdr=0x00 > > > Only difference is IPFW/Quota/Device Polling/2000HZ > > > On 6.3 (now on 7) it was having random crashes 1-7 days at a time > and did > not produce a kernel dump. > > > Web/IRC Hosting server > > All Sysctls are there from researching the internet for suggested > values. > > > > > # cat /etc/sysctl.conf > > kern.ipc.maxsockbuf=1048576 > > net.inet.tcp.sendspace=125000 > net.inet.tcp.recvspace=125000 > > > net.local.stream.recvspace=65536 > net.local.stream.sendspace=65536 > net.inet.udp.recvspace=65536 > net.inet.udp.maxdgram=65535 > > kern.ipc.somaxconn=2048 > kern.maxvnodes=132072 > kern.maxfiles=32768 > kern.maxfilesperproc=32768 > > > net.inet.tcp.msl=7500 > net.inet.tcp.mssdflt=1460 > security.bsd.see_other_uids=0 > security.bsd.see_other_gids=0 > kern.fallback_elf_brand=3 > > net.inet.tcp.newreno=0 > net.inet.ip.intr_queue_maxlen=1024 > > > net.inet.tcp.rfc1323=1 > net.inet.tcp.delayed_ack=0 > net.inet.ip.check_interface=0 > > net.inet.icmp.bmcastecho=0 > net.inet.icmp.maskrepl=0 > net.inet.icmp.icmplim=500 > > net.inet.icmp.drop_redirect=1 > net.inet.icmp.log_redirect=0 > > net.inet.ip.rtexpire=2 > > net.inet.ip.rtmaxcache=1024 > > > net.inet.ip.rtminexpire=2 > net.inet.tcp.blackhole=2 > net.inet.tcp.icmp_may_rst=0 > net.inet.tcp.inflight.enable=0 > net.inet.tcp.log_in_vain=0 > net.inet.tcp.sack.enable=1 > net.inet.udp.blackhole=1 > net.inet.udp.log_in_vain=0 > net.link.ether.inet.log_arp_wrong_iface=0 > > # cat /boot/loader.conf > kern.ipc.maxsockets=32768 > > kern.ipc.nmbclusters=81920 > > > kern.ipc.nmbufs=131072 > kern.ipc.shm_use_phys=1 > kern.maxproc=8192 > net.inet.tcp.tcbhashsize=16384 > > kern.maxfiles=32768 > kern.maxfilesperproc=32768 > accf_http_load="YES" > > > > Copyright (c) 1992-2008 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-STABLE #0: Fri May 2 12:52:50 CDT 2008 > root@Eden.The-IRC.Org:/usr/obj/usr/src/sys/THE-IRC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686- > class > CPU) > Origin = "AuthenticAMD" Id = 0x40fb2 Stepping = 2 > > Features= > 0x178bfbff< > FPU, > VME, > DE, > PSE, > TSC, > MSR, > PAE, > MCE, > CX8, > APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x2001 > AMD Features=0xea500800 3DNow!> > AMD Features2=0x1f > Cores per package: 2 > real memory = 3152936960 (3006 MB) > avail memory = 3078762496 (2936 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, > RF5413) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, bbde0000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > powernow0: on cpu0 > cpu1: on acpi0 > powernow1: on cpu1 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem > 0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 16 at device 0.0 on > pci1 > pcib2: irq 27 at device 2.0 on pci0 > pci2: on pcib2 > pcib3: irq 31 at device 3.0 on pci0 > pci3: on pcib3 > rl0: port 0xf200-0xf2ff mem > 0xdffff000-0xdffff0ff irq 19 at device 9.0 on pci0 > miibus0: on rl0 > rlphy0: PHY 0 on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:15:58:61:20:4c > rl0: [ITHREAD] > atapci0: port > 0xff00- > 0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f, > 0xf400-0xf4ff > irq 20 at device 15.0 on pci0 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on > pci0 > ata0: on atapci1 > ata0: [ITHREAD] > ata1: on atapci1 > ata1: [ITHREAD] > uhci0: port 0xf900-0xf91f irq 21 at > device 16.0 > on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xf800-0xf81f irq 21 at > device 16.1 > on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xf700-0xf71f irq 21 at > device 16.2 > on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > uhci3: port 0xf600-0xf61f irq 21 at > device 16.3 > on pci0 > uhci3: [GIANT-LOCKED] > uhci3: [ITHREAD] > usb3: on uhci3 > usb3: USB revision 1.0 > uhub3: on usb3 > uhub3: 2 ports with 2 removable, self powered > ehci0: mem 0xdfffe000-0xdfffe0ff irq > 21 at > device 16.4 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb4: EHCI version 1.0 > usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 > usb4: on ehci0 > usb4: USB revision 2.0 > uhub4: on usb4 > uhub4: 8 ports with 8 removable, self powered > isab0: at device 17.0 on pci0 > isa0: on isab0 > pci0: at device 17.5 (no driver attached) > acpi_tz0: on acpi0 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 > on > acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > sio1: [FILTER] > pmtimer0 on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > ppbus0: [ITHREAD] > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ppc0: [GIANT-LOCKED] > ppc0: [ITHREAD] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > ukbd0: on > uhub0 > kbd2 at ukbd0 > Timecounters tick every 1.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based > forwarding enabled, default to accept, logging limited to 100 > packets/entry > by default > ad0: 76319MB at ata0-master UDMA100 > ad4: 76319MB at ata2-master SATA150 > SMP: AP CPU #1 Launched! > Trying to mount root from ufs:/dev/ad4s1a > rl0: link state changed to UP > > - Hide quoted text - > > > > On Fri, May 2, 2008 at 7:20 PM, Mel > > wrote: > > On Friday 02 May 2008 13:28:44 Free BSD wrote: >> We've been having some problems with our server and I was wondering >> if >> someone had any advice or suggestions for our current system >> settings. > > Would help to know, at minimum: > - ammount of ram > - ammount of cpu's > - platform (uname -m ) > - pciconf -lv|grep ^none > - dmesg output that complains about hardware > - what's different about your kernel with respect to GENERIC > > What the problems are: > - from the sysctl variables, I'm guessing you want more network > performance > - you mention core dumps, does the kernel crash? > > Some background: > - what's the primary purpose of the machine > - why are things like ipc tuned? > > >> kern.maxfilesperproc=65536 > > The above will only work with programs that use open(2) exclusively > and not > fopen, because fopen is limited to SHRT_MAX, being 32767. > > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > _______________________________________________ > 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 dan at langille.org Sun May 4 04:10:09 2008 From: dan at langille.org (Dan Langille) Date: Sun May 4 04:10:13 2008 Subject: The FreeBSD Diary: 2008-04-13 - 2008-05-03 Message-ID: <20080504041002.03A4350841@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 . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From marufos at gmail.com Sun May 4 06:02:00 2008 From: marufos at gmail.com (Emanuel Marufo) Date: Sun May 4 06:02:03 2008 Subject: Trouble with pfsense and NFS Message-ID: <8d954c40805032234j52a2f8adh6733f2baf8d2c3e6@mail.gmail.com> Hello everybody!! I got a problem with pfsense, i expect to you can help me. I have replaced my Openbsd box with pfsense. The pfsense settings are the next: one interface have internet, the other have the lan, and the last have dmz with only one server which one have FBSD 5.4, and serve NIS and NFS. My problem is between my linux clients (wich ones have a nfsv3) and the server, the pfsense is blocking the nfs traffic. I tested pfctl -d and clients works perfect, but when i activated pf, nfs is getting down. The result is the same when i load a pf.conf with no rules. I deactived the menu options: Clear DF bit instead of dropping Disable Firewall Scrub but the problem continue. What can i do?, and where are the rules? From sahil at tandon.net Sun May 4 06:07:27 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun May 4 06:07:30 2008 Subject: Trouble with pfsense and NFS In-Reply-To: <8d954c40805032234j52a2f8adh6733f2baf8d2c3e6@mail.gmail.com> References: <8d954c40805032234j52a2f8adh6733f2baf8d2c3e6@mail.gmail.com> Message-ID: <20080504060720.GA14086@shepherd> * Emanuel Marufo [2008-05-04 00:34:11 -0500]: > I got a problem with pfsense, i expect to you can help me. Have you tried asking on the pfSense mailing list? They might be more receptive. http://www.pfsense.org/index.php?option=com_content&task=view&id=66&Itemid=71 [...] -- Sahil Tandon From outbackdingo at gmail.com Sun May 4 06:16:17 2008 From: outbackdingo at gmail.com (Outback Dingo) Date: Sun May 4 06:16:21 2008 Subject: Trouble with pfsense and NFS In-Reply-To: <8d954c40805032234j52a2f8adh6733f2baf8d2c3e6@mail.gmail.com> References: <8d954c40805032234j52a2f8adh6733f2baf8d2c3e6@mail.gmail.com> Message-ID: <5635aa0d0805032316h3964483epf881011157a0cf6b@mail.gmail.com> this should go to the pfsense list, not the FreeBSD list On Sun, May 4, 2008 at 12:34 PM, Emanuel Marufo wrote: > Hello everybody!! > > I got a problem with pfsense, i expect to you can help me. > > I have replaced my Openbsd box with pfsense. > > The pfsense settings are the next: one interface have internet, the > other have the lan, and the last have dmz with only one server which > one have FBSD 5.4, and serve NIS and NFS. > > My problem is between my linux clients (wich ones have a nfsv3) and > the server, the pfsense is blocking the nfs traffic. > > I tested pfctl -d and clients works perfect, but when i activated pf, > nfs is getting down. The result is the same when i load a pf.conf with > no rules. > > > I deactived the menu options: > > Clear DF bit instead of dropping > Disable Firewall Scrub > > but the problem continue. > > What can i do?, and where are the rules? > _______________________________________________ > 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 Sun May 4 07:40:44 2008 From: unga888 at yahoo.com (Unga) Date: Sun May 4 07:40:49 2008 Subject: Variable arg function question Message-ID: <336540.36159.qm@web57014.mail.re3.yahoo.com> Hi all I need to implement a variable argument function in C. The number of args are not known but the type is known, all are strings. Unfortunately va_arg() [stdarg(3)] does not return NULL or any other suitable value after processing the arg list, it just simply crashes once the arg list is exhausted. It seems there is no way to know the number of args inside the called function. How do you guys implement variable arg function such as f(str1, str2, str3, ..., strN)? Sorry for the sightly off topic question, the only relevance is I'm programming this app on FreeBSD 7.0 :) Many thanks in advance. Kind regards Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From rsmith at xs4all.nl Sun May 4 07:55:21 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 4 07:55:25 2008 Subject: Variable arg function question In-Reply-To: <336540.36159.qm@web57014.mail.re3.yahoo.com> References: <336540.36159.qm@web57014.mail.re3.yahoo.com> Message-ID: <20080504075517.GA46776@slackbox.xs4all.nl> On Sun, May 04, 2008 at 12:40:43AM -0700, Unga wrote: > Hi all > > I need to implement a variable argument function in C. > The number of args are not known but the type is > known, all are strings. > > Unfortunately va_arg() [stdarg(3)] does not return > NULL or any other suitable value after processing the > arg list, it just simply crashes once the arg list is > exhausted. It is _your_ task to properly close the argument list. E.g. by supplying a NULL pointer as the last argument. > It seems there is no way to know the number of args > inside the called function. Not with stdarg. > How do you guys implement variable arg function such > as f(str1, str2, str3, ..., strN)? you could use the same format as main: int foo(int num, char **args) 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/20080504/0049728d/attachment.pgp From neil at darlow.co.uk Sun May 4 09:51:00 2008 From: neil at darlow.co.uk (Neil Darlow) Date: Sun May 4 09:51:05 2008 Subject: cvsup.uk.freebsd.org not updating? Message-ID: <481D8441.2030205@darlow.co.uk> Hi, It looks like cvsup.uk.freebsd.org hasn't updated in a few days. The latest updates to ImageMagick, php5 and samba3 haven't appeared yet. Regards, Neil Darlow From cb at lim.nl Sun May 4 09:57:50 2008 From: cb at lim.nl (Colin Brace) Date: Sun May 4 09:57:54 2008 Subject: server (partly) fails: hardware? Message-ID: Hi all, I have FreeBSD installed on a ~6 year old IBM NetVista box; it serves a headless gateway/server/WAP for my home network. I upgraded it from v6 to v7 in mid January, building a custom kernel with altq and the new scheduler. It has been running fine since early December. However, three times during the past few days, it has stop functioning. The WAN connection dies and I can no longer ssh into the box. However, I can still ping it, and I can still ssh from one LAN client to another via the FreeBSD box. IOW, it seems to be dying, but not freezing, if that makes any sense. Alas, there is nothing in /var/messages to indicate what happens. I don't think it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB RAM, rarely uses swap, and the load averages tend to be very light. At this point, I assume a hardware issue, and I can have the box tested by a local whitebox shop later this week, but I am open to other avenues to purse as well. Thanks in advance for any ideas. -- Colin Brace Amsterdam http://lim.nl From chrizach at gmail.com Sun May 4 10:35:19 2008 From: chrizach at gmail.com (Christian Zachariasen) Date: Sun May 4 10:35:24 2008 Subject: server (partly) fails: hardware? In-Reply-To: References: Message-ID: <4a89d1190805040335r18ecc433ie6631a64866fd99a@mail.gmail.com> On Sun, May 4, 2008 at 11:38 AM, Colin Brace wrote: > > Hi all, > > I have FreeBSD installed on a ~6 year old IBM NetVista box; it serves a > headless gateway/server/WAP for my home network. I upgraded it from v6 to > v7 in mid January, building a custom kernel with altq and the new > scheduler. It has been running fine since early December. > > However, three times during the past few days, it has stop functioning. > The > WAN connection dies and I can no longer ssh into the box. However, I can > still ping it, and I can still ssh from one LAN client to another via the > FreeBSD box. > > IOW, it seems to be dying, but not freezing, if that makes any sense. > Alas, > there is nothing in /var/messages to indicate what happens. I don't think > it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB > RAM, rarely uses swap, and the load averages tend to be very light. > > At this point, I assume a hardware issue, and I can have the box tested by > a local whitebox shop later this week, but I am open to other avenues to > purse as well. > > Thanks in advance for any ideas. > > -- > Colin Brace > Amsterdam > http://lim.nl > > _______________________________________________ > 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" > Can you predict at what point the server will crash? Is it after performing a specific action, or at a certain time of day? If you can connect a monitor to the server and actually see what happens and also if it still accepts keystrokes and stuff, that would probably help in diagnosing the problem. Another tip might be to download memtest86 and run it for a while on the machine, in order to make sure the memory is working correctly. You're saying the machine has been running stable for a while, but it's nice to get things like this out of the way so you at least know what isn't wrong. Regards, Christian Zachariasen From unga888 at yahoo.com Sun May 4 11:01:40 2008 From: unga888 at yahoo.com (Unga) Date: Sun May 4 11:01:45 2008 Subject: Variable arg function question In-Reply-To: <20080504075517.GA46776@slackbox.xs4all.nl> Message-ID: <404840.88790.qm@web57007.mail.re3.yahoo.com> --- Roland Smith wrote: > On Sun, May 04, 2008 at 12:40:43AM -0700, Unga > wrote: > > Hi all > > > > I need to implement a variable argument function > in C. > > The number of args are not known but the type is > > known, all are strings. > > > > Unfortunately va_arg() [stdarg(3)] does not return > > NULL or any other suitable value after processing > the > > arg list, it just simply crashes once the arg list > is > > exhausted. > > It is _your_ task to properly close the argument > list. E.g. by supplying > a NULL pointer as the last argument. > Infact, I have implemented it in this way. I was wondering if there is a better way. The issue I see is, if someone forget to close the arg list with NULL pointer, it crashes. > > How do you guys implement variable arg function > such > > as f(str1, str2, str3, ..., strN)? > > you could use the same format as main: int foo(int > num, char **args) > This is interesting. Who set the num? The compiler or the user. If it is the user, its no better than above NULL pointer method. If this is possible, my problem is solved: f(str1, str2, str3, ..., strN) is at compile time expands to _f(int num, str1, str2, str3, ..., strN). The num is set automatically by the compiler by counting the args. Is this possible? Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From rsmith at xs4all.nl Sun May 4 11:34:06 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 4 11:34:10 2008 Subject: Variable arg function question In-Reply-To: <404840.88790.qm@web57007.mail.re3.yahoo.com> References: <20080504075517.GA46776@slackbox.xs4all.nl> <404840.88790.qm@web57007.mail.re3.yahoo.com> Message-ID: <20080504113403.GA51963@slackbox.xs4all.nl> On Sun, May 04, 2008 at 04:01:39AM -0700, Unga wrote: > > > Unfortunately va_arg() [stdarg(3)] does not return > > > NULL or any other suitable value after processing > > the > > > arg list, it just simply crashes once the arg list > > is > > > exhausted. > > > > It is _your_ task to properly close the argument > > list. E.g. by supplying > > a NULL pointer as the last argument. > > > Infact, I have implemented it in this way. I was > wondering if there is a better way. Not really within the bounds of the C language. > > > How do you guys implement variable arg function > > such > > > as f(str1, str2, str3, ..., strN)? > > > > you could use the same format as main: int foo(int > > num, char **args) > > > > This is interesting. Who set the num? The compiler or > the user. If it is the user, its no better than above > NULL pointer method. > > If this is possible, my problem is solved: > f(str1, str2, str3, ..., strN) is at compile time > expands to _f(int num, str1, str2, str3, ..., strN). > > The num is set automatically by the compiler by > counting the args. > > Is this possible? You could write a custom preporcessor that translates f calls into calls for _f. 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/20080504/ed0c1bd4/attachment.pgp From peter at boosten.org Sun May 4 11:42:08 2008 From: peter at boosten.org (Peter Boosten) Date: Sun May 4 11:42:13 2008 Subject: Variable arg function question In-Reply-To: <336540.36159.qm@web57014.mail.re3.yahoo.com> References: <336540.36159.qm@web57014.mail.re3.yahoo.com> Message-ID: <481DA10B.30903@boosten.org> Unga wrote: > Hi all > > I need to implement a variable argument function in C. > The number of args are not known but the type is > known, all are strings. > > Unfortunately va_arg() [stdarg(3)] does not return > NULL or any other suitable value after processing the > arg list, it just simply crashes once the arg list is > exhausted. > > It seems there is no way to know the number of args > inside the called function. Why is it in your opinion so hard to count the number of arguments *before* you call the function, in other words, what in your program prevents this count? Peter -- http://www.boosten.org From tijl at ulyssis.org Sun May 4 12:39:15 2008 From: tijl at ulyssis.org (Tijl Coosemans) Date: Sun May 4 12:39:18 2008 Subject: wine: notepad OK, others not In-Reply-To: <4816bbdd.lbQT9XZN0V0Ecl9s%perryh@pluto.rain.com> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804281503.33922.tijl@ulyssis.org> <4816bbdd.lbQT9XZN0V0Ecl9s%perryh@pluto.rain.com> Message-ID: <200805041409.51904.tijl@ulyssis.org> On Tuesday 29 April 2008 08:10:37 perryh@pluto.rain.com wrote: >> Wine has its own simple version of Wordpad though. >> Just run "wine wordpad". > > This version has its own notepad, but it doesn't appear to have > wordpad. (There's no "wordpad.exe" that I can find, but there > are two identical copies of "notepad.exe" -- one in .../windows > and the other in .../windows/system32.) "wine wordpad" still works though. It's in /usr/local/lib/wine. From tijl at ulyssis.org Sun May 4 13:10:46 2008 From: tijl at ulyssis.org (Tijl Coosemans) Date: Sun May 4 13:10:50 2008 Subject: wine: notepad OK, others not In-Reply-To: <48195c77.gWKwJdFnMZSip4d4%perryh@pluto.rain.com> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804231409.21628.tijl@ulyssis.org> <48195c77.gWKwJdFnMZSip4d4%perryh@pluto.rain.com> Message-ID: <200805041509.12737.tijl@ulyssis.org> On Thursday 01 May 2008 08:00:23 perryh@pluto.rain.com wrote: >> You have to mount the floppy and then link a: to the mount point. >> So if you mount it under /mnt you'd need this: >> >> mount -t msdosfs /dev/fd0 /mnt >> ln -s /mnt ~/.wine/dosdevices/a: > > That got only a little bit farther. It did find the setup program, > and the option dialogs seemed to work properly, but very shortly > after starting the actual install I got an error box: > > > VISIO Setup > > ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' > > > and it locked up the display so that CtrlAltF1 would not switch > to a text screen (although it did allow AltTab to bring up FVWM's > window list). After clicking OK: > > > Visio Setup > > i Setup failed. > > > and it quit. Were there any messages printed in the terminal window? What version of Visio is this? You might also want to try on a Linux system if you have that somewhere, just to see if it works there. Also, you should really take this to the wine-users@winehq.org mailing list. The people there should know more about this than here on a FreeBSD mailing list. From justinjereza at gmail.com Sun May 4 13:45:36 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Sun May 4 13:45:39 2008 Subject: MRTG registers zero throughput Message-ID: <53f591170805040618r2fc279edhcf9e9eef8267d0a4@mail.gmail.com> Hello. I'm using net-snmp and mrtg. snmpwalk returns the counters with values but MRTG isn't registering anything. Does anybody have a clue why? LogDir: /usr/local/www/mrtg/log HtmlDir: /usr/local/www/mrtg/data ImageDir: /usr/local/www/mrtg/data/images Options[_]: growright, bits PageTop[^]:

Traffic Analysis for mainstreetph.dnsalias.com

Title[PPPoE]: Traffic Analysis for PPPoE @ mainstreetph.dnsalias.com Target[PPPoE]: \tun0:mainstreetph@gateway:::::2 MaxBytes[PPPoE]: 250000
# sec.name source community com2sec local localhost private com2sec network 192.168.5.0/24 mainstreetph #### # Second, map the security names into group names: # sec.model sec.name group RWGroup v1 local group RWGroup v2c local group RWGroup usm local group ROGroup v1 network group ROGroup v2c network group ROGroup usm network #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included .1 80 #### # Finally, grant the 2 groups access to the 1 view with different # write permissions: # context sec.model sec.level match read write notif access ROGroup "" any noauth exact all none none access RWGroup "" any noauth exact all all none Thanks. From pcloches at gmail.com Sun May 4 14:02:50 2008 From: pcloches at gmail.com (Patrick Clochesy) Date: Sun May 4 14:02:55 2008 Subject: Variable arg function question In-Reply-To: <481DA10B.30903@boosten.org> References: <336540.36159.qm@web57014.mail.re3.yahoo.com> <481DA10B.30903@boosten.org> Message-ID: <8FF3737F-1292-4A19-8A7D-789D8DD70CBE@gmail.com> What about using a macro (...) in front of the function to csll it which passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think this would at least work in GCC... Can' test on my phone though. -Patrick On May 4, 2008, at 4:42 AM, Peter Boosten wrote: > Unga wrote: >> Hi all >> I need to implement a variable argument function in C. >> The number of args are not known but the type is >> known, all are strings. >> Unfortunately va_arg() [stdarg(3)] does not return >> NULL or any other suitable value after processing the >> arg list, it just simply crashes once the arg list is >> exhausted. >> It seems there is no way to know the number of args >> inside the called function. > > Why is it in your opinion so hard to count the number of arguments > *before* you call the function, in other words, what in your program > prevents this count? > > Peter > -- > http://www.boosten.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 magalhj at yahoo.com.br Sun May 4 14:04:01 2008 From: magalhj at yahoo.com.br (Aguiar Magalhaes) Date: Sun May 4 14:04:06 2008 Subject: make buildworld Message-ID: <97010.8736.qm@web31604.mail.mud.yahoo.com> Hi list, How can i fix the error below ? Thanks, Aguiar # make buildworld - - - - - - - - - - - - - - - - - - - - - cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/li bc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib /libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/lib c/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES _BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem- headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/l ib/libc/stdlib/strtoul.c In file included from /usr/src/lib/libc/stdlib/strtoul.c:39: /usr/src/lib/libc/../../include/stdlib.h:98: internal compiler error: Segmentati on fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop in /usr/src/lib/libc. *** Error code 1 Stop in /usr/src. *** Error code 1 - - - - - - - - - - - - - - - - - - - Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento! http://br.mail.yahoo.com/ From josh.carroll at gmail.com Sun May 4 14:23:16 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Sun May 4 14:23:19 2008 Subject: make buildworld In-Reply-To: <97010.8736.qm@web31604.mail.mud.yahoo.com> References: <97010.8736.qm@web31604.mail.mud.yahoo.com> Message-ID: <8cb6106e0805040723s11012743qc44d9497ba05452f@mail.gmail.com> On Sun, May 4, 2008 at 10:03 AM, Aguiar Magalhaes wrote: > Hi list, > > How can i fix the error below ? > > Thanks, > > Aguiar > > > # make buildworld > > - - - - - - - - - - - - - - - - - - - - - > cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/li > bc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib > /libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/lib > c/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES > _BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem- > headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/l > ib/libc/stdlib/strtoul.c > In file included from /usr/src/lib/libc/stdlib/strtoul.c:39: > /usr/src/lib/libc/../../include/stdlib.h:98: internal compiler error: Segmentati > on fault: 11 Typically, a segfault from gcc indicates failing hardware, the most likely culprit being the RAM. Test the RAM with memtest86 (http://memtest86.com/download.html) to rule it out. Josh From rsmith at xs4all.nl Sun May 4 14:45:36 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 4 14:45:43 2008 Subject: Variable arg function question In-Reply-To: <8FF3737F-1292-4A19-8A7D-789D8DD70CBE@gmail.com> References: <336540.36159.qm@web57014.mail.re3.yahoo.com> <481DA10B.30903@boosten.org> <8FF3737F-1292-4A19-8A7D-789D8DD70CBE@gmail.com> Message-ID: <20080504144532.GA56965@slackbox.xs4all.nl> On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick Clochesy wrote: > What about using a macro (...) in front of the function to csll it which > passes __VARARGS__, NULL to ensure there is always a trailing NULL? I think > this would at least work in GCC... Can' test on my phone though. That's a good idea. If one uses __VA_ARGS__ instead of __VARARGS__, it should work with any C99 compliant compiler, including gcc. The good thing about variadic macros in C99[1] is that you don't need a first argument. Roland [1: http://en.wikipedia.org/wiki/Variadic_macro] -- 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/20080504/57e26529/attachment.pgp From unga888 at yahoo.com Sun May 4 15:34:31 2008 From: unga888 at yahoo.com (Unga) Date: Sun May 4 15:34:36 2008 Subject: Variable arg function question In-Reply-To: <20080504144532.GA56965@slackbox.xs4all.nl> Message-ID: <630200.71551.qm@web57011.mail.re3.yahoo.com> --- Roland Smith wrote: > On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick > Clochesy wrote: > > What about using a macro (...) in front of the > function to csll it which > > passes __VARARGS__, NULL to ensure there is always > a trailing NULL? I think > > this would at least work in GCC... Can' test on my > phone though. > > That's a good idea. If one uses __VA_ARGS__ instead > of __VARARGS__, it > should work with any C99 compliant compiler, > including gcc. > > The good thing about variadic macros in C99[1] is > that you don't need a > first argument. > > Roland > > [1: http://en.wikipedia.org/wiki/Variadic_macro] > -- I gave it a try, but I cannot get it to work: (As per above wikipedia example) void realdprintf (char const *file, int line, char const *fmt, ...); #define dprintf(...) realdprintf(__FILE__, __LINE__, __VA_ARGS__) To solve my problem, I must be able to indicate the end of the arg list, may be by a empty string (""), but GNU C compiler does not allow to specify anything after the ... . How do I specify end of arg list? or is that the way? Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From rsmith at xs4all.nl Sun May 4 15:47:37 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Sun May 4 15:47:42 2008 Subject: Variable arg function question In-Reply-To: <630200.71551.qm@web57011.mail.re3.yahoo.com> References: <20080504144532.GA56965@slackbox.xs4all.nl> <630200.71551.qm@web57011.mail.re3.yahoo.com> Message-ID: <20080504154734.GA98310@slackbox.xs4all.nl> On Sun, May 04, 2008 at 08:34:30AM -0700, Unga wrote: > > --- Roland Smith wrote: > > > On Sun, May 04, 2008 at 07:02:36AM -0700, Patrick > > Clochesy wrote: > > > What about using a macro (...) in front of the > > function to csll it which > > > passes __VARARGS__, NULL to ensure there is always > > a trailing NULL? I think > > > this would at least work in GCC... Can' test on my > > phone though. > > > > That's a good idea. If one uses __VA_ARGS__ instead > > of __VARARGS__, it > > should work with any C99 compliant compiler, > > including gcc. > I gave it a try, but I cannot get it to work: > (As per above wikipedia example) > > void realdprintf (char const *file, int line, char > const *fmt, ...); > #define dprintf(...) realdprintf(__FILE__, __LINE__, > __VA_ARGS__) > > To solve my problem, I must be able to indicate the > end of the arg list, may be by a empty string (""), > but GNU C compiler does not allow to specify anything > after the ... . Try something like what Patrick suggested: #define f(...) _f(__VA_ARGS__,NULL) 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/20080504/84c7fb18/attachment.pgp From unga888 at yahoo.com Sun May 4 15:58:31 2008 From: unga888 at yahoo.com (Unga) Date: Sun May 4 15:58:35 2008 Subject: Variable arg function question [SOLVED] In-Reply-To: <20080504154734.GA98310@slackbox.xs4all.nl> Message-ID: <861035.74979.qm@web57007.mail.re3.yahoo.com> --- Roland Smith wrote: > On Sun, May 04, 2008 at 08:34:30AM -0700, Unga > wrote: > > > > --- Roland Smith wrote: > > > > > On Sun, May 04, 2008 at 07:02:36AM -0700, > Patrick > > > Clochesy wrote: > > > > What about using a macro (...) in front of the > > > function to csll it which > > > > passes __VARARGS__, NULL to ensure there is > always > > > a trailing NULL? I think > > > > this would at least work in GCC... Can' test > on my > > > phone though. > > > > > > That's a good idea. If one uses __VA_ARGS__ > instead > > > of __VARARGS__, it > > > should work with any C99 compliant compiler, > > > including gcc. > > > I gave it a try, but I cannot get it to work: > > (As per above wikipedia example) > > > > void realdprintf (char const *file, int line, char > > const *fmt, ...); > > #define dprintf(...) realdprintf(__FILE__, > __LINE__, > > __VA_ARGS__) > > > > To solve my problem, I must be able to indicate > the > > end of the arg list, may be by a empty string > (""), > > but GNU C compiler does not allow to specify > anything > > after the ... . > > Try something like what Patrick suggested: > > #define f(...) _f(__VA_ARGS__,NULL) > Hey, it worked :) Thanks guys for the help. Appreciate it very much. Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From justinjereza at gmail.com Sun May 4 16:15:41 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Sun May 4 16:15:45 2008 Subject: MRTG registers zero throughput In-Reply-To: <53f591170805040618r2fc279edhcf9e9eef8267d0a4@mail.gmail.com> References: <53f591170805040618r2fc279edhcf9e9eef8267d0a4@mail.gmail.com> Message-ID: <53f591170805040915s3e607ed8k7c02b2b9464d594b@mail.gmail.com> Nevermind. I figured it out. net-snmp wasn't returning ifHC* counters. From infofarmer at FreeBSD.org Sun May 4 16:23:13 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Sun May 4 16:23:17 2008 Subject: Installing PERL modules from CPAN (instead of ports) In-Reply-To: <20080503232156.GB13074@shepherd> References: <20080503232156.GB13074@shepherd> Message-ID: <20080504162307.GK92161@amilo.cenkes.org> On Sat, May 03, 2008 at 07:21:57PM -0400, Sahil Tandon wrote: > In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD > port, several PERL modules are required; one of them, Net::DNS::Async, also > does not exist as a FreeBSD port. If I install this via CPAN, postfwd works, > but then this breaks portupgrade and portmanager when trying to update perl > or keep track of new versions of the bsdpan-* "packages". Is there another > way to go about this outside of trying to create my own postfwd and > Net::DNS::Async ports? Try to request help on perl@FreeBSD.org (cc'ed). Perl ports are usually very easy to create and maintain, so if you don't want to spend 30 minutes learning, someone with enough experience can probably do it in a couple of minutes if you ask nicely :) Yes, making a new port is the easiest way to install something from CPAN. From sahil at tandon.net Sun May 4 16:59:45 2008 From: sahil at tandon.net (Sahil Tandon) Date: Sun May 4 16:59:49 2008 Subject: Installing PERL modules from CPAN (instead of ports) In-Reply-To: <20080504162307.GK92161@amilo.cenkes.org> References: <20080503232156.GB13074@shepherd> <20080504162307.GK92161@amilo.cenkes.org> Message-ID: <20080504165937.GA14899@shepherd> * Andrew Pantyukhin [2008-05-04 20:23:09 +0400]: > Try to request help on perl@FreeBSD.org (cc'ed). Perl ports are > usually very easy to create and maintain, so if you don't want to > spend 30 minutes learning, someone with enough experience can > probably do it in a couple of minutes if you ask nicely :) I did not mean to imply I was unwilling to create the port; was just curious about how to not "break" the existing setup when installing modules outside of the ports tree. Someone replied off-list suggesting I install to a ~/local dir and set $PERL5LIB to take that directory into account. > Yes, making a new port is the easiest way to install something > from CPAN. I do prefer to keep everything organized in ports, so I created my first port: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 Let's hope I didn't totally mess it up. :-) -- Sahil Tandon From wojtek at wojtek.tensor.gdynia.pl Sun May 4 18:14:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 4 18:15:01 2008 Subject: server (partly) fails: hardware? In-Reply-To: References: Message-ID: <20080504201319.B21598@wojtek.tensor.gdynia.pl> > However, three times during the past few days, it has stop functioning. The > WAN connection dies and I can no longer ssh into the box. However, I can > still ping it, and I can still ssh from one LAN client to another via the > FreeBSD box. disk I/O hangs while everything else works. check with smartmontools if your disk report problems, if not - check cables. > IOW, it seems to be dying, but not freezing, if that makes any sense. Alas, > there is nothing in /var/messages to indicate what happens. I don't think because it can't write to disk. > it is succumbing to excessive load; it has a 1.6 MHz Pentium IV, 512 MB > RAM, rarely uses swap, and the load averages tend to be very light. FreeBSD runs fine on pentium 90 with 16MB RAM (with slightly cutdown kernel), without changes on 32. From wojtek at wojtek.tensor.gdynia.pl Sun May 4 18:16:26 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 4 18:16:28 2008 Subject: server (partly) fails: hardware? In-Reply-To: <4a89d1190805040335r18ecc433ie6631a64866fd99a@mail.gmail.com> References: <4a89d1190805040335r18ecc433ie6631a64866fd99a@mail.gmail.com> Message-ID: <20080504201503.H21598@wojtek.tensor.gdynia.pl> > Can you predict at what point the server will crash? Is it after performing > a specific action, or at a certain time of day? i think it's quite inpredictable, with probability proportional to disk load. > > If you can connect a monitor to the server and actually see what happens and > also if it still accepts keystrokes and stuff, that would probably help in > diagnosing the problem. yes it will. i had such problem many times. it's always disk/cables/controller problem. > > Another tip might be to download memtest86 and run it for a while on the memory is fine, disk or disk controler or cables are not. From ervin23 at gmail.com Sun May 4 18:30:49 2008 From: ervin23 at gmail.com (ervin23) Date: Sun May 4 18:30:53 2008 Subject: ervin23 wants to keep up with you on Twitter Message-ID: <481dfae232548_467a155558ecb194159e@twitter-web062.twitter.com.tmail> To find out more about Twitter, visit the link below: http://twitter.com/i/d39670c3f0bdd963baf947fd0a553d660785239e Thanks, -The Twitter Team About Twitter Twitter is a unique approach to communication and networking based on the simple concept of status. What are you doing? What are your friends doing?right now? With Twitter, you may answer this question over SMS, IM, or the Web and the responses are shared between contacts. This message was sent by a Twitter user who entered your email address. If you'd prefer not to receive emails when other people invite you to Twitter, click here: http://twitter.com/i/optout/54d2818621708297ba98eb53519d1e49b5d920d2 From doug at fledge.watson.org Sun May 4 18:59:41 2008 From: doug at fledge.watson.org (doug) Date: Sun May 4 18:59:45 2008 Subject: Trouble making a bootable CD Message-ID: <20080504145236.Q24925@fledge.watson.org> I need to make a custom 4.X CD-ROM. I think my problem is finind a correct boot image. The only image I can find either on systems that need upgrading or via cvs /boot/cdboot is 1184 bytes. Shouldn't this be 1200 bytes? I have made a CD using the 4.X /boot/cdboot and one using a later version that is 1200 bytes. Neither works. My question: is the 1184 byte boot image okay? thanks for any thoughts DougD From fbsd.questions at rachie.is-a-geek.net Sun May 4 19:05:58 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sun May 4 19:06:02 2008 Subject: [6.3] Keeping host up to date In-Reply-To: <481C7F9C.9050405@otenet.gr> References: <481C7F9C.9050405@otenet.gr> Message-ID: <200805042105.17390.fbsd.questions@rachie.is-a-geek.net> On Saturday 03 May 2008 17:07:08 Manolis Kiagias wrote: > Gilles wrote: > > Hello > > > > I have some newbie questions: > > > > 1. Am I right in understanding that running "make ; make install" in > > /usr/ports/ turns the port into a package, so that when I run > > "pkg_info", it doesn't make any difference whether a package was > > downloaded directly from the Net or compiled locally through the Ports > > collection? > > When you compile a port, a package is created and installed (but you get > to select the options. Pre-built packages have the default options and > are usually older versions). In fact, you can even use the ports to > create packages and install them on other systems. (See man ports) Probably the most confusing thing for someone new to the ports system is: - that a port that gets installed is referred to as a package - that a tarball containing the compiled files to install a port is also called a package. When you compile and install a port, a tarball is NOT created. The 'make package' target will do this for you. Also, pre-built packages from FreeBSD-servers have the default options, or more to the point the options that are set by the PACKAGE_BUILDING switch in the port's Makefile if present. But since you can make your own packages, it is perfectly ok to use a build 'server' and upgrade 'client' machines using your own packages and your own options. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From cb at lim.nl Sun May 4 19:06:44 2008 From: cb at lim.nl (Colin Brace) Date: Sun May 4 19:06:46 2008 Subject: server (partly) fails: hardware? In-Reply-To: <20080504201503.H21598@wojtek.tensor.gdynia.pl> References: <4a89d1190805040335r18ecc433ie6631a64866fd99a@mail.gmail.com> <20080504201503.H21598@wojtek.tensor.gdynia.pl> Message-ID: On Sun, 4 May 2008 20:14:45 +0200 (CEST), Wojciech Puchar wrote: > disk I/O hangs while everything else works. > check with smartmontools if your disk report problems, if not - check > cables. Thanks for the tip. This sounds promising. > FreeBSD runs fine on pentium 90 with 16MB RAM (with slightly cutdown > kernel), without changes on 32. Wow, maybe there is hope for the old 33 MHz 486SX Thinkpad I have in my closet. IIRC, it has a whopping 32MB. It may be slow but it is built like a tank. On Sun, 4 May 2008 20:16:18 +0200 (CEST), Wojciech Puchar wrote: > > If you can connect a monitor to the server and actually see what happens > > also if it still accepts keystrokes and stuff, that would probably help in > > diagnosing the problem. > > yes it will. i had such problem many times. it's always > disk/cables/controller problem. OK, I am connecting a serial cable and will monitor the FreeBSD box from my Linux desktop. But what should I be looking for? On a semi-related note, I have been thinking of popping a SATA card and and big SATA drive in this box and removing the 30 GB IDE drive. Is there any reason why it shouldn't be possible to boot directly from the SATA drive given that SATA is not on the motherboard? Thanks. -- Colin Brace Amsterdam http://lim.nl From freebsd at insightbb.com Sun May 4 19:21:50 2008 From: freebsd at insightbb.com (Steven Friedrich) Date: Sun May 4 19:21:55 2008 Subject: hal port fails to build Message-ID: <200805041521.45206.freebsd@insightbb.com> Why is hal failing to build on my machine? I checked pointyhat and it says it builds fine. I even tried pkg_deinstall -f and then went to sysutils/hal and invoked make. I recovered by portupgrade -PPN hal. Here's the tail of the build: cc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LOCALSTATEDIR=\"/var\" -I../.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/PolicyKit -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT hf-usb.lo -MD -MP -MF .deps/hf-usb.Tpo -c hf-usb.c -fPIC -DPIC -o .libs/hf-usb.o hf-usb.c:663: warning: 'struct usb_event' declared inside parameter list hf-usb.c:663: warning: its scope is only this definition or declaration, which is probably not what you want hf-usb.c: In function 'hf_usb_process_event': hf-usb.c:667: error: dereferencing pointer to incomplete type hf-usb.c:669: error: 'USB_EVENT_CTRLR_ATTACH' undeclared (first use in this function) hf-usb.c:669: error: (Each undeclared identifier is reported only once hf-usb.c:669: error: for each function it appears in.) hf-usb.c:670: error: dereferencing pointer to incomplete type hf-usb.c:675: error: 'USB_EVENT_CTRLR_DETACH' undeclared (first use in this function) hf-usb.c:676: error: dereferencing pointer to incomplete type hf-usb.c:681: error: 'USB_EVENT_DEVICE_ATTACH' undeclared (first use in this function) hf-usb.c:685: error: dereferencing pointer to incomplete type hf-usb.c:685: error: dereferencing pointer to incomplete type hf-usb.c:688: error: dereferencing pointer to incomplete type hf-usb.c:693: error: dereferencing pointer to incomplete type hf-usb.c:695: error: dereferencing pointer to incomplete type hf-usb.c:700: error: 'USB_EVENT_DEVICE_DETACH' undeclared (first use in this function) hf-usb.c:704: error: dereferencing pointer to incomplete type hf-usb.c:704: error: dereferencing pointer to incomplete type hf-usb.c:708: error: dereferencing pointer to incomplete type hf-usb.c:709: error: dereferencing pointer to incomplete type hf-usb.c:724: error: 'USB_EVENT_DRIVER_ATTACH' undeclared (first use in this function) hf-usb.c:728: error: 'USB_EVENT_DRIVER_DETACH' undeclared (first use in this function) hf-usb.c:733: error: dereferencing pointer to incomplete type hf-usb.c: In function 'hf_usb_event_cb': hf-usb.c:741: error: storage size of 'event' isn't known hf-usb.c:741: warning: unused variable 'event' gmake[5]: *** [hf-usb.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/sysutils/hal. From kutizs at t-online.hu Sun May 4 19:44:01 2008 From: kutizs at t-online.hu (Zsolt =?ISO-8859-2?Q?K=FAti?=) Date: Sun May 4 19:44:06 2008 Subject: k3b problem with DVD Message-ID: <20080504212651.1ea195a3@brain> Hello, For long I use k3b with great satisfaction. On a recent new system however it has serious problem with handling DVD-s. While it works with CD-s, as soon as DVD disc is placed into the drive it starts to emit error messages[1]. From this on (and even after stopping/killing it ) the system displays an extreme high interrupt activity (~50%) while CPU usage remains low. Ejecting the disc has no effect on k3b it no longer works even with CD-s. If the DVD is put before k3b start, k3b does not start for a long time (~ 15 minutes), then reports no proble with system configuration, show dvd device info on console, but can't handle the DVD disc. Mounting of DVDs by hal/thunar-volman/dbus/policykit works. I can play the dvd with mplayer, too. My system is: FreeBSD 7.0-RELEASE #5 k3b-1.0.4_1 The PIO device's firmware was upgraded to he latest with no effect. Excerpt from dmesg: acd0: DVDR at ata4-master SATA150 pcm0: pcm0: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01 SMP: AP CPU #1 Launched! cd0 at ata3 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Any suggestion to solve this is highly appreciated! Thanks! Zsolt P.s: Please CC to me, as I am not on the list. Thanks! [1] ... k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, cdtext, clone, tao, cuefile, xamix, plain-atapi, hacked-atapi, audio-stdin, burnfree k3b: (K3bExternalBinManager) 2 1 -1 seems to be cdrecord version >= 1.11a02, using burnfree instead of burnproof k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support for Just Link via burnfree driveroption (BSDDeviceScan) number of matches 18 (BSDDeviceScan) periph: pass0 (BSDDeviceScan) periph: cd0 (BSDDeviceScan) add device /dev/cd0:4:0:0 (/dev/pass0) (K3bDevice::Device) /dev/cd0: init() (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 12, length: 6 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD Mastering (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD Track At Once (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: CD-RW Media Write Support (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD Read (MMC5) (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+R (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+RW (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD+R Double Layer (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: DVD-R/-RW Write (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: Rigid Restricted Overwrite (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::Device) /dev/cd0 feature: Layer Jump Recording (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::Device) /dev/cd0: dataLen: 60 (K3bDevice::Device) /dev/cd0: checking for TAO (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO_R96P (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for SAO_R96R (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R16 (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R96P (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::Device) /dev/cd0: checking for RAW_R96R (K3bDevice::ScsiCommand) transport command 55, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport command 0, length: 6 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command ad, length: 12 (K3bDevice::ScsiCommand) transport command ad, length: 12 (K3bDevice::ScsiCommand) transport command 0, length: 6 (K3bDevice::ScsiCommand) transport command 46, length: 10 (K3bDevice::ScsiCommand) transport command ad, length: 12 (K3bDevice::ScsiCommand) transport command ad, length: 12 (K3bDevice::ScsiCommand) transport command ac, length: 12 (K3bDevice::ScsiCommand) transport failed (4): 0 (K3bDevice::ScsiCommand) failed: command: GET PERFORMANCE (ac) errorcode: 0 sense key: NO SENSE (2) asc: 0 ascq: 0 (K3bDevice::Device) /dev/cd0: GET PERFORMANCE length det failed. (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::ScsiCommand) transport failed (4): 0 (K3bDevice::ScsiCommand) failed: command: MODE SENSE (5a) errorcode: 0 sense key: NO SENSE (2) asc: 0 ascq: 0 (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. (K3bDevice::ScsiCommand) transport command 5a, length: 10 (K3bDevice::Device) /dev/cd0: MODE SENSE with real length 65535 failed. (K3bDevice::DeviceManager) setting current write speed of device /dev/cd0 to 0 k3b: [void K3bMediaCache::clearDeviceList()] (K3bDevice::DeviceManager) found config entry for devicetype: PIONEER DVD-RW DVR-215D (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 0, length: 6 (K3bDevice::ScsiCommand) transport failed (4): 0 (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::openDevice) open device /dev/pass0 succeeded. (K3bDevice::ScsiCommand) transport command 0, length: 6 From hardbap at gmail.com Sun May 4 19:44:36 2008 From: hardbap at gmail.com (Michael Breen) Date: Sun May 4 19:44:41 2008 Subject: Trying to start/stop nginx via rc.d/nginx Message-ID: I'm pretty new to FreeBSD and nginx. The problem I am having is that when I try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. Here's the output from "uname -a" : FreeBSD wilco. 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've installed nginx via ports and it created the file /usr/local/etc/ rc.d/nginx. If I enter "/usr/local/etc/rc.d/nginx" at the command line I get: Usage: etc/rc.d/nginx [fast|force|one](start|stop|restart|rcvar| configtest|reload|status|poll) But if I type "sudo /usr/local/etc/rc.d/nginx start" nothing happens. I don't get an error and there is nothing in /var/log/nginx-error.log. I can start nginx by entering "sudo /usr/local/sbin/nginx" and I verify this with "ps -ax | grep nginx": 1147 ?? Ss 0:00.00 nginx: master process /usr/local/sbin/nginx 1148 ?? S 0:00.00 nginx: worker process (nginx) Here are the file permissions for /usr/local/etc/rc.d/nginx (which is identical to /usr/local/sbin/nginx): -r-xr-xr-x 1 root wheel 932 May 3 11:47 etc/rc.d/nginx Please let me know if I need to provide any more information and thank in advance for your help. Best. Mike From mkhitrov at gmail.com Sun May 4 19:48:37 2008 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Sun May 4 19:48:41 2008 Subject: Trying to start/stop nginx via rc.d/nginx In-Reply-To: References: Message-ID: <26ddd1750805041248o5d99dbsf9c057b215ac1cb8@mail.gmail.com> On Sun, May 4, 2008 at 3:15 PM, Michael Breen wrote: > I'm pretty new to FreeBSD and nginx. The problem I am having is that when I > try to start or stop nginx from /usr/local/rc.d/nginx nothing happens. You need to add nginx_enable="YES" to /etc/rc.conf. - Max From hardbap at gmail.com Sun May 4 20:52:49 2008 From: hardbap at gmail.com (Michael Breen) Date: Sun May 4 20:52:56 2008 Subject: Trying to start/stop nginx via rc.d/nginx In-Reply-To: <26ddd1750805041248o5d99dbsf9c057b215ac1cb8@mail.gmail.com> References: <26ddd1750805041248o5d99dbsf9c057b215ac1cb8@mail.gmail.com> Message-ID: <91B8109C-2F9F-4D2E-A3E6-606766A8A6A2@gmail.com> I knew it had to be something simple! Thank you Max. On May 4, 2008, at 3:48 PM, Maxim Khitrov wrote: > On Sun, May 4, 2008 at 3:15 PM, Michael Breen > wrote: >> I'm pretty new to FreeBSD and nginx. The problem I am having is >> that when I >> try to start or stop nginx from /usr/local/rc.d/nginx nothing >> happens. > > You need to add nginx_enable="YES" to /etc/rc.conf. > > - Max From toomas.aas at raad.tartu.ee Sun May 4 20:57:14 2008 From: toomas.aas at raad.tartu.ee (Toomas Aas) Date: Sun May 4 20:57:18 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481BBAF6.8000400@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> Message-ID: <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> L, 03 mai 2008 kirjutas Chris Maness : > Sorry about all of the e-mails. I remembered that I was having issues > with apache and the php5 module. I have deinstalled php5 and apache > runs fine. However, even with the latest ports tree with apache13 and > php5 module rebuilt, apache crashes. This might not be caused by mod_php5 as such, but by some PHP extension(s). I have seen cases where even the order in which extensions are loaded in /usr/local/etc/php/extensions.ini is significant. Have them in one order and you get coredumps. Move one extension from top to bottom - no more coredumps. This is one of the great mysteries of the nature. Happy experimenting :) -- Toomas Aas From chris at chrismaness.com Sun May 4 22:13:22 2008 From: chris at chrismaness.com (Chris Maness) Date: Sun May 4 22:13:26 2008 Subject: Compiling in Debugging Flags In-Reply-To: <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> Message-ID: <481E322E.8010702@chrismaness.com> Toomas Aas wrote: > L, 03 mai 2008 kirjutas Chris Maness : > >> Sorry about all of the e-mails. I remembered that I was having issues >> with apache and the php5 module. I have deinstalled php5 and apache >> runs fine. However, even with the latest ports tree with apache13 and >> php5 module rebuilt, apache crashes. > > This might not be caused by mod_php5 as such, but by some PHP > extension(s). I have seen cases where even the order in which > extensions are loaded in /usr/local/etc/php/extensions.ini is > significant. Have them in one order and you get coredumps. Move one > extension from top to bottom - no more coredumps. This is one of the > great mysteries of the nature. Happy experimenting :) > I tried that one too a while back. I rotated all of them from the bottom to the top, and it did not cure the problem. Tanks, Chris Maness From chris at chrismaness.com Sun May 4 22:54:43 2008 From: chris at chrismaness.com (Chris Maness) Date: Sun May 4 22:54:47 2008 Subject: Compiling in Debugging Flags In-Reply-To: <9CB78528-3FAB-45C6-B6FE-13B01B03EB82@gmail.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> <481E322E.8010702@chrismaness.com> <9CB78528-3FAB-45C6-B6FE-13B01B03EB82@gmail.com> Message-ID: <481E3EAE.109@chrismaness.com> Patrick Clochesy wrote: > Standard diagnostic rules apply. What does a coredump say? GDB? Did > you remove all modules and readd 1-by-1 to isolate the problem if the > modules are your suspicion? What is the frequency of the crashes? > > -Patrick I have posted all of the output. The whole thread can be found at: http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en It crashes when I include php5 module. From pcloches at gmail.com Sun May 4 23:06:44 2008 From: pcloches at gmail.com (Patrick Clochesy) Date: Sun May 4 23:06:52 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481E322E.8010702@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> <481E322E.8010702@chrismaness.com> Message-ID: <9CB78528-3FAB-45C6-B6FE-13B01B03EB82@gmail.com> Standard diagnostic rules apply. What does a coredump say? GDB? Did you remove all modules and readd 1-by-1 to isolate the problem if the modules are your suspicion? What is the frequency of the crashes? -Patrick On May 4, 2008, at 5:01 PM, Chris Maness wrote: > Toomas Aas wrote: >> L, 03 mai 2008 kirjutas Chris Maness : >> >>> Sorry about all of the e-mails. I remembered that I was having >>> issues >>> with apache and the php5 module. I have deinstalled php5 and apache >>> runs fine. However, even with the latest ports tree with apache13 >>> and >>> php5 module rebuilt, apache crashes. >> >> This might not be caused by mod_php5 as such, but by some PHP >> extension(s). I have seen cases where even the order in which >> extensions are loaded in /usr/local/etc/php/extensions.ini is >> significant. Have them in one order and you get coredumps. Move one >> extension from top to bottom - no more coredumps. This is one of >> the great mysteries of the nature. Happy experimenting :) >> > I tried that one too a while back. I rotated all of them from the > bottom to the top, and it did not cure the problem. > > Tanks, > Chris Maness > _______________________________________________ > 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 chrismaness.com Sun May 4 23:13:00 2008 From: chris at chrismaness.com (Chris Maness) Date: Sun May 4 23:13:05 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481E3EAE.109@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> <481E322E.8010702@chrismaness.com> <9CB78528-3FAB-45C6-B6FE-13B01B03EB82@gmail.com> <481E3EAE.109@chrismaness.com> Message-ID: <481E42F7.6020902@chrismaness.com> Chris Maness wrote: > Patrick Clochesy wrote: >> Standard diagnostic rules apply. What does a coredump say? GDB? Did >> you remove all modules and readd 1-by-1 to isolate the problem if the >> modules are your suspicion? What is the frequency of the crashes? >> >> -Patrick > I have posted all of the output. The whole thread can be found at: > > > http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en > > > > It crashes when I include php5 module. > It seems to work fine in a clean install of RELEASE-7.0, so the issue seems to be in the upgrading process. I will install a clean version of RLEASE-6.3 get it running and upgrade it, so I provide an e-mail detailing how to reproduce the problem. I have too much work in my 6.3 server to re configure it from scratch, so I am really counting on finding the root of this problem so that I can upgrade my production server. Thanks for all of the help. Chris Maness From chris at chrismaness.com Sun May 4 23:46:54 2008 From: chris at chrismaness.com (Chris Maness) Date: Sun May 4 23:46:59 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481E42F7.6020902@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> <481E322E.8010702@chrismaness.com> <9CB78528-3FAB-45C6-B6FE-13B01B03EB82@gmail.com> <481E3EAE.109@chrismaness.com> <481E42F7.6020902@chrismaness.com> Message-ID: <481E4AEA.10704@chrismaness.com> Chris Maness wrote: > Chris Maness wrote: >> Patrick Clochesy wrote: >>> Standard diagnostic rules apply. What does a coredump say? GDB? Did >>> you remove all modules and readd 1-by-1 to isolate the problem if >>> the modules are your suspicion? What is the frequency of the crashes? >>> >>> -Patrick >> I have posted all of the output. The whole thread can be found at: >> >> >> http://groups.google.com/group/ml-freebsd-questions/browse_thread/thread/e39765ecef6c602d?hl=en >> >> >> >> It crashes when I include php5 module. >> > It seems to work fine in a clean install of RELEASE-7.0, so the issue > seems to be in the upgrading process. I will install a clean version > of RLEASE-6.3 get it running and upgrade it, so I provide an e-mail > detailing how to reproduce the problem. I have too much work in my > 6.3 server to re configure it from scratch, so I am really counting on > finding the root of this problem so that I can upgrade my production > server. Thanks for all of the help. > > Chris Maness > Sorry, guys. I spoke too soon. It is crashing on the fresh install as well. I just rebooted, and the same situation occurs, httpd core dumps instantly. (with php5 module installed) The only other thing I did begin installing squirrel mail. I have a virtual installation that I will try it on too. This is the third instance of apache13 port crashing with the php5 built with the module. I did nothing to httpd.conf except add a virtual host. I checked this with apachectl checkconfig and it was fine. After it started crashing, I removed the vhost and it was still crashing. Thanks, Chris Maness From perryh at pluto.rain.com Mon May 5 00:24:36 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon May 5 00:24:42 2008 Subject: wine: notepad OK, others not In-Reply-To: <200805041509.12737.tijl@ulyssis.org> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804231409.21628.tijl@ulyssis.org> <48195c77.gWKwJdFnMZSip4d4%perryh@pluto.rain.com> <200805041509.12737.tijl@ulyssis.org> Message-ID: <481e507a.8XsVIuRvsw0nXEWh%perryh@pluto.rain.com> > > ... very shortly after starting the actual install I got an error > > box: > > > > > > VISIO Setup > > > > ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' > > > > > > and it locked up the display so that CtrlAltF1 would not switch > > to a text screen (although it did allow AltTab to bring up FVWM's > > window list). After clicking OK: > > > > > > Visio Setup > > > > i Setup failed. > > > > > > and it quit. > > Were there any messages printed in the terminal window? No. > What version of Visio is this? 3.0. Long before M$ took it over, so it should be just a generic Win32 app with no secret M$ tricks. > You might also want to try on a Linux system if you have that > somewhere, just to see if it works there. If I had a Linux system set up, I'd have tried this there in the first place. > Also, you should really take this to the wine-users@winehq.org > mailing list. The people there should know more about this than > here on a FreeBSD mailing list. I suppose I can try it, but I wonder how much interest there will be on a wine list in supporting FreeBSD. At a minimum I suppose they'll want to know if it still breaks on the latest wine version, and I'll have no way to find out since the FreeBSD port doesn't support the latest wine version. In any case, it seems FreeBSD should not be allowing a port -- any port -- to lock out CtrlAltF1. From perryh at pluto.rain.com Mon May 5 00:24:36 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon May 5 00:24:44 2008 Subject: wine: notepad OK, others not In-Reply-To: <200805041409.51904.tijl@ulyssis.org> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200804281503.33922.tijl@ulyssis.org> <4816bbdd.lbQT9XZN0V0Ecl9s%perryh@pluto.rain.com> <200805041409.51904.tijl@ulyssis.org> Message-ID: <481e524f.P93J5+bBb92APNoU%perryh@pluto.rain.com> > >> Wine has its own simple version of Wordpad though. > >> Just run "wine wordpad". > > > > This version has its own notepad, but it doesn't appear to have > > wordpad. (There's no "wordpad.exe" that I can find, but there > > are two identical copies of "notepad.exe" -- one in .../windows > > and the other in .../windows/system32.) > > "wine wordpad" still works though. It's in /usr/local/lib/wine. Along with yet another notepad, this one twice the size of the ones in .../windows and .../windows/system32! The obvious followup is which one actually gets used if someone runs "wine notepad", but I doubt it's worth looking into. From jeffrey at goldmark.org Mon May 5 01:04:28 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon May 5 01:04:35 2008 Subject: Installing PERL modules from CPAN (instead of ports) In-Reply-To: <20080504165937.GA14899@shepherd> References: <20080503232156.GB13074@shepherd> <20080504162307.GK92161@amilo.cenkes.org> <20080504165937.GA14899@shepherd> Message-ID: <01D4EA31-B4DE-447B-99A4-6EC6970CC656@goldmark.org> On May 4, 2008, at 11:59 AM, Sahil Tandon wrote: >> Yes, making a new port is the easiest way to install something >> from CPAN. > > I do prefer to keep everything organized in ports, so I created my > first port: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382 > > Let's hope I didn't totally mess it up. :-) I found myself in an identical position and did the same thing (created a port for the first time) for Lchown. I suspect that now that I've overcome the initial barrier, I will be submitting more ports. And I might even remember to attach the .shar file to my PR next time. Cheers, -j From gilles.ganault at free.fr Mon May 5 01:32:53 2008 From: gilles.ganault at free.fr (Gilles) Date: Mon May 5 01:33:00 2008 Subject: [CRON] Recommended FTP client to download and upload files? References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> <20080503113430.409688a2@gom.home> Message-ID: On Sat, 03 May 2008 11:34:30 -0700, prad wrote: >i like lftp the best. you can script it and everything has always >worked smoothly for me using it. Thanks guys, lftp did the job. I'll put those two lines in a script and add it to CRON: lftp -u joe,mypass -e "mirror -vn ./files ./mirror && bye" ftp.source.com lftp -u joe,mypass -e "mirror -vnR ./mirror ./files && bye" ftp.target.com From ruel.freebsd at gmail.com Mon May 5 02:19:39 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Mon May 5 02:19:44 2008 Subject: KDE3 Error In-Reply-To: <20080502171239.GA1460@devil.mutu.us> References: <20080502171239.GA1460@devil.mutu.us> Message-ID: have tried the "make fetch" and no Error it was succesful. But after the "make fetch" i go to the directory cd /usr/ports/x11/kde3/ make install the installation still not successful, here it is the error: Stop in /usr/ports/audio/nas. Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Error code 1 Stop in /usr/ports/x11-toolkits/qt33 Error code 1 Stop in /usr/ports/x11/kde3 It's still the same..Am I right here?? Any more idea?? Thanks... On Sat, May 3, 2008 at 1:12 AM, Valeriu Mutu wrote: On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: > Hi, > Why is it when i install KDE3 in my server I always got an error, this is > the command when i install it > > -cd /usr/ports/x11/kde3 > -make install > > *and this is the reply of the server:* > -Attempting to fetch from > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/ . > -fetch:// > ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable > (e.g., file not found, no access) > -Couldn't fetch ot-please try to retreive this > -port manually into /usr/ports/distfiles/KDE and try again. > ***Error code 1 > > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Stop in /usr/ports/x11-toolkits/qt33 > Stop in usr/ports/x11-toolkits/qt33/ > *** Error code 1 > > Did i miss something??? Please HELP here... > > Thanks in advance...:( On Sat, May 3, 2008 at 1:12 AM, Valeriu Mutu wrote: > On Fri, May 02, 2008 at 05:09:42PM +0800, Ruel Luchavez wrote: > > Hi, > > Why is it when i install KDE3 in my server I always got an error, this > is > > the command when i install it > > > > -cd /usr/ports/x11/kde3 > > -make install > > > > *and this is the reply of the server:* > > -Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/. > > -fetch:// > > > ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/KDE/qt-x11-free-3.3.6.tar.bz2:Fileunavailable > > (e.g., file not found, no access) > > -Couldn't fetch ot-please try to retreive this > > -port manually into /usr/ports/distfiles/KDE and try again. > > ***Error code 1 > > > > Stop in usr/ports/x11-toolkits/qt33/ > > *** Error code 1 > > > > Stop in /usr/ports/x11-toolkits/qt33 > > Stop in usr/ports/x11-toolkits/qt33/ > > *** Error code 1 > > > > Did i miss something??? Please HELP here... > > > > Thanks in advance...:( > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > Hi Ruel, > > Can you please verify that: > 1. Internet is accessible. Try: > ftp ftp.iasi.roedu.net > > 2. Your ports tree is up to date. > > After this is done, remove the directory /usr/ports/distfiles/KDE/ . > > Then do: > > cd /usr/ports/x11-toolkits/qt33/ > make fetch > > If this still results in an error, try this instead of "make fetch": > make MASTER_SITE_OVERRIDE= > ftp://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/ fetch > or > make MASTER_SITE_OVERRIDE=ftp://ftp.fu-berlin.de/unix/X11/gui/Qt/source/fetch > > These are mirrors taken from /usr/ports/Mk/bsd.siteis.mk . Search for > MASTER_SITE_QT in that file. > > -- > Valeriu Mutu > _______________________________________________ > 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 chrismaness.com Mon May 5 02:55:45 2008 From: chris at chrismaness.com (Chris Maness) Date: Mon May 5 02:55:50 2008 Subject: Compiling in Debugging Flags In-Reply-To: <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> Message-ID: <481E772E.60508@chrismaness.com> Toomas Aas wrote: > L, 03 mai 2008 kirjutas Chris Maness : > >> Sorry about all of the e-mails. I remembered that I was having issues >> with apache and the php5 module. I have deinstalled php5 and apache >> runs fine. However, even with the latest ports tree with apache13 and >> php5 module rebuilt, apache crashes. > > This might not be caused by mod_php5 as such, but by some PHP > extension(s). I have seen cases where even the order in which > extensions are loaded in /usr/local/etc/php/extensions.ini is > significant. Have them in one order and you get coredumps. Move one > extension from top to bottom - no more coredumps. This is one of the > great mysteries of the nature. Happy experimenting :) > It is a problem with php extension "extension=mhash.so." If I remove it from extensions.ini it works. However, there does not seem to be order of arrangement that restores sanity. I believe I need mhash for squirrelmail. Any further suggestions would be appreciated. Thanks, Chris Maness From noc at hdk5.net Mon May 5 03:11:52 2008 From: noc at hdk5.net (Al Plant) Date: Mon May 5 03:11:58 2008 Subject: Mystery Hardware Error In-Reply-To: <4818C475.9070800@gmail.com> References: <4818C475.9070800@gmail.com> Message-ID: <481E7AF8.60100@hdk5.net> David M. Patronis wrote: > When I burn a data cd using the burncd utility, I get this error at the > end of the session: > > acd0: FAILURE-READ_BIG HARDWARE ERROR asc=0x3e ascq=0x2 > > When I burn a second disc, there is no error message, and I've yet to > have a bad burn. In fact I'm getting quality superior to that I was able > to produce using Windows or Linux. What does the error mean, should I be > concerned, and if so, what steps should I take to resolve the problem? > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Aloha list, I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David is. CD's work fine. Anybody know what this is? -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From rfalang.bob at gmail.com Mon May 5 03:30:05 2008 From: rfalang.bob at gmail.com (Bob Falanga) Date: Mon May 5 03:30:09 2008 Subject: Need help with apache22 Message-ID: <58d1e8d30805042005x32aa8ff8r7693a73a6b865dc3@mail.gmail.com> I have installed apache22 on my computer which is operating with PCBSD. When a start is executed I get the following response and apache doesn't start, "Can't find libthr.so.3, needed by libthr.so.2". Can someone help? Bob Falanga From lists-fbsd at shadypond.com Mon May 5 04:12:30 2008 From: lists-fbsd at shadypond.com (Pollywog) Date: Mon May 5 04:12:34 2008 Subject: Mystery Hardware Error In-Reply-To: <481E7AF8.60100@hdk5.net> References: <4818C475.9070800@gmail.com> <481E7AF8.60100@hdk5.net> Message-ID: <200805050411.49030.lists-fbsd@shadypond.com> On Monday 05 May 2008 03:11:52 Al Plant wrote: > > Aloha list, > > I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David > is. CD's work fine. > Anybody know what this is? I have been getting the errors too, whenever I reboot the machine, I find them in the logs. I don't burn CD's on the machine so I don't know if I could. I normally do that on another machine that runs Linux. From chris at chrismaness.com Mon May 5 04:30:45 2008 From: chris at chrismaness.com (Chris Maness) Date: Mon May 5 04:30:50 2008 Subject: rsync as root for mail servers? Message-ID: <481E8D73.4030405@chrismaness.com> I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using sendmail and wu-imapd. Thanks, Chris Maness From prad at towardsfreedom.com Mon May 5 05:13:12 2008 From: prad at towardsfreedom.com (prad) Date: Mon May 5 05:13:17 2008 Subject: living with freebsd Message-ID: <20080504221223.20b5827e@gom.home> i'd like to know how people live with freebsd. do you use only ports or only packages or a mixture? do you upgrade from version to version using freebsd tools or do it manually? do you have a different approach regarding the above depending on whether it is for a server or a desktop? the handbook tells you what you can do, but i'd like to know what is actually done and why. -- 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 chris at sigd.net Mon May 5 05:26:07 2008 From: chris at sigd.net (Chris Haulmark) Date: Mon May 5 05:26:11 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC2211564B11@ms05.mailstreet2003.net> Hello! > > i'd like to know how people live with freebsd. > > do you use only ports or only packages or a mixture? Some uses just ports...while others use packages only if they exist in the first place or they cross compiled. Hell, a lot of people use both ports and packages. The reasons vary and it is not restrictive to pick either one. > do you upgrade from version to version using freebsd tools or do it > manually? Manually is the traditional way. The freebsd tools (if you meant the binary upgrade method) is just a new way. Few are switching over as the time progresses. There are some in the production environment that prefer using binary upgrades as it will provide lower downtimes. > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? Yes, avoid GUI stuff when using server or vice verse. That's just one example out of millions of examples. > > the handbook tells you what you can do, but i'd like to know what is > actually done and why. The way it should work: You find out what you want your FreeBSD computer to do, you look into the available documentations on how to do it. Not the other way around. Chris > -- > 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" From sonicy at otenet.gr Mon May 5 05:36:26 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Mon May 5 05:36:31 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <481E9CCD.1030702@otenet.gr> prad wrote: > i'd like to know how people live with freebsd. > > do you use only ports or only packages or a mixture? > do you upgrade from version to version using freebsd tools or do it > manually? > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? > > the handbook tells you what you can do, but i'd like to know what is > actually done and why. > > You will probably get too many different views - it is a flexible system after all. For example, I rarely mix ports and packages. On my small home server (which also doubles as a workstation for light use) everything is compiled from ports. This includes openoffice.org which took more than a day to download and compile. I doubt I'll ever upgrade it the same way... On this machine I am using the XFCE desktop, which I start manually from the command line when used as a desktop. But on a real dedicated desktop, I would use Gnome (or KDE). As for versions, I always run -RELEASE. I would go to STABLE if I desperately needed a feature not present in RELEASE, but this hasn't happened yet. I am using freebsd-update to get security updates / patches and then recompile my kernel when needed. I also used freebsd-update to get to 7.0-RELEASE from 7.0-RC1. Quite painless. For desktop machines, especially when I need to get them up and running quickly, I use packages. You can either use the stable packages from the site (by setting the PACKAGESITE env variable) or use another machine to compile your own (have a look at http://tinderbox.marcuscom.com/ ). I almost never use the CD packages (except maybe for demonstration purposes) since they get outdated really quickly. From wojtek at wojtek.tensor.gdynia.pl Mon May 5 05:53:07 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 5 05:53:10 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <20080505075222.I27549@wojtek.tensor.gdynia.pl> > > do you use only ports or only packages or a mixture? ports > do you upgrade from version to version using freebsd tools or do it > manually? mixed, and don't upgrade frequently. it's not windows, if it works - don't touch. > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? no. From ruel.freebsd at gmail.com Mon May 5 07:06:37 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Mon May 5 07:06:40 2008 Subject: X11 installation error Message-ID: Hi, Do you have idea on how to resolve this, i want to install the X11 so i go to the directory cd /usr/port/x11/xorg make install however the installation was unsuccessful due to this error: gmake[6]: *** [..common/vblank.o] Error 1 gmake[6]: Leaving directory '/usr/ports/graphics/dri/works/mesa-7.03/src/mesa/drivers/1810' gmake[5]: ***[subdirs] Error 1 gmake[5]: Leaving directory /usr/ports/graphics/dri/work/Mesa-7.0.3/drc/mesa/drivers/dri' gmake[4]: ***[linux-solo] Error 2 gmake[4]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa' gmake[3]: ***[default] Error 2 gmake[3]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa' gmake[2]: ***[subdirs] Error 1 gmake[2]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/' gmake[1]: ***[default] Error 1 gmake[1]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3' gmake: *** [fressbsd-fri-x86] Error 2 *** Error code 2 Stop in /usr/pots/graphics/dri *** Error code 1Stop in /usr/ports/x11/xorg I already update my ports before running the "make install" using this command "cvsup -g -L 2 /root/ports-supfile. Did i forgot something else? Help here Please...Thanks From catalin at starcomms.com Mon May 5 07:07:43 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Mon May 5 07:07:47 2008 Subject: rsync as root for mail servers? In-Reply-To: <481E8D73.4030405@chrismaness.com> References: <481E8D73.4030405@chrismaness.com> Message-ID: <3A0AA7018522134597ED63B3B794C92A01D41987@STA-HQ-S001.starcomms.local> You can use the SSH key then change it for security reasons. For directories is working fine, I never tried on the e-mail spool thou. Best Regards Catalin Miclaus -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Chris Maness Sent: Monday, May 05, 2008 5:31 AM To: freebsd-questions@FreeBSD.org Subject: rsync as root for mail servers? I plan on cutting over a server to new hardware, and I was wondering if I can add cert based login for root (how do I do this)? This is so that I can use rsync as root to sync the mail spool and home directories. Will this work? I am using sendmail and wu-imapd. Thanks, Chris Maness _______________________________________________ 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 bsd.luigi at alshome.be Mon May 5 07:22:23 2008 From: bsd.luigi at alshome.be (Luigi) Date: Mon May 5 07:22:27 2008 Subject: Questions about stats In-Reply-To: <636B6BD5BE7A2B88BF3EAF04@ganymede.hub.org> References: <480C7F03.7010002@alshome.be> <636B6BD5BE7A2B88BF3EAF04@ganymede.hub.org> Message-ID: <481EB5A8.90501@alshome.be> Thank you very much for the stats. Luigi Marc G. Fournier a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I've put in a temporary page that generates the country statistics ... it doesn' > t look as good as the rest of the site, but loads significantly faster ... > > - --On Monday, April 21, 2008 13:48:19 +0200 Luigi wrote: > > >> Hi, >> >> I'm a user of PC-BSD in Belgium. >> >> So I'd like to know if it's possible to have stats for Belgium and where can >> I find it ? >> >> Thank you very much. >> >> Luigi >> > > > > - -- > Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) > Email . scrappy@hub.org MSN . scrappy@hub.org > Yahoo . yscrappy Skype: hub.org ICQ . 7615664 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.8 (FreeBSD) > > iEYEARECAAYFAkgdy4gACgkQ4QvfyHIvDvPB1ACeJpBQ0WJGDcIy6csng8kEIXwv > yKMAoJV8Ne5/Q5TEsbQpAospaYQyt6u+ > =A0F8 > -----END PGP SIGNATURE----- > > > From srivasa.j at gmail.com Mon May 5 07:59:53 2008 From: srivasa.j at gmail.com (srinivasa jayappa) Date: Mon May 5 07:59:57 2008 Subject: instalation about NET_SNMP Message-ID: <9fa7a3900805050034qbd2b522u2179f939752e7108@mail.gmail.com> hi, i am srinivasa ... i am getting problem in installation in snmp.... not creating usr directory in the installation of net-anmp5.3.1 in ubuntu...please suggest thanking you, regards Srinivasa J From walt at wump.org Mon May 5 08:21:36 2008 From: walt at wump.org (Walt Pawley) Date: Mon May 5 08:21:41 2008 Subject: What is CPP's real default include path? Message-ID: I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. My initial efforts failed the configuration process for not finding iconv.h. This, despite /usr/local/include/iconv.h being present and supposedly in the include search path if the info documentation can be believed. Just to see if I could learn something, I copied the /usr/local/include/iconv.h to /usr/include/ and tried again. After this, the configuration process completed and the application seemed to "make" and "make install" just fine. Is there some way to ascertain what the set of default include paths actually is? -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 From ruel.freebsd at gmail.com Mon May 5 08:46:18 2008 From: ruel.freebsd at gmail.com (Ruel Luchavez) Date: Mon May 5 08:46:21 2008 Subject: X11 installation error In-Reply-To: <6b0f34140805050124v220d6b4dwf9a92752a1d27470@mail.gmail.com> References: <6b0f34140805050124v220d6b4dwf9a92752a1d27470@mail.gmail.com> Message-ID: I already try it but the server reply me an error: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/ xorg.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/ pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL can anyone Help me to solve it.. Thanks.. 2008/5/5 Micha? J?drzejczak : > Hi > > Perhaps pkg_add -r xorg ( faster ) > > > Micha? > > 2008/5/5 Ruel Luchavez : > > > Hi, > > > > Do you have idea on how to resolve this, i want to install the X11 so i > > go > > to the directory > > > > cd /usr/port/x11/xorg > > make install > > > > however the installation was unsuccessful due to this error: > > > > gmake[6]: *** [..common/vblank.o] Error 1 > > gmake[6]: Leaving directory > > '/usr/ports/graphics/dri/works/mesa-7.03/src/mesa/drivers/1810' > > gmake[5]: ***[subdirs] Error 1 > > gmake[5]: Leaving directory > > /usr/ports/graphics/dri/work/Mesa-7.0.3/drc/mesa/drivers/dri' > > gmake[4]: ***[linux-solo] Error 2 > > gmake[4]: Leaving directory > > '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa' > > gmake[3]: ***[default] Error 2 > > gmake[3]: Leaving directory > > '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/mesa' > > gmake[2]: ***[subdirs] Error 1 > > gmake[2]: Leaving directory > > '/usr/ports/graphics/dri/work/Mesa-7.0.3/src/' > > gmake[1]: ***[default] Error 1 > > gmake[1]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-7.0.3' > > gmake: *** [fressbsd-fri-x86] Error 2 > > *** Error code 2 > > > > Stop in /usr/pots/graphics/dri > > *** Error code 1Stop in /usr/ports/x11/xorg > > > > I already update my ports before running the "make install" using this > > command "cvsup -g -L 2 /root/ports-supfile. > > Did i forgot something else? > > Help here Please...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 thenudnik at gmail.com Mon May 5 09:06:18 2008 From: thenudnik at gmail.com (David M. Patronis) Date: Mon May 5 09:06:23 2008 Subject: Mystery Hardware Error In-Reply-To: <200805050411.49030.lists-fbsd@shadypond.com> References: <4818C475.9070800@gmail.com> <481E7AF8.60100@hdk5.net> <200805050411.49030.lists-fbsd@shadypond.com> Message-ID: <481ECDEE.3000709@gmail.com> Pollywog wrote: > On Monday 05 May 2008 03:11:52 Al Plant wrote: > > > >> Aloha list, >> >> I am getting the same error on FreeBSD 7 RELEASE and 8. Current as David >> is. CD's work fine. >> Anybody know what this is? >> > > I have been getting the errors too, whenever I reboot the machine, I find them > in the logs. I don't burn CD's on the machine so I don't know if I could. I > normally do that on another machine that runs Linux. > _ If you have an ATAPI burner you can easily burn CDs from the command line using mkisofs to generate a disc image and then the "burncd" utility that comes with even a basic install of FreeBSD. See below for the most simple example: mkisofs -o nameofimage.iso pathtofile burncd -f /dev/acd0 data pathtofile nameoffile.iso fixate Of course, that still doesn't answer our question. David From glyn at millingtons.org Mon May 5 09:27:58 2008 From: glyn at millingtons.org (Glyn Millington) Date: Mon May 5 09:28:02 2008 Subject: X11 installation error In-Reply-To: (Ruel Luchavez's message of "Mon, 5 May 2008 16:46:16 +0800") References: <6b0f34140805050124v220d6b4dwf9a92752a1d27470@mail.gmail.com> Message-ID: <86fxsxqfq3.fsf@nowhere.org> "Ruel Luchavez" writes: > I already try it but the server reply me an error: > > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/ > xorg.tbz: File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/ > pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL > > can anyone Help me to solve it.. Is there something odd going on in your package database? Have you tried a #pkgdb -F ? atb Glyn From freebsd at meijome.net Mon May 5 09:42:06 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon May 5 09:42:11 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <20080505194145.6eaf679e@ayiin> On Sun, 04 May 2008 22:12:23 -0700 prad wrote: > i'd like to know how people live with freebsd. great, thanks for asking! :) > > do you use only ports or only packages or a mixture? mostly build my own packages from ports. Sometimes I would use a package when either I dont have the time /resources to build ( OOO, but lately i've just built it myself). Also using packages for those apps that, > do you upgrade from version to version using freebsd tools or do it > manually? version to version of what? Of kernel and world, in my workhorse laptop, i do source upgrades and roll my own kernel. For some servers and VM which are fairly generic and don't need much tweaking, i just run generic or SMP and use freebsd-update. I've used freebsd-update to upgrade VMs from 6.x to 7.x works GREAT (thanks Collin!) > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? it actually depends on how much customisation i need > > the handbook tells you what you can do, but i'd like to know what is > actually done and why. of course :) have fun! B _________________________ {Beto|Norberto|Numard} Meijome "I've dirtied my hands writing poetry, for the sake of seduction; that is, for the sake of a useful cause." Dostoevsky 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 insightbb.com Mon May 5 09:49:29 2008 From: freebsd at insightbb.com (Steven Friedrich) Date: Mon May 5 09:49:33 2008 Subject: instalation about NET_SNMP In-Reply-To: <9fa7a3900805050034qbd2b522u2179f939752e7108@mail.gmail.com> References: <9fa7a3900805050034qbd2b522u2179f939752e7108@mail.gmail.com> Message-ID: <200805050549.25796.freebsd@insightbb.com> On Monday 05 May 2008 03:34:52 am srinivasa jayappa wrote: > hi, > > > i am srinivasa ... i am getting problem in installation in snmp.... not > creating usr directory in the installation of net-anmp5.3.1 in > ubuntu...please suggest > > thanking you, > > > regards > > Srinivasa J > _______________________________________________ > 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" Let me suggest that you go to a ubuntu mailing list! From freebsd at meijome.net Mon May 5 09:53:06 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon May 5 09:53:11 2008 Subject: consulta acerca de la version In-Reply-To: <5441bf290805022334m44685b1bme9c82dfb8758cb84@mail.gmail.com> References: <5441bf290805022334m44685b1bme9c82dfb8758cb84@mail.gmail.com> Message-ID: <20080505195252.033bc66a@ayiin> On Sat, 3 May 2008 03:34:39 -0300 jmz_hack wrote: > hola, disculpen por favor me podrias decir o pasar alguna version > descargable para poner un servidor con freebsd, un pentium 233 con 24 > mb de ram y un disco de 1,6 gb necesito que haga de servidor web con > php, y pueda usar el shoutcast y en lo posible que sea compatible con > placas de red isa gracias Hola Jmz, vas a obtener mas respuestas si pregunt?s en "FreeBSD en castellano" freebsd@es.freebsd.org Suerte, beto _________________________ {Beto|Norberto|Numard} Meijome "There is more to life than increasing its speed." Mahatma Mohandis K. Gandhi 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 fbsd.questions at rachie.is-a-geek.net Mon May 5 10:06:55 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 5 10:07:02 2008 Subject: What is CPP's real default include path? In-Reply-To: References: Message-ID: <200805051206.52546.fbsd.questions@rachie.is-a-geek.net> On Monday 05 May 2008 10:12:05 Walt Pawley wrote: > I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. > My initial efforts failed the configuration process for not > finding iconv.h. This, despite /usr/local/include/iconv.h being > present and supposedly in the include search path if the info > documentation can be believed. > > Just to see if I could learn something, I copied the > /usr/local/include/iconv.h to /usr/include/ and tried again. > After this, the configuration process completed and the > application seemed to "make" and "make install" just fine. > > Is there some way to ascertain what the set of default include > paths actually is? Even though cc has a million options, there's none that I know that prints the system include path (not even in -dumpspecs). However, in practice you can assume it's /usr/include. To make configure scripts believe you have something installed, it's not a good idea to copy headers. Look for a --with-iconv=/usr/local option and failing that, change CFLAGS and LDFLAGS in the environment when configuring. -- 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 Mon May 5 10:06:55 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 5 10:07:03 2008 Subject: What is CPP's real default include path? In-Reply-To: References: Message-ID: <200805051206.52546.fbsd.questions@rachie.is-a-geek.net> On Monday 05 May 2008 10:12:05 Walt Pawley wrote: > I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. > My initial efforts failed the configuration process for not > finding iconv.h. This, despite /usr/local/include/iconv.h being > present and supposedly in the include search path if the info > documentation can be believed. > > Just to see if I could learn something, I copied the > /usr/local/include/iconv.h to /usr/include/ and tried again. > After this, the configuration process completed and the > application seemed to "make" and "make install" just fine. > > Is there some way to ascertain what the set of default include > paths actually is? Even though cc has a million options, there's none that I know that prints the system include path (not even in -dumpspecs). However, in practice you can assume it's /usr/include. To make configure scripts believe you have something installed, it's not a good idea to copy headers. Look for a --with-iconv=/usr/local option and failing that, change CFLAGS and LDFLAGS in the environment when configuring. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at meijome.net Mon May 5 10:19:21 2008 From: freebsd at meijome.net (Norberto Meijome) Date: Mon May 5 10:19:25 2008 Subject: Compiling in Debugging Flags In-Reply-To: <481E772E.60508@chrismaness.com> References: <20080502105853.36874cdf.wmoran@potentialtech.com> <20080502130017.ac721261.wmoran@potentialtech.com> <481B9B90.6050906@chrismaness.com> <481BA6EC.2020209@chrismaness.com> <481BA996.50005@chrismaness.com> <481BBAF6.8000400@chrismaness.com> <20080504233821.ijw687a68w88088o@webmail.raad.tartu.ee> <481E772E.60508@chrismaness.com> Message-ID: <20080505195105.31478575@ayiin> On Sun, 04 May 2008 19:55:42 -0700 Chris Maness wrote: > It is a problem with php extension "extension=mhash.so." If I remove it > from extensions.ini it works. However, there does not seem to be order > of arrangement that restores sanity. I believe I need mhash for > squirrelmail. > > Any further suggestions would be appreciated. I am risking stating the obvious here, but you HAVE rebuilt everything related to mhash (including security/mhash), right? I have just installed security/php5-mhash from scratch and it loads without any issue... of course, i only have php5 and php5-mhash installed here, no other php extensions... FreeBSD ayiin.xxxx 7.0-STABLE FreeBSD 7.0-STABLE #46: Wed Apr 30 10:55:55 EST 2008 root@ayiin.xxx:/usr/obj/usr/src/sys/AYIIN i386 B _________________________ {Beto|Norberto|Numard} Meijome "The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding." Justice Louis D. Brandeis 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 michael.le_barbier at laposte.net Mon May 5 10:24:53 2008 From: michael.le_barbier at laposte.net (=?ISO-8859-1?Q?Micha=EBl_Le_Barbier?=) Date: Mon May 5 10:25:18 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <481ED9C7.4050209@laposte.net> prad wrote: > i'd like to know how people live with freebsd. > It will soon be the ninth anniversary of my union with FreeBSD. I have been pleased of it, all the time. > do you use only ports or only packages or a mixture? > do you upgrade from version to version using freebsd tools or do it > manually? > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? I use FreeBSD in the `desktop' setting, I do a lot of TeX, programming, and scientific computing. In my own views, I segregate applications in three groups: -- the zombie group, consisting of applications I rarely use, and do not care to keep up to date (almost everything); -- the living group, consisting of applications I use often but moderately care to keep up to date (Emacs and seamonkey); -- the hot group, consisting of applications I am very interested in (e.g. some libraries I use in my programs). I do not care to update the zombie group. I will maybe consider updating ports in the living group, either for security reasons or for some new functionnality I heard of and I really want to have. It is not unlikely I update ports in the hot group every time there is a new major release is available. I do the base install from packages, and use portupgrade for updating my software, after I have read /usr/ports/UPDATING. My primary goal is having a working system for a minimal maintenance cost, the way I do works pretty well for me; but some others may have better ways to deal with this. -- Cheers, Micha?l From wojtek at wojtek.tensor.gdynia.pl Mon May 5 10:43:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 5 10:43:34 2008 Subject: living with freebsd In-Reply-To: <481ED9C7.4050209@laposte.net> References: <20080504221223.20b5827e@gom.home> <481ED9C7.4050209@laposte.net> Message-ID: <20080505124117.B28398@wojtek.tensor.gdynia.pl> > I use FreeBSD in the `desktop' setting, I do a lot of TeX, programming, and in my view there is no "desktop" setting or "server" setting. the only difference is if your display and keyboard are directly connected or not. you simply install programs you need. > scientific computing. > In my own views, I segregate applications in three groups: > -- the zombie group, consisting of applications I rarely use, and do not > care to keep up to date (almost everything); > -- the living group, consisting of applications I use often but moderately > care to keep up to date (Emacs and seamonkey); > -- the hot group, consisting of applications I am very interested in (e.g. > some libraries I use in my programs). doing similar way. with old rule - if it works, don't touch. From slvhwke at burlesquechic.com.au Mon May 5 10:46:39 2008 From: slvhwke at burlesquechic.com.au (Gemma Fletcher) Date: Mon May 5 10:46:44 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <200805051800.01959.slvhwke@burlesquechic.com.au> prad wrote: > > do you use only ports or only packages or a mixture? I use ports 99% of the time. If only use the packages if I need something up and running asap. > do you upgrade from version to version using freebsd tools or do it > manually? manually. > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? I don't bother with a GUI for a server and I still stick with my 99% ports. For my home desktop I use KDE which I start from the console. It's dual booted with XP atm since I can't make WoW play through FreeBSD. :P -- Gemma Fletcher Burlesque Chic slvhwke@burlesquechic.com.au From z.szalbot at lc-words.com Mon May 5 10:50:29 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Mon May 5 10:50:36 2008 Subject: living with freebsd In-Reply-To: <20080505124117.B28398@wojtek.tensor.gdynia.pl> References: <20080504221223.20b5827e@gom.home> <481ED9C7.4050209@laposte.net> <20080505124117.B28398@wojtek.tensor.gdynia.pl> Message-ID: <481EE670.8010305@lc-words.com> Hello, > doing similar way. with old rule - if it works, don't touch. This got me interested. So basically for a server, you don't do any upgrades unless there are security issues to solve or new features that you need? It seems to me that sometimes if you have waited with an upgrade for too long, it is more difficult to upgrade than it would have been if you had followed all small updates which appeared along the way... Thanks! -- Zbigniew Szalbot www.lc-words.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/20080505/32b1beda/smime.bin From peter at boosten.org Mon May 5 11:03:00 2008 From: peter at boosten.org (Peter Boosten) Date: Mon May 5 11:03:08 2008 Subject: living with freebsd In-Reply-To: <481EE670.8010305@lc-words.com> References: <20080504221223.20b5827e@gom.home> <481ED9C7.4050209@laposte.net> <20080505124117.B28398@wojtek.tensor.gdynia.pl> <481EE670.8010305@lc-words.com> Message-ID: <20080505130256.5sai63nsgooooc80@www.boosten.org> Quoting Zbigniew Szalbot : > This got me interested. So basically for a server, you don't do any > upgrades unless there are security issues to solve or new features that > you need? > > It seems to me that sometimes if you have waited with an upgrade for > too long, it is more difficult to upgrade than it would have been if > you had followed all small updates which appeared along the way... > I think you have to differentiate between updates and upgrades. I consider an upgrade moving from one release to another (say from 6.2 to 6.3), while security patches are updates. I always run updates, but I don't always follow upgrades. Recently I upgraded one older machine from 5.5 to 6.2 (en even more recent to 6.3). Peter -- http://www.boosten.org From wmoran at potentialtech.com Mon May 5 12:23:46 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Mon May 5 12:23:51 2008 Subject: rsync as root for mail servers? In-Reply-To: <481E8D73.4030405@chrismaness.com> References: <481E8D73.4030405@chrismaness.com> Message-ID: <20080505082358.f7c01a7c.wmoran@potentialtech.com> In response to Chris Maness : > I plan on cutting over a server to new hardware, and I was wondering if > I can add cert based login for root (how do I do this)? This is so that > I can use rsync as root to sync the mail spool and home directories. > Will this work? I am using sendmail and wu-imapd. Follow the instructions for setting up ssh keys (there are dozens of howtos all over the 'net) then tweak /etc/ssh/sshd_config to allow root login (the config paramter is pretty obvious). Ensure that you either have a very strong root password, or that password auth for root is disabled first. Then, rsync you stuff using ssh as the connection mechanism (there's a command line switch for this in rsync, don't remember the details) Once you've got things rsynced the first time (while running) shut down all the services on the active machine and rsync again. This second rsync should be very fast so you'll have little downtime. -- Bill Moran http://www.potentialtech.com From justinjereza at gmail.com Mon May 5 12:37:52 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Mon May 5 12:38:00 2008 Subject: MRTG registers zero throughput In-Reply-To: <18462.1887.183680.845208@jerusalem.litteratus.org> References: <53f591170805040618r2fc279edhcf9e9eef8267d0a4@mail.gmail.com> <53f591170805040915s3e607ed8k7c02b2b9464d594b@mail.gmail.com> <18462.1887.183680.845208@jerusalem.litteratus.org> Message-ID: <53f591170805050537q7fbcc94ai7605be31b18b607@mail.gmail.com> > Have you figured out how to make it do so, or ar you giving up > on the plan? > > > Robert Huff Giving up on it for the moment I guess. I don't really need the ifHC* counters right now and I don't think I understand how MIBs work fully yet and it's gonna take a lot of reading. I checked though and the ifHC* counters are in the IF-MIB.txt file so I don't quite get why it's not showing up on a snmpwalk. *shrugs* From tijl at ulyssis.org Mon May 5 12:41:20 2008 From: tijl at ulyssis.org (Tijl Coosemans) Date: Mon May 5 12:41:25 2008 Subject: wine: notepad OK, others not In-Reply-To: <481e507a.8XsVIuRvsw0nXEWh%perryh@pluto.rain.com> References: <47ba7e1f.UDwudqHevRDrsQ8d%perryh@pluto.rain.com> <200805041509.12737.tijl@ulyssis.org> <481e507a.8XsVIuRvsw0nXEWh%perryh@pluto.rain.com> Message-ID: <200805051441.09849.tijl@ulyssis.org> On Monday 05 May 2008 02:10:34 perryh@pluto.rain.com wrote: >>> ... very shortly after starting the actual install I got an error >>> box: >>> >>> >>> VISIO Setup >>> >>> ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' >>> >>> >>> and it locked up the display so that CtrlAltF1 would not switch >>> to a text screen (although it did allow AltTab to bring up FVWM's >>> window list). After clicking OK: >>> >>> >>> Visio Setup >>> >>> i Setup failed. >>> >>> >>> and it quit. >> >> What version of Visio is this? > > 3.0. Long before M$ took it over, so it should be just a generic > Win32 app with no secret M$ tricks. Visio 3.0 was still 16bit apparently. What you could try is to set the Windows version in winecfg (bottom of applications tab) to Windows 95 or even Windows 3.1. >> Also, you should really take this to the wine-users@winehq.org >> mailing list. The people there should know more about this than >> here on a FreeBSD mailing list. > > I suppose I can try it, but I wonder how much interest there will > be on a wine list in supporting FreeBSD. At a minimum I suppose > they'll want to know if it still breaks on the latest wine version, > and I'll have no way to find out since the FreeBSD port doesn't > support the latest wine version. It's just that they know more about debugging such problems and figuring out if it's Wine or a FreeBSD problem. The latest version is in ports by the way, wine 0.9.61. > In any case, it seems FreeBSD should not be allowing a port -- any > port -- to lock out CtrlAltF1. Patches welcome... From scriper at mail.ru Mon May 5 17:38:08 2008 From: scriper at mail.ru (Nickolay D. Hodyunya) Date: Mon May 5 17:38:37 2008 Subject: Logitech G9 mouse and FreeBSD 7 Message-ID: <20080505160649.GB80650@stdcall.ate.loc> Hi everyone. I'm using Logitech G9 mouse with my freebsd 7.0 box. The problem is that my mouse don't response after I click on additional buttons. The cursor stop moving in both system console and xorg session. The another one problem i have with logitech media keyboard 600. I don't know which model should i pick in xorg.conf for this one(i keep "XkbModel pc105" currently). When i run xev it shows keycodes for standard keys, and keep silence when i push any of the additional keyboard keys. -- From stevefranks at ieee.org Mon May 5 17:42:54 2008 From: stevefranks at ieee.org (Steve Franks) Date: Mon May 5 17:42:57 2008 Subject: wine, amd64, and fc-7 Message-ID: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> Anyone try to get an rpm of wine working under linux compat? Did you have to install fc-7 instead of fc-4? Is fc7 ready for primetime? Someone said it had issues awhile back. Looks like all the 64-bit linux guys run wine, why don't we? Of course, I'd prefer a native FreeBSD port over an rpm if I could get it... Thanks, Steve From bsam at ipt.ru Mon May 5 18:07:14 2008 From: bsam at ipt.ru (Boris Samorodov) Date: Mon May 5 18:07:17 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> (Steve Franks's message of "Mon\, 5 May 2008 10\:42\:52 -0700") References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> Message-ID: <42083015@ipt.ru> Hello Steve, On Mon, 5 May 2008 10:42:52 -0700 Steve Franks wrote: > Anyone try to get an rpm of wine working under linux compat? Did you > have to install fc-7 instead of fc-4? Is fc7 ready for primetime? > Someone said it had issues awhile back. It's not and fc (port) issue, it's rather kernel's one (linux.osrelease 2.4.2 vs 2.6.16 emulation). The default is 2.4.2 even for CURRENT (but mat change soon). And when the default linux.osrelease is changed at CURRENT some time will pass before something like f8 (or even f9) may become a default linux emulation port. > Looks like all the 64-bit linux guys run wine, why don't we? Of FreeBSD doesn't have 64-bit linux emulation, it's 32-bit for now. And afaik no one is working on it. > course, I'd prefer a native FreeBSD port over an rpm if I could get > it... -- WBR, bsam From wojtek at wojtek.tensor.gdynia.pl Mon May 5 18:11:18 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 5 18:11:22 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> Message-ID: <20080505201053.R31689@wojtek.tensor.gdynia.pl> > Looks like all the 64-bit linux guys run wine, why don't we? Of run windows if you need windoze apps From kamikaze at bsdforen.de Mon May 5 18:20:18 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Mon May 5 18:20:25 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <42083015@ipt.ru> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> <42083015@ipt.ru> Message-ID: <481F4FD3.8060406@bsdforen.de> Boris Samorodov wrote: > Hello Steve, > > > On Mon, 5 May 2008 10:42:52 -0700 Steve Franks wrote: > >> Anyone try to get an rpm of wine working under linux compat? Did you >> have to install fc-7 instead of fc-4? Is fc7 ready for primetime? >> Someone said it had issues awhile back. > > It's not and fc (port) issue, it's rather kernel's one > (linux.osrelease 2.4.2 vs 2.6.16 emulation). The default is 2.4.2 even > for CURRENT (but mat change soon). And when the default > linux.osrelease is changed at CURRENT some time will pass before > something like f8 (or even f9) may become a default linux emulation > port. > >> Looks like all the 64-bit linux guys run wine, why don't we? Of > > FreeBSD doesn't have 64-bit linux emulation, it's 32-bit for now. > And afaik no one is working on it. > >> course, I'd prefer a native FreeBSD port over an rpm if I could get >> it... I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, though. It seems parts of the code for dynamicilly loading 32bit libraries is broken. Should I succeed I will create a Wiki article, containing patches and a howto to set things up. And of course the ports@ list would get informed. From stevefranks at ieee.org Mon May 5 18:22:04 2008 From: stevefranks at ieee.org (Steve Franks) Date: Mon May 5 18:22:08 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <20080505201053.R31689@wojtek.tensor.gdynia.pl> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> <20080505201053.R31689@wojtek.tensor.gdynia.pl> Message-ID: <539c60b90805051122s572e8cb3xedbec2f9e02acf7a@mail.gmail.com> > run windows if you need windoze apps Noooooooooooooooooooooooooooooooooooooo! I'll never turn! I've been quite happily, actually, moving my installed base of systems in the other direction. (I thought I'd get a more serious response from the fbsd higher-ups, Wojciech). Seriously, though, I thought someone might have installed wine on 32-bit linux emualtion on amd64. All the other linux apps run so well, I thought it was worth a try, didn't know I'd be the guinea pig, but hey, makes me feel special. The speed of my kqemu installation leaves something to be desired. I thought I'd give wine a shot. Steve From walt at wump.org Mon May 5 18:40:53 2008 From: walt at wump.org (Walt Pawley) Date: Mon May 5 18:40:57 2008 Subject: What is CPP's real default include path? In-Reply-To: <200805051206.52546.fbsd.questions@rachie.is-a-geek.net> References: <200805051206.52546.fbsd.questions@rachie.is-a-geek.net> Message-ID: At 12:06 PM +0200 5/5/08, Mel wrote: >On Monday 05 May 2008 10:12:05 Walt Pawley wrote: >> I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. >> My initial efforts failed the configuration process for not >> finding iconv.h. This, despite /usr/local/include/iconv.h being >> present and supposedly in the include search path if the info >> documentation can be believed. >> >> Just to see if I could learn something, I copied the >> /usr/local/include/iconv.h to /usr/include/ and tried again. >> After this, the configuration process completed and the >> application seemed to "make" and "make install" just fine. >> >> Is there some way to ascertain what the set of default include >> paths actually is? > >Even though cc has a million options, there's none that I know that prints the >system include path (not even in -dumpspecs). However, in practice you can >assume it's /usr/include. > >To make configure scripts believe you have something installed, it's not a >good idea to copy headers. >Look for a --with-iconv=/usr/local option and failing that, change CFLAGS and >LDFLAGS in the environment when configuring. Admonition understood - I was just experimenting and wanted the file to be in a specific place without any uncertainty about just what various "look over there" options actually do. The reason for such a mind set is that actual behavior of cpp seems to differ from its documentation, to wit: info cpp :: Header Files::Search Path reads: GCC looks in several different places for headers. On a normal Unix system, if you do not instruct it otherwise, it will look for headers requested with `#include ' in: /usr/local/include LIBDIR/gcc/TARGET/VERSION/include /usr/TARGET/include /usr/include I'm either missing something very fundamental (which I doubt not at all) or this should be a somewhat serious problem. There are 4944 header files in /usr/local/include/ branch on this system that should be accessible by default but, if my experience with nzbget is any guide, do not seem to be. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 From listreader at lazlarlyricon.com Mon May 5 18:42:25 2008 From: listreader at lazlarlyricon.com (Rolf G Nielsen) Date: Mon May 5 18:42:30 2008 Subject: Logitech G9 mouse and FreeBSD 7 In-Reply-To: <20080505160649.GB80650@stdcall.ate.loc> References: <20080505160649.GB80650@stdcall.ate.loc> Message-ID: <481F550F.5090407@lazlarlyricon.com> Nickolay D. Hodyunya wrote: > Hi everyone. > I'm using Logitech G9 mouse with my freebsd 7.0 box. The problem is that > my mouse don't response after I click on additional buttons. The cursor stop > moving in both system console and xorg session. I've had the same problem with my G5. When I disabled moused it went away. Edit /etc/devd.conf and search for ums, then comment out (or delete) the entire section. Then edit xorg.conf, go to the mouse section and change the Device to /dev/ums0 and Protocol to auto. Moreover, you may need to put a line that modifies the button numbers of the mouse (xmodmap -e does that) in your .xsession or .xinitrc. (...) -- Sincerly, Rolf Nielsen From fbsd.questions at rachie.is-a-geek.net Mon May 5 19:00:39 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 5 19:00:43 2008 Subject: What is CPP's real default include path? In-Reply-To: References: <200805051206.52546.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805052100.36029.fbsd.questions@rachie.is-a-geek.net> On Monday 05 May 2008 20:42:23 Walt Pawley wrote: > At 12:06 PM +0200 5/5/08, Mel wrote: > >On Monday 05 May 2008 10:12:05 Walt Pawley wrote: > >> I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. > >> My initial efforts failed the configuration process for not > >> finding iconv.h. This, despite /usr/local/include/iconv.h being > >> present and supposedly in the include search path if the info > >> documentation can be believed. > >> > >> Just to see if I could learn something, I copied the > >> /usr/local/include/iconv.h to /usr/include/ and tried again. > >> After this, the configuration process completed and the > >> application seemed to "make" and "make install" just fine. > >> > >> Is there some way to ascertain what the set of default include > >> paths actually is? > > > >Even though cc has a million options, there's none that I know that prints > > the system include path (not even in -dumpspecs). However, in practice > > you can assume it's /usr/include. > > > >To make configure scripts believe you have something installed, it's not a > >good idea to copy headers. > >Look for a --with-iconv=/usr/local option and failing that, change CFLAGS > > and LDFLAGS in the environment when configuring. > > Admonition understood - I was just experimenting and wanted the > file to be in a specific place without any uncertainty about > just what various "look over there" options actually do. The > reason for such a mind set is that actual behavior of cpp seems > to differ from its documentation, to wit: > > info cpp :: Header Files::Search Path reads: FreeBSD uses a modified version of GCC. Info files haven't been updated to reflect that. > GCC looks in several different places for headers. On a normal Unix > system, if you do not instruct it otherwise, it will look for headers > requested with `#include ' in: > > /usr/local/include Nope. > LIBDIR/gcc/TARGET/VERSION/include > /usr/TARGET/include No idea really. > /usr/include Yep. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From naylor.b.david at gmail.com Mon May 5 19:05:40 2008 From: naylor.b.david at gmail.com (David Naylor) Date: Mon May 5 19:05:46 2008 Subject: ATA and APIC IRQ conflict In-Reply-To: <3c0b01820805031617i4dc19c92tf65c8a167b881172@mail.gmail.com> References: <200805031525.07086.naylor.b.david@gmail.com> <3c0b01820805031617i4dc19c92tf65c8a167b881172@mail.gmail.com> Message-ID: <200805052052.34147.naylor.b.david@gmail.com> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080505/bf92bf28/attachment.pgp From walt at wump.org Mon May 5 19:13:20 2008 From: walt at wump.org (Walt Pawley) Date: Mon May 5 19:13:25 2008 Subject: What is CPP's real default include path? Message-ID: At 12:06 PM +0200 5/5/08, Mel wrote: >On Monday 05 May 2008 10:12:05 Walt Pawley wrote: >> I've been fiddling with compiling nzbget-0.4.0 on a 6.3 system. >> My initial efforts failed the configuration process for not >> finding iconv.h. This, despite /usr/local/include/iconv.h being >> present and supposedly in the include search path if the info >> documentation can be believed. >> >> Just to see if I could learn something, I copied the >> /usr/local/include/iconv.h to /usr/include/ and tried again. >> After this, the configuration process completed and the >> application seemed to "make" and "make install" just fine. >> >> Is there some way to ascertain what the set of default include >> paths actually is? > >Even though cc has a million options, there's none that I know that prints the >system include path (not even in -dumpspecs). However, in practice you can >assume it's /usr/include. I bumped into the description of the -v flag whilst perusing the cpp info docs and did this ... after removing the ersatz /usr/include/iconv.h mentioned above. Apparently these paths are compiled in (???). %cat > x #include %cpp -v x Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 /usr/libexec/cc1 -E -quiet -v -D_LONGLONG x ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/include End of search list. # 1 "x" # 1 "" # 1 "" # 1 "x" x:1:19: iconv.h: No such file or directory -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 From doug at safeport.com Mon May 5 19:13:51 2008 From: doug at safeport.com (doug@safeport.com) Date: Mon May 5 19:13:56 2008 Subject: X11 installation error In-Reply-To: <86fxsxqfq3.fsf@nowhere.org> References: <6b0f34140805050124v220d6b4dwf9a92752a1d27470@mail.gmail.com> <86fxsxqfq3.fsf@nowhere.org> Message-ID: <20080505144935.H37598@fledge.watson.org> On Mon, 5 May 2008, Glyn Millington wrote: > "Ruel Luchavez" writes: > >> I already try it but the server reply me an error: >> >> Error: FTP Unable to get >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/ >> xorg.tbz: File unavailable (e.g., file not found, no access) >> pkg_add: unable to fetch 'ftp://ftp.freebsd.org/ >> pub/FreeBSD/i386/packages6.2-release/Latest/xorg.tbz' by URL This is most likely a naming issue. Use ftp and manually cd to the above directory to find out the name. >> can anyone Help me to solve it.. > > Is there something odd going on in your package database? Have you tried > a > > #pkgdb -F ? > Also because of the libraries involved you may not be able to do 'make install' while xorg is running. Personally I subscribe to using the package because of the length of time to build. From stevefranks at ieee.org Mon May 5 19:50:42 2008 From: stevefranks at ieee.org (Steve Franks) Date: Mon May 5 19:50:44 2008 Subject: qemu coredumps on any network activity In-Reply-To: <83719.1210012733@tigger.icir.org> References: <83719.1210012733@tigger.icir.org> Message-ID: <539c60b90805051250xac3f1ffv52a0673e16f06414@mail.gmail.com> On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh wrote: > Hi, > > > > I am seeing the same problem, did you ever get to the bottom of this? > > Atanu. > I switched to using a "tap" bridge instead. I have not had any problems with it. FYI I am on FreeBSD 7.0-stable, amd64. Steve ~/bin/qemu.sh: sudo kldload kqemu if_tap if_bridge aio sudo sysctl net.link.tap.user_open=1 sudo sysctl net.link.tap.devfs_cloning=1 sudo sysctl net.link.tap.up_on_open=1 # sudo ifconfig bridge0 destroy # sudo ifconfig bridge1 destroy # sudo ifconfig tap0 destroy # sudo ifconfig tap1 destroy # sudo ifconfig tap2 destroy # sudo ifconfig tap3 destroy # sudo ifconfig tap4 destroy # sudo ifconfig tap5 destroy # sudo ifconfig tap6 destroy # sudo ifconfig tap7 destroy # sudo ifconfig tap8 destroy # sudo ifconfig tap9 destroy sudo ifconfig bridge0 create sudo ifconfig bridge0 addm vr0 # sudo ifconfig tap0 create sudo ifconfig bridge0 addm tap0 sudo ifconfig bridge0 addm tap1 sudo ifconfig bridge0 addm tap2 sudo ifconfig bridge0 addm tap3 sudo ifconfig bridge0 addm tap4 sudo ifconfig bridge0 addm tap5 sudo ifconfig bridge0 addm tap6 sudo ifconfig bridge0 addm tap7 sudo ifconfig bridge0 addm tap8 sudo ifconfig bridge0 addm tap9 sudo ifconfig bridge0 up sudo ifconfig vr0 up sudo ifconfig tap0 up sudo ifconfig tap1 up sudo ifconfig tap2 up sudo ifconfig tap3 up sudo ifconfig tap4 up sudo ifconfig tap5 up sudo ifconfig tap6 up sudo ifconfig tap7 up sudo ifconfig tap8 up sudo ifconfig tap9 up sudo dhclient bridge0 sudo /etc/rc.d/devfs restart sudo /etc/rc.d/sysctl restart ifconfig qemu -m 512 -net nic -net tap -hda /usr/local/share/qemu/drivec.img -usb -usbdevice tablet & # -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga & From wojtek at wojtek.tensor.gdynia.pl Mon May 5 20:00:42 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 5 20:00:45 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <539c60b90805051122s572e8cb3xedbec2f9e02acf7a@mail.gmail.com> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> <20080505201053.R31689@wojtek.tensor.gdynia.pl> <539c60b90805051122s572e8cb3xedbec2f9e02acf7a@mail.gmail.com> Message-ID: <20080505215829.P32126@wojtek.tensor.gdynia.pl> >> run windows if you need windoze apps > Noooooooooooooooooooooooooooooooooooooo! I'll never turn! I've been > quite happily, actually, moving my installed base of systems in the > other direction. (I thought I'd get a more serious response from the > fbsd higher-ups, Wojciech). yes this is serious. there are very few things that doesn't exist for unix - only windows. but if you really need install windows. it is at least (roughly) windows compatible :) or use qemu. it's slow but works. i do this - just to be able to check how my webpages display in Internet Exploder. > Seriously, though, I thought someone might have installed wine on > 32-bit linux emualtion on amd64. All the other linux apps run so actually i never had any success with wine, only simple apps work. on the other hand i don't needed it much. From wojtek at wojtek.tensor.gdynia.pl Mon May 5 20:17:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 5 20:17:34 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <481F4FD3.8060406@bsdforen.de> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> <42083015@ipt.ru> <481F4FD3.8060406@bsdforen.de> Message-ID: <20080505221543.G1517@wojtek.tensor.gdynia.pl> > I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, though. It there is no "32-bit jails" it's just jail with all programs 32-bit. but you don't enhance any kernel capabilities this way From kamikaze at bsdforen.de Mon May 5 20:31:34 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Mon May 5 20:31:39 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <20080505221543.G1517@wojtek.tensor.gdynia.pl> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> <42083015@ipt.ru> <481F4FD3.8060406@bsdforen.de> <20080505221543.G1517@wojtek.tensor.gdynia.pl> Message-ID: <481F6E96.8030602@bsdforen.de> Wojciech Puchar wrote: >> I'm trying to get it to work in a 32-Bit Jail. I ain't there yet, >> though. It > > there is no "32-bit jails" it's just jail with all programs 32-bit. but > you don't enhance any kernel capabilities this way Everything apart from the Kernel is 32-Bit. This is what I'd call a 32-Bit Jail. From tijl at ulyssis.org Mon May 5 21:01:54 2008 From: tijl at ulyssis.org (Tijl Coosemans) Date: Mon May 5 21:01:58 2008 Subject: wine, amd64, and fc-7 In-Reply-To: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> References: <539c60b90805051042r7a5524a7lebe7417cd96a249c@mail.gmail.com> Message-ID: <200805052301.44961.tijl@ulyssis.org> On Monday 05 May 2008 19:42:52 Steve Franks wrote: > Anyone try to get an rpm of wine working under linux compat? Did > you have to install fc-7 instead of fc-4? Is fc7 ready for > primetime? Someone said it had issues awhile back. > > Looks like all the 64-bit linux guys run wine, why don't we? Of > course, I'd prefer a native FreeBSD port over an rpm if I could > get it... I looked into this when doing some work on Wine about a year ago: * Wine doesn't work under the Linux compat layer because of differences between Linux and FreeBSD mmap(2) and because the implementation of the set_thread_area syscall is too simplistic. * Wine doesn't work on FreeBSD/amd64 because the kernel doesn't preserve the segment registers on context switches. Also, Wine and all its dependencies (xorg libs etc.) should be built as 32 bit. Ideally the ports system would provide the infrastructure for that. None of this is really difficult to fix but I didn't (and still don't) have an amd64 system so I moved on to fix other problems. From pisymbol at gmail.com Mon May 5 21:37:00 2008 From: pisymbol at gmail.com (Alexander Sack) Date: Mon May 5 21:37:07 2008 Subject: ATA and APIC IRQ conflict In-Reply-To: <200805052052.34147.naylor.b.david@gmail.com> References: <200805031525.07086.naylor.b.david@gmail.com> <3c0b01820805031617i4dc19c92tf65c8a167b881172@mail.gmail.com> <200805052052.34147.naylor.b.david@gmail.com> Message-ID: <3c0b01820805051436u6cfb2c56gbe0de1432b6d0c10@mail.gmail.com> On Mon, May 5, 2008 at 2:52 PM, David Naylor wrote: > On Sunday 04 May 2008 01:17:16 you wrote: > > On Sat, May 3, 2008 at 9:25 AM, David Naylor > wrote: > > > I am trying to install FreeBSD on a gigabyte board (based on nForce 650i > > > chipset (with MCP51 controller)) however no SATA hard drives are > > > detected. However, if APIC is disabled then I have access to the hard > > > drives (and only one CPU). It has been suggested that it is an IRQ > > > conflict (or something else related to APIC). > > > > I'll bet its interrupt routing more than IRQ conflicts (which these > > days on a modern system really doesn't make sense). More than likely > > there is some funkiness going on with the BIOS's ACPI tables (I would > > start with the MADT and verify its entries look kosher). > Considering that the system works with APIC disabled I think you are right. I > am learning on the fly here, sorry. You said the system works but later on you say you can't see second IDE controller? My guess is the system still doesn't work right! :D! > There does not appear to be any BIOS options except for the suspend state, > currently set to S1? (And a few power-on options, all disabled) Typically when you disable APIC your in classical 8259 mode which should work. I've seen power management screw up a box royally on a soft reset too but again, not sure that is your problem just yet. > > Though it could be a power management problem and have nothing to do > > with interrupts (though with the SATA hard drives not being detected I > > would guess its interrupts). > Both linux and windows vista run on this system without a problem... Except > when I reboot from FreeBSD then windows BSOD's and linux keeps resetting ata > (without ever actually booting). After having run FreeBSD I need to do a > system power down (not just a reboot) then the problem disappears. Seems like after a soft reset, ACPI firmware is left in an inconsistent state (that might be because whatever version of BSD you are running to bring it up completely properly). > Also even with APIC disabled FreeBSD fails to detect my second CD ROM drive > (both are IDE) and it fails to read the first one. Still not good, sounds like an interrupt routing issue again. I'm assuming the drivers load but nothing is detected (that would rule out any PCI bus hierarchy nastiness). > I doubt it is a BIOS specific problem since this is the second board (first > one was from Asus) that has this problem. Just to be safe I flashed the BIOS > to the latest one, no luck :-( I'm kinda losing it. What version of FreeBSD are you using 7.0 RELEASE or top of tree (built from -CURRENT)? I should have asked this to begin with (and you should post it in future postings). My guess is you are trying a STABLE release (6.3 or 7.0) etc. If you can dump the AML code (even from Linux) that would be very very helpful. Here is a utility that works from DOS: http://www.programmersheaven.com/download/25319/2/ZipView.aspx dmesg during an ACPI boot also is needed (again turn on debugging). Most of the time ACPI problems (from my limited experience) is really due to "interesting" ACPI table code that can throw off the OS. Interrupt routing issues tend to be MADT related but I have no idea what is your specific problem so far. -aps From ccowart at rescomp.berkeley.edu Mon May 5 22:13:48 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Mon May 5 22:13:51 2008 Subject: lang/php5 fails in apxs Message-ID: <20080505215810.GA89055@hal.rescomp.berkeley.edu> Hello, I stumbled across this behavior roughly a year ago. The php5 port has the following lines in the pkg-plist: %%APACHE%%@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %f %%APACHE%%@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %f This command reads /usr/local/etc/apache22/httpd.conf, looks for LoadModule lines, appends a LoadModule for php5, and exits. I don't have any LoadModule lines in my httpd.conf; they've all been separated out into include files. The result is the port fails to install: | apxs:Error: Activation failed for custom | /usr/local/etc/apache22/httpd.conf file.. | apxs:Error: At least one `LoadModule' directive already has to exist.. | pkg_add: command '/usr/local/sbin/apxs -e -a -n php5 libphp5.so' failed | ---> Removing old package' | ** Fix the installation problem and try again. Needless to say, this is annoying. I have to remember to add a "LoadModule foo foo.so" line to the httpd.conf whenever I upgrade php5, and remove both it and the PHP LoadModule directive when I'm done. Why does the port think it's kosher to touch live configuration files? A lot of people keep their configurations under revision control (and most probably should). On the next commit on my system, this change is gone anyways. Does anyone have any decent work arounds? Better yet, is there any interest in fixing the php5 port so that it doesn't touch configuration files? At the very least, I'd love a knob to disable the "feature." -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 825 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080505/d8f83638/attachment.pgp From mario_vazq at hotmail.com Mon May 5 22:21:59 2008 From: mario_vazq at hotmail.com (Mario Vazquez) Date: Mon May 5 22:22:03 2008 Subject: Question about a recent installation Message-ID: I have been using different Linux distributions for some years, and decided to give FreeBSD a try. The install was successful, but have a question about how the root account is made. Found that the root folder was created with the user/group privileges root:wheel. Is not that a kind of security risk? I know that usually only the account used by the administrator is the one, in addition to root, that belongs to the wheel group. But also I know that sometimes admins get lazy and give for limited time extra privileges just to allow someone to do something, and that's where the danger can come. Btw, that's just my opinion. _________________________________________________________________ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008 From doug at fledge.watson.org Mon May 5 23:17:22 2008 From: doug at fledge.watson.org (doug) Date: Mon May 5 23:17:26 2008 Subject: Question about a recent installation In-Reply-To: References: Message-ID: <20080505191223.U24925@fledge.watson.org> On Mon, 5 May 2008, Mario Vazquez wrote: > > I have been using different Linux distributions for some years, and decided to > give FreeBSD a try. The install was successful, but have a question about how > the root account is made. Found that the root folder was created with the > user/group privileges root:wheel. Is not that a kind of security risk? I > know that usually only the account used by the administrator is the one, in > addition to root, that belongs to the wheel group. But also I know that > sometimes admins get lazy and give for limited time extra privileges just to > allow someone to do something, and that's where the danger can come. Btw, > that's just my opinion. > _________________________________________________________________ To give limited priviledges I think sudo (as in linux??) would be used. If that does not provide enough security then kerberos could be used. In general I don't see how you main concern is unique to FreeBSD. DougD From gilles.ganault at free.fr Tue May 6 00:26:44 2008 From: gilles.ganault at free.fr (Gilles) Date: Tue May 6 00:26:49 2008 Subject: [6.3] Keeping host up to date References: <481C7F9C.9050405@otenet.gr> Message-ID: On Sat, 03 May 2008 18:07:08 +0300, Manolis Kiagias wrote: >You just need the ports-supfile. The standard supfile is for the >base system. Thanks. I updated the packages I actually need. Looks like I need to run "make clean" before "make config ; make; make deinstall ; make reinstall", otherwise make doesn't do anything: # pkg_version -l [...] php5-5.2.5_1 < needs updating (port has 5.2.6) php5-bz2-5.2.5_1 < needs updating (port has 5.2.6) php5-ctype-5.2.5_1 < needs updating (port has 5.2.6) etc. # cd /usr/ports/lang/php5 # make # From atanu at icsi.berkeley.edu Tue May 6 00:34:22 2008 From: atanu at icsi.berkeley.edu (Atanu Ghosh) Date: Tue May 6 00:34:26 2008 Subject: qemu coredumps on any network activity In-Reply-To: Message from "Steve Franks" of "Mon, 05 May 2008 12:50:41 PDT." <539c60b90805051250xac3f1ffv52a0673e16f06414@mail.gmail.com> Message-ID: <46013.1210032702@tigger.icir.org> Hi, Thanks for the info, I am also using I am on FreeBSD 7.0-stable, amd64. Atanu. >>>>> "Steve" == Steve Franks writes: Steve> On Mon, May 5, 2008 at 11:38 AM, Atanu Ghosh Steve> wrote: >> Hi, >> >> >> >> I am seeing the same problem, did you ever get to the bottom of >> this? >> >> Atanu. >> Steve> I switched to using a "tap" bridge instead. I have not had Steve> any problems with it. FYI I am on FreeBSD 7.0-stable, amd64. Steve> Steve Steve> ~/bin/qemu.sh: Steve> sudo kldload kqemu if_tap if_bridge aio Steve> sudo sysctl net.link.tap.user_open=1 sudo sysctl Steve> net.link.tap.devfs_cloning=1 sudo sysctl Steve> net.link.tap.up_on_open=1 Steve> # sudo ifconfig bridge0 destroy # sudo ifconfig bridge1 Steve> destroy # sudo ifconfig tap0 destroy # sudo ifconfig tap1 Steve> destroy # sudo ifconfig tap2 destroy # sudo ifconfig tap3 Steve> destroy # sudo ifconfig tap4 destroy # sudo ifconfig tap5 Steve> destroy # sudo ifconfig tap6 destroy # sudo ifconfig tap7 Steve> destroy # sudo ifconfig tap8 destroy # sudo ifconfig tap9 Steve> destroy Steve> sudo ifconfig bridge0 create sudo ifconfig bridge0 addm vr0 # Steve> sudo ifconfig tap0 create sudo ifconfig bridge0 addm tap0 Steve> sudo ifconfig bridge0 addm tap1 sudo ifconfig bridge0 addm Steve> tap2 sudo ifconfig bridge0 addm tap3 sudo ifconfig bridge0 Steve> addm tap4 sudo ifconfig bridge0 addm tap5 sudo ifconfig Steve> bridge0 addm tap6 sudo ifconfig bridge0 addm tap7 sudo Steve> ifconfig bridge0 addm tap8 sudo ifconfig bridge0 addm tap9 Steve> sudo ifconfig bridge0 up sudo ifconfig vr0 up sudo ifconfig Steve> tap0 up sudo ifconfig tap1 up sudo ifconfig tap2 up sudo Steve> ifconfig tap3 up sudo ifconfig tap4 up sudo ifconfig tap5 up Steve> sudo ifconfig tap6 up sudo ifconfig tap7 up sudo ifconfig Steve> tap8 up sudo ifconfig tap9 up sudo dhclient bridge0 Steve> sudo /etc/rc.d/devfs restart sudo /etc/rc.d/sysctl restart Steve> ifconfig Steve> qemu -m 512 -net nic -net tap -hda Steve> /usr/local/share/qemu/drivec.img -usb -usbdevice tablet & # Steve> -usbdevice disk:/dev/da0 -hdb fat:/mnt/flash -std-vga & From jeffrey at goldmark.org Tue May 6 00:51:54 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Tue May 6 00:51:59 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <20394DFE-C346-4CF3-8798-B9ABB3ECCE50@goldmark.org> On May 5, 2008, at 12:12 AM, prad wrote: > i'd like to know how people live with freebsd. My FreeBSD systems are light weight servers only, so what I do is specific to my circumstances and tastes. > do you use only ports or only packages or a mixture? I only use ports, but I suppose that if I had some really large things to install like OOo, I would consider using packages. > do you upgrade from version to version using freebsd tools or do it > manually? I use csup and will rebuild world and the kernel as needed. I've got a fairly stripped down kernel to improve boot times. But again, I kind of find it "cool" to compile the whole OS. It may be irrational and non-optimal. That's why I said some of this is a matter of taste as well as circumstances. My choice of when to upgrade the OS really depends on what I need. I don't like to be too far behind. I recently moved one system for 7.0 RELEASE to 7 STABLE because of a specific fix that affected one of my systems. > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? I suspect that for a desktop, I would be more tempted to keep closer to GENERIC and use packages. But I only have FreeBSD servers on which I don't even run an X11 server. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From jeffrey at goldmark.org Tue May 6 00:58:49 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Tue May 6 00:58:54 2008 Subject: Question about a recent installation In-Reply-To: <20080505191223.U24925@fledge.watson.org> References: <20080505191223.U24925@fledge.watson.org> Message-ID: On May 5, 2008, at 6:17 PM, doug wrote: > To give limited priviledges I think sudo (as in linux??) would be > used. I concur that sudo is really a very good way of managing privileges. I don't even know the root passwords on the systems that I administer (OK, I do have them stored in a nice secured place if I ever do need them). Cheers, -j From gilles.ganault at free.fr Tue May 6 02:00:34 2008 From: gilles.ganault at free.fr (Gilles) Date: Tue May 6 02:00:38 2008 Subject: Updating PHP5? Message-ID: <3pev14lvvrlee7tesbqiumliqnfpqm5t53@4ax.com> Hello I succesfully updated the Ports collection, and recompiled PHP5, but nothing happens when I run "make" to recompile the PHP extensions: 1. cd /usr/ports/lang/php5 ; make clean ; make config ; make ; make deinstall ; make reinstall 2. pkg_version -v | grep php php5-5.2.6 = up-to-date with port php5-bz2-5.2.5_1 < needs updating (port has 5.2.6) php5-ctype-5.2.5_1 < needs updating (port has 5.2.6) etc. 3. cd /usr/ports/lang/php5-extensions ; make clean ; make config [/usr/ports/lang/php5-extensions]# make [/usr/ports/lang/php5-extensions]# Nothing happens :-/ Are the above, outdated packages located elsewhere? Thank you. From gilles.ganault at free.fr Tue May 6 03:21:59 2008 From: gilles.ganault at free.fr (Gilles) Date: Tue May 6 03:22:03 2008 Subject: Updating PHP5? References: <3pev14lvvrlee7tesbqiumliqnfpqm5t53@4ax.com> Message-ID: <7ljv145dclcpvhlnj0ghckiepadoj6gj7u@4ax.com> On Tue, 06 May 2008 04:00:15 +0200, Gilles wrote: >Nothing happens :-/ Are the above, outdated packages located >elsewhere? FWIW, apparently, the solution is to run this: portupgrade php5-* and let it upgrade every package. From sahil at tandon.net Tue May 6 05:07:22 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue May 6 05:07:24 2008 Subject: living with freebsd In-Reply-To: <20080504221223.20b5827e@gom.home> References: <20080504221223.20b5827e@gom.home> Message-ID: <20080506050717.GA18162@shepherd> * prad [2008-05-04 22:12:23 -0700]: > do you use only ports or only packages or a mixture? Primarily ports. > do you upgrade from version to version using freebsd tools or do it > manually? I use portmanager. > do you have a different approach regarding the above depending on > whether it is for a server or a desktop? Only my servers run FreeBSD. > the handbook tells you what you can do, but i'd like to know what is > actually done and why. Well, that's just a bit too open-ended isn't it? ;-) -- Sahil Tandon From jonathan+freebsd-questions at hst.org.za Tue May 6 06:10:50 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Tue May 6 06:10:54 2008 Subject: Question about a recent installation In-Reply-To: References: Message-ID: <200805060812.55271.jonathan+freebsd-questions@hst.org.za> On Tuesday 06 May 2008 00:08, Mario Vazquez wrote: > I have been using different Linux distributions for some years, and decided > to give FreeBSD a try. The install was successful, but have a question > about how the root account is made. Found that the root folder was created > with the user/group privileges root:wheel. Is not that a kind of security > risk? I know that usually only the account used by the administrator is > the one, in addition to root, that belongs to the wheel group. But also I > know that sometimes admins get lazy and give for limited time extra > privileges just to allow someone to do something, and that's where the > danger can come. Btw, that's just my opinion. Not sure why it would be a security risk. wheel is the group for people who are allowed to su to root, so you should probably expect members of group wheel to have (or be able to get) root privs anyway. I'm not sure whether by ``root folder'' you mean / or /root , but in either case the wheel group doesn't have write access, at least on my system,and root's umask is 022, so created files aren't writable by members of wheel either. Lazy admins, of course, are a security risk. No-one should ever be given more privileges than they need, and as others have pointed out, sudo is a good answer to this problem. (In fact the first four ports that go on every box I set up, before I even think about what the box is for, are www/lynx, sysutils/screen, ports-mgmt/portupgrade and security/sudo ). Jonathan From yonyossef.lists at gmail.com Tue May 6 07:45:13 2008 From: yonyossef.lists at gmail.com (Mr Y) Date: Tue May 6 07:45:21 2008 Subject: OS throws away large packets In-Reply-To: <6C2C79E72C305246B504CBA17B5500C903E6C7C6@mtlexch01.mtl.com> References: <6C2C79E72C305246B504CBA17B5500C903E6C7C6@mtlexch01.mtl.com> Message-ID: <20def4870805060045l2660b363o5c42631b706f61b6@mail.gmail.com> > > > >>> Hi all, > > >>> > > >>> I'm trying to implement Large Recieve Offload for an > > >>> > > >> Ethernet driver > > >> > > >>> on FreeBSD 6.3, but all my >MTU packets are being thrown > > by the OS. > > >>> I'm using mbuf chains in this imlpementation, each mbuf is > > >>> > > >> a cluster > > >> > > >>> of MCLBYTES bytes. They are linked by the m_next pointer. > > >>> The first packet being thrown away is 2945 bytes long. > > >>> > > >> Wireshark shows > > >> > > >>> the packet that is being passed to the OS is correct. > > >>> > > >>> Do I need to set some OS parameter to make it recieve mbuf chains? > > >>> > > >>> Please help. > > >>> > > >>> > > >> Hi Yony, > > >> > > >> I seem to remember some discussion about this list last > > year see the > > >> following threads: > > >> > > >> > > >> > > > > > > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015250.htm > l > > > > > > > > > http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015350.htm > l > > > > > > >From my limited reading of these threads just now and possibly bad > > > memory. It would seem that the MRU to MTU relationship is > > defined in > > > the nic driver rather than > > > > > >> enforced further up the stack or at least that seamed to > > be the case > > >> > > > with the bce driver. > > > > > >> Hope this is helpful, > > >> > > >> Tom > > >> > > > > > > Hi Tom, > > > > > > >From what I understand these threads are referring to the bce > > > >hardware > > > configuration (bus configuration) and driver mbuf > > allocation size. Am > > > I correct? > > > In my case I'm not trying to receive packets >MTU from the > > HW, but to > > > chain mbuf clusters, each is MCLBYTES long, and pass the > > mbuf chain to > > > the OS. > > > Since tcpdump (analyzed by wireshark) catches the packets above the > > > driver and reports a good packet (and 2945 bytes long), I assume my > > > driver functionality is ok. From what I know tcpdump is supposed to > > > immitate the way the stack sees the packet, yet it is discarded. > > > My logic says there is an OS parameter handled by the > > driver (at net > > > device init time for example) that will set the OS to receive large > > > mbuf chains, or a kernel tcp parameter. Is the tcp stack > > submitted to > > > the mtu somehow? > > > > > > > > I don't see where you've identified what version of the os you're > > working with. There's a check in the 802.3 input path on earlier > > systems to discard frames >mtu. This was removed not too long ago > > with LRO in mind; check the history of sys/net/if_ethersubr.c. > > > > Sam > > > > Hi Sam, I have mentioned working on 6.3. > > FreeBSD 6.2 had this check in if_ethersubr.c / ether_input: > > 539 if (m->m_pkthdr.len > > 540 ETHER_MAX_FRAME(ifp, etype, m->m_flags & M_HASFCS)) { > 541 if_printf(ifp, "discard oversize frame " > 542 "(ether type %x flags %x len %u > > max %lu)\n", > 543 etype, m->m_flags, m->m_pkthdr.len, > 544 ETHER_MAX_FRAME(ifp, etype, > 545 m->m_flags & > M_HASFCS)); > 546 ifp->if_ierrors++; > 547 m_freem(m); > 548 return; > 549 } > > Patching it was explained by neterion in > http://trac.neterion.com/cgi-bin/trac.cgi/wiki/FreeBSD. > This check no longer exists in 6.3, nor any other oversize packet > handling (I couldn't find any so far). > I also get no error prints from the OS. > The problem was in my packet, after I put some traces in netinet/ip_input.c I found out my m_pkthdr.len was not properly updated. Thanks From begeert at gmail.com Tue May 6 13:54:06 2008 From: begeert at gmail.com (geert Geurts) Date: Tue May 6 13:54:09 2008 Subject: ports missing after a upgrading Message-ID: Hello, I've just upgraded my freebsd 6.2 system to 6.3 and after successfully doing this upgrade I started portmanager to upgrade the rest of the software, but there I get into trouble... I'm getting allot of dependensie problems logged in /var/log/portmanager.log saying: [date/time string] MISSING dependency of [PACKAGENAME] [/location/of/port] [date/time string] [PACKAGENAME] [/location/of/port] failed during make, adding to ignore.db I have no idea what is going wrong nor why it is going wrong. Does anyone have a idea why or what is going wrong and how I can resolf it? Greetings, Geert From sahil at tandon.net Tue May 6 14:54:17 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue May 6 14:54:44 2008 Subject: ports missing after a upgrading In-Reply-To: References: Message-ID: > Hello, > I've just upgraded my freebsd 6.2 system to 6.3 and after successfully > doing this upgrade I started portmanager to upgrade the rest of the > software, but there I get into trouble... > I'm getting allot of dependensie problems logged in > /var/log/portmanager.log saying: > > [date/time string] > MISSING dependency of [PACKAGENAME] > [/location/of/port] > > [date/time string] > [PACKAGENAME] [/location/of/port] > failed during make, adding to ignore.db Show actual logs and output. - Sahil From freebsd at sopwith.solgatos.com Tue May 6 15:03:36 2008 From: freebsd at sopwith.solgatos.com (Dieter) Date: Tue May 6 15:03:41 2008 Subject: 6.2 -> 7.0 now mlock(2) fails In-Reply-To: Your message of "Sun, 13 Apr 2008 01:00:41 +0300." <87ve2m7mye.fsf@kobe.laptop> Message-ID: <200805061501.PAA11211@sopwith.solgatos.com> > It is. The pageout daemon initializes max_wired with: > > /* XXX does not really belong here */ > if (vm_page_max_wired == 0) > vm_page_max_wired = cnt.v_free_count / 3; > I installed the following: diff -r1.1 vm_pageout.c 1421c1421,1425 < vm_page_max_wired = cnt.v_free_count / 3; --- > { > printf("vm_page_max_wired was 0. cnt.v_free_count / 3 = %d\n", cnt.v_free_count / 3); > printf("setting vm_page_max_wired to cnt.v_free_count / 2 = %d\n", cnt.v_free_count / 2); > vm_page_max_wired = cnt.v_free_count / 2; > } Which gives: vm_page_max_wired was 0. cnt.v_free_count / 3 = 165410 setting vm_page_max_wired to cnt.v_free_count / 2 = 248115 No mlock failures in ~2.5 weeks. The largest value logged for vm.stats.vm.v_wire_count is 188614. Thanks! From andrew at accid.net Tue May 6 16:17:46 2008 From: andrew at accid.net (Andrew Cid) Date: Tue May 6 16:17:49 2008 Subject: Cross compiling i386 packages on amd64 Message-ID: <20080506162104.GA55284@farnborough.darq.net> Hi all, I have an i386 jail running on an amd64 host that I use to build packages. Most packages build fine, however I have a few that fail. This includes xorg (dri won't build) and mplayer. In all cases I get an error messages similar to this: {standard input}:147: Error: `(%rsi)' is not a valid 32 bit base/index expression {standard input}:148: Error: `(%rsi,%rax)' is not a valid 32 bit base/index expression gmake[1]: *** [pullup.o] Error 1 Any ideas how I can fix this? Cheers, Andrew -- accid.net From josh.carroll at gmail.com Tue May 6 16:27:51 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Tue May 6 16:27:55 2008 Subject: Cross compiling i386 packages on amd64 In-Reply-To: <20080506162104.GA55284@farnborough.darq.net> References: <20080506162104.GA55284@farnborough.darq.net> Message-ID: <8cb6106e0805060927n70035048n5c1e8d1cb5a07b15@mail.gmail.com> On Tue, May 6, 2008 at 12:21 PM, Andrew Cid wrote: > Hi all, > > I have an i386 jail running on an amd64 host that I use to build > packages. Most packages build fine, however I have a few that fail. > This includes xorg (dri won't build) and mplayer. In all cases I get an > error messages similar to this: > > {standard input}:147: Error: `(%rsi)' is not a valid 32 bit base/index expression > {standard input}:148: Error: `(%rsi,%rax)' is not a valid 32 bit base/index expression > gmake[1]: *** [pullup.o] Error 1 > > Any ideas how I can fix this? There are some tricks you can play. Notably, you need to trick auto* tools into thinking it's an i386 system. I think setting UNAME_m=i386 does the trick there: > uname -a FreeBSD pflog.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 01:20:52 EST 2008 root@pflog.net:/usr/obj/usr/src/sys/PFLOG amd64 > setenv UNAME_m i386 > uname -a FreeBSD pflog.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 01:20:52 EST 2008 root@pflog.net:/usr/obj/usr/src/sys/PFLOG i386 I believe there is something else I'm forgetting that you need to do to make compilation happy for some ports, but I can't recall them at the moment. Of course, things that expect to talk to an i386 kernel aren't going to work, and you may have issues with things that use hand-written ASM. Try setting UNAME_m though and see if it helps. It might also be wise to set ARCH=i386 and/or TARGET_ARCH=i386 in /etc/ports.conf. Josh From david+dated+1210521964.abd0fb at skytracker.ca Tue May 6 16:45:59 2008 From: david+dated+1210521964.abd0fb at skytracker.ca (David Banning) Date: Tue May 6 16:46:02 2008 Subject: suggestion on a backup utility Message-ID: <20080506160602.GA27098@skytracker.ca> I wonder if anyone can recommend a good backup utility for FreeBSD. If it's in the ports, great. I would like to just specify which directories I would like to backup, how often and have it tar or zip the files into a directory - if it has off-site ftp, fine, but I can do that part myself via crontab. I realize I could just make a script file with some tar commands, but I'm looking for something that is quicker to maintain and allows me to organize what I'm backing up. I have been using reoback but recently I ran into some problems with is duplicating files X 10! - I looked into to solving it but it might be easier to just try something else. From gilles.ganault at free.fr Tue May 6 17:12:05 2008 From: gilles.ganault at free.fr (Gilles) Date: Tue May 6 17:12:10 2008 Subject: [SSHd] Increasing wait time? Message-ID: Hello I'm a bit tired of people trying to break into SSH: May 6 16:59:23 freebsd sshd[24649]: Invalid user agatha from 195.43.9.246 May 6 16:59:26 freebsd sshd[24651]: Invalid user cristie from 195.43.9.246 May 6 16:59:29 freebsd sshd[24653]: Invalid user number from 195.43.9.246 May 6 16:59:31 freebsd sshd[24655]: Invalid user chamber from 195.43.9.246 etc. Is there a way to configure SSHd, so that the wait time between login attempts increases after X failed tries? Thank you. From chuckr at chuckr.org Tue May 6 17:19:56 2008 From: chuckr at chuckr.org (Chuck Robey) Date: Tue May 6 17:20:00 2008 Subject: suggestion on a backup utility In-Reply-To: <20080506160602.GA27098@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> Message-ID: <48208C2C.6070004@chuckr.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Banning wrote: > I wonder if anyone can recommend a good backup utility for FreeBSD. > If it's in the ports, great. I would like to just specify which > directories I would like to backup, how often and have it tar or zip > the files into a directory - if it has off-site ftp, fine, but I can > do that part myself via crontab. > > I realize I could just make a script file with some tar commands, > but I'm looking for something that is quicker to maintain and > allows me to organize what I'm backing up. > > I have been using reoback but recently I ran into some problems > with is duplicating files X 10! - I looked into to solving it but > it might be easier to just try something else. Maybe I'm misunderstanding something, but it seems a bit silly to me to waste any time backing up something that you can completely duplicate rather quickly via cvsup, anytime you want, error free. Maybe you're talking about saving work directories, something like that? Must be something I'm not seeing here .... > _______________________________________________ > 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" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIIwsz62J6PPcoOkRAtrlAJ4krL4BQ3HS/5GDqkS5tDCQYI8yNwCgoz7d Ds10FrtAw1Brvb4xDYqVS7o= =78xP -----END PGP SIGNATURE----- From beech at freebsd.org Tue May 6 17:31:23 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue May 6 17:31:27 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: Message-ID: <200805060931.18936.beech@freebsd.org> On Tuesday 06 May 2008, Gilles said: > Hello > > I'm a bit tired of people trying to break into SSH: > > May 6 16:59:23 freebsd sshd[24649]: Invalid user agatha from > 195.43.9.246 > May 6 16:59:26 freebsd sshd[24651]: Invalid user cristie from > 195.43.9.246 > May 6 16:59:29 freebsd sshd[24653]: Invalid user number from > 195.43.9.246 > May 6 16:59:31 freebsd sshd[24655]: Invalid user chamber from > 195.43.9.246 > etc. > > Is there a way to configure SSHd, so that the wait time between > login attempts increases after X failed tries? > > Thank you. Not that I know of. You should look into denyhosts (in the ports) it works well and even has a RBL feature to block some of these script kiddies proactively. Unfortunately, these attempts have become a fact of life. I probably get 20 - 30 attempts a day between my various servers. 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 doug at safeport.com Tue May 6 17:32:09 2008 From: doug at safeport.com (doug@safeport.com) Date: Tue May 6 17:32:12 2008 Subject: Question about a recent installation In-Reply-To: References: <20080505191223.U24925@fledge.watson.org> Message-ID: <20080506124939.N32039@pemaquid.safeport.com> >> On Mon, 5 May 2008, Mario Vazquez wrote: >> >>> >>> I have been using different Linux distributions for some years, and decided to >>> give FreeBSD a try. The install was successful, but have a question about how >>> the root account is made. Found that the root folder was created with the >>> user/group privileges root:wheel. Is not that a kind of security risk? I >>> know that usually only the account used by the administrator is the one, in >>> addition to root, that belongs to the wheel group. But also I know that >>> sometimes admins get lazy and give for limited time extra privileges just to >>> allow someone to do something, and that's where the danger can come. Btw, >>> that's just my opinion. >>> _________________________________________________________________ >> >> To give limited priviledges I think sudo (as in linux??) would be used. >> If that does not provide enough security then kerberos could be used. >> >> In general I don't see how you main concern is unique to FreeBSD. >> >> DougD > > _________________________________________________________________ > Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. > http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner > > yeah, sudo is. I don't have any issue in terms of functionality. But the > doubt I have is if having the root folder created with ownership root:wheel > can become a security issue or not. Also would like to know if there is no > problem changing my root folder ownership to root:root (which will require a > root group btw). Please do not top post. There is no reason for a root group. I think best practice is to have each admin keep their data in their accounts which are either allocated as name:wheel or they are defined as being in the wheel group. I do not know if sudo requires wheel membership. I do not understand the need for a root group. I think security liabilities from having a wheel group have long been worked out. What do you see as a problem? Is BSD different from linux in this regard? perhaps the latter question is an off-list topic. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-469-8766 Fax: 301-469-0601 From dkelly at hiwaay.net Tue May 6 17:39:16 2008 From: dkelly at hiwaay.net (David Kelly) Date: Tue May 6 17:39:21 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805060931.18936.beech@freebsd.org> References: <200805060931.18936.beech@freebsd.org> Message-ID: <20080506173912.GB85015@Grumpy.DynDNS.org> On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: > > > > Is there a way to configure SSHd, so that the wait time between > > login attempts increases after X failed tries? > > Not that I know of. You should look into denyhosts (in the ports) it > works well and even has a RBL feature to block some of these script > kiddies proactively. Unfortunately, these attempts have become a fact > of life. I probably get 20 - 30 attempts a day between my various > servers. Depending on how you use ssh from external systems you could add firewall rules to disallow all but known sources. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From heli at mikestammer.com Tue May 6 17:42:16 2008 From: heli at mikestammer.com (Eric Zimmerman) Date: Tue May 6 17:42:22 2008 Subject: suggestion on a backup utility In-Reply-To: <20080506160602.GA27098@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> Message-ID: <48208CE5.2040902@mikestammer.com> David Banning wrote: > I wonder if anyone can recommend a good backup utility for FreeBSD. > If it's in the ports, great. I would like to just specify which > directories I would like to backup, how often and have it tar or zip > the files into a directory - if it has off-site ftp, fine, but I can > do that part myself via crontab. > > I realize I could just make a script file with some tar commands, > but I'm looking for something that is quicker to maintain and > allows me to organize what I'm backing up. > > I have been using reoback but recently I ran into some problems > with is duplicating files X 10! - I looked into to solving it but > it might be easier to just try something else. flexbackup is pretty decent. i used it for a while before i just went to using dump on entire file systems. From beech at freebsd.org Tue May 6 17:59:33 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue May 6 17:59:37 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <20080506173912.GB85015@Grumpy.DynDNS.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> Message-ID: <200805060959.28509.beech@freebsd.org> On Tuesday 06 May 2008, David Kelly said: > On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: > > > Is there a way to configure SSHd, so that the wait time between > > > login attempts increases after X failed tries? > > > > Not that I know of. You should look into denyhosts (in the ports) > > it works well and even has a RBL feature to block some of these > > script kiddies proactively. Unfortunately, these attempts have > > become a fact of life. I probably get 20 - 30 attempts a day > > between my various servers. > > Depending on how you use ssh from external systems you could add > firewall rules to disallow all but known sources. I was doing that in the past, but I found it to be inflexable and sometimes a pain to deal with. I sometimes need to access a server from a new location and that kind of hard lockdown just isn't practical. The denyhosts solution works very well for me and the RBH feature blocks 9 out of 10 attempts outright. 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 rramsdell at livedatagroup.com Tue May 6 18:13:44 2008 From: rramsdell at livedatagroup.com (Randy Ramsdell) Date: Tue May 6 18:13:49 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <20080506173912.GB85015@Grumpy.DynDNS.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> Message-ID: <48209BFF.6090607@livedatagroup.com> David Kelly wrote: > On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: > >>> Is there a way to configure SSHd, so that the wait time between >>> login attempts increases after X failed tries? >>> >> Not that I know of. You should look into denyhosts (in the ports) it >> works well and even has a RBL feature to block some of these script >> kiddies proactively. Unfortunately, these attempts have become a fact >> of life. I probably get 20 - 30 attempts a day between my various >> servers. >> > > Depending on how you use ssh from external systems you could add > firewall rules to disallow all but known sources. > > I used portsentry several years ago which is a realtime portscan blocker. It would trigger on this type of ssh portscan for sure. One problem is that it blocks using firewall rules, hosts.deny etc... and would have to be actively maintained. Meaning: I cleaned these entries once a week. I am not sure it is ported to BSD either. From freebsd-questions at lists.goldenpath.org Tue May 6 18:26:45 2008 From: freebsd-questions at lists.goldenpath.org (T.) Date: Tue May 6 18:26:50 2008 Subject: sshd on FreeBSD default allows blank passwords? Message-ID: <4820A2E3.9030500@lists.goldenpath.org> I didn't realize this before, but it came to my attention when debugging PAM problems. Actually, sshd default does not allow it, but another default is in enabling PAM. It's passing power over to PAM which is allowing it. I didn't see another way immediately available to fix it, so I disabled PAM in sshd. Works as expected now. Is there a PAM solution for this? Is this intended to be the default behavior? From outbackdingo at gmail.com Tue May 6 18:30:21 2008 From: outbackdingo at gmail.com (Outback Dingo) Date: Tue May 6 18:30:25 2008 Subject: suggestion on a backup utility In-Reply-To: <48208CE5.2040902@mikestammer.com> References: <20080506160602.GA27098@skytracker.ca> <48208CE5.2040902@mikestammer.com> Message-ID: <5635aa0d0805061101h49722065p1d5d22733d3b0586@mail.gmail.com> bacula is good server and client On Tue, May 6, 2008 at 11:52 PM, Eric Zimmerman wrote: > David Banning wrote: > > > I wonder if anyone can recommend a good backup utility for FreeBSD. > > If it's in the ports, great. I would like to just specify which > > directories I would like to backup, how often and have it tar or zip the > > files into a directory - if it has off-site ftp, fine, but I can > > do that part myself via crontab. > > > > I realize I could just make a script file with some tar commands, > > but I'm looking for something that is quicker to maintain and allows me > > to organize what I'm backing up. > > > > I have been using reoback but recently I ran into some problems > > with is duplicating files X 10! - I looked into to solving it but > > it might be easier to just try something else. > > > > flexbackup is pretty decent. i used it for a while before i just went to > using dump on entire file systems. > > > _______________________________________________ > 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 peter at boosten.org Tue May 6 18:36:00 2008 From: peter at boosten.org (Peter Boosten) Date: Tue May 6 18:36:05 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805060959.28509.beech@freebsd.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> Message-ID: <4820A50A.6060503@boosten.org> Beech Rintoul wrote: > On Tuesday 06 May 2008, David Kelly said: >> On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: >>>> Is there a way to configure SSHd, so that the wait time between >>>> login attempts increases after X failed tries? >>> Not that I know of. You should look into denyhosts (in the ports) >>> it works well and even has a RBL feature to block some of these >>> script kiddies proactively. Unfortunately, these attempts have >>> become a fact of life. I probably get 20 - 30 attempts a day >>> between my various servers. >> Depending on how you use ssh from external systems you could add >> firewall rules to disallow all but known sources. > > I was doing that in the past, but I found it to be inflexable and > sometimes a pain to deal with. I sometimes need to access a server > from a new location and that kind of hard lockdown just isn't > practical. The denyhosts solution works very well for me and the RBH > feature blocks 9 out of 10 attempts outright. > It's quite simple if you're using pf: in your pf.conf: ************ table persist block in quick on $ext_if proto tcp from to any\ port 22 label "ssh bruteforce" pass in on $ext_if inet proto tcp from any to any port ssh flags S/SA \ keep state (max-src-conn 15, max-src-conn-rate 5/40, \ overload flush global) ************ What is does is to check whether more than 15 connections are made from the same IP address, or 5 within 40 seconds. If that happens the offending IP address is put in a dynamic list called blacklist and gets blocked. Works like charm. Another option is sshguard (/usr/ports/security/sshguard) Peter -- http://www.boosten.org From ewqdsacxz900 at yahoo.com Tue May 6 17:35:08 2008 From: ewqdsacxz900 at yahoo.com (Dsiuh Djsids) Date: Tue May 6 18:39:15 2008 Subject: Ports/Packages Philosophy Message-ID: <466267.30177.qm@web45703.mail.sp1.yahoo.com> I am interested to know what some of your software installing/updating philosophies are regarding ports/packages on either a server or a home desktop. For example, how often do you update your software and when you do, do you run something like 'portupgrade -a' or individually take care of each piece of software? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From bc979 at lafn.org Tue May 6 18:40:17 2008 From: bc979 at lafn.org (Doug Hardie) Date: Tue May 6 18:40:21 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <48209BFF.6090607@livedatagroup.com> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <48209BFF.6090607@livedatagroup.com> Message-ID: On May 6, 2008, at 10:57, Randy Ramsdell wrote: > David Kelly wrote: >> On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: >> >>>> Is there a way to configure SSHd, so that the wait time between >>>> login attempts increases after X failed tries? >>>> >>> Not that I know of. You should look into denyhosts (in the ports) it >>> works well and even has a RBL feature to block some of these script >>> kiddies proactively. Unfortunately, these attempts have become a >>> fact >>> of life. I probably get 20 - 30 attempts a day between my various >>> servers. >>> >> >> Depending on how you use ssh from external systems you could add >> firewall rules to disallow all but known sources. >> >> > I used portsentry several years ago which is a realtime portscan > blocker. It would trigger on this type of ssh portscan for sure. One > problem is that it blocks using firewall rules, hosts.deny etc... > and would have to be actively maintained. Meaning: I cleaned these > entries once a week. I am not sure it is ported to BSD either. Another option is to change the port SSH uses to some very unusual port. I do this on all the systems I use and change the port settings in ssh.conf and sshd.conf. This approach works if you don't have lots of users using SSH as it does require some sophistication to work with it. Since I have only 3 people who can use SSH it works great for me. From cjk32 at cam.ac.uk Tue May 6 19:39:21 2008 From: cjk32 at cam.ac.uk (Christopher Key) Date: Tue May 6 19:39:26 2008 Subject: Writing userspace device drivers Message-ID: <4820AE1D.2080703@cam.ac.uk> Hello, I'm wanting to write a driver for lirc to allow me to transmit IR signals via a Global Cach? GC-100. In essence, this requires me to communicate with the GC-100 via TCP in response to ioctls (received?) via /dev/lircX. Can anyone point me in right direction towards achieving this? Is it possible to do everything in userspace? Under Linux, there appears to be something called FUSD, which allows one to write userspace device drivers. Is there anything similar under FreeBSD? Ideally I'd like to keep the resulting solution as generic as possible, so that it can be integrated into lirc, should anyone wish to. Regards, Chris Key From chris at smartt.com Tue May 6 19:41:52 2008 From: chris at smartt.com (Chris St Denis) Date: Tue May 6 19:41:56 2008 Subject: AAC driver. No kernel error messages for failed raid5? Message-ID: <4820B502.8000009@smartt.com> I recently setup a new FreeBSD 7.0 AMD64 server with an IBM ServeRAID-8k configured with a raid5 for data and raid1 for OS. I pulled out one of the raid5 drives to test the functionality and noticed that FreeBSD didn't seem to notice the disk failure at all. I was expecting kernel messages about it, but got nothing. This is a bit concerning because I don't look at the server physically every day and want to know ASAP if a drive fails. I tried setting options AAC_DEBUG=1 but that produces a lot of messages even during normal use so I'd rather not leave that on. Is this a bug in the driver, or simply missing functionality? From jerrymc at msu.edu Tue May 6 19:57:37 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue May 6 19:57:42 2008 Subject: suggestion on a backup utility In-Reply-To: <20080506160602.GA27098@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> Message-ID: <20080506195452.GE73364@gizmo.acns.msu.edu> On Tue, May 06, 2008 at 12:06:03PM -0400, David Banning wrote: > I wonder if anyone can recommend a good backup utility for FreeBSD. > If it's in the ports, great. I would like to just specify which > directories I would like to backup, how often and have it tar or zip > the files into a directory - if it has off-site ftp, fine, but I can > do that part myself via crontab. How about using dump(8)/restore(8). It will handle all file situations correctly. Its main knock is that it can only dump by file systems and not sub-directories, though you can restore by subdirectory or individual file. It can easily be used in a script too. ////jerry > > I realize I could just make a script file with some tar commands, > but I'm looking for something that is quicker to maintain and > allows me to organize what I'm backing up. > > I have been using reoback but recently I ran into some problems > with is duplicating files X 10! - I looked into to solving it but > it might be easier to just try something else. > _______________________________________________ > 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 infofarmer at FreeBSD.org Tue May 6 20:05:15 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Tue May 6 20:05:19 2008 Subject: sshd on FreeBSD default allows blank passwords? In-Reply-To: <4820A2E3.9030500@lists.goldenpath.org> References: <4820A2E3.9030500@lists.goldenpath.org> Message-ID: <20080506200510.GU92161@amilo.cenkes.org> On Tue, May 06, 2008 at 02:26:43PM -0400, T. wrote: > I didn't realize this before, but it came to my attention when > debugging PAM problems. Actually, sshd default does not allow > it, but another default is in enabling PAM. It's passing power > over to PAM which is allowing it. > > I didn't see another way immediately available to fix it, so I > disabled PAM in sshd. Works as expected now. > > Is there a PAM solution for this? > > Is this intended to be the default behavior? Now that you mention it, I also was under impression that the reverse should be default. I'm no pam expert, but I thought "nullok" was required in /etc/pam.d/sshd next to pam_unix in order for empty passwords to work. But there's no "nullok" there by default and empty passwords still work. Disturbing. From infofarmer at FreeBSD.org Tue May 6 20:08:45 2008 From: infofarmer at FreeBSD.org (Andrew Pantyukhin) Date: Tue May 6 20:08:51 2008 Subject: Ports/Packages Philosophy In-Reply-To: <466267.30177.qm@web45703.mail.sp1.yahoo.com> References: <466267.30177.qm@web45703.mail.sp1.yahoo.com> Message-ID: <20080506200837.GV92161@amilo.cenkes.org> On Tue, May 06, 2008 at 10:21:33AM -0700, Dsiuh Djsids wrote: > I am interested to know what some of your software > installing/updating philosophies are regarding ports/packages > on either a server or a home desktop. For example, how often do > you update your software and when you do, do you run something > like 'portupgrade -a' or individually take care of each piece > of software? Daily "portupgrade -a" with 1500+ packages installed on my laptop is more refreshing than reading slashdot with a cup of coffee. For real opinions look through the recent archives of this list, your question has come up surprisingly often in the last few weeks. From stevefranks at ieee.org Tue May 6 20:13:49 2008 From: stevefranks at ieee.org (Steve Franks) Date: Tue May 6 20:13:52 2008 Subject: configure: how to tell what options were used Message-ID: <539c60b90805061313g2c0a7232n2a065cf1190dbb30@mail.gmail.com> I think I'm having problems with a port due to a sub-port having incorrect configure options. Anyone know how to find out what those might have been? I'm not seeing a standard way to find that out... Thanks, Steve From emaste at freebsd.org Tue May 6 20:14:55 2008 From: emaste at freebsd.org (Ed Maste) Date: Tue May 6 20:14:59 2008 Subject: AAC driver. No kernel error messages for failed raid5? In-Reply-To: <4820B502.8000009@smartt.com> References: <4820B502.8000009@smartt.com> Message-ID: <20080506200245.GA4083@sandvine.com> On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: > I pulled out one of the raid5 drives to test the functionality and > noticed that FreeBSD didn't seem to notice the disk failure at all. I > was expecting kernel messages about it, but got nothing. This is missing functionality in the aac(4) driver. For now about the best you can do is regularly poll the status using Adaptec's CLI tool "arcconf." -Ed From roberthuff at rcn.com Tue May 6 20:21:26 2008 From: roberthuff at rcn.com (Robert Huff) Date: Tue May 6 20:21:34 2008 Subject: suggestion on a backup utility In-Reply-To: <20080506195452.GE73364@gizmo.acns.msu.edu> References: <20080506160602.GA27098@skytracker.ca> <20080506195452.GE73364@gizmo.acns.msu.edu> Message-ID: <18464.48571.607547.823138@jerusalem.litteratus.org> Jerry McAllister writes: > How about using dump(8)/restore(8). > It will handle all file situations correctly. > Its main knock is that it can only dump by file systems and > not sub-directories, though you can restore by subdirectory or > individual file. While it will only dump a file system, you can tell it to ignore directories/files. See "chflag" for more info. WARNING: choosing poorly, or forgetting you've done this, can come back to bite you big-time. Robert Huff From lists-fbsd at shadypond.com Tue May 6 20:21:29 2008 From: lists-fbsd at shadypond.com (Pollywog) Date: Tue May 6 20:21:35 2008 Subject: Writing userspace device drivers In-Reply-To: <4820AE1D.2080703@cam.ac.uk> References: <4820AE1D.2080703@cam.ac.uk> Message-ID: <200805062020.46554.lists-fbsd@shadypond.com> On Tuesday 06 May 2008 19:14:37 Christopher Key wrote: > Hello, > > I'm wanting to write a driver for lirc to allow me to transmit IR > signals via a Global Cach? GC-100. In essence, this requires me to > communicate with the GC-100 via TCP in response to ioctls (received?) > via /dev/lircX. > > Can anyone point me in right direction towards achieving this? Is it > possible to do everything in userspace? Under Linux, there appears to > be something called FUSD, which allows one to write userspace device > drivers. Is there anything similar under FreeBSD? Do you mean FUSE? There is FUSE for FreeBSD. I have used it with EncFS. From fbsd.questions at rachie.is-a-geek.net Tue May 6 20:32:01 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue May 6 20:32:05 2008 Subject: configure: how to tell what options were used In-Reply-To: <539c60b90805061313g2c0a7232n2a065cf1190dbb30@mail.gmail.com> References: <539c60b90805061313g2c0a7232n2a065cf1190dbb30@mail.gmail.com> Message-ID: <200805062231.42315.fbsd.questions@rachie.is-a-geek.net> On Tuesday 06 May 2008 22:13:47 Steve Franks wrote: > I think I'm having problems with a port due to a sub-port having > incorrect configure options. Anyone know how to find out what those > might have been? I'm not seeing a standard way to find that out... Don't clean the build, then: make all-depends-list | while read DIR; do cd ${DIR} configlog=$(make -V WRKSRC)/config.log if test -f ${configlog}; then echo ${configlog} fi done | xargs ${EDITOR} Then have fun finding the problem in the logs. Without knowing what to look for, that can be tedious. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From mario_vazq at hotmail.com Tue May 6 20:37:03 2008 From: mario_vazq at hotmail.com (Mario Vazquez) Date: Tue May 6 20:37:07 2008 Subject: Question about a recent installation Message-ID: On May 5, 2008, at 6:17 PM, doug wrote: > To give limited priviledges I think sudo (as in linux??) would be > used. I concur that sudo is really a very good way of managing privileges. I don't even know the root passwords on the systems that I administer (OK, I do have them stored in a nice secured place if I ever do need them). Cheers, -j ---------------------------------- In fact, I use sudo for managing too. My question is not about sudo itself, it's about the possible risks (if any) of having a default installation (FreeBSD7-RELEASE) which assigns ownership of the root folder to root:wheel, thus allowing anyone with wheel privileges be able to see (and copy btw) root folder contents. _________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_Refresh_mobile_052008 From indiana99 at inbox.lv Tue May 6 21:01:00 2008 From: indiana99 at inbox.lv (Indiana Jones) Date: Tue May 6 21:01:05 2008 Subject: bge1: watchdog timeout -- resetting bge1: link state changed to DOWN Message-ID: <1210106141.4820c11d19d4e@www.inbox.lv> If anybody could provide a solid solution, I'd be most grateful. I have this box that works as an Internet router and I have two NICs in it, 3com 3C996-SX and 3C996-T, the later is bge1 on which I get this persistent ERROR below, the first one, bge0 is OK! The result of this error is blackouts and instability of the Internet connections! May 2 14:09:48 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 14:09:48 GBRT2 kernel: bge1: link state changed to DOWN May 2 14:09:51 GBRT2 kernel: bge1: link state changed to UP May 2 14:38:53 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 14:38:53 GBRT2 kernel: bge1: link state changed to DOWN May 2 14:38:55 GBRT2 kernel: bge1: link state changed to UP May 2 15:56:56 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 15:56:56 GBRT2 kernel: bge1: link state changed to DOWN May 2 15:56:58 GBRT2 kernel: bge1: link state changed to UP May 2 17:04:14 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 17:04:14 GBRT2 kernel: bge1: link state changed to DOWN May 2 17:04:16 GBRT2 kernel: bge1: link state changed to UP May 2 17:14:13 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 17:14:13 GBRT2 kernel: bge1: link state changed to DOWN May 2 17:14:16 GBRT2 kernel: bge1: link state changed to UP May 2 18:50:36 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 18:50:36 GBRT2 kernel: bge1: link state changed to DOWN May 2 18:50:38 GBRT2 kernel: bge1: link state changed to UP May 2 19:03:48 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 19:03:48 GBRT2 kernel: bge1: link state changed to DOWN May 2 19:03:51 GBRT2 kernel: bge1: link state changed to UP May 2 20:13:39 GBRT2 kernel: bge1: watchdog timeout -- resetting May 2 20:13:39 GBRT2 kernel: bge1: link state changed to DOWN May 2 20:13:41 GBRT2 kernel: bge1: link state changed to UP Hardware: Motherboard: Asus P5WDG2 WS Professional 975X P4EE/Pentium D/P4/Celeron 1066FSB LGA775 DDR2 ATX CPU: INTEL Core 2 Duo BX80557E6850 E6850 3GHz FSB1333MHz 4M LGA775 Here is the output of dmesg.boot: 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-RELEASE #0: Tue Apr 1 00:29:12 UTC 2008 root@GBRT2.mhm.lv:/usr/src/sys/i386/compile/GBRT2 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (3001.18-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff AMD Features=0x20000000 AMD Features2=0x1 Cores per package: 2 real memory = 2146828288 (2047 MB) avail memory = 2095779840 (1998 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000- 0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci6: on pcib1 pcib2: irq 16 at device 28.0 on pci0 pci4: on pcib2 pcib3: at device 0.0 on pci4 pci5: on pcib3 bge0: mem 0xfeaf0000-0xfeafffff irq 24 at device 1.0 on pci5 bge0: Ethernet address: 00:0a:5e:62:38:1a bge1: mem 0xfeae0000-0xfeaeffff irq 28 at device 2.0 on pci5 miibus0: on bge1 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:04:76:2f:c1:25 pcib4: irq 16 at device 28.4 on pci0 pci3: on pcib4 mskc0: port 0xd800- 0xd8ff mem 0xfe9fc000-0xfe9fffff irq 16 at device 0.0 on pci3 msk0: on mskc0 msk0: Ethernet address: 00:1d:60:05:00:7e miibus1: on msk0 e1000phy0: on miibus1 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX- FDX, 1000baseTX-FDX, auto mskc0: [FAST] pcib5: irq 17 at device 28.5 on pci0 pci2: on pcib5 atapci0: port 0xcc00- 0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400- 0xc40f mem 0xfe8$ ata2: on atapci0 ata3: on atapci0 pcib6: at device 30.0 on pci0 pci1: on pcib6 pci1: at device 1.0 (no driver attached) skc0: port 0xb800-0xb8ff mem 0xfe7f8000-0xfe7fbfff irq 21 at device 5.0 on pci1 skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9) sk0: on skc0 sk0: Ethernet address: 00:1d:60:05:02:43 miibus2: on sk0 e1000phy1: on miibus2 e1000phy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX- FDX, 1000baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0- 0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci1 ata1: on atapci1 atapci2: port 0xec00- 0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400- 0xe40f mem 0xfebffc00-$ ata4: on atapci2 ata5: on atapci2 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 orm0: at iomem 0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000- 0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 10 packets/entry by$ ad0: 76319MB at ata0- master UDMA100 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s1a GBRT2# vmstat -i interrupt total rate irq14: ata0 71784 0 irq16: mskc0 3248960244 11018 irq24: bge0 1422910338 4825 irq28: bge1 1398476210 4742 cpu0: timer 1152384263 3908 cpu1: timer 1152383945 3908 Total 8375186784 28402 My custom kernel is as follows: # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859- 1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.14.2.1 2007/12/15 06:32:32 scottl Exp $ machine i386 #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident GBRT2 # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV- style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. #To make an SMP kernel, the next two are required options SMP device apic # I/O APIC #IPFIREWALL options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPFIREWALL_VERBOSE_LIMIT=10 #limit verbosity options IPDIVERT options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options DUMMYNET options HZ=2000 # Bus support. device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. #device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT- Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters #device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals #device scbus # SCSI bus (required for SCSI) #device ch # SCSI media changers #device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x #device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx #device rr232x # Highpoint RocketRAID 232x #device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver #device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Enable this for the pcvt (VT220 compatible) console driver #device vt #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. #device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports # Parallel port #device ppc #device ppbus # Parallel port bus (required) #device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card device ixgb # Intel PRO/10GbE Ethernet Card device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device lge # Level 1 LXT1001 gigabit Ethernet device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc') #device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D- Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device lnc # NE2100, NE32-VL Lance Ethernet cards #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards #device wlan # 802.11 support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device an # Aironet 4500/4800 802.11 wireless NICs. #device ath # Atheros pci/cardbus NIC's #device ath_hal # Atheros HAL (Hardware Access Layer) #device ath_rate_sample # SampleRate tx rate control for ath #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support #device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support #device uhci # UHCI PCI->USB interface #device ohci # OHCI PCI->USB interface #device ehci # EHCI PCI->USB interface (USB 2.0) #device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices #device ugen # Generic #device uhid # "Human Interface Devices" #device ukbd # Keyboard #device ulpt # Printer #device umass # Disks/Mass storage - Requires scbus and da #device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support #device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) #device fwe # Ethernet over FireWire (non-standard!) Many thanks, Alex From sfourman at gmail.com Tue May 6 21:21:09 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Tue May 6 21:21:13 2008 Subject: FreeBSD 7 enable ipaq driver Message-ID: <11167f520805061352u7bd3c64dn253d65a3902875a3@mail.gmail.com> hello, would someone beable to tell me what I have to add to my kernel configuration file to enable ipaq (pocket PC) driver I am running RELENG_7 I always assumed that it was enabled by default but it must not be my Alltel PPC6700 is not attaching after i made the following changes http://www.puffybsd.com/htc_modem.patch Thank you much for your help Sam Fourman Jr. From cjk32 at cam.ac.uk Tue May 6 21:23:46 2008 From: cjk32 at cam.ac.uk (Christopher Key) Date: Tue May 6 21:23:50 2008 Subject: Writing userspace device drivers In-Reply-To: <200805062020.46554.lists-fbsd@shadypond.com> References: <4820AE1D.2080703@cam.ac.uk> <200805062020.46554.lists-fbsd@shadypond.com> Message-ID: <4820C894.9030507@cam.ac.uk> Pollywog wrote: > On Tuesday 06 May 2008 19:14:37 Christopher Key wrote: > >> Hello, >> >> I'm wanting to write a driver for lirc to allow me to transmit IR >> signals via a Global Cach? GC-100. In essence, this requires me to >> communicate with the GC-100 via TCP in response to ioctls (received?) >> via /dev/lircX. >> >> Can anyone point me in right direction towards achieving this? Is it >> possible to do everything in userspace? Under Linux, there appears to >> be something called FUSD, which allows one to write userspace device >> drivers. Is there anything similar under FreeBSD? >> > > Do you mean FUSE? There is FUSE for FreeBSD. I have used it with EncFS. > Thanks for the pointer. I did mean FUSD, http://www.circlemud.org/~jelson/software/fusd/, although looking at FUSE, it may well be that that'll do what I need. Regards, Chris From rramsdell at livedatagroup.com Tue May 6 21:24:33 2008 From: rramsdell at livedatagroup.com (Randy Ramsdell) Date: Tue May 6 21:24:38 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <48209BFF.6090607@livedatagroup.com> Message-ID: <4820CC8F.7010507@livedatagroup.com> Doug Hardie wrote: > > On May 6, 2008, at 10:57, Randy Ramsdell wrote: > >> David Kelly wrote: >>> On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: >>> >>>>> Is there a way to configure SSHd, so that the wait time between >>>>> login attempts increases after X failed tries? >>>>> >>>> Not that I know of. You should look into denyhosts (in the ports) it >>>> works well and even has a RBL feature to block some of these script >>>> kiddies proactively. Unfortunately, these attempts have become a fact >>>> of life. I probably get 20 - 30 attempts a day between my various >>>> servers. >>>> >>> >>> Depending on how you use ssh from external systems you could add >>> firewall rules to disallow all but known sources. >>> >>> >> I used portsentry several years ago which is a realtime portscan >> blocker. It would trigger on this type of ssh portscan for sure. One >> problem is that it blocks using firewall rules, hosts.deny etc... >> and would have to be actively maintained. Meaning: I cleaned these >> entries once a week. I am not sure it is ported to BSD either. > > Another option is to change the port SSH uses to some very unusual > port. I do this on all the systems I use and change the port settings > in ssh.conf and sshd.conf. This approach works if you don't have lots > of users using SSH as it does require some sophistication to work with > it. Since I have only 3 people who can use SSH it works great for me. > _______________________________________________ > 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" Yeah this also works well. I just shy away from security through obscurity. However, I also moved ssh to port 40001 or so and monitored SYN packets. I never logged an attempt to log in accept auth'd users. It was never port scanned for ssh specific either. From cpghost at cordula.ws Tue May 6 21:54:02 2008 From: cpghost at cordula.ws (cpghost) Date: Tue May 6 21:54:06 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: Message-ID: <20080506235357.0616fd9c@epia-2.farid-hajji.net> On Tue, 06 May 2008 19:11:45 +0200 Gilles wrote: > Is there a way to configure SSHd, so that the wait time between login > attempts increases after X failed tries? It shouldn't be too hard to patch /usr/src/crypto/openssh/sshd.c:server_accept_loop() by adding code for per-IP truncated binary exponential backoff algorithm just before forking a child once a connection is accept(2)ed. It's strange that it hasn't already been done, being such an obvious and useful addition. ;) > Thank you. -- Cordula's Web. http://www.cordula.ws/ From sfourman at gmail.com Tue May 6 22:12:37 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Tue May 6 22:12:41 2008 Subject: FreeBSD 7 enable ipaq driver In-Reply-To: <11167f520805061352u7bd3c64dn253d65a3902875a3@mail.gmail.com> References: <11167f520805061352u7bd3c64dn253d65a3902875a3@mail.gmail.com> Message-ID: <11167f520805061512m580d69b4wed998ca26c6ca37d@mail.gmail.com> also I just found out I bet this patch would fix my problem http://www.freebsd.org/cgi/query-pr.cgi?pr=121184&cat= Sam Fourman Jr. From gordon at freebsd.org Tue May 6 22:18:50 2008 From: gordon at freebsd.org (Gordon Tetlow) Date: Tue May 6 22:18:53 2008 Subject: Perforce and cvsup access In-Reply-To: <200804292053.49076.naylor.b.david@gmail.com> References: <200804292053.49076.naylor.b.david@gmail.com> Message-ID: <20080506221850.GA8246@hub.freebsd.org> On Tue, Apr 29, 2008 at 08:53:27PM +0200, David Naylor wrote: > Hi, > > I am trying to get a driver of perforce (//depot/projects/vap) to test out > however I do not know how to. I found out that perforce has been exported to > cvsup on cvsup10.freebsd.org and cvsup18.freebsd.org but I cannot find the > correct collection to use (and is there a list of the collections somewhere?) Only projects that specifically request a Perforce branch be exported to CVSup actually gets exported. This is because it's a royal pain to setup the export process. You might be better off asking the developers to provide a drop if you are looking for something specific. That would also make it less likely that you get the branch in an inconsistent state. Hope that helps! -gordon From bc979 at lafn.org Wed May 7 00:11:08 2008 From: bc979 at lafn.org (Doug Hardie) Date: Wed May 7 00:11:14 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <4820CC8F.7010507@livedatagroup.com> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <48209BFF.6090607@livedatagroup.com> <4820CC8F.7010507@livedatagroup.com> Message-ID: On May 6, 2008, at 14:24, Randy Ramsdell wrote: > Doug Hardie wrote: >> >> On May 6, 2008, at 10:57, Randy Ramsdell wrote: >> >>> David Kelly wrote: >>>> On Tue, May 06, 2008 at 09:31:15AM -0800, Beech Rintoul wrote: >>>> >>>>>> Is there a way to configure SSHd, so that the wait time between >>>>>> login attempts increases after X failed tries? >>>>>> >>>>> Not that I know of. You should look into denyhosts (in the >>>>> ports) it >>>>> works well and even has a RBL feature to block some of these >>>>> script >>>>> kiddies proactively. Unfortunately, these attempts have become a >>>>> fact >>>>> of life. I probably get 20 - 30 attempts a day between my various >>>>> servers. >>>>> >>>> >>>> Depending on how you use ssh from external systems you could add >>>> firewall rules to disallow all but known sources. >>>> >>>> >>> I used portsentry several years ago which is a realtime portscan >>> blocker. It would trigger on this type of ssh portscan for sure. >>> One problem is that it blocks using firewall rules, hosts.deny >>> etc... and would have to be actively maintained. Meaning: I >>> cleaned these entries once a week. I am not sure it is ported to >>> BSD either. >> >> Another option is to change the port SSH uses to some very unusual >> port. I do this on all the systems I use and change the port >> settings in ssh.conf and sshd.conf. This approach works if you >> don't have lots of users using SSH as it does require some >> sophistication to work with it. Since I have only 3 people who can >> use SSH it works great for me. >> _______________________________________________ >> 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 >> " > Yeah this also works well. I just shy away from security through > obscurity. However, I also moved ssh to port 40001 or so and > monitored SYN packets. I never logged an attempt to log in accept > auth'd users. It was never port scanned for ssh specific either. Security by obscurity is not the goal here. If the sshd setup is not secure, it doesn't matter what port you use. Eventually someone will find it. What changing the port does is eliminate the logging of thousands of stupid attempts to break in. You can also raise the logging level in syslog to something above where those are logged but you might miss some important messages that way. From walterk1 at earthlink.net Wed May 7 00:26:47 2008 From: walterk1 at earthlink.net (Walter) Date: Wed May 7 00:26:51 2008 Subject: Buffalo/Broadcom wireless N card Message-ID: <4820F2FF.4050503@earthlink.net> I'm trying to compile support for a wireless router into FBSD 7 using instructions off a FBSD help page I can't locate just now. (I'm working on building a network bridge.) none0@pci0:0:10:0: class=0x028000 card=0x03531154 chip=0x432914e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM43XNG 802.11n Network Adapter' class = network When it boots in the machine which has the card (I compiled on another computer) it blows out with a kernel error (writing not a non-existent page, I think) when the device shows up. It shows as device bge0 but identified as BCM 5701 (iirc). Can someone point me in the right direction? Has anyone gotten this card to work? Thanks. From eric at mikestammer.com Wed May 7 01:02:28 2008 From: eric at mikestammer.com (Eric) Date: Wed May 7 01:02:32 2008 Subject: Ports/Packages Philosophy In-Reply-To: <466267.30177.qm@web45703.mail.sp1.yahoo.com> References: <466267.30177.qm@web45703.mail.sp1.yahoo.com> Message-ID: <4820FF63.20402@mikestammer.com> Dsiuh Djsids wrote: > I am interested to know what some of your software installing/updating philosophies are regarding ports/packages on either a server or a home desktop. For example, how often do you update your software and when you do, do you run something like 'portupgrade -a' or individually take care of each piece of software? > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > _______________________________________________ > 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 run portsnap 2x a day via cron and usually update within a day or 2. i always use ports and never packages. i use portmanager -a to upgrade. From pauls at utdallas.edu Wed May 7 02:37:42 2008 From: pauls at utdallas.edu (Paul Schmehl) Date: Wed May 7 02:37:47 2008 Subject: Port Submission Etiquette In-Reply-To: <20080507010905.GB20243@shepherd> References: <20080507010905.GB20243@shepherd> Message-ID: --On May 6, 2008 9:09:06 PM -0400 Sahil Tandon wrote: > I would like to submit a new port which "RUN_DEPENDS" another port; the > latter did not exist in the tree, so I submitted it (ports/123382) on > May 4. I fully appreciate the committers' various responsibilities and > time constraints, so this is not a 'hey, what's taking you so long' > query. Since this was my first submission, I am just trying to get a > sense of proper etiquette. Is it bad form to email the committer who > took responsibility of the PR asking whether I've made a glaring > mistake which would be fixable via a follow-up? Or should I simply > wait for a "feedback" request if that were the case? > Submit the second port and include a note that it depends on a port you recently submitted. Cite the PR number and point out that the port you are submitting should not be committed until the first port is. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From fbsd-ml at scrapper.ca Wed May 7 04:18:01 2008 From: fbsd-ml at scrapper.ca (Norbert Papke) Date: Wed May 7 04:18:05 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: Message-ID: <200805062116.19999.fbsd-ml@scrapper.ca> On May 6, 2008, Gilles wrote: > Is there a way to configure SSHd, so that the wait time between login > attempts increases after X failed tries? I run sshd via inetd rather than as a stand-alone daemon. inetd provides optional rate limiting functionality. For instance. putting ssh stream tcp nowait/20/4/10 root /usr/sbin/sshd sshd -i into /etc/inetd.conf set a limit of * 20 overall ssh connections * 4 connection attempts per minute * at most 10 connections from a single IP This works very well on a personal server, not sure how it scales up. Cheers, -- Norbert. From freebsd-questions at lists.goldenpath.org Wed May 7 05:23:41 2008 From: freebsd-questions at lists.goldenpath.org (T.) Date: Wed May 7 05:23:46 2008 Subject: sshd on FreeBSD default allows blank passwords? In-Reply-To: <20080506200510.GU92161@amilo.cenkes.org> References: <4820A2E3.9030500@lists.goldenpath.org> <20080506200510.GU92161@amilo.cenkes.org> Message-ID: <48213CDA.6080305@lists.goldenpath.org> Andrew Pantyukhin wrote: > On Tue, May 06, 2008 at 02:26:43PM -0400, T. wrote: > >> I didn't realize this before, but it came to my attention when >> debugging PAM problems. Actually, sshd default does not allow >> it, but another default is in enabling PAM. It's passing power >> over to PAM which is allowing it. >> >> I didn't see another way immediately available to fix it, so I >> disabled PAM in sshd. Works as expected now. >> >> Is there a PAM solution for this? >> >> Is this intended to be the default behavior? >> > > Now that you mention it, I also was under impression that the > reverse should be default. I'm no pam expert, but I thought > "nullok" was required in /etc/pam.d/sshd next to pam_unix in > order for empty passwords to work. But there's no "nullok" there > by default and empty passwords still work. Disturbing. > Tested on my 5.5 box. Same thing there. Have been taking this for granted for a long time. Ooops. From rkramer at mweb.com Wed May 7 05:33:42 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Wed May 7 05:33:47 2008 Subject: freebsd-update key error References: <327038.56826.qm@web25006.mail.ukl.yahoo.com> Message-ID: <39DC135F7F0571489196E0B6F5D58B4A067D07FE@MWBEXCH.mweb.com> 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. Rudi -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Robert Davison Sent: Wednesday, April 30, 2008 9:44 PM To: freebsd-questions@freebsd.org Subject: freebsd-update key error Im getting the followng error from freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Can anyone shed any light on why the public key is failing. --------------------------------- Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure _______________________________________________ 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 aryeh.friedman at gmail.com Wed May 7 05:57:35 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Wed May 7 05:57:39 2008 Subject: does make buildworld/buildkernel require you to root Message-ID: <482144C8.1080406@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 does make buildworld/buildkernel require you to root? I know installX does but build? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkghRMcACgkQk8GFzCrQm4DoPwCeOMlZun9Bs6N0LB2wpYq477XP uEsAoNqCM1e6wgcSJpxC5PsBh7SiM2mo =Y7pq -----END PGP SIGNATURE----- From bruce at cran.org.uk Wed May 7 07:14:57 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Wed May 7 07:14:59 2008 Subject: does make buildworld/buildkernel require you to root In-Reply-To: <482144C8.1080406@gmail.com> References: <482144C8.1080406@gmail.com> Message-ID: <482156E0.50904@cran.org.uk> Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > does make buildworld/buildkernel require you to root? I know installX > does but build? No, you can build kernel, world and ports as an ordinary user as long as permissions on the build directories are configured appropriately. -- Bruce From gs_stoller at juno.com Wed May 7 08:00:12 2008 From: gs_stoller at juno.com (gs_stoller@juno.com) Date: Wed May 7 08:00:19 2008 Subject: a monster stole my / Message-ID: <20080507.033125.29340.1@webmail07.dca.untd.com> On Tue, Apr 29, 2008 at 11:34:54 -0400 Jerry McAllister wrote: > On Tue, Apr 29, 2008 at 02:40:09PM +1000, Hartleigh Burton wrote: >> Hiya! >> >> I have a problem with / currently being at 108% capacity. I have found >> a previous thread in the archives which explains a few questions but I >> can't find what is taking up all the additional space. At best without >> destroying what I still do not understand I can manage to get / to >> about 101% capacity. > oI see you have used du. I usually do > cd / > du -sk * > Since the 'h switches between K, G, M, I find it a little harder > to eyeball than picking just one of K, M or G. I also find the -s > more useful in a general situation than -dn since it gives a > good general summary. > The one thing I can think of would be some file that has been rm-ed > but not released by some process. The space will still stay allocated > until the file is released by all processes. A reboot can help that. > If reboot doesn't free anything up, then you have some serious digging > to do. Your / file system is quite large and you have most of the > usually culprits moved somewhere else. So, you should not need > anywhere near that much disk for /. The arithmetic is being done by a computer program which must have maximum sizes set for numbers (e.g., long [4 bytes], maybe ulong , etc.), not by a human being who can adjust for the size of the data (though he may make other mistakes). Try to get the raw data on which the arithmetic is done to see if the error may be there, and you could point to a program needing a correction (which may not be possible unless one goes to floating point which causes other problems) From keramida at ceid.upatras.gr Wed May 7 09:16:26 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed May 7 09:16:31 2008 Subject: does make buildworld/buildkernel require you to root In-Reply-To: <482144C8.1080406@gmail.com> (Aryeh M. Friedman's message of "Wed, 07 May 2008 01:57:28 -0400") References: <482144C8.1080406@gmail.com> Message-ID: <87ej8efp9k.fsf@kobe.laptop> On Wed, 07 May 2008 01:57:28 -0400, "Aryeh M. Friedman" wrote: > does make buildworld/buildkernel require you to root? I know installX > does but build? No, building everything does not require superuser rights. I usually build my src/ snapshots as 'build', at /home/build, by something similar to: # su - build build$ MAKEOBJDIRPREFIX=/home/build/obj ; export MAKEOBJDIRPREFIX build$ rm -fr obj/* build$ cd src build$ ( make buildworld && make buildkernel ) 2>&1 | tee ~/logfile There are a few places where the build path is recorded, i.e. in the output of uname # uname -v FreeBSD 8.0-CURRENT #0: Mon May 5 00:43:56 EEST 2008 build@kobe:/home/build/obj/home/build/src/sys/KOBE but other than this, there should be nothing that prevents you from building as any non-root user. From cjk32 at cam.ac.uk Wed May 7 10:50:25 2008 From: cjk32 at cam.ac.uk (Christopher Key) Date: Wed May 7 10:50:30 2008 Subject: Underscores in host names Message-ID: <4821896B.60005@cam.ac.uk> Hello, I've a host on the network called "GC100_000C1E00AC3F_GlobalCache", and I'm getting interesting behaviour when I try to do DNS lookups on it. Under FreeBSD, ping fails with 'Unknown server error'(distinct from the standard 'Unknown host'), and nslookup succeeds. OSX and Windows machines will do a DNS lookup on it quite happily The best explanation I can manage is that ping etc. are using different code from nslookup, and only nslookup is allowing the underscores within the hostname. Is this behaviour by design? My understanding is that underscores are not strictly permitted, but that most implementations choose to allow them unless there's a specific reason not to. Regards, Chris From odhiambo at gmail.com Wed May 7 11:01:26 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Wed May 7 11:01:32 2008 Subject: Automounting External USB Drive on FreeBSD 7.x Message-ID: <991123400805070332s41781589s681bf612d008257c@mail.gmail.com> Hello list, I have a requirement to automatically mount a USB disk to, say, ~backup/data automatically when the device is plugged to into the machine. I can handle/manage the "umount" part. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From jhary at unsane.co.uk Wed May 7 11:03:29 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Wed May 7 11:03:35 2008 Subject: FreeBSD 7 enable ipaq driver In-Reply-To: <11167f520805061512m580d69b4wed998ca26c6ca37d@mail.gmail.com> References: <11167f520805061352u7bd3c64dn253d65a3902875a3@mail.gmail.com> <11167f520805061512m580d69b4wed998ca26c6ca37d@mail.gmail.com> Message-ID: <48218C7D.6020703@unsane.co.uk> Sam Fourman Jr. wrote: > also I just found out I bet this patch would fix my problem > > http://www.freebsd.org/cgi/query-pr.cgi?pr=121184&cat= > Interesting, I have a HTC hermes (well orange spv m3100, same thing) and was going to try the /usr/ports/palm/uppc-kmod to get it working but I'll give this patch a try. > Sam Fourman Jr. > _______________________________________________ > 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 matthias.apitz at oclc.org Wed May 7 11:29:41 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Wed May 7 11:29:45 2008 Subject: Automounting External USB Drive on FreeBSD 7.x In-Reply-To: <991123400805070332s41781589s681bf612d008257c@mail.gmail.com> References: <991123400805070332s41781589s681bf612d008257c@mail.gmail.com> Message-ID: <20080507111734.GA8250@rebelion.Sisis.de> El d?a Wednesday, May 07, 2008 a las 01:32:10PM +0300, Odhiambo Washington escribi?: > Hello list, > > I have a requirement to automatically mount a USB disk to, say, ~backup/data > automatically when the device is plugged to into the machine. > I can handle/manage the "umount" part. You could use and configure the amd(8) for this; it will mount the device (when it is plug'ed in) on 'cd ~backup/data' or any other access, and will umount it when not busy after some time; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From begeert at gmail.com Wed May 7 11:42:05 2008 From: begeert at gmail.com (Geert Geurts) Date: Wed May 7 11:42:10 2008 Subject: ports missing after a upgrade Message-ID: <1210160520.7730.15.camel@puk> Hello, I've first upgrade my system using the method described at www.digitalrage.org/downloads/Upgrade.Freebsd.pdf I had some trouble cause i've in first instance downgraded it from 6.2 to 6.0 instead of upgrading it because I didn't change the 'default release' directive in my cvs-supfile. So after the downgrade I did a upgrade from 6.0 to 6.3 and everything was working as it should. I then wanted to install tinyerp webclient and I needed some newer versions of installed software so I started a portmanager -u I was stupid enough to do it in X so it got stuck after some time... I killed it and started it again using portmanager -u -f --resume it upgrades allot of ports but then eventually stops with not all ports were upgraded check /var/log/portmanager.log for info. head -n 30 gives: -snip- ======================================================================== portmanager 0.4.1_9 FreeBSD FreeBSD-01.domain 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Thu Apr 10 13:18:08 UTC 2008 root@FreeBSD-01.domain:/usr/obj/usr/src/sys/GENERIC i386 ------------------------------------------------------------------------ autoConflicts 0 autoMoved 0 backUp 0 buildDependsAreLeaves 0 forced 0 interactive 0 log 1 pmMode 0 pristine 0 resume 1 ------------------------------------------------------------------------ Tue Apr 29 14:39:54 2008 xorg-libraries-7.3_1 /x11/xorg-libraries OLD xorg-libraries-7.3_2 /x11/xorg-libraries xorg-libraries-7.3_1 /x11/xorg-libraries restoring original port from backup xorg-libraries-7.3_1 /x11/xorg-libraries failed to restore from backup Tue Apr 29 14:40:44 2008 luit-1.0.2_2 /x11/luit MISSING dependency of xterm-234 /x11/xterm Tue Apr 29 14:40:54 2008 luit-1.0.2_2 /x11/luit failed during make, adding to ignore.db Tue Apr 29 14:40:57 2008 appres-1.0.1 /x11/appres MISSING dependency of xorg-apps-7.3 /x11/xorg-apps Tue Apr 29 14:41:06 2008 -snip- the log lists allot of different ports not upgraded all because MISSING dependency of ... I hope somebody knows a way to findout what and why this is going wrong. Greetings, Geert From z.szalbot at lc-words.com Wed May 7 11:56:49 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Wed May 7 11:56:54 2008 Subject: chmod operation on directories / files Message-ID: <482198FA.8070708@lc-words.com> Hello, How do I chmod separately files and directories? If I use chmod -R 644 then it will go through all the subdirectories assigning everything 644 permissions, directories including. Many thanks! -- Zbigniew Szalbot www.lc-words.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/20080507/7d86fd61/smime.bin From jcigar at ulb.ac.be Wed May 7 12:20:36 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Wed May 7 12:21:06 2008 Subject: chmod operation on directories / files In-Reply-To: <1210169657.2585.1.camel@frodon.be-bif.ulb.ac.be> References: <482198FA.8070708@lc-words.com> <1210169657.2585.1.camel@frodon.be-bif.ulb.ac.be> Message-ID: <1210169832.2585.3.camel@frodon.be-bif.ulb.ac.be> sorry.. | xargs chmod instead of | xargs | chmod ... On Wed, 2008-05-07 at 16:14 +0200, Julien Cigar wrote: > find your_dir -type (f|d) | xargs | chmod ... > > or > > find your_dir -type (f|d) -exec chmod {} \; > > On Wed, 2008-05-07 at 13:56 +0200, Zbigniew Szalbot wrote: > > Hello, > > > > How do I chmod separately files and directories? > > > > If I use chmod -R 644 then it will go through all the subdirectories > > assigning everything 644 permissions, directories including. > > > > Many thanks! > > -- 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 z.szalbot at lc-words.com Wed May 7 12:25:08 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Wed May 7 12:25:14 2008 Subject: chmod operation on directories / files In-Reply-To: <20080507120944.GA4405@healthgrid.org> References: <482198FA.8070708@lc-words.com> <20080507120944.GA4405@healthgrid.org> Message-ID: <48219F9E.7070106@lc-words.com> Hello, Baptiste Grenier pisze: > Using find(1), you can try something like this: > > For files: > find /plop -type f -exec chmod 644 '{}' \; > > For dirs: > find /plop -type d -exec chmod 755 '{}' \; I have recieved many helpful replies. Thank you all. The above did the trick for me. I have saved it for future reference! Thanks! -- Zbigniew Szalbot www.lc-words.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/20080507/8049b430/smime.bin From jcigar at ulb.ac.be Wed May 7 12:25:56 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Wed May 7 12:25:59 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <1210169657.2585.1.camel@frodon.be-bif.ulb.ac.be> find your_dir -type (f|d) | xargs | chmod ... or find your_dir -type (f|d) -exec chmod {} \; On Wed, 2008-05-07 at 13:56 +0200, Zbigniew Szalbot wrote: > Hello, > > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. > > Many thanks! > -- 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 baptiste.grenier at healthgrid.org Wed May 7 12:32:34 2008 From: baptiste.grenier at healthgrid.org (Baptiste Grenier) Date: Wed May 7 12:32:40 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <20080507120944.GA4405@healthgrid.org> Le 07/05/08 ? 14:00, Zbigniew Szalbot t?l?scripta : > Hello, Hi, > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. > Using find(1), you can try something like this: For files: find /plop -type f -exec chmod 644 '{}' \; For dirs: find /plop -type d -exec chmod 755 '{}' \; > Many thanks! HTH, Baptiste -- Baptiste Grenier | PGP: 0x069112E2 HealthGrid SysAdmin http://healthgrid.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080507/4f39109a/attachment.pgp From jonathan at hst.org.za Wed May 7 12:36:35 2008 From: jonathan at hst.org.za (Jonathan McKeown) Date: Wed May 7 12:36:39 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <200805071438.40372.jonathan@hst.org.za> On Wednesday 07 May 2008 13:56, Zbigniew Szalbot wrote: > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. Use the symbolic form for permissions and use X, which is true if any of the execute bits is currently set, or if the argument is a directory. chmod -R =r,u+w,+X . (set read for all, add user write, add all execute bits if required) should give you 644 on files, 755 on directories and executables. Jonathan From user0 at tkgeomap.org Wed May 7 12:36:51 2008 From: user0 at tkgeomap.org (Gordon devel) Date: Wed May 7 12:36:55 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <20080507123747.GA5430@localhost.ok.cox.net> On Wed, May 07, 2008 at 01:56:42PM +0200, Zbigniew Szalbot wrote: > > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. > How about? find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; If there are a lot of them, you might want to pipe to xargs. Cheers, Gordon From frank at shute.org.uk Wed May 7 12:37:43 2008 From: frank at shute.org.uk (Frank Shute) Date: Wed May 7 12:37:50 2008 Subject: suggestion on a backup utility In-Reply-To: <20080506160602.GA27098@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> Message-ID: <20080507123728.GA4084@melon.esperance-linux.co.uk> On Tue, May 06, 2008 at 12:06:03PM -0400, David Banning wrote: > > I wonder if anyone can recommend a good backup utility for FreeBSD. > If it's in the ports, great. I would like to just specify which > directories I would like to backup, how often and have it tar or zip > the files into a directory - if it has off-site ftp, fine, but I can > do that part myself via crontab. > > I realize I could just make a script file with some tar commands, > but I'm looking for something that is quicker to maintain and > allows me to organize what I'm backing up. > > I have been using reoback but recently I ran into some problems > with is duplicating files X 10! - I looked into to solving it but > it might be easier to just try something else. For backing up purposes, I use a number of tools. For files that I'm constantly changing, then I check them into subversion. This includes the files for my website, since it is in a constant state of flux. Then it's just a case of checking out the tree and running $ svn update on it on other machines when I edit anything. For databases (fairly static with few updates), I just drop the database and scp the file to other machines/disks. For a tree that I'm constantly adding to but the content is then unchanging, my LaTeX letters, templates & other documents, I use rsync: $ rsync -avruz ./latex/ frank@melon:~/latex Hence, just a few files that I've added since last backup get copied across. I backup config files with scp along with any scripts I may have written. I use these methods to keep a server, workstation and laptop in sync. I don't archive anything (eg. write it to CD or DVD). In case of fire, I grab the laptop & run. In case of asteroid impact, my data dies with me ;) My audio CDs will be covered by insurance. If I had directories with piles of data in it, then I'd use dump/restore but I don't. OS files, I don't give a monkeys about, I can always rebuild, ditto ports. As you see, I think you should use a number of different tools & strategies dependent on the type of data you are backing up. They're all scriptable but I tend to just backup when something has changed rather than using cron. You soon get into the habit. All my machines are protected by UPSes. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From valerio.daelli at gmail.com Wed May 7 12:43:20 2008 From: valerio.daelli at gmail.com (Valerio Daelli) Date: Wed May 7 12:43:24 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <27dbfc8c0805070515n7af87970s8ebbab6d14c8eccc@mail.gmail.com> Try with find -type d -exec chmod 755 {} \; find -type f -exec chmod 644 {} \; Bye Valerio Daelli On Wed, May 7, 2008 at 1:56 PM, Zbigniew Szalbot wrote: > Hello, > > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. > > Many thanks! > > -- > Zbigniew Szalbot > www.lc-words.com > From fbsd06 at mlists.homeunix.com Wed May 7 12:48:15 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed May 7 12:48:21 2008 Subject: ports missing after a upgrade In-Reply-To: <1210160520.7730.15.camel@puk> References: <1210160520.7730.15.camel@puk> Message-ID: <20080507133306.5d297b2c@gumby.homeunix.com.> On Wed, 07 May 2008 13:42:00 +0200 Geert Geurts wrote: > I was stupid enough to do it in X so it got stuck after some time... > I killed it and started it again using That's not normally a problem. > xorg-libraries-7.3_1 /x11/xorg-libraries restoring original port > from backup > xorg-libraries-7.3_1 /x11/xorg-libraries failed to restore from > backup How old was xorg? Have you already been through the 7.2 upgrade? From wmoran at potentialtech.com Wed May 7 12:50:32 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 7 12:50:39 2008 Subject: Underscores in host names In-Reply-To: <4821896B.60005@cam.ac.uk> References: <4821896B.60005@cam.ac.uk> Message-ID: <20080507083549.2a4b1d3b.wmoran@potentialtech.com> In response to Christopher Key : > Hello, > > I've a host on the network called "GC100_000C1E00AC3F_GlobalCache", and > I'm getting interesting behaviour when I try to do DNS lookups on it. > > Under FreeBSD, ping fails with 'Unknown server error'(distinct from the > standard 'Unknown host'), and nslookup succeeds. OSX and Windows > machines will do a DNS lookup on it quite happily > > The best explanation I can manage is that ping etc. are using different > code from nslookup, and only nslookup is allowing the underscores within > the hostname. > > Is this behaviour by design? My understanding is that underscores are > not strictly permitted, but that most implementations choose to allow > them unless there's a specific reason not to. I had this discussion with some colleagues a short time back. Our conclusion (based on some research and experimentation): 1) Underscores are not valid in domain names. 2) _most_ DNS systems will work with them anyway. 3) Just enough DNS systems don't work with _, that it's a really bad idea to use them in domain names. -- Bill Moran http://www.potentialtech.com From m.seaman at infracaninophile.co.uk Wed May 7 13:05:04 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed May 7 13:05:11 2008 Subject: Underscores in host names In-Reply-To: <20080507083549.2a4b1d3b.wmoran@potentialtech.com> References: <4821896B.60005@cam.ac.uk> <20080507083549.2a4b1d3b.wmoran@potentialtech.com> Message-ID: <4821A8EE.8030704@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Bill Moran wrote: > In response to Christopher Key : > >> Hello, >> >> I've a host on the network called "GC100_000C1E00AC3F_GlobalCache", and >> I'm getting interesting behaviour when I try to do DNS lookups on it. >> >> Under FreeBSD, ping fails with 'Unknown server error'(distinct from the >> standard 'Unknown host'), and nslookup succeeds. OSX and Windows >> machines will do a DNS lookup on it quite happily >> >> The best explanation I can manage is that ping etc. are using different >> code from nslookup, and only nslookup is allowing the underscores within >> the hostname. >> >> Is this behaviour by design? My understanding is that underscores are >> not strictly permitted, but that most implementations choose to allow >> them unless there's a specific reason not to. > > I had this discussion with some colleagues a short time back. Our > conclusion (based on some research and experimentation): > 1) Underscores are not valid in domain names. > 2) _most_ DNS systems will work with them anyway. > 3) Just enough DNS systems don't work with _, that it's a really bad > idea to use them in domain names. > DNS is perfectly happy with underscores in RRs generally -- it's just forbidden for them to appear in hostnames in the DNS specifically. This is to distinguish between hostnames and other data such as SRV records. 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 iEYEAREDAAYFAkghqO4ACgkQ3jDkPpsZ+VZBewCdHQWo8t2uUoAktf84NdTG6CKX FIwAoIBMMlu9k6+8N1Wypz0Wm33v7VuD =fU7u -----END PGP SIGNATURE----- From catalin at starcomms.com Wed May 7 13:11:58 2008 From: catalin at starcomms.com (Catalin Miclaus) Date: Wed May 7 13:12:04 2008 Subject: chmod operation on directories / files In-Reply-To: <482198FA.8070708@lc-words.com> References: <482198FA.8070708@lc-words.com> Message-ID: <3A0AA7018522134597ED63B3B794C92A01DAE740@STA-HQ-S001.starcomms.local> -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Zbigniew Szalbot Sent: Wednesday, May 07, 2008 12:57 PM To: freebsd-questions@freebsd.org Subject: chmod operation on directories / files Hello, How do I chmod separately files and directories? If I use chmod -R 644 then it will go through all the subdirectories assigning everything 644 permissions, directories including. Many thanks! -- Zbigniew Szalbot www.lc-words.com find /test -type f -exec chmod 644 {} \; Replace /test with full path to your directory. For directories use '-type d'. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. From gunther.mayer at googlemail.com Wed May 7 14:05:26 2008 From: gunther.mayer at googlemail.com (Gunther Mayer) Date: Wed May 7 14:05:31 2008 Subject: Best Java 1.6 JDK for FreeBSD? Message-ID: <4821B028.5020809@gmail.com> Hi guys, We're currently running a busy java web application with diablo-jdk 1.5 and jboss 4.0.5 on FreeBSD 6.2 (yes it's outdated, will upgrade to 6.3 very soon). That combination has proven to be very stable in the past. Now we'd like to start making use of some 1.6 only features in the app and thus were wondering about 1.6 support on java. Now seeing that there's no diablo jdk for 1.6 afaict I have three options: 1. Use linux-sun-jdk 1.6 using the linux compatibility layer 2. Use the native FreeBSD jdk 1.6 (http://www.eyesbeyond.com/freebsddom/java/status.html) but which is officially only beta quality 3. Forget about 1.6 altogether and stick to 1.5 semantics in our code Which one do you think is the most stable option? Well, the way I've put it 3. clearly is the most stable but I'd like an honest consideration of 1. and 2. Does anybody use 1.6 in production on FreeBSD? What have your experiences been? Gunther From modulok at gmail.com Wed May 7 14:19:54 2008 From: modulok at gmail.com (Modulok) Date: Wed May 7 14:19:59 2008 Subject: Ports/Packages Philosophy In-Reply-To: <466267.30177.qm@web45703.mail.sp1.yahoo.com> References: <466267.30177.qm@web45703.mail.sp1.yahoo.com> Message-ID: <64c038660805070653v5d17139bs3d95981c9fade9a1@mail.gmail.com> On 5/6/08, Dsiuh Djsids wrote: > > I am interested to know what some of your software installing/updating > philosophies are regarding ports/packages on either a server or a home > desktop. For example, how often do you update your software and when you do, > do you run something like 'portupgrade -a' or individually take care of each > piece of software? Upgrades...unless they're very pressing security issues that directly relate to the well-being of my server, I upgrade as rarely as possible. Upgrading things has a tendency to break stuff at the most inopportune time. Frankly, I'm not sure why everyone is so adamant about having the latest updates. If the program does what I require, I would rather have a more aged version which has been given time to get the bugs worked out. As far as building software, I do this as rarely as possible as well. Unless there is a specific functionality which requires a set of non-default compiler flags, I use packages. It makes no sense to waste time re-compiling the same program, with the same compiler options, for the same processor architecture as has already been done by countless others. For example, if you ran a lab of 300 identical computers, would you re-compile every program on each computer? Probably not. If I can get a pre-compiled binary from a reliable source, I'd rater do that, than sit around all day waiting for software to build in hopes of benefiting from a few custom build options. My 2 cents worth. -Modulok- From wangyi6854 at gmail.com Wed May 7 14:39:27 2008 From: wangyi6854 at gmail.com (Yi Wang) Date: Wed May 7 14:39:44 2008 Subject: chmod operation on directories / files In-Reply-To: <3A0AA7018522134597ED63B3B794C92A01DAE740@STA-HQ-S001.starcomms.local> References: <482198FA.8070708@lc-words.com> <3A0AA7018522134597ED63B3B794C92A01DAE740@STA-HQ-S001.starcomms.local> Message-ID: <5ea5cca50805070711k76163c85ybd047f8b18a2e836@mail.gmail.com> sorry, I forgot to reply to all. for directorys, you can use: chmod 755 */ if the files have a suffix. you can use chmod 644 *.* for the files don't have the suffix, I guess a regex should solve it. But I'm not familiar with regex. :-) On 5/7/08, Catalin Miclaus wrote: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Zbigniew > Szalbot > Sent: Wednesday, May 07, 2008 12:57 PM > To: freebsd-questions@freebsd.org > Subject: chmod operation on directories / files > > Hello, > > How do I chmod separately files and directories? > > If I use chmod -R 644 then it will go through all the subdirectories > assigning everything 644 permissions, directories including. > > Many thanks! > > -- > Zbigniew Szalbot > www.lc-words.com > > > > > > find /test -type f -exec chmod 644 {} \; > > Replace /test with full path to your directory. > For directories use '-type d'. > > > > > Best Regards > > Catalin Miclaus > Network/Security ISP-Data > Starcomms Ltd. > > > _______________________________________________ > 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" > -- Regards, Wang Yi From david+dated+1210602320.3f4543 at skytracker.ca Wed May 7 14:46:03 2008 From: david+dated+1210602320.3f4543 at skytracker.ca (David Banning) Date: Wed May 7 14:46:09 2008 Subject: suggestion on a backup utility In-Reply-To: <20080507123728.GA4084@melon.esperance-linux.co.uk> References: <20080506160602.GA27098@skytracker.ca> <20080507123728.GA4084@melon.esperance-linux.co.uk> Message-ID: <20080507142512.GA72212@skytracker.ca> > For backing up purposes, I use a number of tools. Thanks Frank for your input. I have chosen for now use Chuck's suggestion, that being cvsup. The only thing I would like to do is omit certain files that I don't want backed up - large unimportant files - some cache and log files. I'll look at your suggestions and see if there is a way to tweak my backup strategy for the best mix. From kamikaze at bsdforen.de Wed May 7 15:08:17 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Wed May 7 15:08:20 2008 Subject: Automounting External USB Drive on FreeBSD 7.x In-Reply-To: <991123400805070332s41781589s681bf612d008257c@mail.gmail.com> References: <991123400805070332s41781589s681bf612d008257c@mail.gmail.com> Message-ID: <4821C167.9080502@bsdforen.de> Odhiambo Washington wrote: > Hello list, > > I have a requirement to automatically mount a USB disk to, say, ~backup/data > automatically when the device is plugged to into the machine. > I can handle/manage the "umount" part. > Have a look at: http://www.freebsd.org/cgi/query-pr.cgi?pr=122726 This port waiting for commit for ~3 weeks, but it sounds like it's what you want. From mfahey at enter.net Wed May 7 15:08:58 2008 From: mfahey at enter.net (Mike Fahey) Date: Wed May 7 15:09:04 2008 Subject: suggestion on a backup utility In-Reply-To: <20080507142512.GA72212@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> <20080507123728.GA4084@melon.esperance-linux.co.uk> <20080507142512.GA72212@skytracker.ca> Message-ID: <4821C170.9080502@enter.net> You can do all of this with amanda and simply run your backup from cron. amanda.org David Banning wrote: >>For backing up purposes, I use a number of tools. > > > Thanks Frank for your input. I have chosen for now use Chuck's suggestion, > that being cvsup. The only thing I would like to do is omit certain files > that I don't want backed up - large unimportant files - some cache and > log files. I'll look at your suggestions and see if there is a way > to tweak my backup strategy for the best mix. > _______________________________________________ > 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 admin at tradersmagasine.com Wed May 7 15:15:31 2008 From: admin at tradersmagasine.com (Traders Magazine Offer) Date: Wed May 7 15:15:37 2008 Subject: Complimentary Tickets to UK's Top Trading Seminar Message-ID: We have a fabulous opportunity for you to attend Traders Secrets 2008 - Absolutely No Charge Attend Traders Secrets 2008 - a fact-filled two-hour seminar where you'll learn direct from successful, full-time traders from the Award-winning Knowledge to Action. http://dotm1.net/t.aspx?l=983562&i=270318406 They can help you if: - You are looking to supplement your current income - You would like to work for yourself - You are worried about your pension - You are retired and would like to maximise your savings http://dotm1.net/t.aspx?l=983562&i=270318406 At the free seminar you will learn simple strategies to: - Create immediate monthly income stream from trading - Identify high profitability stocks to trade now - Risk manage your portfolio with only 1% risk per trade - Generate long term wealth from only 1 hour a month - Identify solid profitable stocks for long term wealth http://dotm1.net/t.aspx?l=983562&i=270318406 "After completing the first full calendar month of trading I gained ?673.82, a growth of 14% on my account."? Philip Bradshaw, Traders University Graduate February 2008. Claim your free tickets for Traders Secrets now.? There's no charge or obligation of any kind.? We'll even give you a complimentary Traders Starter Pack?worth ?300 that includes Trademinder, our proprietary trade management software. Please note: Our Seminars are purely educational in nature, we do not advise or tip and any trades shown in any seminar are for educational illustration purposes only. Past performance is no guarantee of future performance and you may not get back the amount you invest. The value of investments and the income from them may go down as well as up and are not guaranteed. CFDs and Spread Bets are highly leveraged products and carry a high level of risk to your capital. Due to the leverage offered it is possible for you to incur losses in excess of your initial margin. These products are not suitable for all investors so please make sure that you understand the risks involved. Rates of exchange may cause the value of investments to go up or down. The Traders UniversityT programme is presented by Knowledge to Action Limited, which is an Appointed Representative of Direct Sharedeal Limited which is authorised and regulated by the Financial Services Authority. Copyright ? 2007, Knowledge to Action Ltd. All Rights Reserved From epointbleu at afribonemali.net Wed May 7 15:23:11 2008 From: epointbleu at afribonemali.net (Ecole Point Bleu) Date: Wed May 7 15:23:15 2008 Subject: Need to download FreeBSD Message-ID: <4821C5B6.6080000@afribonemali.net> Mr./Ms.: I am trying to download FreeBsd from http://www.freebsd.org/fr/where.html. But so far, I have been unsuccessful at it as I am asked to provide a user name and a password. Anonymous login does not work either. Though some few days ago I started downloading Disc1 (iso) just to find out that the checksum was not right. Can I you assist, please ? Best regards, ----------------------------------------------- Pierre Claver B. Traore Bamako, Mali From wmoran at potentialtech.com Wed May 7 15:27:30 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Wed May 7 15:27:35 2008 Subject: Need to download FreeBSD In-Reply-To: <4821C5B6.6080000@afribonemali.net> References: <4821C5B6.6080000@afribonemali.net> Message-ID: <20080507112705.143b1fb8.wmoran@potentialtech.com> In response to Ecole Point Bleu : > Mr./Ms.: > > I am trying to download FreeBsd from > http://www.freebsd.org/fr/where.html. But so far, I have been > unsuccessful at it as I am asked to provide a user name and a password. > Anonymous login does not work either. Though some few days ago I started > downloading Disc1 (iso) just to find out that the checksum was not > right. Can I you assist, please ? I just tried and it's working fine for me. What software are you using for the download? Perhaps your FTP client is doing it wrong. Checksum problems occur sometimes during downloads ... that's the _reason_ checksums are provided, to detect corrupted downloads. -- Bill Moran http://www.potentialtech.com From millenia2000 at hotmail.com Wed May 7 15:29:32 2008 From: millenia2000 at hotmail.com (Sean Cavanaugh) Date: Wed May 7 15:29:38 2008 Subject: Ports/Packages Philosophy In-Reply-To: <64c038660805070653v5d17139bs3d95981c9fade9a1@mail.gmail.com> References: <466267.30177.qm@web45703.mail.sp1.yahoo.com> <64c038660805070653v5d17139bs3d95981c9fade9a1@mail.gmail.com> Message-ID: > Date: Wed, 7 May 2008 07:53:37 -0600 > From: modulok@gmail.com > To: ewqdsacxz900@yahoo.com > CC: freebsd-questions@freebsd.org > Subject: Re: Ports/Packages Philosophy > > On 5/6/08, Dsiuh Djsids wrote: > > > > I am interested to know what some of your software installing/updating > > philosophies are regarding ports/packages on either a server or a home > > desktop. For example, how often do you update your software and when you do, > > do you run something like 'portupgrade -a' or individually take care of each > > piece of software? > > > Upgrades...unless they're very pressing security issues that directly relate > to the well-being of my server, I upgrade as rarely as possible. Upgrading > things has a tendency to break stuff at the most inopportune time. Frankly, > I'm not sure why everyone is so adamant about having the latest updates. If > the program does what I require, I would rather have a more aged version > which has been given time to get the bugs worked out. > > As far as building software, I do this as rarely as possible as well. Unless > there is a specific functionality which requires a set of non-default > compiler flags, I use packages. It makes no sense to waste time re-compiling > the same program, with the same compiler options, for the same processor > architecture as has already been done by countless others. For example, if > you ran a lab of 300 identical computers, would you re-compile every program > on each computer? Probably not. If I can get a pre-compiled binary from a > reliable source, I'd rater do that, than sit around all day waiting for > software to build in hopes of benefiting from a few custom build options. > something to think about to is that the ports collection will be more current than packages. Example of this is GNOME 2.16 being listed in packages collection for a while after GNOME 2.18 came out. If you use a custom kernel, ports would be compiled to run a bit more optimized for your processor (i.e. 686) than the GENERIC kernel (486-586-686) but good coding of the program should not have this kind of reliance anyway. if you want the system up and running fast with known working versions, definitely stick with packages. if you want the latest software, use ports and keep them upgraded. its always a personal call. _________________________________________________________________ Get Free (PRODUCT) RED? Emoticons, Winks and Display Pics. http://joinred.spaces.live.com?ocid=TXT_HMTG_prodredemoticons_052008 From toomas.aas at raad.tartu.ee Wed May 7 15:44:56 2008 From: toomas.aas at raad.tartu.ee (Toomas Aas) Date: Wed May 7 15:45:01 2008 Subject: Best Java 1.6 JDK for FreeBSD? In-Reply-To: <4821B028.5020809@gmail.com> References: <4821B028.5020809@gmail.com> Message-ID: <4821CE72.9070901@raad.tartu.ee> Gunther Mayer wrote: > Does anybody use 1.6 in production on FreeBSD? What have your > experiences been? Our Tomcat-based website, which currently gets ca 75000 requests per day, has been running with native jdk-1.6.0.3p3 for 6 months. I haven't noticed any problems -- Toomas Aas ... I'd give my right arm to be ambidextrous. From frank at shute.org.uk Wed May 7 16:02:40 2008 From: frank at shute.org.uk (Frank Shute) Date: Wed May 7 16:02:46 2008 Subject: suggestion on a backup utility In-Reply-To: <20080507142512.GA72212@skytracker.ca> References: <20080506160602.GA27098@skytracker.ca> <20080507123728.GA4084@melon.esperance-linux.co.uk> <20080507142512.GA72212@skytracker.ca> Message-ID: <20080507160233.GA4688@melon.esperance-linux.co.uk> On Wed, May 07, 2008 at 10:25:12AM -0400, David Banning wrote: > > > For backing up purposes, I use a number of tools. > > Thanks Frank for your input. I have chosen for now use Chuck's suggestion, > that being cvsup. The only thing I would like to do is omit certain files > that I don't want backed up - large unimportant files - some cache and > log files. I'll look at your suggestions and see if there is a way > to tweak my backup strategy for the best mix. Hi David, Obviously, you're best placed to decide which backup strategies are best to use with your setup. With cvsup you can use refuse files which might be of use. It means that some parts of the tree are ignored when cvsup is run. The manpage describes the usage of them. Best of luck and may I wish you no data loss! Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From lists-fbsd at shadypond.com Wed May 7 16:04:26 2008 From: lists-fbsd at shadypond.com (Pollywog) Date: Wed May 7 16:04:33 2008 Subject: Best Java 1.6 JDK for FreeBSD? In-Reply-To: <4821CE72.9070901@raad.tartu.ee> References: <4821B028.5020809@gmail.com> <4821CE72.9070901@raad.tartu.ee> Message-ID: <200805071603.42793.lists-fbsd@shadypond.com> On Wednesday 07 May 2008 15:44:50 Toomas Aas wrote: > Gunther Mayer wrote: > > Does anybody use 1.6 in production on FreeBSD? What have your > > experiences been? > > Our Tomcat-based website, which currently gets ca 75000 requests per day, > has been running with native jdk-1.6.0.3p3 for 6 months. I haven't noticed > any problems I have not been using it in FreeBSD but I had to downgrade jdk to 1.5 on my Ubuntu machine in order to get my browsers to work correctly. For this reason, I would stay away from it in FreeBSD as well, for the time being. From jon at radel.com Wed May 7 16:07:05 2008 From: jon at radel.com (Jon Radel) Date: Wed May 7 16:07:11 2008 Subject: Need to download FreeBSD In-Reply-To: <20080507112705.143b1fb8.wmoran@potentialtech.com> References: <4821C5B6.6080000@afribonemali.net> <20080507112705.143b1fb8.wmoran@potentialtech.com> Message-ID: <4821D39C.9040702@radel.com> Bill Moran wrote: > In response to Ecole Point Bleu : > >> Mr./Ms.: >> >> I am trying to download FreeBsd from >> http://www.freebsd.org/fr/where.html. But so far, I have been >> unsuccessful at it as I am asked to provide a user name and a password. >> Anonymous login does not work either. Though some few days ago I started >> downloading Disc1 (iso) just to find out that the checksum was not >> right. Can I you assist, please ? > > I just tried and it's working fine for me. What software are you using > for the download? Perhaps your FTP client is doing it wrong. ftp://ftp.freebsd.org/ is currently rejecting my "anonymous" in 50% of a small sample of attempts. To OP: you may wish to try one of the mirrors closer to you (Spain, France, South Africa?? I have no idea how you connect to the world). See http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/mirrors-ftp.html Another thought is to consider using Bittorrent if it is available to you. As this splits the files into many small chunks, checksums each one independently, and can be stopped and restarted at any time with very little loss of already transferred bytes, you may find it more resilient in your situation. --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080507/7a7e83ab/smime.bin From fbsd.questions at rachie.is-a-geek.net Wed May 7 16:32:07 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed May 7 16:32:13 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805062116.19999.fbsd-ml@scrapper.ca> References: <200805062116.19999.fbsd-ml@scrapper.ca> Message-ID: <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> On Wednesday 07 May 2008 06:16:19 Norbert Papke wrote: > On May 6, 2008, Gilles wrote: > > Is there a way to configure SSHd, so that the wait time between login > > attempts increases after X failed tries? > > I run sshd via inetd rather than as a stand-alone daemon. inetd provides > optional rate limiting functionality. For instance. putting > > ssh stream tcp nowait/20/4/10 root /usr/sbin/sshd sshd -i > > into /etc/inetd.conf set a limit of > > * 20 overall ssh connections > * 4 connection attempts per minute > * at most 10 connections from a single IP > > This works very well on a personal server, not sure how it scales up. So if I copy over some files via scp, I can lock myself out. Fun stuff ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From sdafreebsduk at rowyerboat.com Wed May 7 17:10:15 2008 From: sdafreebsduk at rowyerboat.com (Stephen Allen) Date: Wed May 7 17:10:21 2008 Subject: SMB share not mounting at startup Message-ID: <4821DEA3.3020905@rowyerboat.com> I am trying to mount an SMB share at startup. I have configured (as root) .nsmbrc so I don't have to type a password. When I run "mount -a", it mounts beautifully. However, when restarting the server, it will not mount automatically. According to rc.conf(5), smbfs is part of 'netfs_types' so rc should wait until after the network is started before trying to mount it (so shouldn't fail). I have an entry in /etc/fstab as follows: //backup@snap-cms/unix_backups /mnt/snapserver smbfs rw 0 0 Does anyone have any ideas? I'm wondering if the .nsmbrc file can't be read because rc isn't running as root - and if so, where can I put .nsmbrc? Many thanks, Steve :) From norman at apache.org Wed May 7 17:17:00 2008 From: norman at apache.org (Norman Maurer) Date: Wed May 7 17:17:04 2008 Subject: Fwd: Question about a recent installation In-Reply-To: <75bda7a00805071016u2bb3428x46bdfcb87e0cfdd7@mail.gmail.com> References: <75bda7a00805071016u2bb3428x46bdfcb87e0cfdd7@mail.gmail.com> Message-ID: <75bda7a00805071016ncc40af6m847dbef0f1baf33@mail.gmail.com> ---------- Forwarded message ---------- From: Norman Maurer Date: 2008/5/7 Subject: Re: Question about a recent installation To: Mario Vazquez 2008/5/6 Mario Vazquez : > > On May 5, 2008, at 6:17 PM, doug wrote: > > > > To give limited priviledges I think sudo (as in linux??) would be > > used. > > > I concur that sudo is really a very good way of managing privileges. > I don't even know the root passwords on the systems that I administer > (OK, I do have them stored in a nice secured place if I ever do need > them). > > Cheers, > > -j > > > ---------------------------------- > > In fact, I use sudo for managing too. My question is not about sudo itself, it's about the possible risks (if any) of having a default installation (FreeBSD7-RELEASE) which assigns ownership of the root folder to root:wheel, thus allowing anyone with wheel privileges be able to see (and copy btw) root folder contents. > I still not get the point.. If the files are create the default is a umask of 022 anway. So if you want to protect your files in the root folder to get accessed, use umask 066 and maybe chmod 700 /root. Cheers Norman From justinjereza at gmail.com Wed May 7 17:21:24 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Wed May 7 17:21:30 2008 Subject: Delaying pf.conf loading Message-ID: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> Hello. Is it possible to delay the loading of pf rules from pf.conf after ppp has connected and named is running through rc.conf? From freebsd-questions-local at be-well.ilk.org Wed May 7 17:32:50 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed May 7 17:32:54 2008 Subject: Fwd: Question about a recent installation In-Reply-To: <75bda7a00805071016ncc40af6m847dbef0f1baf33@mail.gmail.com> (Norman Maurer's message of "Wed\, 7 May 2008 19\:16\:58 +0200") References: <75bda7a00805071016u2bb3428x46bdfcb87e0cfdd7@mail.gmail.com> <75bda7a00805071016ncc40af6m847dbef0f1baf33@mail.gmail.com> Message-ID: <443aou10la.fsf@be-well.ilk.org> "Norman Maurer" writes: > ---------- Forwarded message ---------- > From: Norman Maurer > Date: 2008/5/7 > Subject: Re: Question about a recent installation > To: Mario Vazquez > > > 2008/5/6 Mario Vazquez : > >> > > On May 5, 2008, at 6:17 PM, doug wrote: > > > > > > > To give limited priviledges I think sudo (as in linux??) would be > > > used. > > > > > > I concur that sudo is really a very good way of managing privileges. > > I don't even know the root passwords on the systems that I administer > > (OK, I do have them stored in a nice secured place if I ever do need > > them). > > > > Cheers, > > > > -j > > > > > > ---------------------------------- > > > > In fact, I use sudo for managing too. My question is not about > sudo itself, it's about the possible risks (if any) of having a > default installation (FreeBSD7-RELEASE) which assigns ownership of the > root folder to root:wheel, thus allowing anyone with wheel privileges > be able to see (and copy btw) root folder contents. > > > > I still not get the point.. If the files are create the default is a > umask of 022 anway. So if you want to protect your files in the root > folder to get accessed, use umask 066 and maybe chmod 700 /root. Perhaps more to the point of the question, there is nothing in /root on a default system which has any need of being kept secret. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From sonicy at otenet.gr Wed May 7 17:51:13 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed May 7 17:51:18 2008 Subject: SMB share not mounting at startup In-Reply-To: <4821DEA3.3020905@rowyerboat.com> References: <4821DEA3.3020905@rowyerboat.com> Message-ID: <4821EC14.2040802@otenet.gr> Stephen Allen wrote: > I am trying to mount an SMB share at startup. I have configured (as > root) .nsmbrc so I don't have to type a password. When I run "mount > -a", it mounts beautifully. > > However, when restarting the server, it will not mount automatically. > According to rc.conf(5), smbfs is part of 'netfs_types' so rc should > wait until after the network is started before trying to mount it (so > shouldn't fail). I have an entry in /etc/fstab as follows: > > //backup@snap-cms/unix_backups /mnt/snapserver smbfs rw 0 0 > > Does anyone have any ideas? I'm wondering if the .nsmbrc file can't > be read because rc isn't running as root - and if so, where can I put > .nsmbrc? > > Many thanks, > Steve :) > Have a look at /etc/nsmb.conf This is where smbfs looks after trying ~/.nsmbrc Don't know if this is really your problem, but it is worth a try. From kamikaze at bsdforen.de Wed May 7 18:06:10 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Wed May 7 18:06:16 2008 Subject: SMB share not mounting at startup In-Reply-To: <4821DEA3.3020905@rowyerboat.com> References: <4821DEA3.3020905@rowyerboat.com> Message-ID: <4821EF82.2000000@bsdforen.de> Stephen Allen wrote: > I am trying to mount an SMB share at startup. I have configured (as > root) .nsmbrc so I don't have to type a password. When I run "mount > -a", it mounts beautifully. > > However, when restarting the server, it will not mount automatically. > According to rc.conf(5), smbfs is part of 'netfs_types' so rc should > wait until after the network is started before trying to mount it (so > shouldn't fail). I have an entry in /etc/fstab as follows: > > //backup@snap-cms/unix_backups /mnt/snapserver smbfs rw 0 0 > > Does anyone have any ideas? I'm wondering if the .nsmbrc file can't be > read because rc isn't running as root - and if so, where can I put .nsmbrc? > > Many thanks, > Steve :) I don't think $HOME or $USER are already set at the time hard disks are mounted. Use the global file /etc/nsmb.conf as suggested in another mail. From fbsd.questions at rachie.is-a-geek.net Wed May 7 18:28:54 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed May 7 18:28:56 2008 Subject: Delaying pf.conf loading In-Reply-To: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> References: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> Message-ID: <200805072028.51152.fbsd.questions@rachie.is-a-geek.net> On Wednesday 07 May 2008 19:21:22 Justin Jereza wrote: > Hello. > > Is it possible to delay the loading of pf rules from pf.conf after ppp > has connected and named is running through rc.conf? No, the design of the rc system does not allow for rc.conf to alter the order of the scripts executed, since rc.conf is loaded on a per-script basis and the ordering is done based on 'comments' in the scripts themselves. You can however, load an empty table with the appropreate name, then create an rc script in /usr/local/etc/rc.d/ that fills the table with hostnames to solve your problem. Here's an example: /etc/rc.conf: pf_dyntables_enable="YES" pf_dyntables_list="adservers" /etc/pf.conf: table persist /etc/pf/dynamic/adservers: cdn.fastclick.net ad.doubleclick.net # etc etc /usr/local/etc/rc.d/pf_dyntables: #!/bin/sh # # PROVIDE: pf_dyntables # REQUIRE: named pf ppp . /etc/rc.subr name="pf_dyntables" rcvar=`set_rcvar` start_cmd="${name}_start" stop_cmd=":" load_rc_config $name : ${pf_dyntables_enable="NO"} : ${pf_dyntables_dir="/etc/pf/dynamic"} : ${pf_dyntables_list="NONE"} pf_dyntables_start() { if test x"${pf_dyntables_list}" != x"NONE"; then for table in ${pf_dyntables_list}; do echo "Loading table <$table>" cat ${pf_dyntables_dir}/${table} |/usr/bin/xargs \ ${pf_program} -t ${table} -Tadd done else echo hi fi } run_rc_command "$1" -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From justinjereza at gmail.com Wed May 7 18:54:45 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Wed May 7 18:54:48 2008 Subject: Delaying pf.conf loading In-Reply-To: <200805072028.51152.fbsd.questions@rachie.is-a-geek.net> References: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> <200805072028.51152.fbsd.questions@rachie.is-a-geek.net> Message-ID: <53f591170805071154q21275ffbs53cb8ab57175752e@mail.gmail.com> That ought to work. Thanks! :-) On Thu, May 8, 2008 at 2:28 AM, Mel wrote: > > On Wednesday 07 May 2008 19:21:22 Justin Jereza wrote: > > Hello. > > > > Is it possible to delay the loading of pf rules from pf.conf after ppp > > has connected and named is running through rc.conf? > > No, the design of the rc system does not allow for rc.conf to alter the order > of the scripts executed, since rc.conf is loaded on a per-script basis and > the ordering is done based on 'comments' in the scripts themselves. > > You can however, load an empty table with the appropreate name, then create an > rc script in /usr/local/etc/rc.d/ that fills the table with hostnames to > solve your problem. > > Here's an example: > > /etc/rc.conf: > pf_dyntables_enable="YES" > pf_dyntables_list="adservers" > > /etc/pf.conf: > table persist > > /etc/pf/dynamic/adservers: > cdn.fastclick.net > ad.doubleclick.net > # etc etc > > /usr/local/etc/rc.d/pf_dyntables: > > #!/bin/sh > # > # PROVIDE: pf_dyntables > # REQUIRE: named pf ppp > > . /etc/rc.subr > > name="pf_dyntables" > rcvar=`set_rcvar` > start_cmd="${name}_start" > stop_cmd=":" > > load_rc_config $name > > : ${pf_dyntables_enable="NO"} > : ${pf_dyntables_dir="/etc/pf/dynamic"} > : ${pf_dyntables_list="NONE"} > > pf_dyntables_start() > { > if test x"${pf_dyntables_list}" != x"NONE"; then > for table in ${pf_dyntables_list}; do > echo "Loading table <$table>" > cat ${pf_dyntables_dir}/${table} |/usr/bin/xargs \ > ${pf_program} -t ${table} -Tadd > done > else > echo hi > fi > } > > run_rc_command "$1" > > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > From justinjereza at gmail.com Wed May 7 19:03:34 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Wed May 7 19:03:38 2008 Subject: Delaying pf.conf loading In-Reply-To: <53f591170805071154q21275ffbs53cb8ab57175752e@mail.gmail.com> References: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> <200805072028.51152.fbsd.questions@rachie.is-a-geek.net> <53f591170805071154q21275ffbs53cb8ab57175752e@mail.gmail.com> Message-ID: <53f591170805071203p47c6a6a0q8bb27522fe159cea@mail.gmail.com> BTW, you might want to fix your reply-to address. I got the following: Delivery to the following recipient failed permanently: fbsd.questions@rachie.is-a-geek.net Technical details of permanent failure: PERM_FAILURE: Gmail tried to deliver your message, but it was rejected by the recipient domain. The error that the other server returned was: 554 554 5.7.1 : Recipient address rejected: Access denied. We recommend contacting the other email provider for further information about the cause of this error. Thanks for your continued support. (state 14) From chuckr at chuckr.org Wed May 7 20:14:41 2008 From: chuckr at chuckr.org (Chuck Robey) Date: Wed May 7 20:14:46 2008 Subject: about seamonkey Message-ID: <48220B9C.3000800@chuckr.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I was wondering if anyone here knew the answer, I have built seamonkey with ports, but everytime I start it up, two windows pop up (the browser and the mail window). Seeing as I don't want the mailer EVER to pop up (I use thunderbird for that), anyone know how I can suppress the seamoneky mail windows from popping up? I want to use it by default with eclipse, but as it stands now, I can't do that. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIgucz62J6PPcoOkRAmFgAKCH+44azd5N9yiMHzwMeySpzsYXFACfcnpu E308F1ntDaFE7eKnJEqLJKs= =Tf9r -----END PGP SIGNATURE----- From tkjacobsen at gmail.com Wed May 7 20:31:55 2008 From: tkjacobsen at gmail.com (Troels Kofoed Jacobsen) Date: Wed May 7 20:32:00 2008 Subject: HDD missing from sysinstall Message-ID: <200805072206.37165.tkjacobsen@gmail.com> On Thursday 01 May 2008 22:31:13 Cameigons wrote: > I just want to say I'm having the same problem. I have an asus p5n-e SLI, > two seagate 250GB sata2 HD's. > > When trying to install FreeBSD 7.0-Release, the sysinstall pops up the > message "No Disks Found!(...)". And after that I can't boot up neither my > Win Xp, Linux or Freebsd 6.2 anymore... > > Has anyone figured out a solution yet? :/ A problem report now exists at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/123481 Best regards Troels Kofoed Jacobsen From roberthuff at rcn.com Wed May 7 20:34:11 2008 From: roberthuff at rcn.com (Robert Huff) Date: Wed May 7 20:34:16 2008 Subject: about seamonkey In-Reply-To: <48220B9C.3000800@chuckr.org> References: <48220B9C.3000800@chuckr.org> Message-ID: <18466.4663.953584.164128@jerusalem.litteratus.org> Chuck Robey writes: > I was wondering if anyone here knew the answer, I have built > seamonkey with ports, but everytime I start it up, two windows > pop up (the browser and the mail window). Seeing as I don't want > the mailer EVER to pop up (I use thunderbird for that), anyone > know how I can suppress the seamoneky mail windows from popping > up? I use SeaMonkey; I build it pretty much as vanilla as it gets. Never had this happen. Robert Huff From fbsd06 at mlists.homeunix.com Wed May 7 20:47:53 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed May 7 20:47:58 2008 Subject: Delaying pf.conf loading In-Reply-To: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> References: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> Message-ID: <20080507214749.64c5e7ba@gumby.homeunix.com.> On Thu, 8 May 2008 01:21:22 +0800 "Justin Jereza" wrote: > Hello. > > Is it possible to delay the loading of pf rules from pf.conf after ppp > has connected and named is running through rc.conf? What you probably need is to do a "pf resync"; rc.d/ppp already does this, but too early for named. Doing it after named is running is probably not sufficient as there is no guarantee that ppp has established a network connection. I wrote a script that waits until it can ping external hosts, and then does a resync: #!/bin/sh # # PROVIDE: networkwait # REQUIRE: named # BEFORE: ntpdate . /etc/rc.subr networkwait_enable=${networkwait_enable:-"NO"} name="networkwait" rcvar=`set_rcvar` stop_cmd=":" start_cmd="wait_network" wait_network(){ if [ "$networkwait_ping_hosts" ] ; then host_list="${networkwait_ping_hosts}" else # No hosts supplied - use external nameservers host_list=`awk '/^ *nameserver/ {print $2} '< /etc/resolv.conf | grep -E -v '^127\.0+\.0+\.0*1'` fi echo -n "Waiting for network access ... " while true ; do for inet_host in $host_list ; do if ping -nc1 $inet_host 2>&1 > /dev/null ; then echo "ping to ${inet_host} succeeded." # Re-Sync ipfilter and pf in case # they had failed DNS lookups /etc/rc.d/ipfilter resync /etc/rc.d/pf resync exit 0 fi done sleep 5 done } load_rc_config ${name} run_rc_command "$1" From omerfsen at gmail.com Wed May 7 21:00:05 2008 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Wed May 7 21:00:10 2008 Subject: minpasswordlen and login.conf not working on 6 or 7 series Message-ID: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> Hi, I wanted to set the minimum length of passwords of my users so I have done the followings in login.conf 1) added :minpasswordlen=5:\ to default like: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/loca l/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :minpasswordlen=5:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :vmemoryuse=unlimited:\ 2) Have run cap_mkdb /etc/login.conf After that still the users can change their passwords to less than 5 characters and no warning are shown to the user . I have tested this at FreeBSD 6.2, FreeBSD 6.3 and even on FreeBSD 7.0 it doesn't work But I have found a FreeBSD 4.11 and followed the same steps and I got following on passwd command: ns1~# passwd xxxxx Changing local password for xxxxx. New password: Please enter a password at least 5 characters in length. New password: Password unchanged. Am I missing something here? Or this may be a bug on FreeBSD 6.X and 7.X Regards. From fbsd.questions at rachie.is-a-geek.net Wed May 7 21:16:29 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed May 7 21:16:32 2008 Subject: minpasswordlen and login.conf not working on 6 or 7 series In-Reply-To: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> References: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> Message-ID: <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> On Wednesday 07 May 2008 23:00:04 Omer Faruk Sen wrote: > I wanted to set the minimum length of passwords of my users so I > have done the followings in login.conf > > 1) added :minpasswordlen=5:\ to default like: > Am I missing something here? Or this may be a bug on FreeBSD 6.X and 7.X You didn't read the login.conf manpage: The minpasswordlen and minpasswordcase facilities for enforcing restric- tions on password quality, which used to be supported by login.conf, have been superseded by the pam_passwdqc(8) PAM module. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From omerfsen at gmail.com Wed May 7 21:23:56 2008 From: omerfsen at gmail.com (Omer Faruk Sen) Date: Wed May 7 21:24:00 2008 Subject: minpasswordlen and login.conf not working on 6 or 7 series In-Reply-To: <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> References: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> Message-ID: <75a268720805071423v44b3450cj65c36e1af70c4a5@mail.gmail.com> Actually I have read it but haven't read all the man pages because even in 7.0 manual page for login.conf still have: minpasswordlen number 6 The minimum length a local password may be. I think that line should be removed from manual page too. Regards, thanks for the fast reply. On Thu, May 8, 2008 at 12:16 AM, Mel wrote: > On Wednesday 07 May 2008 23:00:04 Omer Faruk Sen wrote: > > > I wanted to set the minimum length of passwords of my users so I > > have done the followings in login.conf > > > > 1) added :minpasswordlen=5:\ to default like: > > > > Am I missing something here? Or this may be a bug on FreeBSD 6.X and 7.X > > You didn't read the login.conf manpage: > The minpasswordlen and minpasswordcase facilities for enforcing restric- > tions on password quality, which used to be supported by login.conf, have > been superseded by the pam_passwdqc(8) PAM module. > > -- > 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 Wed May 7 21:49:30 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed May 7 21:49:36 2008 Subject: minpasswordlen and login.conf not working on 6 or 7 series In-Reply-To: <75a268720805071423v44b3450cj65c36e1af70c4a5@mail.gmail.com> References: <75a268720805071400o2eb75c54y77c11790407cf045@mail.gmail.com> <200805072316.26068.fbsd.questions@rachie.is-a-geek.net> <75a268720805071423v44b3450cj65c36e1af70c4a5@mail.gmail.com> Message-ID: <200805072349.26929.fbsd.questions@rachie.is-a-geek.net> On Wednesday 07 May 2008 23:23:54 Omer Faruk Sen wrote: > Actually I have read it but haven't read all the man pages because > even in 7.0 manual page for login.conf still have: > > minpasswordlen number 6 The minimum length a local password may be. > > I think that line should be removed from manual page too. It's confusing, but... The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. So this basically means, that cap_mkdb /etc/login.conf will not throw an error when it sees that capability and it will also set the default value, if applicable. Programs can use getcap(3) to consult the value. For instance you could write your own login program, or consult and enforce it through a webpage, or implement it in a server program. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From mail at chdevelopment.se Wed May 7 22:03:28 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Wed May 7 22:03:33 2008 Subject: about seamonkey In-Reply-To: <48220B9C.3000800@chuckr.org> References: <48220B9C.3000800@chuckr.org> Message-ID: <4822272C.7040204@chdevelopment.se> Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I was wondering if anyone here knew the answer, I have built seamonkey with > ports, but everytime I start it up, two windows pop up (the browser and the mail > window). Seeing as I don't want the mailer EVER to pop up (I use thunderbird > for that), anyone know how I can suppress the seamoneky mail windows from > popping up? I want to use it by default with eclipse, but as it stands now, I > can't do that. > Just want to make sure: Have you checked the settings ? Edit - Preferences... - Appearance - When SeaMonkey starts up, open -- Christer Hermansson From freebsd at violetlan.net Wed May 7 22:59:31 2008 From: freebsd at violetlan.net (Reinhold) Date: Wed May 7 22:59:34 2008 Subject: plagued by bad hdr length Message-ID: <3184.89.240.55.163.1210201232.squirrel@www.violetlan.net> Hi I'm getting loads of bad hdr length from pf on our router running freebsd 7.0 I've tried just about everything I could find with google. Lowering the mtu on my ng devices from 1492 all the way to 1485, anything lower then that and we can't ssh out of our network and I get loads of time outs every where. I've tried also pretty much every possible solution with the scrub rules in pf, I even disabled it a few times. I honestly don't know what to try next. tcpdump -n -e -tttt -i pflog0 2008-05-07 23:42:06.596965 rule 78/0(match): pass in on ng0: 89.240.55.163.3164 > 192.168.1.5.80: tcp 20 [bad hdr length 8 - too short, < 20] 2008-05-07 23:42:07.051043 rule 78/0(match): pass in on ng0: 89.240.55.163.3165 > 192.168.1.5.80: tcp 20 [bad hdr length 8 - too short, < 20] 2008-05-07 23:42:25.697087 rule 76/0(match): pass in on ng0: 80.81.242.13.51145 > 192.168.1.5.22: tcp 36 [bad hdr length 8 - too short, < 20] 2008-05-07 23:42:30.561467 rule 77/0(match): pass in on ng1: 80.81.242.14.63900 > 192.168.1.5.22: tcp 36 [bad hdr length 8 - too short, < 20] And here are the same log again tcpdump -n -e -tttt -r /var/log/pflog 2008-05-07 23:42:06.596965 rule 78/0(match): pass in on ng0: 89.240.55.163.3164 > 192.168.1.5.80: S 3008361134:3008361134(0) win 16384 2008-05-07 23:42:07.051043 rule 78/0(match): pass in on ng0: 89.240.55.163.3165 > 192.168.1.5.80: S 1482992447:1482992447(0) win 16384 2008-05-07 23:42:25.697087 rule 76/0(match): pass in on ng0: 80.81.242.13.51145 > 192.168.1.5.22: S 555277666:555277666(0) win 65535 2008-05-07 23:42:30.561467 rule 77/0(match): pass in on ng1: 80.81.242.14.63900 > 192.168.1.5.22: S 966982942:966982942(0) win 65535 Here is my ifconfig ng0: flags=88d1 metric 0 mtu 1492 inet wan1-ip --> wan1-gw netmask 0xffffffff ng1: flags=88d1 metric 0 mtu 1492 inet wan2-ip --> wan2-gw netmask 0xffffffff Anyone out there that can lend me a hand with fixing this? Thanks Reinhold From fbsd06 at mlists.homeunix.com Wed May 7 23:03:20 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed May 7 23:03:25 2008 Subject: chmod operation on directories / files In-Reply-To: <20080507123747.GA5430@localhost.ok.cox.net> References: <482198FA.8070708@lc-words.com> <20080507123747.GA5430@localhost.ok.cox.net> Message-ID: <20080508000316.158d6d7c@gumby.homeunix.com.> On Wed, 7 May 2008 07:37:47 -0500 Gordon devel wrote: > On Wed, May 07, 2008 at 01:56:42PM +0200, Zbigniew Szalbot wrote: > > > > How do I chmod separately files and directories? > > > > If I use chmod -R 644 then it will go through all the > > subdirectories assigning everything 644 permissions, directories > > including. > > > How about? > > find . -type d -exec chmod 755 {} \; > find . -type f -exec chmod 644 {} \; > > If there are a lot of them, you might want to pipe to xargs. Or you could "+" instead of \; From fbsd06 at mlists.homeunix.com Wed May 7 23:11:44 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed May 7 23:11:50 2008 Subject: chmod operation on directories / files In-Reply-To: <1210169832.2585.3.camel@frodon.be-bif.ulb.ac.be> References: <482198FA.8070708@lc-words.com> <1210169657.2585.1.camel@frodon.be-bif.ulb.ac.be> <1210169832.2585.3.camel@frodon.be-bif.ulb.ac.be> Message-ID: <20080508001140.7b4cbe2b@gumby.homeunix.com.> On Wed, 07 May 2008 16:17:12 +0200 Julien Cigar wrote: > sorry.. | xargs chmod instead of | xargs | chmod ... It will still fail on a directory name that contains a space (this is a difference between Gnu and BSD). You need: find ... -print0 | xargs -0 From iaccounts at ibctech.ca Thu May 8 00:59:47 2008 From: iaccounts at ibctech.ca (Steve Bertrand) Date: Thu May 8 00:59:53 2008 Subject: Mounting USB CD-ROM manually, after boot Message-ID: <48225087.1000409@ibctech.ca> Hi everyone, To get right to the chase, FBSD 7.0, I plug in an external USB CD-ROM device with a CD (of FreeBSD 7.0) and I want to mount it manually into the filesystem. The device shows up with a label, and appears as /dev/cd0 (in dmesg). # mount /dev/cd0 /cdrom ...fails, with a: mount: /dev/cd0 : Invalid Argument I have nothing else in /dev that would indicate any new device was attached. I know for fact the .iso is burned correctly, because I can boot from the same CD on another PC. Even still, a bad ISO burn still shouldn't prevent me from mounting AFAIK. I've also tried all manner of cd0a etc, but they don't exist. (I can confirm cd0 is the only entry that appears in /dev after USB insertion). Can anyone shed some quick light onto the solution that I am likely purely overlooking? Thanks, Steve From thenudnik at gmail.com Thu May 8 01:09:35 2008 From: thenudnik at gmail.com (David M. Patronis) Date: Thu May 8 01:09:41 2008 Subject: Mounting USB CD-ROM manually, after boot In-Reply-To: <48225087.1000409@ibctech.ca> References: <48225087.1000409@ibctech.ca> Message-ID: <482252C2.2010704@gmail.com> Steve Bertrand wrote: > Hi everyone, > > To get right to the chase, FBSD 7.0, I plug in an external USB CD-ROM > device with a CD (of FreeBSD 7.0) and I want to mount it manually into > the filesystem. > > The device shows up with a label, and appears as /dev/cd0 (in dmesg). > > # mount /dev/cd0 /cdrom > > ...fails, with a: > > mount: /dev/cd0 : Invalid Argument > > I have nothing else in /dev that would indicate any new device was > attached. I know for fact the .iso is burned correctly, because I can > boot from the same CD on another PC. Even still, a bad ISO burn still > shouldn't prevent me from mounting AFAIK. > > I've also tried all manner of cd0a etc, but they don't exist. (I can > confirm cd0 is the only entry that appears in /dev after USB insertion). > > Can anyone shed some quick light onto the solution that I am likely > purely overlooking? > > Thanks, > > Steve > _______________________________________________ > 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" > Try this: mount_cd9660 /dev/cd0 /mnt If that doesnt work try "acd0". This works on my system at any rate. David From iaccounts at ibctech.ca Thu May 8 01:16:19 2008 From: iaccounts at ibctech.ca (Steve Bertrand) Date: Thu May 8 01:16:24 2008 Subject: Mounting USB CD-ROM manually, after boot In-Reply-To: <482252C2.2010704@gmail.com> References: <48225087.1000409@ibctech.ca> <482252C2.2010704@gmail.com> Message-ID: <48225467.4040009@ibctech.ca> >> mount: /dev/cd0 : Invalid Argument >> >> Can anyone shed some quick light onto the solution that I am likely >> purely overlooking? >> > Try this: > > mount_cd9660 /dev/cd0 /mnt Thank you for the very quick reply. The above command that David stated worked immediately. Thanks everyone, Steve From fbsd-ml at scrapper.ca Thu May 8 02:35:50 2008 From: fbsd-ml at scrapper.ca (Norbert Papke) Date: Thu May 8 02:35:55 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> References: <200805062116.19999.fbsd-ml@scrapper.ca> <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805071934.54600.fbsd-ml@scrapper.ca> On May 7, 2008, Mel wrote: > On Wednesday 07 May 2008 06:16:19 Norbert Papke wrote: > > On May 6, 2008, Gilles wrote: > > > Is there a way to configure SSHd, so that the wait time between login > > > attempts increases after X failed tries? > > > > I run sshd via inetd rather than as a stand-alone daemon. inetd provides > > optional rate limiting functionality. For instance. putting > > > > ssh stream tcp nowait/20/4/10 root /usr/sbin/sshd sshd -i > > > > into /etc/inetd.conf set a limit of > > > > * 20 overall ssh connections > > * 4 connection attempts per minute > > * at most 10 connections from a single IP > > > > This works very well on a personal server, not sure how it scales up. > > So if I copy over some files via scp, I can lock myself out. Fun stuff ;) Absolutely. But the same can happen with any rate limiting solution. However, in practice this has never been an issue for me. First, I tend to copy large sets of files using a single connection. Either 'scp -r' or by running tar/rsync through an ssh tunnel. Second, this kind of limit is enough to discourage script kiddies, but caps my downside risk to an acceptable (to me) one minute lock out. Anyway, it works for me. Cheers, -- Norbert. From gracegreat01 at gmail.com Thu May 8 03:43:36 2008 From: gracegreat01 at gmail.com (G Grace) Date: Thu May 8 03:43:40 2008 Subject: MP3/MP4 Message-ID: <4441f1070805072018w3aa0bbc3o944c9e99bf4868e7@mail.gmail.com> Dear customer, We are pleased to get to know that you are presently on the market for MP4 and other digital products, and as the *largest specialized OEM manufacturer of mp3/MP4/DPF and other digital products *and exporter for these products in China, we sincerely hope to establish business relations with your esteemed corporation. To know more about our products, kindly visit our website: www.valor-wave.com If you are interested in our products,pls tell me;I will send you more details. -- Thks & Best regards, Grace TEL:86-755-28532658 28532458 Fax:86-755-89518848 MSN: gracegreat@hotmail.com Email:gracegreat01@gmail.com sales@valor-wave.com www.valor-wave.com CHINA factory Add. : SHANGXUE INDUSTRIAL ZONE, BUJI, SHENZHEN, CHINA TEL: 00852-30628889 30602868 FAX: 00852-35902333 HK Add. : RM1002, 10/F, RICKEY CENTRE, 36 CHONG YIP STREET,KWUN TONG, KOWLOON, HK From iaccounts at ibctech.ca Thu May 8 03:50:55 2008 From: iaccounts at ibctech.ca (Steve Bertrand) Date: Thu May 8 03:51:00 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> References: <200805062116.19999.fbsd-ml@scrapper.ca> <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> Message-ID: <482278A3.7040304@ibctech.ca> >> ssh stream tcp nowait/20/4/10 root /usr/sbin/sshd sshd -i >> >> into /etc/inetd.conf set a limit of >> >> * 20 overall ssh connections >> * 4 connection attempts per minute >> * at most 10 connections from a single IP >> >> This works very well on a personal server, not sure how it scales up. > > > So if I copy over some files via scp, I can lock myself out. Fun stuff ;) Come on... The comment was based on a 'personal' server for logins. How 'bout you explain why SCP would break this so the OP understands... Otherwise, explain why running an FTP session through one of the server's SSH tunnels wouldn't be equally viable to running an unlimited number of SCP sessions over normal TCP ;) Steve From vince at vjs.org Thu May 8 05:25:31 2008 From: vince at vjs.org (Vince Sabio) Date: Thu May 8 05:25:37 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805060959.28509.beech@freebsd.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> Message-ID: ** At 09:59 -0800 on 05/06/2008, Beech Rintoul wrote: >On Tuesday 06 May 2008, David Kelly said: > > > On Tuesday 06 May 2008, Gilles said: >> > > Is there a way to configure SSHd, so that the wait time between > > > > login attempts increases after X failed tries? > > >> Depending on how you use ssh from external systems you could add >> firewall rules to disallow all but known sources. > >I was doing that in the past, but I found it to be inflexable and >sometimes a pain to deal with. I sometimes need to access a server >from a new location and that kind of hard lockdown just isn't >practical. I had the same problem (i.e., needing to access the server from a new location). In my case, one of the allowed sites is the server of a friend who has provided a shell account for me. When I'm on the road, I just ssh to his machine, and from there I can ssh into any of my machines. His machine effectively does all of the script-kiddie filtering for my site. ;-) Note if you choose to do this: scp'ing files becomes a four-step process (i.e., scp file(s) to intermediate server, log in to intermediate server, scp to destination server, delete file(s) from intermediate server). Still worth it, though. Remember the "wave theory" of script kiddies (WARNING: Gross oversimplification ahead): Quantum mechanics says that if you throw yourself against a wall several quintillion times, you'll eventually "wave" through it without leaving a mark on yourself or the wall.* Similarly, a sufficiently large number of break-in attempts by script kiddies will result in one of them "waving" straight past all of the security without leaving a scratch. FWIW, I agree with cpghost -- it's strange that an addition as obvious and useful as this isn't already supported. __________________________________________________________________________ Vince Sabio vince@vjs.org * As if the first few billion tries didn't already leave some rather noticeable marks on both you AND the wall. From peter at boosten.org Thu May 8 05:33:20 2008 From: peter at boosten.org (Peter Boosten) Date: Thu May 8 05:33:26 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> Message-ID: <48229099.5030004@boosten.org> Vince Sabio wrote: > > Note if you choose to do this: scp'ing files becomes a four-step process > (i.e., scp file(s) to intermediate server, log in to intermediate > server, scp to destination server, delete file(s) from intermediate > server). Still worth it, though. Never thought of port forwarding? Peter -- http://www.boosten.org From freebsd at violetlan.net Thu May 8 07:49:08 2008 From: freebsd at violetlan.net (Reinhold) Date: Thu May 8 07:49:12 2008 Subject: plagued by bad hdr length In-Reply-To: <00cf01c8b099$77abc5d0$67035170$@com> References: <3184.89.240.55.163.1210201232.squirrel@www.violetlan.net> <00cf01c8b099$77abc5d0$67035170$@com> Message-ID: <55450.217.41.34.61.1210233010.squirrel@www.violetlan.net> Thanks for the reply If tried that as well and it didn't help On Thu, May 8, 2008 00:24, Ansar Mohammed wrote: > Yes I had similar issues > > > Try > scrub on ng0 all reassemble tcp scrub on ng1 all reassemble tcp > > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Reinhold Sent: May 7, 2008 7:01 PM >> To: freebsd-questions@freebsd.org >> Subject: plagued by bad hdr length >> >> >> Hi >> >> >> I'm getting loads of bad hdr length from pf on our router running >> freebsd 7.0 >> >> I've tried just about everything I could find with google. >> >> >> Lowering the mtu on my ng devices from 1492 all the way to 1485, >> anything lower then that and we can't ssh out of our network and I get >> loads of time outs every where. >> >> I've tried also pretty much every possible solution with the scrub >> rules in pf, I even disabled it a few times. >> >> I honestly don't know what to try next. >> >> >> tcpdump -n -e -tttt -i pflog0 2008-05-07 23:42:06.596965 rule >> 78/0(match): pass in on ng0: >> 89.240.55.163.3164 > 192.168.1.5.80: tcp 20 [bad hdr length 8 - too >> short, < 20] 2008-05-07 23:42:07.051043 rule 78/0(match): pass in on ng0: >> 89.240.55.163.3165 > 192.168.1.5.80: tcp 20 [bad hdr length 8 - too >> short, < 20] 2008-05-07 23:42:25.697087 rule 76/0(match): pass in on ng0: >> 80.81.242.13.51145 > 192.168.1.5.22: tcp 36 [bad hdr length 8 - too >> short, < 20] 2008-05-07 23:42:30.561467 rule 77/0(match): pass in on ng1: >> 80.81.242.14.63900 > 192.168.1.5.22: tcp 36 [bad hdr length 8 - too >> short, < 20] >> >> And here are the same log again >> tcpdump -n -e -tttt -r /var/log/pflog 2008-05-07 23:42:06.596965 rule >> 78/0(match): pass in on ng0: >> 89.240.55.163.3164 > 192.168.1.5.80: S 3008361134:3008361134(0) win >> 16384 >> >> 2008-05-07 23:42:07.051043 rule 78/0(match): pass in on ng0: >> 89.240.55.163.3165 > 192.168.1.5.80: S 1482992447:1482992447(0) win >> 16384 >> >> 2008-05-07 23:42:25.697087 rule 76/0(match): pass in on ng0: >> 80.81.242.13.51145 > 192.168.1.5.22: S 555277666:555277666(0) win 65535 >> >> 2008-05-07 23:42:30.561467 rule 77/0(match): pass in on ng1: >> 80.81.242.14.63900 > 192.168.1.5.22: S 966982942:966982942(0) win 65535 >> >> >> >> Here is my ifconfig >> ng0: flags=88d1 metric >> 0 >> mtu 1492 inet wan1-ip --> wan1-gw netmask 0xffffffff ng1: >> flags=88d1 metric 0 >> mtu 1492 inet wan2-ip --> wan2-gw netmask 0xffffffff >> >> Anyone out there that can lend me a hand with fixing this? >> >> >> Thanks >> Reinhold >> >> >> _______________________________________________ >> 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 Thu May 8 08:02:56 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu May 8 08:03:04 2008 Subject: Mounting USB CD-ROM manually, after boot In-Reply-To: <48225087.1000409@ibctech.ca> References: <48225087.1000409@ibctech.ca> Message-ID: <20080508100241.V47647@wojtek.tensor.gdynia.pl> > The device shows up with a label, and appears as /dev/cd0 (in dmesg). > > # mount /dev/cd0 /cdrom > > ...fails, with a: > > mount: /dev/cd0 : Invalid Argument mount_cd9660 > > I have nothing else in /dev that would indicate any new device was attached. > I know for fact the .iso is burned correctly, because I can boot from the > same CD on another PC. Even still, a bad ISO burn still shouldn't prevent me > from mounting AFAIK. > > I've also tried all manner of cd0a etc, but they don't exist. (I can confirm > cd0 is the only entry that appears in /dev after USB insertion). > > Can anyone shed some quick light onto the solution that I am likely purely > overlooking? > > Thanks, > > Steve > _______________________________________________ > 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 thomas.herzog at inode.at Thu May 8 08:46:54 2008 From: thomas.herzog at inode.at (Thomas Herzog) Date: Thu May 8 08:46:59 2008 Subject: FreeBSD 7.0 and hptrr Message-ID: <4822B5DF.6050406@inode.at> Hi list, i have a new FreeBSD 7.0 installation with a HighPoint RocketRAID 2310 with 4 Disks. is there a way to check the raidstatus for the raid and/or is there a way to let smartmontools check the disks? thanks Thomas From unga888 at yahoo.com Thu May 8 08:48:31 2008 From: unga888 at yahoo.com (Unga) Date: Thu May 8 08:48:37 2008 Subject: Group of the newly created files and directories Message-ID: <846407.47995.qm@web57001.mail.re3.yahoo.com> Hi I have noticed in FreeBSD, the group of the newly created files and directories are assumed by default of the group of the parent directory! Eg. cd /tmp touch testfile.txt -rw-r--r-- 1 unga wheel 0 May 8 15:39 testfile.txt If you do the same in Linux, it would be: -rw-r--r-- 1 unga unga 0 May 8 15:39 testfile.txt That is, in Linux, the group will the user's primary group, but in FreeBSD, it is the the group of the parent directory! It is the same even if you use the open(2) system call with O_CREAT. I have following questions in this regard: 1. Is this the intended behaviour or error? 2. Where in FreeBSD the open(2) system call is implemented? Kind regards Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From fbsd.questions at rachie.is-a-geek.net Thu May 8 09:29:49 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 8 09:29:53 2008 Subject: Group of the newly created files and directories In-Reply-To: <846407.47995.qm@web57001.mail.re3.yahoo.com> References: <846407.47995.qm@web57001.mail.re3.yahoo.com> Message-ID: <200805081112.33030.fbsd.questions@rachie.is-a-geek.net> On Thursday 08 May 2008 10:48:29 Unga wrote: > That is, in Linux, the group will the user's primary > group, but in FreeBSD, it is the the group of the > parent directory! Yes, it's been that way in any BSD for as long as I know. -- 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 May 8 09:29:55 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 8 09:30:00 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <482278A3.7040304@ibctech.ca> References: <200805071831.13898.fbsd.questions@rachie.is-a-geek.net> <482278A3.7040304@ibctech.ca> Message-ID: <200805081129.47201.fbsd.questions@rachie.is-a-geek.net> On Thursday 08 May 2008 05:50:59 Steve Bertrand wrote: > >> ssh stream tcp nowait/20/4/10 root /usr/sbin/sshd sshd -i > >> > >> into /etc/inetd.conf set a limit of > >> > >> * 20 overall ssh connections > >> * 4 connection attempts per minute > >> * at most 10 connections from a single IP > >> > >> This works very well on a personal server, not sure how it scales up. > > > > So if I copy over some files via scp, I can lock myself out. Fun stuff ;) > > Come on... > > The comment was based on a 'personal' server for logins. > > How 'bout you explain why SCP would break this so the OP understands... > > Otherwise, explain why running an FTP session through one of the > server's SSH tunnels wouldn't be equally viable to running an unlimited > number of SCP sessions over normal TCP ;) because: for FILE in */*.[ch]; do scp ${FILE} host:/backup; done is quicker to write then setup tunnels. The point is, that there's a difference between failed login attempts and incoming connections. sshd logs failed login attempts, so it's easy to seperate them (sysutils/grok) and set the rate limit to an acceptable value, should one try to hammer the server by simply opening connections. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ivoras at freebsd.org Thu May 8 09:55:36 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Thu May 8 09:55:40 2008 Subject: Group of the newly created files and directories In-Reply-To: <846407.47995.qm@web57001.mail.re3.yahoo.com> References: <846407.47995.qm@web57001.mail.re3.yahoo.com> Message-ID: Unga wrote: > Hi > > I have noticed in FreeBSD, the group of the newly > created files and directories are assumed by default > of the group of the parent directory! Yes, this is the difference between SYSV and BSD systems - each variant has its own arguments in favour so this behaviour is not likely to be changed. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080508/33ec9125/signature.pgp From juliushuang at gmail.com Thu May 8 10:53:19 2008 From: juliushuang at gmail.com (Julius Huang) Date: Thu May 8 10:53:23 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: Message-ID: Hi, On May 7, 2008, at 01:11 , Gilles wrote: > Hello > > I'm a bit tired of people trying to break into SSH: > > May 6 16:59:23 freebsd sshd[24649]: Invalid user agatha from > 195.43.9.246 > May 6 16:59:26 freebsd sshd[24651]: Invalid user cristie from > 195.43.9.246 > May 6 16:59:29 freebsd sshd[24653]: Invalid user number from > 195.43.9.246 > May 6 16:59:31 freebsd sshd[24655]: Invalid user chamber from > 195.43.9.246 > etc. > > Is there a way to configure SSHd, so that the wait time between login > attempts increases after X failed tries? > Is portknocking + firewall considered? There are ways to implement it, some are not complicated. J. > 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 urandomdev at gmail.com Thu May 8 11:38:31 2008 From: urandomdev at gmail.com (Simon Jolle) Date: Thu May 8 11:38:34 2008 Subject: automate ports upgrade (portmanager -u -l) Message-ID: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> Hi FreeBSD users How to do unattended ports upgrade? I am using FreeBSD 7.0 and portmanager ask me strange questions[0] (about compile-time options) cheers Simon [0] http://img384.imageshack.us/img384/8657/portmanageruloptionsaw9.png -- XMPP: sjolle@swissjabber.org From fbsd06 at mlists.homeunix.com Thu May 8 12:09:14 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu May 8 12:09:19 2008 Subject: automate ports upgrade (portmanager -u -l) In-Reply-To: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> References: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> Message-ID: <20080508125354.4b453882@gumby.homeunix.com.> On Thu, 8 May 2008 13:10:23 +0200 "Simon Jolle" wrote: > Hi FreeBSD users > > How to do unattended ports upgrade? I am using FreeBSD 7.0 and > portmanager ask me strange questions[0] (about compile-time options) It's not actually portmanager, it's the ports-system itself. This question comes-up regularly. Try looking for the thread: "overnight upgrade interrupted by questions" From odhiambo at gmail.com Thu May 8 12:16:28 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Thu May 8 12:16:32 2008 Subject: automate ports upgrade (portmanager -u -l) In-Reply-To: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> References: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> Message-ID: <991123400805080449o195843bai900ec293af9b0067@mail.gmail.com> On Thu, May 8, 2008 at 2:10 PM, Simon Jolle wrote: > Hi FreeBSD users > > How to do unattended ports upgrade? I am using FreeBSD 7.0 and > portmanager ask me strange questions[0] (about compile-time options) Unattended? Even on Windows, I doubt they do that:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From lopez.on.the.lists at yellowspace.net Thu May 8 12:26:11 2008 From: lopez.on.the.lists at yellowspace.net (Lorenzo Perone) Date: Thu May 8 12:26:15 2008 Subject: pxeboot, TFTP loader/NFS root, NFS MOUNT RPC error: 60, timeout Message-ID: <036F9483-FFB0-439B-B3A5-84F3C371BAF4@yellowspace.net> On Thu Feb 7 19:00:11 UTC 2008, Rek Jed rekjed at gmail.com wrote: Subject was: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout > Hey, > > I've been building FreeBSD jumpstart infrastructure and it mostly > works. I'm using tftp to boot off the network in to scripted > sysinstall. I compiled the boot loader with tftp support but every > time > I boot it will first try nfs, then timeout after around two minutes > (it > cannot find nfs) and finally boot from tftp. Is there any way that I > can make it boot from tftp straight away rather than wait for nfs to > timeout? Hi. I'm new to this list, just came across this thread as I had the same error message - but the messages posted so far didn't help me. I found a solution for my case, and I'm posting it here so maybe it can help others too. In some cases like mine, the symptoms indicate that the problem might be caused by differing ways of interpreting bootp/dhcp information by the PXE hardware, rather than than in pxeboot itself. In my case, I had a dhcp "filename" entry which contained slashes (/), and this was causing trouble _after_ the referenced pxeboot was correctly loaded and executed. Long story: I wanted the loader to mount root and access / and /boot from NFS, not from tftp. I did get so far that the pxeboot was found and started, but the NFS root could not be mounted correctly, therefore /boot and the kernel were not found. it stopped stating NFS MOUNT RPC error: 60, timeout after a while, throwing me back into the loader prompt. The interesting thing is, a different machine booted just fine with the same setup. In my case: a DELL PowerEdge 1750 did boot, a PowerEdge 1950 did not. My setup: One server (7.0-STABLE) was serving TFTP and NFS to the local net, and both nfs root and tftp root were the same: /pxebootroot -alldirs -rw -maproot=root -network 192.168.1 -mask 255.255.255.0 in /etc/exports as well as tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /pxebootroot in /etc/inetd.conf In my dhcpd.conf on the dhcp server I had the following entries (192.168.1.61 being the tftp and nfs server): filename "/boot/pxeboot"; next-server 192.168.1.61; option root-path "192.168.1.61:/pxebootroot"; After a few attempts with the above error message I had a look into lsdev in the loader. It listed dell's virtual disk as well as, as a last entry, a 192.168.1.61:/boot/pxeboot this made me think that something strange was going on: why should that be listed as a device? maybe it got nfsmounted already? I tried "load"ing the kernel from there, but I didn't get far. Whatever was wrong or not with it, it gave me an idea, ant it helped, in my case (on the tftp- and nfs server machine): cp -p /pxebootroot/boot/pxeboot /pxebootroot/ change the filename in dhcpd.conf of the dhcp server: -> from filename "/boot/pxeboot"; -> to filename "pxeboot"; and it boots fine with NFS root. I think somehow the slashes (/) within the filename in dhcp were (mis)interpreted by the pxe hw of the 1950. I'm still finishing a setup with different pxe boot environments, so if I come across any other details for this I'll be glad to share them. Regards, Lorenzo From urandomdev at gmail.com Thu May 8 12:35:13 2008 From: urandomdev at gmail.com (Simon Jolle) Date: Thu May 8 12:35:17 2008 Subject: automate ports upgrade (portmanager -u -l) In-Reply-To: <20080508125354.4b453882@gumby.homeunix.com.> References: <648d054e0805080410y71ac367fw2d37ad95291ec476@mail.gmail.com> <20080508125354.4b453882@gumby.homeunix.com.> Message-ID: <648d054e0805080535o5c4b6939nc50a2c89684871a4@mail.gmail.com> On Thu, May 8, 2008 at 1:53 PM, RW wrote: >> How to do unattended ports upgrade? I am using FreeBSD 7.0 and >> portmanager ask me strange questions[0] (about compile-time options) > > It's not actually portmanager, it's the ports-system itself. This > question comes-up regularly. Try looking for the thread: > > "overnight upgrade interrupted by questions" Thank you, the thread can be found here[0]. I use now "portupgrade -a --batch" There are so many port management tools. Which one is officially recommended? What do you use and why? cheers Simon [0] http://www.mail-archive.com/freebsd-questions@freebsd.org/msg189925.html -- XMPP: sjolle@swissjabber.org From sdafreebsduk at rowyerboat.com Thu May 8 13:07:42 2008 From: sdafreebsduk at rowyerboat.com (Stephen Allen) Date: Thu May 8 13:07:49 2008 Subject: SMB share not mounting at startup In-Reply-To: <4821EF82.2000000@bsdforen.de> References: <4821DEA3.3020905@rowyerboat.com> <4821EF82.2000000@bsdforen.de> Message-ID: <4822FB18.50408@rowyerboat.com> I copied /root/.nsmbrc to /etc/nsmb.conf with security at 600, and it doesn't work. With security at 777 it still doesn't work. Any more suggestions? Many thanks, Steve :) Dominic Fandrey wrote: > Stephen Allen wrote: >> I am trying to mount an SMB share at startup. I have configured (as >> root) .nsmbrc so I don't have to type a password. When I run "mount >> -a", it mounts beautifully. >> >> However, when restarting the server, it will not mount automatically. >> According to rc.conf(5), smbfs is part of 'netfs_types' so rc should >> wait until after the network is started before trying to mount it (so >> shouldn't fail). I have an entry in /etc/fstab as follows: >> >> //backup@snap-cms/unix_backups /mnt/snapserver smbfs rw 0 0 >> >> Does anyone have any ideas? I'm wondering if the .nsmbrc file can't >> be read because rc isn't running as root - and if so, where can I put >> .nsmbrc? >> >> Many thanks, >> Steve :) > > I don't think $HOME or $USER are already set at the time hard disks are > mounted. Use the global file /etc/nsmb.conf as suggested in another mail. From vince at vjs.org Thu May 8 13:13:36 2008 From: vince at vjs.org (Vince Sabio) Date: Thu May 8 13:13:41 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <48229099.5030004@boosten.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> Message-ID: ** At 07:33 +0200 on 05/08/2008, Peter Boosten wrote: >Vince Sabio wrote: > >>Note if you choose to do this: scp'ing files becomes a four-step >>process (i.e., scp file(s) to intermediate server, log in to >>intermediate server, scp to destination server, delete file(s) from >>intermediate server). Still worth it, though. > >Never thought of port forwarding? Sure, but that would still leave my machines vulnerable to script kiddies. Since I rarely move files between my laptop and my server, the four-step process is not a big deal. If I did it more often, I'd probably cron up a script on the intermediate machine to move (and delete) the files for me. __________________________________________________________________________ Vince Sabio vince@vjs.org From unga888 at yahoo.com Thu May 8 13:16:48 2008 From: unga888 at yahoo.com (Unga) Date: Thu May 8 13:16:53 2008 Subject: Group of the newly created files and directories In-Reply-To: Message-ID: <433376.9037.qm@web57007.mail.re3.yahoo.com> --- Ivan Voras wrote: > Unga wrote: > > Hi > > > > I have noticed in FreeBSD, the group of the newly > > created files and directories are assumed by > default > > of the group of the parent directory! > > Yes, this is the difference between SYSV and BSD > systems - each variant > has its own arguments in favour so this behaviour is > not likely to be > changed. > Thanks for replies. Btw, where is the open(2) syscall is implemented in FreeBSD, just curious? Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From fbsd.questions at rachie.is-a-geek.net Thu May 8 13:53:19 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu May 8 13:53:22 2008 Subject: Group of the newly created files and directories In-Reply-To: <433376.9037.qm@web57007.mail.re3.yahoo.com> References: <433376.9037.qm@web57007.mail.re3.yahoo.com> Message-ID: <200805081553.16336.fbsd.questions@rachie.is-a-geek.net> On Thursday 08 May 2008 15:16:46 Unga wrote: > Thanks for replies. Btw, where is the open(2) syscall > is implemented in FreeBSD, just curious? /usr/src/sys/kern/vfs_syscalls.c -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From peter at boosten.org Thu May 8 13:57:38 2008 From: peter at boosten.org (Peter Boosten) Date: Thu May 8 13:57:42 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> Message-ID: <482306CD.5040503@boosten.org> Vince Sabio wrote: > ** At 07:33 +0200 on 05/08/2008, Peter Boosten wrote: >> Vince Sabio wrote: >> >>> Note if you choose to do this: scp'ing files becomes a four-step >>> process (i.e., scp file(s) to intermediate server, log in to >>> intermediate server, scp to destination server, delete file(s) from >>> intermediate server). Still worth it, though. >> >> Never thought of port forwarding? > > Sure, but that would still leave my machines vulnerable to script > kiddies. Huh?!? Peter -- http://www.boosten.org From fbsd-ml at scrapper.ca Thu May 8 15:32:42 2008 From: fbsd-ml at scrapper.ca (Norbert Papke) Date: Thu May 8 15:32:46 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805081129.47201.fbsd.questions@rachie.is-a-geek.net> References: <482278A3.7040304@ibctech.ca> <200805081129.47201.fbsd.questions@rachie.is-a-geek.net> Message-ID: <200805080832.39650.fbsd-ml@scrapper.ca> On May 8, 2008, Mel wrote: > because: > for FILE in */*.[ch]; do scp ${FILE} host:/backup; done > is quicker to write then setup tunnels. How about "scp */*.[ch] host:/backup"? From fbsd-ml at scrapper.ca Thu May 8 15:41:16 2008 From: fbsd-ml at scrapper.ca (Norbert Papke) Date: Thu May 8 15:41:21 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <200805080832.39650.fbsd-ml@scrapper.ca> References: <200805081129.47201.fbsd.questions@rachie.is-a-geek.net> <200805080832.39650.fbsd-ml@scrapper.ca> Message-ID: <200805080841.10127.fbsd-ml@scrapper.ca> On May 8, 2008, Norbert Papke wrote: > On May 8, 2008, Mel wrote: > > because: > > for FILE in */*.[ch]; do scp ${FILE} host:/backup; done > > is quicker to write then setup tunnels. > > How about "scp */*.[ch] host:/backup"? To answer my own silly question, the above doesn't preserve paths. Anyway, as always, there is more than one solution. Not every solution fits universally. Cheers. From chuckr at chuckr.org Thu May 8 16:33:16 2008 From: chuckr at chuckr.org (Chuck Robey) Date: Thu May 8 16:33:20 2008 Subject: about seamonkey In-Reply-To: <4822272C.7040204@chdevelopment.se> References: <48220B9C.3000800@chuckr.org> <4822272C.7040204@chdevelopment.se> Message-ID: <4823293A.9020205@chuckr.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christer Hermansson wrote: > Chuck Robey wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I was wondering if anyone here knew the answer, I have built seamonkey >> with >> ports, but everytime I start it up, two windows pop up (the browser >> and the mail >> window). Seeing as I don't want the mailer EVER to pop up (I use >> thunderbird >> for that), anyone know how I can suppress the seamoneky mail windows from >> popping up? I want to use it by default with eclipse, but as it >> stands now, I >> can't do that. >> > > Just want to make sure: > > Have you checked the settings ? > > Edit - Preferences... - Appearance - When SeaMonkey starts up, open > That fixed it, Thanks a Lot!! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIIyk6z62J6PPcoOkRAqSkAJ9a26CORo7N+YzUzagYHB4NA51LnQCffQD3 3ymH9xVjpDZm1AQS2UOyHcw= =C2Oe -----END PGP SIGNATURE----- From chuckr at chuckr.org Thu May 8 20:04:41 2008 From: chuckr at chuckr.org (Chuck Robey) Date: Thu May 8 20:04:45 2008 Subject: about Linux Message-ID: <48235AC8.1030006@chuckr.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to get a problem with my linuxulator working, where all of my items that came from the linux-blackdown port give an error about a missing libdl.so.2. I tried using the Linux ldd, no output at all to see if there are missing libs (that's wierd) so I tried to go off to the ports, and I was at first pleasantly surprised to see that there's a Gentoo stage3 port, that's great UNTIL I looked at the tarballs, they are the 2006.0 ones, which are so out of date they aren't even on the web anymore. Do you think it might work just to grab a more recent one, say a 2007.0, and just unpack that in /usr/compat/linux? Getting any sort of support on a historically old version of Gentoo is going to be hard to accomplish, but I don't really know enough about Linux to fake it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFII1rIz62J6PPcoOkRAsSJAJ41tQhD5iWI3pGtKdvsy52FFNhhNQCfTTSM g+/0A8dkdcj0d8upqzwGu8c= =LV6N -----END PGP SIGNATURE----- From justinjereza at gmail.com Thu May 8 20:09:33 2008 From: justinjereza at gmail.com (Justin Jereza) Date: Thu May 8 20:09:37 2008 Subject: Delaying pf.conf loading In-Reply-To: <20080507214749.64c5e7ba@gumby.homeunix.com.> References: <53f591170805071021i45f757d3h4558e106a0da7f18@mail.gmail.com> <20080507214749.64c5e7ba@gumby.homeunix.com.> Message-ID: <53f591170805081309v5fd09ab8x225774c2945dd723@mail.gmail.com> Thanks for all suggestions. Will try to figure out which one will work best. From perrin at apotheon.com Thu May 8 20:25:45 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu May 8 20:25:51 2008 Subject: neon port won't upgrade Message-ID: <20080508202543.GA70286@demeter.hydra> Let me know if I should take this to the ports mailing list instead of the questions mailing list. This is my problem: # portupgrade neon-0.26.4 ** Port directory not found: www/neon2 ** Listing the failed packages (-:ignored / *:skipped / !:failed) - www/neon2 (port directory error) Does anyone have any troubleshooting tips for how I should deal with this? This is the first time I've had a port fail to upgrade because it suddenly seems to have ceased existing. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Leon Festinger: "A man with a conviction is a hard man to change. Tell him you disagree and he turns away. Show him facts and figures and he questions your sources. Appeal to logic and he fails to see your point." -------------- 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/20080508/f34cff95/attachment.pgp From fbsd06 at mlists.homeunix.com Thu May 8 20:41:24 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu May 8 20:41:28 2008 Subject: neon port won't upgrade In-Reply-To: <20080508202543.GA70286@demeter.hydra> References: <20080508202543.GA70286@demeter.hydra> Message-ID: <20080508214119.227131f8@gumby.homeunix.com.> On Thu, 8 May 2008 14:25:43 -0600 Chad Perrin wrote: > Let me know if I should take this to the ports mailing list instead of > the questions mailing list. > > This is my problem: > > # portupgrade neon-0.26.4 > ** Port directory not found: www/neon2 > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - www/neon2 (port directory error) > > Does anyone have any troubleshooting tips for how I should deal with > this? This is the first time I've had a port fail to upgrade because > it suddenly seems to have ceased existing. It's in MOVED. I just deleted it, and www/neon26 got installed when I ran portmanager. From perrin at apotheon.com Thu May 8 21:02:49 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu May 8 21:02:54 2008 Subject: neon port won't upgrade In-Reply-To: <482367FF.3000100@adventuras.no> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> Message-ID: <20080508210247.GB70286@demeter.hydra> On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: > Chad Perrin skrev: > >Let me know if I should take this to the ports mailing list instead of > >the questions mailing list. > > > >This is my problem: > > > > # portupgrade neon-0.26.4 > > ** Port directory not found: www/neon2 > > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > > - www/neon2 (port directory error) > > > >Does anyone have any troubleshooting tips for how I should deal with > >this? This is the first time I've had a port fail to upgrade because it > >suddenly seems to have ceased existing. > > > > > portupgrade -f -o www/neon26 neon > > seemed to work for me Isn't this the sort of information that should be in /usr/ports/UPDATING? In my case, there's nothing in that file that comes up when I search for the string "neon" (without quotes). Thanks for the help, by the way. Pointing portupgrade at www/neon26 solved my problem. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Ben Franklin: "As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously." -------------- 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/20080508/fc156b9f/attachment.pgp From lars+lister.freebsd at adventuras.no Thu May 8 21:11:10 2008 From: lars+lister.freebsd at adventuras.no (Lars Kristiansen) Date: Thu May 8 21:11:16 2008 Subject: neon port won't upgrade In-Reply-To: <20080508202543.GA70286@demeter.hydra> References: <20080508202543.GA70286@demeter.hydra> Message-ID: <482367FF.3000100@adventuras.no> Chad Perrin skrev: > Let me know if I should take this to the ports mailing list instead of > the questions mailing list. > > This is my problem: > > # portupgrade neon-0.26.4 > ** Port directory not found: www/neon2 > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - www/neon2 (port directory error) > > Does anyone have any troubleshooting tips for how I should deal with > this? This is the first time I've had a port fail to upgrade because it > suddenly seems to have ceased existing. > portupgrade -f -o www/neon26 neon seemed to work for me Regards, Lars From lumiwa at gmail.com Thu May 8 21:20:21 2008 From: lumiwa at gmail.com (Mitja) Date: Thu May 8 21:20:27 2008 Subject: neon port won't upgrade In-Reply-To: <20080508202543.GA70286@demeter.hydra> References: <20080508202543.GA70286@demeter.hydra> Message-ID: <200805081554.04656.lumiwa@gmail.com> On Thursday 08 May 2008 15:25:43 Chad Perrin wrote: > Let me know if I should take this to the ports mailing list instead of > the questions mailing list. > > This is my problem: > > # portupgrade neon-0.26.4 > ** Port directory not found: www/neon2 > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - www/neon2 (port directory error) > > Does anyone have any troubleshooting tips for how I should deal with > this? This is the first time I've had a port fail to upgrade because it > suddenly seems to have ceased existing. I have the same problem -- QOTD: "It's a cold bowl of chili, when love don't work out." From fbsd06 at mlists.homeunix.com Thu May 8 22:00:18 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Thu May 8 22:00:23 2008 Subject: neon port won't upgrade In-Reply-To: <20080508210247.GB70286@demeter.hydra> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> <20080508210247.GB70286@demeter.hydra> Message-ID: <20080508230012.2056d4db@gumby.homeunix.com.> On Thu, 8 May 2008 15:02:47 -0600 Chad Perrin wrote: > On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: > > > > portupgrade -f -o www/neon26 neon > > > > seemed to work for me > > Isn't this the sort of information that should be > in /usr/ports/UPDATING? In my case, there's nothing in that file that > comes up when I search for the string "neon" (without quotes). Actually, isn't portupgrade supposed to handle moved origins automatically? There's an --ignore-moved option, and in the script there's some code for finding the new origin at the top of the function do_upgrade(). From dnelson at allantgroup.com Thu May 8 22:07:49 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu May 8 22:07:53 2008 Subject: neon port won't upgrade In-Reply-To: <20080508210247.GB70286@demeter.hydra> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> <20080508210247.GB70286@demeter.hydra> Message-ID: <20080508220747.GB2922@dan.emsphone.com> In the last episode (May 08), Chad Perrin said: > On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: > > Chad Perrin skrev: > > >Let me know if I should take this to the ports mailing list instead of > > >the questions mailing list. > > > > > >This is my problem: > > > > > > # portupgrade neon-0.26.4 > > > ** Port directory not found: www/neon2 > > > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > > > - www/neon2 (port directory error) > > > > > >Does anyone have any troubleshooting tips for how I should deal > > >with this? This is the first time I've had a port fail to upgrade > > >because it suddenly seems to have ceased existing. > > > > portupgrade -f -o www/neon26 neon > > > > seemed to work for me > > Isn't this the sort of information that should be in > /usr/ports/UPDATING? In my case, there's nothing in that file that > comes up when I search for the string "neon" (without quotes). Do you update your entire ports tree, or just certain subdirs? My copy of /usr/ports/MOVED ( rev 1.1591 ) has the following: www/neon|www/neon26|2008-05-05|Moved to be able to integrate www/neon26 which portupgrade should have used to determine the new location of the port. -- Dan Nelson dnelson@allantgroup.com From lars+lister.freebsd at adventuras.no Thu May 8 22:30:35 2008 From: lars+lister.freebsd at adventuras.no (Lars Kristiansen) Date: Thu May 8 22:30:40 2008 Subject: neon port won't upgrade In-Reply-To: <20080508220747.GB2922@dan.emsphone.com> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> <20080508210247.GB70286@demeter.hydra> <20080508220747.GB2922@dan.emsphone.com> Message-ID: <48237EEE.8040202@adventuras.no> Dan Nelson skrev: > In the last episode (May 08), Chad Perrin said: >> On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: >>> Chad Perrin skrev: >>>> Let me know if I should take this to the ports mailing list instead of >>>> the questions mailing list. >>>> >>>> This is my problem: >>>> >>>> # portupgrade neon-0.26.4 >>>> ** Port directory not found: www/neon2 >>>> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >>>> - www/neon2 (port directory error) >>>> >>>> Does anyone have any troubleshooting tips for how I should deal >>>> with this? This is the first time I've had a port fail to upgrade >>>> because it suddenly seems to have ceased existing. >>> portupgrade -f -o www/neon26 neon >>> >>> seemed to work for me >> Isn't this the sort of information that should be in >> /usr/ports/UPDATING? In my case, there's nothing in that file that >> comes up when I search for the string "neon" (without quotes). > > Do you update your entire ports tree, or just certain subdirs? My copy > of /usr/ports/MOVED ( rev 1.1591 ) has the following: > > www/neon|www/neon26|2008-05-05|Moved to be able to integrate www/neon26 > > which portupgrade should have used to determine the new location of > the port. > If I understand this correctly from: http://www.freebsd.org/cgi/cvsweb.cgi/ports/MOVED http://www.freebsd.org/cgi/cvsweb.cgi/ports/MOVED.diff?r1=1.1586;r2=1.1587;f=h http://www.freebsd.org/cgi/cvsweb.cgi/ports/MOVED.diff?r1=1.1587;r2=1.1588;f=h The MOVED file was updated perhaps wrongly at first and then corrected. So we who ran pkgdb -fF in the half a day before the correction would be thrown off in this case. Question: Would an additional line had solved it, like: www/neon2|www/neon26|2008-05-05|Moved straight to www/neon26 ? Regards, Lars From unix at mutu.us Thu May 8 22:42:47 2008 From: unix at mutu.us (Valeriu Mutu) Date: Thu May 8 22:42:50 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <48229099.5030004@boosten.org> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> Message-ID: <20080508224235.GA87584@devil.mutu.us> On Thu, May 08, 2008 at 07:33:13AM +0200, Peter Boosten wrote: > Vince Sabio wrote: >> >> Note if you choose to do this: scp'ing files becomes a four-step process >> (i.e., scp file(s) to intermediate server, log in to intermediate server, >> scp to destination server, delete file(s) from intermediate server). Still >> worth it, though. > > Never thought of port forwarding? > > Peter Exactly. Following Peter's idea and assuming that public key authentication is setup, the tunnel could be setup as easy as: ssh -f -L localhost:3333:localhost:4444 userA@machineA "ssh -f -L localhost:4444:localhost:22 userB@machineB sleep 120" In this case, we setup a tunnel through machineA to machineB. > -- > http://www.boosten.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" -- Valeriu Mutu From perrin at apotheon.com Thu May 8 22:45:09 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu May 8 22:45:13 2008 Subject: neon port won't upgrade In-Reply-To: <20080508230012.2056d4db@gumby.homeunix.com.> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> <20080508210247.GB70286@demeter.hydra> <20080508230012.2056d4db@gumby.homeunix.com.> Message-ID: <20080508224505.GA70669@demeter.hydra> On Thu, May 08, 2008 at 11:00:12PM +0100, RW wrote: > On Thu, 8 May 2008 15:02:47 -0600 > Chad Perrin wrote: > > > On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: > > > > > > > portupgrade -f -o www/neon26 neon > > > > > > seemed to work for me > > > > Isn't this the sort of information that should be > > in /usr/ports/UPDATING? In my case, there's nothing in that file that > > comes up when I search for the string "neon" (without quotes). > > Actually, isn't portupgrade supposed to handle moved origins > automatically? There's an --ignore-moved option, and in the > script there's some code for finding the new origin at the top of the > function do_upgrade(). Good point. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Phillip J. Haack: "Productivity is not about speed. It's about velocity. You can be fast, but if you're going in the wrong direction, you're not helping anyone." -------------- 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/20080508/8c6cefd2/attachment.pgp From perrin at apotheon.com Thu May 8 22:46:31 2008 From: perrin at apotheon.com (Chad Perrin) Date: Thu May 8 22:46:36 2008 Subject: neon port won't upgrade In-Reply-To: <20080508220747.GB2922@dan.emsphone.com> References: <20080508202543.GA70286@demeter.hydra> <482367FF.3000100@adventuras.no> <20080508210247.GB70286@demeter.hydra> <20080508220747.GB2922@dan.emsphone.com> Message-ID: <20080508224629.GB70669@demeter.hydra> On Thu, May 08, 2008 at 05:07:47PM -0500, Dan Nelson wrote: > In the last episode (May 08), Chad Perrin said: > > On Thu, May 08, 2008 at 10:52:15PM +0200, Lars Kristiansen wrote: > > > Chad Perrin skrev: > > > >Let me know if I should take this to the ports mailing list instead of > > > >the questions mailing list. > > > > > > > >This is my problem: > > > > > > > > # portupgrade neon-0.26.4 > > > > ** Port directory not found: www/neon2 > > > > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > > > > - www/neon2 (port directory error) > > > > > > > >Does anyone have any troubleshooting tips for how I should deal > > > >with this? This is the first time I've had a port fail to upgrade > > > >because it suddenly seems to have ceased existing. > > > > > > portupgrade -f -o www/neon26 neon > > > > > > seemed to work for me > > > > Isn't this the sort of information that should be in > > /usr/ports/UPDATING? In my case, there's nothing in that file that > > comes up when I search for the string "neon" (without quotes). > > Do you update your entire ports tree, or just certain subdirs? My copy > of /usr/ports/MOVED ( rev 1.1591 ) has the following: > > www/neon|www/neon26|2008-05-05|Moved to be able to integrate www/neon26 > > which portupgrade should have used to determine the new location of > the port. Now that I look at it, I see that MOVED does contain that line. I wonder why portupgrade didn't do its magic. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Patrick J. LoPresti: "Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!" -------------- 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/20080508/3f4666ec/attachment.pgp From nino80 at gmail.com Fri May 9 00:03:03 2008 From: nino80 at gmail.com (n j) Date: Fri May 9 00:03:07 2008 Subject: Apache 2.2.8 + mod_authnz_ldap Message-ID: <92bcbda50805081703g7577acb4na36958599c3d5e83@mail.gmail.com> Hello, did anyone experience any problems trying to install mod_authnz_ldap with Apache 2.2.8 on FreeBSD 6.3? I ran into the following trouble: mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure which caused "Stop in /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code 1". This helped: http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/ It turns out that by configuring manually, -lldap indeed gets added to APRUTIL_LIBS, while the same configuration adds -liconv in that spot when run "the ports way" (make; make install). This caused some more problems when returning to normal build as libtool starts to complain about being unable to infer tagged configuration. Resolving that, build finishes ok, but fails again during install, this time trying to relink libaprutil.la, again due to failing to infer tag. Adding "tagname=CC" just before it's about to fail in libtool script helped. Hope this helps someone. It might be an Apache error as there are some FreeBSD-specific hacks in the original libtool code; on the other hand, it might be that the problem is the port. Regards, -- Nino From peter at boosten.org Fri May 9 03:01:42 2008 From: peter at boosten.org (Peter Boosten) Date: Fri May 9 03:02:46 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <20080508224235.GA87584@devil.mutu.us> References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> <20080508224235.GA87584@devil.mutu.us> Message-ID: <4823BE7B.2050806@boosten.org> Valeriu Mutu wrote: > On Thu, May 08, 2008 at 07:33:13AM +0200, Peter Boosten wrote: >> Vince Sabio wrote: >>> Note if you choose to do this: scp'ing files becomes a four-step process >>> (i.e., scp file(s) to intermediate server, log in to intermediate server, >>> scp to destination server, delete file(s) from intermediate server). Still >>> worth it, though. >> Never thought of port forwarding? >> >> Peter > > Exactly. > > Following Peter's idea and assuming that public key authentication is setup, the tunnel could be setup as easy as: > ssh -f -L localhost:3333:localhost:4444 userA@machineA "ssh -f -L localhost:4444:localhost:22 userB@machineB sleep 120" > > In this case, we setup a tunnel through machineA to machineB. No, I was more thinking of: ssh -L 4444:your.own.host:22 user@your.friends.host and then open a new shell: scp -P 4444 the-file-you-want-to-copy user@localhost: This works easiest with agent forwarding, but I guess any authentication will do. Peter -- http://www.boosten.org From nlandys at gmail.com Fri May 9 03:22:34 2008 From: nlandys at gmail.com (Nerius Landys) Date: Fri May 9 03:24:20 2008 Subject: coretemp 70C = CPU too hot? Message-ID: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> Howdy. I purchased a 1U 10 inch deep server machine a few months ago: http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a The CPU is a Xeon 3xxx dual core 2.4 GHz. The machine has no case fans, by design. It's sitting in a well-ventilated rack in a data center. Oddly, when there are no machines below and above it, the machine gets hotter. Seems that machines above and below help to cool it down. I have the "coretemp" kernel module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s) hit 70 degrees Celsius during a compile of GCC. Is this too hot? Should I complain to the people who assembled the computer? At the time this happened there were supposedly no surrounding machines. This machine has given me no problems. At idle when conditions are good (meaning A/C is working properly and there are machines above and below it) my CPU temps are below 40. From modulok at gmail.com Fri May 9 05:28:50 2008 From: modulok at gmail.com (Modulok) Date: Fri May 9 05:28:53 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> Message-ID: <64c038660805082228l14a25f71x2a1cb67cd2638a0@mail.gmail.com> > ...I saw that the CPU core temp(s) hit 70 degrees Celsius during a compile of > GCC. Is this too hot? .. Maybe, maybe not. Every chip has a different operational range. This information should be available from the chip manufacturer's website, if you can find it. Additionally, this page (URL) may be of interest: http://www.heatsink-guide.com/maxtemp.shtml -Modulok- From chrizach at gmail.com Fri May 9 06:10:41 2008 From: chrizach at gmail.com (Christian Zachariasen) Date: Fri May 9 06:10:43 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> Message-ID: <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> On Fri, May 9, 2008 at 4:55 AM, Nerius Landys wrote: > Howdy. I purchased a 1U 10 inch deep server machine a few months ago: > > http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a > > The CPU is a Xeon 3xxx dual core 2.4 GHz. The machine has no case fans, by > design. > > It's sitting in a well-ventilated rack in a data center. Oddly, when there > are no machines below and above it, the machine gets hotter. Seems that > machines above and below help to cool it down. I have the "coretemp" > kernel > module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s) > hit > 70 degrees Celsius during a compile of GCC. Is this too hot? Should I > complain to the people who assembled the computer? At the time this > happened there were supposedly no surrounding machines. This machine has > given me no problems. At idle when conditions are good (meaning A/C is > working properly and there are machines above and below it) my CPU temps > are > below 40. > _______________________________________________ > 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" > As with so many other things in the computer world, it depends. With no case fans, it's weird that the computer gets colder if it has something above and underneath it. But there are so many factors when it comes to case temperatures and air flow that it's nearly impossible to tell why. If there's a huge cooler on top of the Xeon (Processor wind tunnel), then it could be that closing the ventilation holes in the top and bottom of the case makes the air flow more directly from the front to the back of the case. It seems the Xeon shuts down the system automatically if it reaches 105 C. I don't know if this is any pointer to what a reasonable 100% load-temperature could be, but I know processors nowadays run much cooler than they used to. (I'm used to AMD Athlons on or above 70 C idle) I'd say you should be fine if you haven't seen any instability at 70 C with 100% load. You could try this if you want to be sure: --- On Tue, Feb 28, 2006 at 12:27:07PM -0800, Don O'Neil wrote: > What is the best way to 'burn in' or 'stress test' a new system w/ FreeBSD? > I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the > hardware is 100% good before putting it in production. Doing something like a buildworld -j64 loop (if you have enough memory, otherwise reduce -j level to avoid swapping) is going to exercise your system a fair bit. Kris --- Regards, Christian Zachariasen From josh.carroll at gmail.com Fri May 9 06:20:02 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Fri May 9 06:20:10 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> Message-ID: <8cb6106e0805082320p4944011cp40e02b99f7728469@mail.gmail.com> On Thu, May 8, 2008 at 10:55 PM, Nerius Landys wrote: > Howdy. I purchased a 1U 10 inch deep server machine a few months ago: > http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a > > The CPU is a Xeon 3xxx dual core 2.4 GHz. The machine has no case fans, by > design. Which exact Xeon part number is it? You can look up the thermal specification on Intel's web site: http://processorfinder.intel.com Looks like most of the 2.4 GHz Xeons' maximum operating temperature is 65C, but one of them is 85C. So let's hope you have that particular part (the X3220). :) Anyway, that should confirm whether it is "too hot" or not. Josh From wojtek at wojtek.tensor.gdynia.pl Fri May 9 07:07:22 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 07:07:25 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> Message-ID: <20080509090643.B87682@wojtek.tensor.gdynia.pl> > The CPU is a Xeon 3xxx dual core 2.4 GHz. The machine has no case fans, by > design. no fans by design?! looks like bad design, intel xeon draw a lot of power. From wojtek at wojtek.tensor.gdynia.pl Fri May 9 07:08:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 07:08:34 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> Message-ID: <20080509090729.G87682@wojtek.tensor.gdynia.pl> > As with so many other things in the computer world, it depends. With no case > fans, it's weird that the computer gets colder if it has something above and no it's not. the machines above and below has proper cooling, and transfers this machine heat by conduction - rack cases are mostly metal and conduct heat well. From chrizach at gmail.com Fri May 9 07:14:12 2008 From: chrizach at gmail.com (Christian Zachariasen) Date: Fri May 9 07:14:16 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <20080509090729.G87682@wojtek.tensor.gdynia.pl> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> <20080509090729.G87682@wojtek.tensor.gdynia.pl> Message-ID: <4a89d1190805090014i5a7c6e62ud0725909b7cff222@mail.gmail.com> On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > As with so many other things in the computer world, it depends. With no >> case >> fans, it's weird that the computer gets colder if it has something above >> and >> > > no it's not. the machines above and below has proper cooling, and transfers > this machine heat by conduction - rack cases are mostly metal and conduct > heat well. I've very little experience with computers in racks, but if the machines are actually touching, then yes, this could be the case. The 65 C temperature a previous poster was talking about is not the maximum operating temperature for the actual processor, it's the maximum temperature in the case while the computer is operating. As far as I know CPU temperatures are measured on the actual processor die, and the case temperature will normally be *much* lower. Christian Zachariasen From rkramer at mweb.com Fri May 9 09:04:23 2008 From: rkramer at mweb.com (Rudi Kramer - MWEB) Date: Fri May 9 09:04:28 2008 Subject: JOBUG - Johannesburg BSD User Group? Message-ID: <39DC135F7F0571489196E0B6F5D58B4A067D0A75@MWBEXCH.mweb.com> Hello, I was wondering if we have any South Africa's living in JHB that would be interested in starting up a BSD user group? Regards Rudi From albert.bowen at gmail.com Fri May 9 09:33:47 2008 From: albert.bowen at gmail.com (Xiaobo Zhu) Date: Fri May 9 09:33:51 2008 Subject: How to config ipv6 for this instance Message-ID: Hi, I have read some tutor and spent hours on configuring ipv6 on my desktop with FreeBSD, but still can't get it work. The network administrator only suggested the configuration on windows xp platform(come as follows), so would any one tell me what should I do to get it work on FreeBSD. Many thanks! // Configurations works on Windows XP ipv6 install netsh netsh>interface ipv6 isatap set router 202.112.95.129 netsh>interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129 // ifconfig rl0 output rl0: flags=8843 mtu 1500 options=8 inet6 fe80::21a:92ff:febf:ab3d%rl0 prefixlen 64 scopeid 0x2 inet 172.16.120.226 netmask 0xfffffe00 broadcast 172.16.121.255 ether 00:1a:92:bf:ab:3d media: Ethernet autoselect (10baseT/UTP) status: active // uname -a output FreeBSD zhu.net 6.2-RELEASE FreeBSD From thomas.herzog at inode.at Fri May 9 10:19:46 2008 From: thomas.herzog at inode.at (Thomas Herzog) Date: Fri May 9 10:19:50 2008 Subject: hdparm equivalent Message-ID: <4824253F.90203@inode.at> hi, is there a hdparm equivalent tool, to set the power-save or spin-down behavior of sata-disk? or can i to it via sysctl or so? thanks Thomas From jhary at unsane.co.uk Fri May 9 10:32:48 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Fri May 9 10:32:50 2008 Subject: hdparm equivalent In-Reply-To: <4824253F.90203@inode.at> References: <4824253F.90203@inode.at> Message-ID: <4824284B.9060906@unsane.co.uk> Thomas Herzog wrote: > hi, > > is there a hdparm equivalent tool, to set the power-save or spin-down > behavior of sata-disk? > or can i to it via sysctl or so? sysutils/ataidle in ports at the moment. I believe atacontrol has grown some support for this in current. vince > > thanks > Thomas > _______________________________________________ > 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 thomas.herzog at inode.at Fri May 9 10:40:49 2008 From: thomas.herzog at inode.at (Thomas Herzog) Date: Fri May 9 10:40:57 2008 Subject: hdparm equivalent In-Reply-To: <4824284B.9060906@unsane.co.uk> References: <4824253F.90203@inode.at> <4824284B.9060906@unsane.co.uk> Message-ID: <48242A2A.1020007@inode.at> many thanks for this fast answer. thomas Vince Hoffman wrote: > Thomas Herzog wrote: >> hi, >> >> is there a hdparm equivalent tool, to set the power-save or spin-down >> behavior of sata-disk? >> or can i to it via sysctl or so? > sysutils/ataidle in ports at the moment. I believe atacontrol has grown > some support for this in current. > > > vince >> thanks >> Thomas >> _______________________________________________ >> 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 fbsd.questions at rachie.is-a-geek.net Fri May 9 11:39:03 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri May 9 11:39:07 2008 Subject: Apache 2.2.8 + mod_authnz_ldap In-Reply-To: <92bcbda50805081703g7577acb4na36958599c3d5e83@mail.gmail.com> References: <92bcbda50805081703g7577acb4na36958599c3d5e83@mail.gmail.com> Message-ID: <200805091338.59431.fbsd.questions@rachie.is-a-geek.net> On Friday 09 May 2008 02:03:01 n j wrote: > Hello, > > did anyone experience any problems trying to install mod_authnz_ldap > with Apache 2.2.8 on FreeBSD 6.3? > > I ran into the following trouble: > > mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to > have LDAP support built in. To fix add --with-ldap to ./configure > which caused "Stop in > /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code > 1". What are you using for apr? The one that comes with apache itself, or the devel/apr port? I found in practice that even though the "APR from ports" option contains a warning, it works better if you have more software depending on apr (i.e., subversion) and it's also better manageable with the plugins (in my case db4*). F.e., I don't have to rebuild apache, if I want to migrate to the latest and greatest db4 minor release. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From lists at webtent.net Fri May 9 12:51:03 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Fri May 9 12:51:08 2008 Subject: slapd won't start with nss_ldap.conf Message-ID: <1210336560.28281.43.camel@columbus.webtent.org> On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf present, it just hangs and nothing in the messages or debug logs. I just copied ldap.conf to nss_ldap.conf, see contents below. As soon as I rm the nss_ldap.conf file, slapd starts without delay, but of course, our logins, etc. do not work until I re-create the file or symlink to ldap.conf afterward... host 127.0.0.1 base dc=example,dc=com binddn cn=manager,dc=example,dc=com bindpw secret nss_base_passwd ou=People,dc=example,dc=com?one nss_base_shadow ou=People,dc=example,dc=com?one nss_base_group ou=group,dc=example,dc=com?one I have verified all the above to work with simple binds and all is fine after slapd is started and nss_ldap.conf is in place. I have openldap working with postfix and cyrus-imapd a long time on this box and now using with samba for file shares, but have this issue with nss_ldap.conf and trying to smooth out my boot process. Can someone suggest a solution or point me to some info for help? I am also have a hard time getting slapd to start early on boot. I am using the port install built WITH_RCORDER=yes, but it still starts near the end of the boot. Is there something more that I need to do and somewhere to check that WITH_RCORDER=yes in make.conf was applied during build? Any suggestion from someone experienced would be appreciated. -- Robert From nino80 at gmail.com Fri May 9 13:15:06 2008 From: nino80 at gmail.com (n j) Date: Fri May 9 13:15:10 2008 Subject: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap) Message-ID: <92bcbda50805090615l7d1e0ac1r947ec9f31e7a2b9f@mail.gmail.com> > What are you using for apr? The one that comes with apache itself, or the > devel/apr port? AFAICT, the one that comes with Apache itself. It would seem that mod_authnz_ldap required mod_ldap to be compiled in Apache to work. Having little or no experience at all with Apache + LDAP combination so far, this was not really straightforward to me. However, that combined with the (relatively) recent introduction of OPTIONS to apache22 port leads me to ask the question if the Makefile OPTIONS framework allows for dependencies (i.e. I mark one, the framework automatically ticks other options my selection depends on). Or, in this case, selecting mod_authnz_ldap automatically selects mod_ldap. From the (scarce) documentation in the Porters Handbook, it would seem that this is not currently possible, yet it doesn't seem impossible to invoke another dialog and warn the user about inclusion of additional options. Can anyone provide some insight into this? Regards, -- Nino From begeert at gmail.com Fri May 9 13:24:09 2008 From: begeert at gmail.com (Geert Geurts) Date: Fri May 9 13:24:14 2008 Subject: ports missing after a upgrade In-Reply-To: <20080507133306.5d297b2c@gumby.homeunix.com.> References: <1210160520.7730.15.camel@puk> <20080507133306.5d297b2c@gumby.homeunix.com.> Message-ID: <1210339443.6835.25.camel@puk> I cannot find the version anymore because of Xorg being broken and complains about libxau.so.0 on startup But I think it must be at the latest version of FreeBSD 6.0. Greetings, Geert On Wed, 2008-05-07 at 13:33 +0100, RW wrote: > On Wed, 07 May 2008 13:42:00 +0200 > Geert Geurts wrote: > > > I was stupid enough to do it in X so it got stuck after some time... > > I killed it and started it again using > > That's not normally a problem. > > > xorg-libraries-7.3_1 /x11/xorg-libraries restoring original port > > from backup > > xorg-libraries-7.3_1 /x11/xorg-libraries failed to restore from > > backup > > How old was xorg? Have you already been through the 7.2 upgrade? > > _______________________________________________ > 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 martin at dc.cis.okstate.edu Fri May 9 13:33:29 2008 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri May 9 13:33:32 2008 Subject: Questions from a Total samba Novice. Message-ID: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> I just found out that I will need to copy some files from a FreeBSD system to a Windows shared drive on our network so that Windows users can have access to the files. After reading a little documentation and talking to a cowworker, I was under the impression that this would allow windows clients to access files on the FreeBSD system, kind of the reverse of what I wanted. Then I read the man page for the samba suite and it says: smbclient(1) The smbclient program implements a simple ftp-like client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT). That sounds like I could push a file across when needed and be done with it rather than trying to coordinate the remote users to get the file at some time after I left it in a given directory. Is that just wishful thinking or will it work that way when properly configured? I need to be able to tell others in this group what is possible and that one little paragraph seems to say one can copy out from the UNIX box to the shared drive. Any particular gotchas regarding XP which soon will be Vista in this neck of the woods? I apologize for some of the dumb questions as I do not personally use Windows. I use FreeBSD, Mac and Linux. We have a huge Windows base on our campus, however, so for now, I need to export some log files to the Windows world. Thanks for any useful ideas and for your patience. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group From fbsd.questions at rachie.is-a-geek.net Fri May 9 13:36:11 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri May 9 13:36:15 2008 Subject: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap) In-Reply-To: <92bcbda50805090615l7d1e0ac1r947ec9f31e7a2b9f@mail.gmail.com> References: <92bcbda50805090615l7d1e0ac1r947ec9f31e7a2b9f@mail.gmail.com> Message-ID: <200805091536.07612.fbsd.questions@rachie.is-a-geek.net> On Friday 09 May 2008 15:15:05 n j wrote: > > What are you using for apr? The one that comes with apache itself, or the > > devel/apr port? > > AFAICT, the one that comes with Apache itself. > > It would seem that mod_authnz_ldap required mod_ldap to be compiled in > Apache to work. Having little or no experience at all with Apache + > LDAP combination so far, this was not really straightforward to me. If this is a fixed dependency, then it's a bug in the port's Makefile. If it's not set in stone (i.e.: mod_authnz_ldap could also work with mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill the option to use mod_fictional_3rdparty_ldap. Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or enough people have complained that they cannot use mod_fictional_3rdparty_ldap, even though there's not a port for it". -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ivoras at freebsd.org Fri May 9 13:49:57 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri May 9 13:50:01 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Message-ID: Martin McCormick wrote: > I just found out that I will need to copy some files > from a FreeBSD system to a Windows shared drive on our network so that > Windows users can have access to the files. > > After reading a little documentation and talking to a > cowworker, I was under the impression that this would allow > windows clients to access files on the FreeBSD system, kind of > the reverse of what I wanted. Then I read the man page for the > samba suite and it says: > > smbclient(1) > The smbclient program implements a simple ftp-like client. This is > useful for accessing SMB shares on other compatible servers (such as > Windows NT), and can also be used to allow a UNIX box to print to a > printer attached to any SMB server (such as a PC running Windows > NT). > > That sounds like I could push a file across when needed and be > done with it rather than trying to coordinate the remote users > to get the file at some time after I left it in a given > directory. > > Is that just wishful thinking or will it work that way > when properly configured? I need to be able to tell others in > this group what is possible and that one little paragraph seems > to say one can copy out from the UNIX box to the shared drive. Hi, After reading all this I'm still not certain about what do you want to do. If you are trying to just transfer some files from a FreeBSD machine to a Windows machine (or in the other direction) once, without much configuration, smbclient will let you do that. Run it on the FreeBSD machine and connect to a Windows machine. If you want to make the FreeBSD machine into a server for Windows machines (i.e. the files will always be on the FreeBSD machine but Windows users can access them, i.e. the FreeBSD machine will share files), then you need to configure Samba properly (edit smb.conf). > Any particular gotchas regarding XP which soon will be > Vista in this neck of the woods? No particular problems. Once configured, Samba works without additional maintenance. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080509/f90c1079/signature.pgp From dyioulos at firstbhph.com Fri May 9 14:08:01 2008 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Fri May 9 14:08:07 2008 Subject: Questions from a Total samba Novice. In-Reply-To: References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Message-ID: <200805091007.34128.dyioulos@firstbhph.com> On Friday 09 May 2008 9:49 am, Ivan Voras wrote: > Martin McCormick wrote: > > I just found out that I will need to copy some files > > from a FreeBSD system to a Windows shared drive on our network so that > > Windows users can have access to the files. > > > > After reading a little documentation and talking to a > > cowworker, I was under the impression that this would allow > > windows clients to access files on the FreeBSD system, kind of > > the reverse of what I wanted. Then I read the man page for the > > samba suite and it says: > > > > smbclient(1) > > The smbclient program implements a simple ftp-like client. This is > > useful for accessing SMB shares on other compatible servers (such as > > Windows NT), and can also be used to allow a UNIX box to print to a > > printer attached to any SMB server (such as a PC running Windows > > NT). > > > > That sounds like I could push a file across when needed and be > > done with it rather than trying to coordinate the remote users > > to get the file at some time after I left it in a given > > directory. > > > > Is that just wishful thinking or will it work that way > > when properly configured? I need to be able to tell others in > > this group what is possible and that one little paragraph seems > > to say one can copy out from the UNIX box to the shared drive. > > Hi, > > After reading all this I'm still not certain about what do you want to > do. If you are trying to just transfer some files from a FreeBSD machine > to a Windows machine (or in the other direction) once, without much > configuration, smbclient will let you do that. Run it on the FreeBSD > machine and connect to a Windows machine. > > If you want to make the FreeBSD machine into a server for Windows > machines (i.e. the files will always be on the FreeBSD machine but > Windows users can access them, i.e. the FreeBSD machine will share > files), then you need to configure Samba properly (edit smb.conf). > > > Any particular gotchas regarding XP which soon will be > > Vista in this neck of the woods? > > No particular problems. Once configured, Samba works without additional > maintenance. If you just want to transfer files to the Win box on an ad hoc, periodic basis, why not just set up ssh on your FreeBSD box and use WinSCP on the Win box? Simpler than setting up Samba (though we use it very successfully here). -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From wojtek at wojtek.tensor.gdynia.pl Fri May 9 14:40:16 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 14:40:18 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Message-ID: <20080509163721.E52266@wojtek.tensor.gdynia.pl> > smbclient(1) > The smbclient program implements a simple ftp-like client. This is > useful for accessing SMB shares on other compatible servers (such as > Windows NT), and can also be used to allow a UNIX box to print to a > printer attached to any SMB server (such as a PC running Windows > NT). smbclient connects to any SMB server (be it Windows or unix or whatever) and perform fetch, upload and other operations from command line. it's good to: testing your samba setup (if you need) fetching/uploading files to windoze from unix, if windoze has folder sharing enabled. if you need file server for use with windoze - configure smb.conf properly and run samba with smbd_enable="YES" nmbd_enable="YES" in /etc/rc.conf and then by /usr/local/etc/rc.d/samba start (or stop/restart) From bseklecki at collaborativefusion.com Fri May 9 15:00:13 2008 From: bseklecki at collaborativefusion.com (Brian A. Seklecki) Date: Fri May 9 15:00:16 2008 Subject: bge1: watchdog timeout -- resetting bge1: link state changed to DOWN In-Reply-To: <1210106141.4820c11d19d4e@www.inbox.lv> References: <1210106141.4820c11d19d4e@www.inbox.lv> Message-ID: <1210345211.7426.9.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Tue, 2008-05-06 at 23:35 +0300, Indiana Jones wrote: > If anybody could provide a solid solution, I'd be most grateful. > > I have this box that works as an Internet router and I have two NICs > in it, 3com 3C996-SX and 3C996-T, the later is bge1 on which I get > this persistent ERROR below, the first one, bge0 is OK! Welcome to the world of Broadcom. Imagine our surprise when Dell started shipping embedded bge(4) and bce(4). ~BAS > The result of this error is blackouts and instability of the Internet > connections! > > May 2 14:09:48 GBRT2 kernel: bge1: watchdog timeout -- resetting > Ma From wojtek at wojtek.tensor.gdynia.pl Fri May 9 15:14:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 15:14:42 2008 Subject: hdparm equivalent In-Reply-To: <4824253F.90203@inode.at> References: <4824253F.90203@inode.at> Message-ID: <20080509164010.G52266@wojtek.tensor.gdynia.pl> atacontrol On Fri, 9 May 2008, Thomas Herzog wrote: > hi, > > is there a hdparm equivalent tool, to set the power-save or spin-down > behavior of sata-disk? > or can i to it via sysctl or so? > > thanks > Thomas > _______________________________________________ > 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 sdafreebsduk at rowyerboat.com Fri May 9 15:22:29 2008 From: sdafreebsduk at rowyerboat.com (Stephen Allen) Date: Fri May 9 15:22:33 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Message-ID: <48246C2A.4050508@rowyerboat.com> (forgot to send to list the first time) Hi Martin, You don't need samba if all you want to do is copy files from FreeBSD to a Windows system. The easiest way to do it is to mount an existing Windows share, on FreeBSD. This will give you access to the Windows share, but nothing is shared out on your FreeBSD box. Let's assume you have a non-protected share (called MYSHARE) on a Windows server called FRED. Let's also assume you have prepared a mount point on FreeBSD for this share, called /mnt/fred. All you need to do is: $ mount -t smbfs //FRED/MYSHARE /mnt/fred If you need to specify a username/password combo to access the share, try: $ mount -t smbfs //USER@FRED/MYSHARE /mnt/fred You will need to input a password, but if you want to save the password so it's used automatically, use /etc/nsmb.conf (see the man page), but here's an example. [SNAP-CMS] addr=192.168.0.4 [SNAP-CMS:BACKUP] password=$$14b5d4732371b1c00e5d2f5cd96 The hashed password was created by using 'smbutil crypt' and inputting the real password (see the man page). Obviously you need to make sure the permissions on /etc/nsmb.conf are secure. If you want it to automount at startup, then /etc/fstab could contain: //USER@FRED/MYSHARE /mnt/fred smbfs rw 0 0 Cheers, Steve :) From wblock at wonkity.com Fri May 9 15:24:15 2008 From: wblock at wonkity.com (Warren Block) Date: Fri May 9 15:24:19 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> Message-ID: On Fri, 9 May 2008, Martin McCormick wrote: > I just found out that I will need to copy some files > from a FreeBSD system to a Windows shared drive on our network so that > Windows users can have access to the files. Some alternatives have been mentioned, but you might also consider mount_smbfs(8). -Warren Block * Rapid City, South Dakota USA From gerard at seibercom.net Fri May 9 15:26:20 2008 From: gerard at seibercom.net (Gerard) Date: Fri May 9 15:26:24 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <20080509163721.E52266@wojtek.tensor.gdynia.pl> References: <200805091333.m49DXSC1091714@dc.cis.okstate.edu> <20080509163721.E52266@wojtek.tensor.gdynia.pl> Message-ID: <20080509112602.06a56aa1@scorpio> On Fri, 9 May 2008 16:40:01 +0200 (CEST) Wojciech Puchar wrote: > smbclient connects to any SMB server (be it Windows or unix or > whatever) and perform fetch, upload and other operations from command > line. > > it's good to: > > testing your samba setup (if you need) > fetching/uploading files to windoze from unix, if windoze has folder > sharing enabled. > > > if you need file server for use with windoze - configure smb.conf > properly and run samba with > > smbd_enable="YES" > nmbd_enable="YES" > > > in /etc/rc.conf > > and then by > > /usr/local/etc/rc.d/samba start (or stop/restart) You only need: samba_enable="YES" in the /etc/rc.conf file to make samba start automatically upon reboot, or even if it is started manually for that matter. If you need 'windbindd, that is enabled separately. If you need shares mounted automatically, you can put them in the /etc/fstab file. See the Samba documentation or subscribe to the Samba list. -- Gerard gerard@seibercom.net Did you know that clones never use mirrors? Ambrose Bierce, "The Devil's Dictionary" -------------- 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/20080509/39c20675/signature.pgp From jerrymc at msu.edu Fri May 9 15:43:33 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri May 9 15:43:36 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> Message-ID: <20080509154039.GC99008@gizmo.acns.msu.edu> On Fri, May 09, 2008 at 08:10:40AM +0200, Christian Zachariasen wrote: > On Fri, May 9, 2008 at 4:55 AM, Nerius Landys wrote: > > > Howdy. I purchased a 1U 10 inch deep server machine a few months ago: > > > > http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a > > > > The CPU is a Xeon 3xxx dual core 2.4 GHz. The machine has no case fans, by > > design. > > > > It's sitting in a well-ventilated rack in a data center. Oddly, when there > > are no machines below and above it, the machine gets hotter. Seems that > > machines above and below help to cool it down. I have the "coretemp" > > kernel > > module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s) > > hit > > 70 degrees Celsius during a compile of GCC. Is this too hot? Should I > > complain to the people who assembled the computer? At the time this > > happened there were supposedly no surrounding machines. This machine has > > given me no problems. At idle when conditions are good (meaning A/C is > > working properly and there are machines above and below it) my CPU temps > > are > > below 40. > > _______________________________________________ > > 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" > > > > As with so many other things in the computer world, it depends. With no case > fans, it's weird that the computer gets colder if it has something above and > underneath it. But there are so many factors when it comes to case > temperatures and air flow that it's nearly impossible to tell why. If > there's a huge cooler on top of the Xeon (Processor wind tunnel), then it > could be that closing the ventilation holes in the top and bottom of the > case makes the air flow more directly from the front to the back of the > case. Could be or some other bernouli/venturi effect. Many systems will get hot when the cabinet is opened because it breaks the airflow path in some way. ////jerry > > It seems the Xeon shuts down the system automatically if it reaches 105 C. I > don't know if this is any pointer to what a reasonable 100% load-temperature > could be, but I know processors nowadays run much cooler than they used to. > (I'm used to AMD Athlons on or above 70 C idle) > > I'd say you should be fine if you haven't seen any instability at 70 C with > 100% load. > > You could try this if you want to be sure: > > --- > On Tue, Feb 28, 2006 at 12:27:07PM -0800, Don O'Neil wrote: > > What is the best way to 'burn in' or 'stress test' a new system w/ > FreeBSD? > > I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the > > hardware is 100% good before putting it in production. > > Doing something like a buildworld -j64 loop (if you have enough > memory, otherwise reduce -j level to avoid swapping) is going to > exercise your system a fair bit. > > Kris > --- > > > Regards, > Christian Zachariasen > _______________________________________________ > 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 Fri May 9 16:23:26 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 16:23:31 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load Message-ID: <482473B7.7070707@pixelhammer.com> Good morning. I recently upgraded our two email gateways from 4.8 to 6.2. The required software was upgraded as well which consists of MailScanner and Sendmail. Both had been keep up to date so it was not a jump in required resources. The issue I am seeing is that my server load, under the same traffic load, has increased 4 times or more. Where previously we saw a high load on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade Sendmail has begun to timeout connections. I have been digging through the system, mail lists, forums, anything to help determine the cause of the increased load. Here are some examples of what I am seeing. bash-2.05b# vmstat -w2 procs memory page disks faults cpu r b w avm fre flt re pi po fr sr da0 da1 in sy cs us sy id 12 5 0 2234516 199864 772 4 0 4 431 447 0 0 485 564 927 29 4 67 11 6 0 2229788 181352 8631 0 0 0 5597 0 0 0 294 2592 1236 45 5 50 9 5 0 2227208 168144 6456 0 0 0 4607 0 2 0 278 1333 898 46 4 50 11 5 0 2229068 175868 5164 0 0 0 5423 0 0 0 212 766 541 47 3 50 14 7 0 1948392 236296 8136 0 0 0 12382 0 14 0 368 4135 1504 42 8 50 4 3 2 1744620 321024 7550 0 0 0 13454 0 23 6 752 11417 3919 42 8 50 12 5 0 1951788 258944 12490 0 0 0 11295 0 0 5 727 18566 4844 40 10 50 16 6 0 2155668 214324 8231 0 0 0 4230 0 1 29 724 15531 4381 41 9 50 8 6 1 2044828 242084 4567 0 0 0 9119 0 0 12 774 12196 3225 43 7 50 bash-2.05b# top last pid: 85205; load averages: 12.89, 13.78, 14.66 up 47+15:51:31 15:20:01 126 processes: 12 running, 79 sleeping, 35 zombie CPU states: 43.8% user, 0.0% nice, 6.3% system, 0.0% interrupt, 50.0% idle Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse I am suspicious of the kernel being the culprit because the system looks as if it is not working very hard, CPU load never shows above 50% idle. I found one thread which mentions that as an issue and offers a patch. http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html Currently I am running the SMP-GENERIC kernel and sysctl shows the following. hw.model: Intel(R) Xeon(TM) CPU 2.40GHz machdep.hlt_logical_cpus: 0 machdep.hyperthreading_allowed: 0 kern.smp.cpus: 4 I see dev.cpu.0 through dev.cpu.3 Can anyone offer a solution? Is this a known issue I can easily correct? At this point I am left with either rolling back to 4.11 or trying another OS. I am thinking I have missed something obvious and I need to make a sysctl change to get the system working properly. Any help is appreciated, I'm losing mail. Thanks, Dave -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From nino80 at gmail.com Fri May 9 16:31:39 2008 From: nino80 at gmail.com (n j) Date: Fri May 9 16:31:43 2008 Subject: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap) In-Reply-To: <200805091536.07612.fbsd.questions@rachie.is-a-geek.net> References: <92bcbda50805090615l7d1e0ac1r947ec9f31e7a2b9f@mail.gmail.com> <200805091536.07612.fbsd.questions@rachie.is-a-geek.net> Message-ID: <92bcbda50805090931v2bf4308brac6e63943a6e9956@mail.gmail.com> > If this is a fixed dependency, then it's a bug in the port's Makefile. If it's > not set in stone (i.e.: mod_authnz_ldap could also work with > mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill > the option to use mod_fictional_3rdparty_ldap. > > Set in stone would mean, "if there is a port mod_fictional_3rdparty_ldap, or > enough people have complained that they cannot use > mod_fictional_3rdparty_ldap, even though there's not a port for it". It seems that the main problem arises from usage of OPTIONS. If I had specified WITH_LDAP_MODULES (a category), both modules (ldap and authnz_ldap) would have been included. If I had specified WITH_LDAP, according to 'make show-options', it would have implied the option WITH_LDAP_MODULES. However, when modules are selected through OPTIONS dialog, AUTHNZ_LDAP means just AUTHNZ_LDAP and LDAP means just LDAP. Theoretically, this is not an error in port's Makefile, rather something that gives even more flexibility to the user. However, the same can't be said for user-friendliness. And to comment on your message, I see no other LDAP-related options in Apache which would make this a fixed dependency. Regards, -- Nino From martin at dc.cis.okstate.edu Fri May 9 16:45:07 2008 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Fri May 9 16:45:11 2008 Subject: Questions from a Total samba Novice. Message-ID: <200805091645.m49Gj6dH010980@dc.cis.okstate.edu> Warren Block writes: >Some alternatives have been mentioned, but you might also consider >mount_smbfs(8). I hope I managed to thank each of you who responded as I feel like I know where I need to go next thanks to all the great suggestions. I would have had to enabled nfs client if using mount_smbfs, correct? When I built the system in question, I did not enable nfs capabilities and don't really want to if I can avoid doing so. It sounds like smbclient fits the bill for now, but thanks to all of you for making things more clear. It seems that /usr/ports/net/samba3 gives one a whole boatload of possibilities. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group From sdafreebsduk at rowyerboat.com Fri May 9 16:51:12 2008 From: sdafreebsduk at rowyerboat.com (Stephen Allen) Date: Fri May 9 16:51:17 2008 Subject: Questions from a Total samba Novice. In-Reply-To: <200805091645.m49Gj6dH010980@dc.cis.okstate.edu> References: <200805091645.m49Gj6dH010980@dc.cis.okstate.edu> Message-ID: <482480FE.4080301@rowyerboat.com> Hi Martin, > I would have had to enabled nfs client if using > mount_smbfs, correct? Nopes - stick to using the mount command. Depending on the filesystem you specify (with the -t option), it will call the relevant mount command itself (eg. mount_smbfs, mount_nfs). > When I built the system in question, I did not enable > nfs capabilities and don't really want to if I can avoid doing > so. You don't need it. > It sounds like smbclient fits the bill for now, but > thanks to all of you for making things more clear. > > It seems that /usr/ports/net/samba3 gives one a whole > boatload of possibilities. Although installing samba will give you smbclient and a load of other things, if you don't need them I wouldn't install it. From what you've previously explained, everything can be done with the (already supplied) mount command. Steve :) From grog at FreeBSD.ORG Fri May 9 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri May 9 17:02:05 2008 Subject: How to get best results from FreeBSD-questions Message-ID: <20080509170201.024491065678@hub.freebsd.org> How to get the best results from FreeBSD questions. =================================================== Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. ===================================================================== Contents: I: Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V: How to answer a question to FreeBSD-questions I: Introduction =============== This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions ============================================== When you subscribed to FreeBSD-questions, you got a welcome message from freebsd-questions-request@FreeBSD.ORG. In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/me@me.org (obviously, substitute your mail address for "me@me.org"). You can also make such adjustments via email by sending a message to: freebsd-questions-request@freebsd.org with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as grog@lemis.de. Since then, I have changed it to grog@lemis.com. If I were to try to remove grog@lemis.com from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to Postmaster@FreeBSD.org, and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions or -hackers? ========================================= Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In some cases, it's not really clear which group you should ask. The following criteria should help for 99% of all questions, however: If the question is of a general nature, first check whether this isn't a Frequently Asked Question (FAQ). There's a list of these questions at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html, and also on your own system (once you've installed it) at /usr/share/doc/en/books/faq/index.html. Check there, and if you don't find an answer, ask FreeBSD-questions. Examples might be questions about installing FreeBSD or the use of a particular UNIX utility. If you think the question relates to a bug, but you're not sure, or you don't know how to look for it, send the message to FreeBSD-questions. If the question relates to a bug, and you're almost sure that it's a bug (for example, you can pinpoint the place in the code where it happens, and you maybe have a fix), then send the message to FreeBSD-hackers. You should also enter a problem report with the send-pr utility. If the question relates to enhancements to FreeBSD, and you can make suggestions about how to implement them, then send the message to FreeBSD-hackers. If the question is of particularly technical nature, such as implementation details or suggestions for improvements, then send the message to FreeBSD-hackers. There are also a number of other specialized mailing lists, for example FreeBSD-isp, which caters to the interests of ISPs (Internet Service Providers) who run FreeBSD. If you happen to be an ISP, this doesn't mean you should automatically send your questions to FreeBSD-isp. The criteria above still apply, and it's in your interest to stick to them, since you're more likely to get good results that way. IV: How to submit a question ============================= When submitting a question to FreeBSD-questions, consider the following points: 1. Remember that nobody gets paid for answering a FreeBSD question. They do it of their own free will. You can influence this free will positively by submitting a well-formulated question supplying as much relevant information as possible. You can influence this free will negatively by submitting an incomplete, illegible, or rude question. It's perfectly possible to send a message to FreeBSD-questions and not get an answer even if you follow these rules. It's much more possible to not get an answer if you don't. In the rest of this document, we'll look at how to get the most out of your question to FreeBSD-questions. 2. Not everybody who answers FreeBSD questions reads every message: they look at the subject line and decide whether it interests them. Clearly, it's in your interest to specify a subject. ``FreeBSD problem'' or ``Help'' aren't enough. If you provide no subject at all, many people won't bother reading it. If your subject isn't specific enough, the people who can answer it may not read it. 3. When sending a new message, well, send a new message. Don't reply to some other message, erase the old content and change the subject line. That leaves an In-reply-to: header which many mail readers use to thread messages, so your message shows up as a reply to some other message. People often delete messages a whole thread at a time, so apart from irritating people, you also run a chance of having the message deleted unread. 4. Format your message so that it is legible, and PLEASE DON'T SHOUT!!!!!. We appreciate that a lot of people don't speak English as their first language, and we try to make allowances for that, but it's really painful to try to read a message written full of typos or without any line breaks. A lot of badly formatted messages come from bad mailers or badly configured mailers. The following mailers are known to send out badly formatted messages without you finding out about them: Eudora exmh Microsoft Exchange Microsoft Internet Mail Microsoft Outlook Netscape As you can see, the mailers in the Microsoft world are frequent offenders. If at all possible, use a UNIX mailer. If you must use a mailer under Microsoft environments, make sure it is set up correctly. Try not to use MIME: a lot of people use mailers which don't get on very well with MIME. For further information on this subject, check out http://www.lemis.com/email.html. 5. Make sure your time and time zone are set correctly. This may seem a little silly, since your message still gets there, but many of the people you are trying to reach get several hundred messages a day. They frequently sort the incoming messages by subject and by date, and if your message doesn't come before the first answer, they may assume they missed it and not bother to look. 6. Don't include unrelated questions in the same message. Firstly, a long message tends to scare people off, and secondly, it's more difficult to get all the people who can answer all the questions to read the message. 7. Specify as much information as possible. This is a difficult area, and we need to expand on what information you need to submit, but here's a start: If you get error messages, don't say ``I get error messages'', say (for example) ``I get the error message 'No route to host'''. If your system panics, don't say ``My system panicked'', say (for example) ``my system panicked with the message 'free vnode isn't'''. If you have difficulty installing FreeBSD, please tell us what hardware you have. In particular, it's important to know the IRQs and I/O addresses of the boards installed in your machine. If you have difficulty getting PPP to run, describe the configuration. Which version of PPP do you use? What kind of authentication do you have? Do you have a static or dynamic IP address? What kind of messages do you get in the log file? 8. If you don't get an answer immediately, or if you don't even see your own message appear on the list immediately, don't resend the message. Wait at least 24 hours. The FreeBSD mailer offloads messages to a number of subordinate mailers around the world, and sometimes it can take several hours for the mail to get through. And once it gets through, the one person who might know the answer will probably just have gone to bed in his part of the world. 9. If you do all this, and you still don't get an answer, there could be other reasons. For example, the problem is so complicated that nobody knows the answer, or the person who does know the answer was offline. If you don't get an answer after, say, a week, it might help to re-send the message. If you don't get an answer to your second message, though, you're probably not going to get one from this forum. Resending the same message again and again will only make you unpopular. To summarize, let's assume you know the answer to the following question (yes, it's the same one in each case :-). You choose which of these two questions you would be more prepared to answer: Message 1: Subject: (none) I just can't get hits damn silly FereBSD system to workd, and Im really good at this tsuff, but I have never seen anythign sho difficult to install, it jst wont work whatever I try so why don't y9ou guys tell me what I doing wrong. ---------------------------------------------------------------------- Message 2: Subject: Problems installing FreeBSD I've just got the FreeBSD 2.1.5 CD-ROM from Walnut Creek, and I'm having a lot of difficulty installing it. I have a 66 MHz 486 with 16 MB of memory and an Adaptec 1540A SCSI board, a 1.2GB Quantum Fireball disk and a Toshiba 3501XA CD-ROM drive. The installation works just fine, but when I try to reboot the system, I get the message "Missing Operating System". ---------------------------------------------------------------------- V: How to follow up to a question ================================= Often you will want to send in additional information to a question you have already sent. The best way to do this is to reply to your original message. This has three advantages: 1. You include the original message text, so people will know what you're talking about. Don't forget to trim unnecessary text out, though. 2. The text in the subject line stays the same (you did remember to put one in, didn't you?). Many mailers will sort messages by subject. This helps group messages together. 3. The message reference numbers in the header will refer to the previous message. Some mailers, such as mutt, can thread messages, showing the exact relationships between the messages. VI: How to answer a question ============================ Before you answer a question to FreeBSD-questions, consider: 1. A lot of the points on submitting questions also apply to answering questions. Read them. 2. Has somebody already answered the question? The easiest way to check this is to sort your incoming mail by subject: then (hopefully) you'll see the question followed by any answers, all together. If somebody has already answered it, it doesn't automatically mean that you shouldn't send another answer. But it makes sense to read all the other answers first. 3. Do you have something to contribute beyond what has already been said? In general, "Yeah, me too" answers don't help much, although there are exceptions, like when somebody is describing a problem he's having, and he doesn't know whether it's his fault or whether there's something wrong with the hardware or software. If you do send a "me too" answer, you should also include any further relevant information. 4. Are you sure you understand the question? Very frequently, the person who asks the question is confused or doesn't express himself very well. Even with the best understanding of the system, it's easy to send a reply which doesn't answer the question. This doesn't help: you'll leave the person who submitted the question more frustrated or confused than ever. If nobody else answers, and you're not too sure either, you can always ask for more information. 5. Are you sure your answer is correct? If not, wait a day or so. If nobody else comes up with a better answer, you can still reply and say, for example, "I don't know if this is correct, but since nobody else has replied, why don't you try replacing your ATAPI CD-ROM with a frog?". 6. Unless there's a good reason to do otherwise, reply to the sender and to FreeBSD-questions. Many people on the FreeBSD-questions are "lurkers": they learn by reading messages sent and replied to by others. If you take a message which is of general interest off the list, you're depriving these people of their information. Be careful with group replies; lots of people send messages with hundreds of CCs. If this is the case, be sure to trim the Cc: lines appropriately. 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending ``> '' to the original message works best. Leaving white space after the ``> '' and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. 10. Most mailers change the subject line on a reply by prepending a text such as ``Re: ''. If your mailer doesn't do it automatically, you should do it manually. 11. If the submitter didn't abide by format conventions (lines too long, inappropriate subject line), please fix it. In the case of an incorrect subject line (such as ``HELP!!??''), change the subject line to (say) ``Re: Difficulties with sync PPP (was: HELP!!??)''. That way other people trying to follow the thread will have less difficulty following it. In such cases, it's appropriate to say what you did and why you did it, but try not to be rude. If you find you can't answer without being rude, don't answer. If you just want to reply to a message because of its bad format, just reply to the submitter, not to the list. You can just send him this message in reply, if you like. $Id: Howto-ask-questions,v 1.6 2005/08/10 02:21:44 grog Exp $ _______________________________________________ Thanks to Josh Paetzel for updating this document to describe mailman. From grog at FreeBSD.ORG Fri May 9 17:02:01 2008 From: grog at FreeBSD.ORG (Greg Lehey) Date: Fri May 9 17:02:06 2008 Subject: "The Complete FreeBSD": errata and addenda Message-ID: <20080509170201.07DE7106567A@hub.freebsd.org> The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg From m.seaman at infracaninophile.co.uk Fri May 9 17:33:14 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri May 9 17:33:18 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <482473B7.7070707@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> Message-ID: <48248AC9.5060507@infracaninophile.co.uk> DAve wrote: > Good morning. > > I recently upgraded our two email gateways from 4.8 to 6.2. The required > software was upgraded as well which consists of MailScanner and > Sendmail. Both had been keep up to date so it was not a jump in required > resources. > > The issue I am seeing is that my server load, under the same traffic > load, has increased 4 times or more. Where previously we saw a high load > on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade > Sendmail has begun to timeout connections. FreeBSD 6.2 is I believe slower than 4.11 for single processor systems and processes which pretty much run single threaded -- ie. exactly what you're trying to run. This would cause exactly the sort of symptoms you're seeing. Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core type stuff but has also regained the sort of performance levels you could get from 4.x at the sort of tasks 4.x is really good at. You should evaluate SCHED_4BSD vs. SCHED_ULE for your workload. SCHED_4BSD is still the default in 7.0, but SCHED_ULE gives better numbers for many workloads, and it only missed being the default in 7.0 because it hadn't had enough time to settle into the tree before the release. SCHED_ULE will be the default from 7.1 onwards. 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/20080509/7f773e1c/signature.pgp From cswiger at mac.com Fri May 9 17:37:46 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri May 9 17:37:50 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <482473B7.7070707@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> Message-ID: On May 9, 2008, at 8:54 AM, DAve wrote: > The issue I am seeing is that my server load, under the same traffic > load, has increased 4 times or more. Where previously we saw a high > load on the servers of 5 to 8, we are now seeing 14 to 17. Since the > upgrade Sendmail has begun to timeout connections. You should look more into the status of the various processes, and how long it takes your mail scanning to process a message compared to previously. It might be the case that the config under 6.2 is allowing more instances to run at once and is just barely nudging the system into excessive paging. Once that happens, performance drops and the system load increases significantly. Do a couple of "ps aux | head -20" every 5 minutes or so, and put that data somewhere on a website, the process states will help give a better picture of what's going on. [ ... ] > bash-2.05b# top > last pid: 85205; load averages: 12.89, 13.78, > 14.66 > up 47+15:51:31 15:20:01 > 126 processes: 12 running, 79 sleeping, 35 zombie > CPU states: 43.8% user, 0.0% nice, 6.3% system, 0.0% interrupt, > 50.0% idle > Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M > Free > Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse > > I am suspicious of the kernel being the culprit because the system > looks as if it is not working very hard, CPU load never shows above > 50% idle. I found one thread which mentions that as an issue and > offers a patch. > > http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html > > Currently I am running the SMP-GENERIC kernel and sysctl shows the > following. > > hw.model: Intel(R) Xeon(TM) CPU 2.40GHz > machdep.hlt_logical_cpus: 0 > machdep.hyperthreading_allowed: 0 > kern.smp.cpus: 4 > I see dev.cpu.0 through dev.cpu.3 > > Can anyone offer a solution? Is this a known issue I can easily > correct? At this point I am left with either rolling back to 4.11 or > trying another OS. It might be reasonable to try hyperthreading enabled, as your type of load might be improved by it on.... -- -Chuck From stevefranks at ieee.org Fri May 9 17:56:42 2008 From: stevefranks at ieee.org (Steve Franks) Date: Fri May 9 17:56:46 2008 Subject: correct #define in source to specify FBSD vs. linux? Message-ID: <539c60b90805091056s747d99a3n16b6ff6d9e3c094@mail.gmail.com> On and on I charge porting linux engineering tools. Major pita. I see a bunch of #ifdef __APPLE__ lines to pull in alternate headers; what's the equiv for FreeBSD? Thanks, Steve From cswiger at mac.com Fri May 9 18:03:25 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri May 9 18:03:30 2008 Subject: correct #define in source to specify FBSD vs. linux? In-Reply-To: <539c60b90805091056s747d99a3n16b6ff6d9e3c094@mail.gmail.com> References: <539c60b90805091056s747d99a3n16b6ff6d9e3c094@mail.gmail.com> Message-ID: <3FB2FF02-96CC-41E7-A540-6AE361EDBCBC@mac.com> On May 9, 2008, at 10:56 AM, Steve Franks wrote: > On and on I charge porting linux engineering tools. Major pita. I > see a bunch of #ifdef __APPLE__ lines to pull in alternate headers; > what's the equiv for FreeBSD? __FreeBSD__ You might find the output of "touch foo.h ; cpp -dM fooo.h" interesting... -- -Chuck From itz at mushinsky.net Fri May 9 18:05:26 2008 From: itz at mushinsky.net (Isaac Mushinsky) Date: Fri May 9 18:05:29 2008 Subject: mounting linux partitions Message-ID: I have installed a linux distro on a partition of my machine (latest Mandriva i686, default installation). I only need it to use a piece of software for Nikon Coolscan IV film scanner (yes, sane works, but a cheap commercial package called vuescan has better interface and uses some hardware features like infrared channel that sane does not support, at least in current stable version). Now I would like to mount ext3 partition from FreeBSD at least for reading, or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I can $ mount -t etx2fs /dev/ad12s7 /linux but then if I do $ ls /linux I get a 'Bad file descriptor' for directory /linux. e2fsprogs are installed, and fsck.ext2 or fsck.ext3 think well of the partition. Also, df seems to show it correctly, with size and free space. I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition is 'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's fdisk shows a couple of ext3 partitions. However, /dev/ad12s7 does correspond to the correct linux partition and, when mounted, df shows the right size and utilization. Any advice how to share a partition between these 2 systems? I only want to use linux to scan the film and store the pictures on disk, then boot into FreeBSD where I spend most of my life as a user. I feel more comfortable pulling from FreeBSD rather than pushing to it because (1) it is easier for me to recompile FreeBSD kernel or install packages if necessary, and (2) I would mind much less a corruption on the linux partition than on UFS; I can simply reinstall the default installation for Linux, but FreeBSD has important data and is finely tuned for me over the years. From wojtek at wojtek.tensor.gdynia.pl Fri May 9 18:29:16 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 18:29:19 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <482473B7.7070707@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> Message-ID: <20080509202416.C53368@wojtek.tensor.gdynia.pl> > software was upgraded as well which consists of MailScanner and Sendmail. > Both had been keep up to date so it was not a jump in required resources. > > The issue I am seeing is that my server load, under the same traffic load, > has increased 4 times or more. Where previously we saw a high load on the > servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade Sendmail has > begun to timeout connections. do you feel that system goes slower? i think it's just the matter of calculation method - 6.* may calculate it different way. just change in your sendmail config the values in place of xx define(`confQUEUE_LA', `xx') define(`confREFUSE_LA', `xx') as just accepting mail isn't a problem i set confREFUSE_LA very high From wojtek at wojtek.tensor.gdynia.pl Fri May 9 18:30:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri May 9 18:30:46 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <48248AC9.5060507@infracaninophile.co.uk> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> Message-ID: <20080509202941.J53368@wojtek.tensor.gdynia.pl> > FreeBSD 6.2 is I believe slower than 4.11 for single processor systems > and processes which pretty much run single threaded -- ie. exactly what > you're trying to run. This would cause exactly the sort of symptoms you're > seeing. and what most unix users do. > Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core > type stuff but has also regained the sort of performance levels you could so 4.11 is fastest? From cswiger at mac.com Fri May 9 18:41:00 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri May 9 18:41:06 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080509202941.J53368@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> Message-ID: <9F98C32F-0DA0-40F9-B82B-4866F3D600CB@mac.com> On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote: >> Try 7.0 instead -- it has all of the speed at multi-threaded, multi- >> core >> type stuff but has also regained the sort of performance levels you >> could > > so 4.11 is fastest? For single-processor systems, FreeBSD 4.11 does very well at a lot of tasks. However, Dave apparently has a 4-CPU system (~8 threads if he enabled hyperthreading), and for real SMP hardware, more recent versions of FreeBSD generally perform better than 4.x would. -- -Chuck From dave.list at pixelhammer.com Fri May 9 18:43:40 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 18:43:48 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080509202416.C53368@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <20080509202416.C53368@wojtek.tensor.gdynia.pl> Message-ID: <48249AD5.1080901@pixelhammer.com> Wojciech Puchar wrote: >> software was upgraded as well which consists of MailScanner and >> Sendmail. Both had been keep up to date so it was not a jump in >> required resources. >> >> The issue I am seeing is that my server load, under the same traffic >> load, has increased 4 times or more. Where previously we saw a high >> load on the servers of 5 to 8, we are now seeing 14 to 17. Since the >> upgrade Sendmail has begun to timeout connections. > > do you feel that system goes slower? > i think it's just the matter of calculation method - 6.* may calculate > it different way. > > just change in your sendmail config the values in place of xx > > define(`confQUEUE_LA', `xx') > define(`confREFUSE_LA', `xx') > > > as just accepting mail isn't a problem i set confREFUSE_LA very high It is already set to higher than the load we see. I don't "see" sendmail refusing connections. What happens is I try to test sendmail from another server and the connection never completes. I'm knockin', sendmail ain't answering. DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From dave.list at pixelhammer.com Fri May 9 18:51:56 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 18:52:00 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080509202941.J53368@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> Message-ID: <48249CC8.50300@pixelhammer.com> Wojciech Puchar wrote: >> FreeBSD 6.2 is I believe slower than 4.11 for single processor systems >> and processes which pretty much run single threaded -- ie. exactly what >> you're trying to run. This would cause exactly the sort of symptoms >> you're >> seeing. > > and what most unix users do. > >> Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core >> type stuff but has also regained the sort of performance levels you could > > so 4.11 is fastest? I would be inclined to try another version if I knew what the cause of this issue was exactly, and I saw in the release notes that the issue was resolved in 7.X. But I cannot just try a new version on a production server as an experiment. I've hosed this up enough thinking 6.2 was out long enough to not surprise me. I've not compared them on any server running multiple CPUs, but on a single physical CPU server I've yet to see 5.X or 6.X keep up with 4.X. I've been poo poo'd heartily for saying so, more than once. I would hope, and I do think, this is easily solved. I've already had one private email stating a binary upgrade to 6.3 solved the same problem for them. I wish I could find that email again 8^( DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From xi at borderworlds.dk Fri May 9 18:52:32 2008 From: xi at borderworlds.dk (Christian Laursen) Date: Fri May 9 18:52:35 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: <4823BE7B.2050806@boosten.org> (Peter Boosten's message of "Fri\, 09 May 2008 05\:01\:15 +0200") References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> <20080508224235.GA87584@devil.mutu.us> <4823BE7B.2050806@boosten.org> Message-ID: Peter Boosten writes: > No, I was more thinking of: > > ssh -L 4444:your.own.host:22 user@your.friends.host > > and then open a new shell: > > scp -P 4444 the-file-you-want-to-copy user@localhost: > > This works easiest with agent forwarding, but I guess any > authentication will do. It is also worth taking a look at the ProxyCommand option. For the case above something like this should be put in ~/.ssh/config: Host your.own.host-tunneled HostKeyAlias your.own.host ProxyCommand ssh user@your.friends.host nc your.own.host 22 The you can just do "ssh your.own.host-tunneled" and go through your.friends.host transparently. -- Christian Laursen From dave.list at pixelhammer.com Fri May 9 18:57:24 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 18:57:29 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <9F98C32F-0DA0-40F9-B82B-4866F3D600CB@mac.com> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <9F98C32F-0DA0-40F9-B82B-4866F3D600CB@mac.com> Message-ID: <48249E0A.8080709@pixelhammer.com> Chuck Swiger wrote: > On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote: >>> Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core >>> type stuff but has also regained the sort of performance levels you >>> could >> >> so 4.11 is fastest? > > For single-processor systems, FreeBSD 4.11 does very well at a lot of > tasks. However, Dave apparently has a 4-CPU system (~8 threads if he > enabled hyperthreading), and for real SMP hardware, more recent versions > of FreeBSD generally perform better than 4.x would. Single CPU quad core. ps -aux output is up, look under the FBSD dir. I also put up both dmesg.boot files from the servers. http://pixelhammer.com/Dan/ I do appreciate the assistance. DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From fbsd06 at mlists.homeunix.com Fri May 9 20:18:16 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri May 9 20:18:21 2008 Subject: ports missing after a upgrade In-Reply-To: <1210339443.6835.25.camel@puk> References: <1210160520.7730.15.camel@puk> <20080507133306.5d297b2c@gumby.homeunix.com.> <1210339443.6835.25.camel@puk> Message-ID: <20080509210234.6a7195e7@gumby.homeunix.com.> On Fri, 09 May 2008 15:24:03 +0200 Geert Geurts wrote: > I cannot find the version anymore because of Xorg being broken and > complains about libxau.so.0 on startup > But I think it must be at the latest version of FreeBSD 6.0. In that case you should read the 20070519 entry in /usr/ports/UPDATING From stevefranks at ieee.org Fri May 9 20:31:41 2008 From: stevefranks at ieee.org (Steve Franks) Date: Fri May 9 20:31:45 2008 Subject: growisofs: "inapropriate ioctl for device" Message-ID: <539c60b90805091331g166f02e5ibc318ba7e4a0efa9@mail.gmail.com> I get the following from growisofs -Z/dev/acd0=image.iso: :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device My burner was previously installed in my 6.3 amd64 system without issues. dmesg reports (after growisofs fails): ... acd0: DVDR at ata0-master UDMA33 ... acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x20 ascq=0x00 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00 sks=0x00 0x00 0x07 ... I have atapicam loaded. Steve From josh.carroll at gmail.com Fri May 9 20:35:16 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Fri May 9 20:35:19 2008 Subject: growisofs: "inapropriate ioctl for device" In-Reply-To: <539c60b90805091331g166f02e5ibc318ba7e4a0efa9@mail.gmail.com> References: <539c60b90805091331g166f02e5ibc318ba7e4a0efa9@mail.gmail.com> Message-ID: <8cb6106e0805091335y50f8583y6d1ccfbe691bacc5@mail.gmail.com> On Fri, May 9, 2008 at 4:31 PM, Steve Franks wrote: > I get the following from growisofs -Z/dev/acd0=image.iso: > > :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device > Use /dev/cd0, not /dev/acd0. Josh From prad at towardsfreedom.com Fri May 9 20:40:57 2008 From: prad at towardsfreedom.com (prad) Date: Fri May 9 20:41:02 2008 Subject: freebsd7 on older machines Message-ID: <20080509133949.53b83c29@gom.home> i can't seem to boot the cdrom on older hardware (500MHz and down). i read somewhere that the older drives aren't supported by the installation cdrom. i want to create a series of 'dumb terminals' which can ssh -Y into a faster machine. if necessary i suppose i can floppy in and then install via nfs. or i can setup the hd on another machine that does support the install cdrom and then transfer to the older machine. here are the specific questions: 1. do older machines work better with older versions of freebsd? 2. if i dd a hd (with freebsd) onto another hd will i have a problem with the mbr and be unable to boot? 3. are there any other ideas for install? -- 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 jonathan+freebsd-questions at hst.org.za Fri May 9 20:43:47 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Fri May 9 20:43:50 2008 Subject: slapd won't start with nss_ldap.conf In-Reply-To: <1210336560.28281.43.camel@columbus.webtent.org> References: <1210336560.28281.43.camel@columbus.webtent.org> Message-ID: <200805092244.04867.jonathan+freebsd-questions@hst.org.za> On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote: > On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and > pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf > present, it just hangs and nothing in the messages or debug logs. I just > copied ldap.conf to nss_ldap.conf, see contents below. To try and identify the problem, can I ask - when you say slapd doesn't start, how long have you waited? There is a chicken-and-egg problem with slapd on a host which is running nss_ldap. To start a process, the system has to adopt the user and group privileges of the process owner, which means enumerating all the groups for that user from every source of group information - including LDAP on a system running nss_ldap. So, to start slapd, the system needs the group info for user ldap - from slapd. It times out and retries a few times, and eventually starts slapd using the group information from /etc/passwd and /etc/group, but the timeout and retry options by default take several minutes. The delay can be even longer depending how many other services are being started first and therefore how many nss_ldap lookup timeouts occur during boot. There are a number of possible solutions depending which version of nss_ldap you're running - searching for nss_ldap bind_policy nss_reconnect_tries will produce a number of suggestions and ``problem reports''. Jonathan From cswiger at mac.com Fri May 9 21:00:15 2008 From: cswiger at mac.com (Chuck Swiger) Date: Fri May 9 21:00:20 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <48249E0A.8080709@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <9F98C32F-0DA0-40F9-B82B-4866F3D600CB@mac.com> <48249E0A.8080709@pixelhammer.com> Message-ID: On May 9, 2008, at 11:55 AM, DAve wrote: >> For single-processor systems, FreeBSD 4.11 does very well at a lot >> of tasks. However, Dave apparently has a 4-CPU system (~8 threads >> if he enabled hyperthreading), and for real SMP hardware, more >> recent versions of FreeBSD generally perform better than 4.x would. > > Single CPU quad core. OK. > ps -aux output is up, look under the FBSD dir. I also put up both > dmesg.boot files from the servers. MailScanner is what is taking up all of the load; tuning that area is where you need to focus. Things which come to mind are trying to limit the max number of children of that being run to something smaller, perhaps 8 or so. Yes, they recommend running 5 * #CPUs, but they also think their instances are going to be around 20MB in size, but yours are running at 100+ MB size. You might find that running sa-update and sa-compile nightly might improve your SpamAssassin performance; I've got a crontab setup which runs the following nightly: % cat /usr/local/bin/update-spamassassin #! /bin/sh PATH=$PATH:/usr/local/bin sa-update --allowplugins --gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel saupdates.openprotect.com --channel updates.spamassassin.org sa-compile kill -HUP `cat /var/run/vscan/spamd.pid` (If you aren't running spamd because MailScanner uses builtin interface to SpamAssassin, comment out the last line. But do check the sa-compile docs, you have to make a change for it to be used....) Regards, -- -Chuck From lists at webtent.net Fri May 9 21:09:44 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Fri May 9 21:09:48 2008 Subject: slapd won't start with nss_ldap.conf In-Reply-To: <200805092244.04867.jonathan+freebsd-questions@hst.org.za> References: <1210336560.28281.43.camel@columbus.webtent.org> <200805092244.04867.jonathan+freebsd-questions@hst.org.za> Message-ID: <1210367382.6447.17.camel@columbus.webtent.org> On Fri, 2008-05-09 at 22:44 +0200, Jonathan McKeown wrote: > On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote: > > On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and > > pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf > > present, it just hangs and nothing in the messages or debug logs. I just > > copied ldap.conf to nss_ldap.conf, see contents below. > > So, to start slapd, the system needs the group info for user ldap - from > slapd. It times out and retries a few times, and eventually starts slapd > using the group information from /etc/passwd and /etc/group, but the timeout > and retry options by default take several minutes. > Seems my core problem is something wrong with the openldap setup on that box. I had taken the slave ldap server up to 2.3.41 and it was not having this slapd/nss_ldap startup problem. I don't know if it is bad with a synrepl slave earlier version that the master, but I just didn't want to mess with the master until it proved OK and all seems perfectly great on the slave except my boot order issue.... Thanks for the response, and yes, the openldap list owner finally rejected my message and gave me the pointer to start slapd with the owner and group by id instead of name. After reading the start script to get the owner and group by id in the rc.conf file, I am now starting the process in that way. While doing that I realize that I can handle boot order by name of the file and gave it a prefix of 001. I will test my changes tomorrow when I go on site to replace a UPS. If all goes well on the slave, I'll upgrade the master and see if my pesky nss_ldap issue goes away. And, yes, I was only waiting the length of time it normally took when the nss_ldap.conf file was missing, few seconds max. -- Robert From dave.list at pixelhammer.com Fri May 9 21:30:00 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 21:30:05 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <9F98C32F-0DA0-40F9-B82B-4866F3D600CB@mac.com> <48249E0A.8080709@pixelhammer.com> Message-ID: <4824C1CD.4040006@pixelhammer.com> Chuck Swiger wrote: > On May 9, 2008, at 11:55 AM, DAve wrote: >>> For single-processor systems, FreeBSD 4.11 does very well at a lot of >>> tasks. However, Dave apparently has a 4-CPU system (~8 threads if he >>> enabled hyperthreading), and for real SMP hardware, more recent >>> versions of FreeBSD generally perform better than 4.x would. >> >> Single CPU quad core. > > OK. > >> ps -aux output is up, look under the FBSD dir. I also put up both >> dmesg.boot files from the servers. > > MailScanner is what is taking up all of the load; tuning that area is > where you need to focus. > > Things which come to mind are trying to limit the max number of children > of that being run to something smaller, perhaps 8 or so. Yes, they > recommend running 5 * #CPUs, but they also think their instances are > going to be around 20MB in size, but yours are running at 100+ MB size. > > You might find that running sa-update and sa-compile nightly might > improve your SpamAssassin performance; I've got a crontab setup which > runs the following nightly: > > % cat /usr/local/bin/update-spamassassin > #! /bin/sh > > PATH=$PATH:/usr/local/bin > > sa-update --allowplugins --gpgkey > D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel > saupdates.openprotect.com --channel updates.spamassassin.org > sa-compile > > kill -HUP `cat /var/run/vscan/spamd.pid` > > (If you aren't running spamd because MailScanner uses builtin interface > to SpamAssassin, comment out the last line. But do check the sa-compile > docs, you have to make a change for it to be used....) > > Regards, I appologize I should have given more info. We do run sa-update, and sa-compile. We also run 0 scores on most DNSBL tests as we run those at the mta level along with milter-greylist, milter-ahead, pipelining rejection, and greet pause. We have been running a very trimmed down and fine tuned system for about two years now with good results. I do think the upgrade to SA 3.2.4 is very heavy, considerably more resource usage than 3.1.8 which we were running prior to the OS upgrade. I have not changed the settings for MailScanner from our previous install with respect to number of children or to batch size. Previous testing showed that 13 MS children with a batch size of 10 messages was optimal. I can certainly give that a try. I will look at enabling Hyperthreading as well. I've also found this, which may be a clue to the suggestion that a binary upgrade to 6.3 was a solution. DAve http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070986.html -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From jonathan+freebsd-questions at hst.org.za Fri May 9 21:30:23 2008 From: jonathan+freebsd-questions at hst.org.za (Jonathan McKeown) Date: Fri May 9 21:30:27 2008 Subject: slapd won't start with nss_ldap.conf In-Reply-To: <1210367382.6447.17.camel@columbus.webtent.org> References: <1210336560.28281.43.camel@columbus.webtent.org> <200805092244.04867.jonathan+freebsd-questions@hst.org.za> <1210367382.6447.17.camel@columbus.webtent.org> Message-ID: <200805092330.43932.jonathan+freebsd-questions@hst.org.za> On Friday 09 May 2008 23:09, Robert Fitzpatrick wrote: > On Fri, 2008-05-09 at 22:44 +0200, Jonathan McKeown wrote: > > On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote: > > > On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and > > > pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf > > > present, it just hangs and nothing in the messages or debug logs. I > > > just copied ldap.conf to nss_ldap.conf, see contents below. > > > > So, to start slapd, the system needs the group info for user ldap - from > > slapd. It times out and retries a few times, and eventually starts slapd > > using the group information from /etc/passwd and /etc/group, but the > > timeout and retry options by default take several minutes. > > Seems my core problem is something wrong with the openldap setup on that > box. I had taken the slave ldap server up to 2.3.41 and it was not > having this slapd/nss_ldap startup problem. I don't know if it is bad > with a synrepl slave earlier version that the master, but I just didn't > want to mess with the master until it proved OK and all seems perfectly > great on the slave except my boot order issue.... It depends what else you upgraded while changing the openldap server. Earlier versions of nss_ldap had much shorter timeouts, I believe, which means the problem only manifested itself after a certain version of nss_ldap. > Thanks for the response, and yes, the openldap list owner finally > rejected my message and gave me the pointer to start slapd with the > owner and group by id instead of name. After reading the start script to > get the owner and group by id in the rc.conf file, I am now starting the > process in that way. While doing that I realize that I can handle boot > order by name of the file and gave it a prefix of 001. Errr, not sure what you're talking about here: man rcorder will tell you the normal way to control startup order on a recent FreeBSD. I think you'd have to be doing something rather unusual to force the old behaviour you seem to be talking about... As far as starting up with a numeric id rather than a user name, I'm not sure that will stop the lookup of group information which is actually causing the problem. Good luck. Jonathan From dave.list at pixelhammer.com Fri May 9 22:19:35 2008 From: dave.list at pixelhammer.com (DAve) Date: Fri May 9 22:19:40 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: References: <482473B7.7070707@pixelhammer.com> Message-ID: <4824CD74.2020004@pixelhammer.com> Chuck Swiger wrote: > On May 9, 2008, at 8:54 AM, DAve wrote: >> The issue I am seeing is that my server load, under the same traffic >> load, has increased 4 times or more. Where previously we saw a high >> load on the servers of 5 to 8, we are now seeing 14 to 17. Since the >> upgrade Sendmail has begun to timeout connections. > > You should look more into the status of the various processes, and how > long it takes your mail scanning to process a message compared to > previously. It might be the case that the config under 6.2 is allowing > more instances to run at once and is just barely nudging the system into > excessive paging. Once that happens, performance drops and the system > load increases significantly. > > Do a couple of "ps aux | head -20" every 5 minutes or so, and put that > data somewhere on a website, the process states will help give a better > picture of what's going on. > > [ ... ] >> bash-2.05b# top >> last pid: 85205; load averages: 12.89, 13.78, >> 14.66 up >> 47+15:51:31 15:20:01 >> 126 processes: 12 running, 79 sleeping, 35 zombie >> CPU states: 43.8% user, 0.0% nice, 6.3% system, 0.0% interrupt, >> 50.0% idle >> Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free >> Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse >> >> I am suspicious of the kernel being the culprit because the system >> looks as if it is not working very hard, CPU load never shows above >> 50% idle. I found one thread which mentions that as an issue and >> offers a patch. >> >> http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html >> >> Currently I am running the SMP-GENERIC kernel and sysctl shows the >> following. >> >> hw.model: Intel(R) Xeon(TM) CPU 2.40GHz >> machdep.hlt_logical_cpus: 0 >> machdep.hyperthreading_allowed: 0 >> kern.smp.cpus: 4 >> I see dev.cpu.0 through dev.cpu.3 >> >> Can anyone offer a solution? Is this a known issue I can easily >> correct? At this point I am left with either rolling back to 4.11 or >> trying another OS. > > It might be reasonable to try hyperthreading enabled, as your type of > load might be improved by it on.... > Funny that, enabling hyperthreading immediately dropped my load by half, I see CPU0, CPU1, CPU2, CPU3 now in top. I also see my CPU load reporting correctly as well. I see ranges from 10% idle to 80% idle, not locked at 50% and above. That seems to have cured several ills. I will know more Monday at 8:30am when the business email traffic kicks in. DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From sonicy at otenet.gr Fri May 9 22:23:18 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Fri May 9 22:23:23 2008 Subject: freebsd7 on older machines In-Reply-To: <20080509133949.53b83c29@gom.home> References: <20080509133949.53b83c29@gom.home> Message-ID: <4824CEDE.6020701@otenet.gr> prad wrote: > i can't seem to boot the cdrom on older hardware (500MHz and down). > i read somewhere that the older drives aren't supported by the > installation cdrom. > > i want to create a series of 'dumb terminals' which can ssh -Y into a > faster machine. if necessary i suppose i can floppy in and then install > via nfs. or i can setup the hd on another machine that does support the > install cdrom and then transfer to the older machine. > > here are the specific questions: > > 1. do older machines work better with older versions of freebsd? > 2. if i dd a hd (with freebsd) onto another hd will i have a problem > with the mbr and be unable to boot? > 3. are there any other ideas for install? > > You may have old motheboards (or BIOS) that do not support el-torito (no emulation) boot, i.e. they can only boot from CD like a floppy (think Windows 98 CD boot). In this case booting from floppies will allow you to start (installation will continue from CD). It is not fast, but it works. A friend of mine is running a 6.3-RELEASE (obviously console only) on a 200 Mhz Pentium with 48Mb or RAM. It performs reasonably well for this spec (as long as you don't compile anything). I once installed 6.1 on a Pentium Pro, 64Mb RAM using floppies + CD, it worked. Even got X running! I have successfully installed 7.0 on an AMD K6-2 500Mhz - had to disable ACPI or weird things would happen. Haven't tried any lower spec machine with 7. As for your questions: 1. I guess some newer versions may not work at all with very old hardware. Not something I tested though. Look at the hardware release notes for minimum requirements. 2. Sorry, never tried it 3. Connect the hard disk to a newer machine, install there and transfer to the older one. There are good chances of success. If the machine is really old, you may need to disable acpi during startup for everything to work properly. From m.seaman at infracaninophile.co.uk Fri May 9 22:23:48 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri May 9 22:23:51 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080509202941.J53368@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> Message-ID: <4824CEE7.6070605@infracaninophile.co.uk> Wojciech Puchar wrote: >> FreeBSD 6.2 is I believe slower than 4.11 for single processor systems >> and processes which pretty much run single threaded -- ie. exactly what >> you're trying to run. This would cause exactly the sort of symptoms >> you're >> seeing. Actually I was mistaken: I saw 4.11 and 2.4GHz Xeon and assumed the OP was using 2004-era hardware. The whole "Quad Core" thing just didn't register. > and what most unix users do. It is what a lot of unix users have done historically, but now that there is good support coming through for highly threaded, parallelized applications, developers are going to write more and users are going to run more applications that exploit that. It's not a "Unix way" versus "Other OS Way" thing -- its a response to the change in direction hardware development has taken over the past several years. Chip manufacturers have all but given up on the race to outdo each other on the MHz or GHz rating of their products. Nowadays it's all about how many CPU cores and how much cache RAM there is on each chip. 4 cores and 8MB is just the latest step in that evolutionary arms race. >> Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core >> type stuff but has also regained the sort of performance levels you could > > so 4.11 is fastest? It depends very much on the application load you have to support and the sort of hardware you have available. For the sort of multicore chips that are all the rage nowadays, I'd go with 7.0 every time, even running single threaded applications. 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/20080509/8b5daa7d/signature.pgp From xsappyx at gmail.com Fri May 9 23:32:14 2008 From: xsappyx at gmail.com (xSAPPYx) Date: Fri May 9 23:32:18 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <4a89d1190805090014i5a7c6e62ud0725909b7cff222@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> <20080509090729.G87682@wojtek.tensor.gdynia.pl> <4a89d1190805090014i5a7c6e62ud0725909b7cff222@mail.gmail.com> Message-ID: <8206ae960805091603g39e1f857ld0531641f13dbb5@mail.gmail.com> Also something to keep in mind, most (all?) new procs have thermal cuttoffs that will kill themselves before any damage happens. If you box hasn't shut down in weird ways or underclocked itself, you are probably good to go. It's something to keep your eye on, but I wouldn't worry too much about it if you aren't experiencing any problems. On Fri, May 9, 2008 at 12:14 AM, Christian Zachariasen wrote: > On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > >> As with so many other things in the computer world, it depends. With no >>> case >>> fans, it's weird that the computer gets colder if it has something above >>> and >>> >> >> no it's not. the machines above and below has proper cooling, and transfers >> this machine heat by conduction - rack cases are mostly metal and conduct >> heat well. > > > I've very little experience with computers in racks, but if the machines are > actually touching, then yes, this could be the case. > > The 65 C temperature a previous poster was talking about is not the maximum > operating temperature for the actual processor, it's the maximum temperature > in the case while the computer is operating. As far as I know CPU > temperatures are measured on the actual processor die, and the case > temperature will normally be *much* lower. > > Christian Zachariasen > _______________________________________________ > 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 gilles.ganault at free.fr Fri May 9 23:53:33 2008 From: gilles.ganault at free.fr (Gilles) Date: Fri May 9 23:53:38 2008 Subject: [CRON] Recommended FTP client to download and upload files? References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Message-ID: On Sat, 03 May 2008 16:46:27 +0200, Gilles wrote: >What command-line FTP client would you recommend for this? It looks like lftp is not running like I thought it would :/ Until I ran the following commands manually instead of through CRON, some files on the remote source FTP server dated May 6th/7th were not downloaded locally and then uploaded to the target remote FTP server: 1. Here's the script: # cat /var/sync.bash #!/usr/local/bin/bash echo "Downloading from Source FTP" lftp -u joe,sixpack -e "mirror -vn ./files /var/depot && bye" ftp.source.com echo "Uploading to Target FTP" lftp -u joe,sixpack -e "mirror -vnR /var/depot ./downloads && bye" ftp.target.com 2. When run manually: # ./sync.bash Downloading from Source FTP Total : 1 directory, 41 files, 0 symlinks Uploading to Target FTP Total : 1 directory, 41 files, 0 symlinks To be removed: 0 directories, 2 files, 0 symlinks 3. CRON: # crontab -l 5,35 * * * * /var/sync.bash >/dev/null 2>&1 => What does "To be removed: 0 directories, 2 files, 0 symlinks" actually mean? Thanks for any tip. From nlandys at gmail.com Sat May 10 00:09:29 2008 From: nlandys at gmail.com (Nerius Landys) Date: Sat May 10 00:09:33 2008 Subject: coretemp 70C = CPU too hot? In-Reply-To: <8206ae960805091603g39e1f857ld0531641f13dbb5@mail.gmail.com> References: <560f92640805081955m3219d3d3k26946a3ad5d86b1b@mail.gmail.com> <4a89d1190805082310o5f957871w6f211bc4d9942768@mail.gmail.com> <20080509090729.G87682@wojtek.tensor.gdynia.pl> <4a89d1190805090014i5a7c6e62ud0725909b7cff222@mail.gmail.com> <8206ae960805091603g39e1f857ld0531641f13dbb5@mail.gmail.com> Message-ID: <560f92640805091709g63286ca6v72e4ee7098803acc@mail.gmail.com> Thanks for all the replies guys. I called the manufacturer and it turns out that there's a manual speed controller on the CPU fan. I'm going to take the top off my case and crank it up all the way at my first opportunity. That will at least help a little bit. Thanks again. I still think 70 Celcius is too high. On Fri, May 9, 2008 at 4:03 PM, xSAPPYx wrote: > Also something to keep in mind, most (all?) new procs have thermal > cuttoffs that will kill themselves before any damage happens. If you > box hasn't shut down in weird ways or underclocked itself, you are > probably good to go. It's something to keep your eye on, but I > wouldn't worry too much about it if you aren't experiencing any > problems. > > > On Fri, May 9, 2008 at 12:14 AM, Christian Zachariasen > wrote: > > On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar < > > wojtek@wojtek.tensor.gdynia.pl> wrote: > > > >> As with so many other things in the computer world, it depends. With no > >>> case > >>> fans, it's weird that the computer gets colder if it has something > above > >>> and > >>> > >> > >> no it's not. the machines above and below has proper cooling, and > transfers > >> this machine heat by conduction - rack cases are mostly metal and > conduct > >> heat well. > > > > > > I've very little experience with computers in racks, but if the machines > are > > actually touching, then yes, this could be the case. > > > > The 65 C temperature a previous poster was talking about is not the > maximum > > operating temperature for the actual processor, it's the maximum > temperature > > in the case while the computer is operating. As far as I know CPU > > temperatures are measured on the actual processor die, and the case > > temperature will normally be *much* lower. > > > > Christian Zachariasen > > _______________________________________________ > > 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 gilles.ganault at free.fr Sat May 10 00:24:11 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat May 10 00:24:16 2008 Subject: [CRON] Recommended FTP client to download and upload files? References: <9huo14p9l84vmr124kh8j8sjdgerh655cu@4ax.com> Message-ID: <3kq924pb5d5v2ofsgtfqs6dhds0t4mn55t@4ax.com> On Sat, 10 May 2008 01:53:13 +0200, Gilles wrote: >It looks like lftp is not running like I thought it would Found what it was: The script worked fine when ran manually, but failed when ran by CRON because it couldn't locate lftp: Downloading from Source FTP /var/sync.bash: line 3: lftp: command not found Uploading to Target FTP /var/sync.bash: line 6: lftp: command not found Moral of the story: Start by leaving error messages as is before redirectering them to /dev/null once the script proved to work. From albert.bowen at gmail.com Sat May 10 01:57:55 2008 From: albert.bowen at gmail.com (Xiaobo Zhu) Date: Sat May 10 01:57:59 2008 Subject: How to config ipv6 for this instance Message-ID: Hi, I have read the handbook and spent hours on the configuration of ipv6 on laptop, but still can't get it done. The local network administrator only suggest the following steps to setup ipv6 on windows xp and it works fine on that platform. I just don't know to get it work on FreeBSD, would anyone guide me in detail so I can also help the people aroud me. Many thanks! // The following steps make ipv6 works fine on windows xp ipv6 install netsh > interface ipv6 isatap set router 202.112.95.129 netsh >interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129 // Here is the output of "uname -a" of my laptop FreeBSD zhu.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 // Output of "ifconfig -a" fwe0: flags=108943 mtu 1500 options=8 inet6 fe80::e0:18ff:fe86:69cb%fwe0 prefixlen 64 scopeid 0x1 ether 02:e0:18:86:69:cb ch 1 dma 0 rl0: flags=8843 mtu 1500 options=8 inet6 fe80::21a:92ff:febf:ab3d%rl0 prefixlen 64 scopeid 0x2 inet 172.16.120.226 netmask 0xfffffe00 broadcast 172.16.121.255 ether 00:1a:92:bf:ab:3d media: Ethernet autoselect (10baseT/UTP) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 // My /etc/rc.conf file # -- sysinstall generated deltas -- # Sat May 10 03:05:25 2008 # Created: Sat May 10 03:05:25 2008 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="172.16.120.1" hostname="zhu.net" ifconfig_rl0="inet 172.16.120.226 netmask 255.255.254.0" keymap="us.iso" keyrate="fast" sshd_enable="YES" usbd_enable="YES" ipv6_enable="YES" # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" From wojtek at wojtek.tensor.gdynia.pl Sat May 10 07:04:08 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 07:04:11 2008 Subject: How to config ipv6 for this instance In-Reply-To: References: Message-ID: <20080510090337.A58698@wojtek.tensor.gdynia.pl> > on laptop, but still can't get it done. > The local network administrator only suggest the following steps to > setup ipv6 on windows xp and it works fine on that platform. I just > don't know to get it work on FreeBSD, would anyone guide me in detail > so I can also help the people aroud me. > Many thanks! > > // The following steps make ipv6 works fine on windows xp > ipv6 install > netsh > interface ipv6 isatap set router 202.112.95.129 > netsh >interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129 no idea what is "isatap" From wojtek at wojtek.tensor.gdynia.pl Sat May 10 07:10:45 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 07:10:48 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <4824CEE7.6070605@infracaninophile.co.uk> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <4824CEE7.6070605@infracaninophile.co.uk> Message-ID: <20080510090439.U58698@wojtek.tensor.gdynia.pl> >> and what most unix users do. > > It is what a lot of unix users have done historically, but now that there is and still most do. > It's not a "Unix way" versus "Other OS Way" thing -- its a response to the > change > in direction hardware development has taken over the past several years. > Chip on multichip hardware you can do many different things too - even faster as it's spread over cores. > and > how much cache RAM there is on each chip. 4 cores and 8MB is just the latest > step in that evolutionary arms race. that's much better than "more gigaherts" way. any unix should support it good - with any kind of load. today i see performance improvements are mostly towards synthetic benchmarks like running 8 threads of mysql server. it looks cool on paper, but we need good performance when running concurrently many different things. if one plan to use single one program - why unix at all? as i've tested 7.0 once, it was on same computer noticably slower under high load of different programs. now i read 6.* is slower than 4.* (i never user 4.*) isn't it something wrong with it?! > It depends very much on the application load you have to support and the sort > of hardware you have available. For the sort of multicore chips that are all > the > rage nowadays, I'd go with 7.0 every time, even running single threaded > applications. did you actually made a comparision with 6.*? not with "paper benchmarks" but just run 100 different things and check how responsive machine is. From m.seaman at infracaninophile.co.uk Sat May 10 07:28:57 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat May 10 07:29:00 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080510090439.U58698@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <4824CEE7.6070605@infracaninophile.co.uk> <20080510090439.U58698@wojtek.tensor.gdynia.pl> Message-ID: <48254EAB.3030103@infracaninophile.co.uk> Wojciech Puchar wrote: >> It depends very much on the application load you have to support and >> the sort >> of hardware you have available. For the sort of multicore chips that >> are all the >> rage nowadays, I'd go with 7.0 every time, even running single threaded >> applications. > > did you actually made a comparision with 6.*? not with "paper > benchmarks" but just run 100 different things and check how responsive > machine is. My experience is of dealing with servers where each machine typically has a small number of important applications -- frequently only /one/ application -- which it has to run as efficiently as possible, and for a large number of end-users. The most telling example was a MySQL server which we originally configured with 6.3 -- but it just collapsed under the full load when we made it the back end for a popular web forums site. Exactly the same hardware is in use now running 7.0 and not only is that DB server cruising along quite happily, but we've been able to add a bunch more web servers at the front of the site. That's the most remarkable improvement I've seen, but it is not at all untypical. I can't speak to the model of needing to run hundreds of different applications on the same server -- about the closest thing I have to that is my personal laptop (but only dozens of apps, rather than hundreds), and other than being vaguely aware that it seems to be working adequately, I've never even tried to compare before and after performance. 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/20080510/4d77290b/signature.pgp From mo_kh118 at yahoo.com Sat May 10 07:38:47 2008 From: mo_kh118 at yahoo.com (mohammad khatibi) Date: Sat May 10 07:38:52 2008 Subject: Pxeboot via tftp problem Message-ID: <17109.85132.qm@web90607.mail.mud.yahoo.com> Hi, I`m new to freebsd.and?I`m using freebsd 7.0? I want to load my diskless systems through pxeboot in the network so?follow the instruction that mentioned in the mail about 2 weeks ago http://www.ultradesic.com/?section=144 instruction as follow: 1.compiling pxeboot and loader using? ?LOADER_TFTP_SUPPORT=YES 2.compiling kernel with necessary options 3.copy pxeboot,loader,kernel in /tftpboot/ 4.configure dhcp , .... all above steps finished successfuly and each client system get IP and dhcp client information correctly and just after it loads primary services and echo the message that said kernel will load in 10 seconds and after timeout, system hangs up and nothing happend. system echo following message at the end : /boot/kernel/kernel?????? text=0x37fdd8??? data=0x81340+0x1460c???? syms=[0x4+0x3da60+0x4+0x51d1a] Hit [Enter] to boot immediatelly, or any other key for command prompt. Booting [/boot/kernel/kernel] ... /boot/kernel/acpi.ko???? text=0x500ef???????? data= 0x81340+0x1460c?? syms=[0x4+0x3da60+0x4+0x51d1a] | and in this step system hangs up please help me to solve this problem before this error (that?I solved): after the timeout it echo the error message that said "ACPI autoload failed" that I copy acpi.ko in the folder (/tftpboot/boot/kernel/) and this error gone my /tftpboot/ contains 4 files and 2 folder: /tftpboot/pxeboot /tftpboot/boot/loader /tftpboot/boot/kernel/kernel /tftpboot/boot/kernel/acpi.ko ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From wojtek at wojtek.tensor.gdynia.pl Sat May 10 07:44:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 07:45:03 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <48254EAB.3030103@infracaninophile.co.uk> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <4824CEE7.6070605@infracaninophile.co.uk> <20080510090439.U58698@wojtek.tensor.gdynia.pl> <48254EAB.3030103@infracaninophile.co.uk> Message-ID: <20080510094220.T58841@wojtek.tensor.gdynia.pl> >> but just run 100 different things and check how responsive machine is. > > My experience is of dealing with servers where each machine typically has > a small number of important applications -- frequently only /one/ application so why you need unix at all? :) > I can't speak to the model of needing to run hundreds of different what is what i do. put everything on one server, only dividing things on many when one is unable to cope (very rare case). > applications on the same server -- about the closest thing I have to that > is my personal laptop (but only dozens of apps, rather than hundreds), and > other than being vaguely aware that it seems to be working adequately, I've try as simple and stupid thing under load cat /dev/zero >somefile (on big partition) on 6.* and 7.* and compare both cases. :) From m.seaman at infracaninophile.co.uk Sat May 10 08:32:47 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat May 10 08:32:49 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080510094220.T58841@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <4824CEE7.6070605@infracaninophile.co.uk> <20080510090439.U58698@wojtek.tensor.gdynia.pl> <48254EAB.3030103@infracaninophile.co.uk> <20080510094220.T58841@wojtek.tensor.gdynia.pl> Message-ID: <48255D9F.50003@infracaninophile.co.uk> Wojciech Puchar wrote: >>> but just run 100 different things and check how responsive machine is. >> >> My experience is of dealing with servers where each machine typically has >> a small number of important applications -- frequently only /one/ >> application > > so why you need unix at all? :) At the risk of belabouring the obvious: i) I like the price. Free. ii) I like the operating environment -- CLIs aren't to everyone's taste, but I find they give me the freedom to do what I want without having to jump through a whole lot of hoops. iii) I like the efficiency of the OS -- you get that much more performance out of every machine it's like having additional servers for free. > try as simple and stupid thing under load > > cat /dev/zero >somefile (on big partition) > > on 6.* and 7.* and compare both cases. > > :) I thought you were pillorying synthetic benchmarks upthread? Filling up a partition with a file of zeros is pretty unlikely as a real-world task. I wouldn't be too disappointed if that didn't run as fast as it possibly could, although I would be distinctly peeved if doing that on a loaded server took up more of the system resources than it had any right or justification to do, to the detriment of anything else running on that machine. 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/20080510/1e1cb01e/signature.pgp From peter at boosten.org Sat May 10 08:36:27 2008 From: peter at boosten.org (Peter Boosten) Date: Sat May 10 08:36:32 2008 Subject: [SSHd] Increasing wait time? In-Reply-To: References: <200805060931.18936.beech@freebsd.org> <20080506173912.GB85015@Grumpy.DynDNS.org> <200805060959.28509.beech@freebsd.org> <48229099.5030004@boosten.org> <20080508224235.GA87584@devil.mutu.us> <4823BE7B.2050806@boosten.org> Message-ID: <48255E87.7040603@boosten.org> Christian Laursen wrote: > > It is also worth taking a look at the ProxyCommand option. > > For the case above something like this should be put in ~/.ssh/config: > > Host your.own.host-tunneled > HostKeyAlias your.own.host > ProxyCommand ssh user@your.friends.host nc your.own.host 22 > > The you can just do "ssh your.own.host-tunneled" and go through > your.friends.host transparently. > I forgot about this one: indeed a beauty ;-) Peter -- http://www.boosten.org From dead_line at hotmail.com Sat May 10 08:57:30 2008 From: dead_line at hotmail.com (Long Story) Date: Sat May 10 08:57:35 2008 Subject: advice needed regarding OS & Hardware. Message-ID: Hello Gurus, Since few years back and im on FBSD 4.8-R for commercial use. Its time to move on. I have two Questions, and kindly looking for answers, specialy that hosting company contract is (NO support for FreeBSd), So i have to becareful again, just like what I did to the 4.8-R For a commercial use server 1) Which version do you recommend, shall I go for 7.0-R ? or 6.3-R. 2) Hosting company hardware is * Single Intel E6300 CORE 2 DUO 1.86Ghz /1066MHz FSB /2MB L2 Cache * 2GB DDR2 RAM * 2x 250GB/7200 RPM Serial ATA Drives - Hot Swap; RAID1 * 3Ware 8006-2LP SATA RAID Controller * 2 10/100/1000 Ethernet ports Any of the above parts incompatabile with FreeBSD, or it has any bug ? do you recommend something else? They didnot mention the brand of ethernet ports, from my experince I will go for Linksys, any better recomendations ? THANKS ALOT. Marwan Sultan. _________________________________________________________________ Get Free (PRODUCT) RED? Emoticons, Winks and Display Pics. http://joinred.spaces.live.com?ocid=TXT_HMTG_prodredemoticons_052008 From aryeh.friedman at gmail.com Sat May 10 09:03:17 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sat May 10 09:03:23 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: References: Message-ID: <482564CC.80701@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Long Story wrote: | Hello Gurus, | | Since few years back and im on FBSD 4.8-R for commercial use. | Its time to move on. | | I have two Questions, and kindly looking for answers, specialy that hosting company | contract is (NO support for FreeBSd), So i have to becareful again, just like what I did | to the 4.8-R | | For a commercial use server | 1) Which version do you recommend, shall I go for 7.0-R ? | or 6.3-R. 7 is quite good and 6.3 is the end of the line for the 6 series so I say go with 7 | | 2) Hosting company hardware is | * Single Intel E6300 CORE 2 DUO 1.86Ghz /1066MHz FSB /2MB L2 Cache * 2GB DDR2 RAM * 2x 250GB/7200 RPM Serial ATA Drives - Hot Swap; RAID1 * 3Ware 8006-2LP SATA RAID Controller * 2 10/100/1000 Ethernet ports I can't speak for the storage system but everything else looks fine | | Any of the above parts incompatabile with FreeBSD, or it has any bug ? | do you recommend something else? | | They didnot mention the brand of ethernet ports, from my experince I will go for | Linksys, any better recomendations ? Ever since cisco bought linksys the quality has been going down. | | | THANKS ALOT. | Marwan Sultan. | _________________________________________________________________ | Get Free (PRODUCT) RED? Emoticons, Winks and Display Pics. | http://joinred.spaces.live.com?ocid=TXT_HMTG_prodredemoticons_052008_______________________________________________ | 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" | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkglZMsACgkQk8GFzCrQm4DFAACgxQjrblhQS0x3qsmPtduuNBRb OjYAoLKByRjQwN4dXC98KplG7w14vZfO =5xiP -----END PGP SIGNATURE----- From wojtek at wojtek.tensor.gdynia.pl Sat May 10 09:49:55 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 09:49:57 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <48255D9F.50003@infracaninophile.co.uk> References: <482473B7.7070707@pixelhammer.com> <48248AC9.5060507@infracaninophile.co.uk> <20080509202941.J53368@wojtek.tensor.gdynia.pl> <4824CEE7.6070605@infracaninophile.co.uk> <20080510090439.U58698@wojtek.tensor.gdynia.pl> <48254EAB.3030103@infracaninophile.co.uk> <20080510094220.T58841@wojtek.tensor.gdynia.pl> <48255D9F.50003@infracaninophile.co.uk> Message-ID: <20080510114855.T59529@wojtek.tensor.gdynia.pl> > At the risk of belabouring the obvious: > > i) I like the price. Free. no system is free too ;) > iii) I like the efficiency of the OS -- you get that much more performance > out of every machine it's like having additional servers for free. single app writen for bare hardware would be the fastest. you use unix only because software you use require it. simple. From wojtek at wojtek.tensor.gdynia.pl Sat May 10 09:53:36 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 09:53:38 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: References: Message-ID: <20080510115039.H59529@wojtek.tensor.gdynia.pl> > to the 4.8-R if your things work fine - keep as is don't change both software and hardware. > For a commercial use server > 1) Which version do you recommend, shall I go for 7.0-R ? > or 6.3-R. 6.3 > > 2) Hosting company hardware is > * Single Intel E6300 CORE 2 DUO 1.86Ghz /1066MHz FSB /2MB L2 Cache * 2GB DDR2 RAM * 2x 250GB/7200 RPM Serial ATA Drives - Hot Swap; RAID1 * 3Ware 8006-2LP SATA RAID Controller * 2 10/100/1000 Ethernet ports > > Any of the above parts incompatabile with FreeBSD, or it has any bug ? check what ethernet ports are. other should work fine. > They didnot mention the brand of ethernet ports if it's realteks, marvell etc. you will have a problems From wojtek at wojtek.tensor.gdynia.pl Sat May 10 09:55:23 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 09:55:25 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <482564CC.80701@gmail.com> References: <482564CC.80701@gmail.com> Message-ID: <20080510115344.J59529@wojtek.tensor.gdynia.pl> > > Ever since cisco bought linksys the quality has been going down. well - were linksys EVER making good products? i don't remember. i know linksys from - crappy radio access points that hangs every few hours (WET-11 is exception), similar or worse network cards, and switches that hangs every SLIGHT power supply instability. From aryeh.friedman at gmail.com Sat May 10 10:23:02 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sat May 10 10:23:12 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <20080510115039.H59529@wojtek.tensor.gdynia.pl> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> Message-ID: <4825777E.1060106@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wojciech Puchar wrote: |> to the 4.8-R | | if your things work fine - keep as is don't change both software and hardware. | | |> For a commercial use server |> 1) Which version do you recommend, shall I go for 7.0-R ? |> or 6.3-R. | | 6.3 | |> |> 2) Hosting company hardware is |> * Single Intel E6300 CORE 2 DUO 1.86Ghz /1066MHz FSB /2MB L2 Cache * 2GB DDR2 RAM * 2x 250GB/7200 RPM Serial ATA Drives - Hot Swap; RAID1 * 3Ware 8006-2LP SATA RAID Controller * 2 10/100/1000 Ethernet ports |> |> Any of the above parts incompatabile with FreeBSD, or it has any bug ? | check what ethernet ports are. other should work fine. | |> They didnot mention the brand of ethernet ports | | if it's realteks, marvell etc. you will have a problems re(4) seems to be fine with most of them now under 7 | _______________________________________________ | 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" | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgld30ACgkQk8GFzCrQm4A+pwCg4nj6adxBmFbHBvPTjiAtFYVU Yb4AnjFn7Slfra7RjoMxXApuaIwR+w3s =G8CW -----END PGP SIGNATURE----- From product_info at gsm-secure.co.uk Sat May 10 10:32:00 2008 From: product_info at gsm-secure.co.uk (product_info@gsm-secure.co.uk) Date: Sat May 10 10:32:05 2008 Subject: GSM Access control system replaces key-fobs Message-ID: <2f76aec51cafa1818f0fe2e3be13e571@gsm-secure.co.uk> Hello, GSM-Secure offer products based on the GSM networks offering the ability to use a mobile phone to receive alerts, calls and also to control equipment via phone call or txt message. Thank you for your time in reading this e-mail. GSM-64 GSM Access Control system- This system will react to a phone call from a landline or mobile and open gates, barriers, doors, shutters, garage doors and road blocks. There is never a call cost in calling the unit as the call is disconnected without being answered. Security is in the fact that someone calling the unit has to know the mobile (cell) number of the SIM card with it and can also be backed up by Caller ID. The unit has a memory of 64 numbers and will only respond to a caller it knows the phone number of who is calling it. The unit can open: Gates Barriers Access doors Shutter doors Garage doors Ram barriers and road blockers and is ideal for use on : Residential properties. Gated communities. Small businesses with gates or access barriers and main entrance doors. Large business with road blocks, access doors and main entrances. More information & ordering this product can be found at http://www.gsm-secure.co.uk/gsm_opener.htm GSM Intercom system- This system enables a household or business to install an Intercom at their gates that can call mobile or landlines to announce the presence of a visitor. No more missed visitors waiting at gates only find no one is home or on the premises. This reduces the risks of a burglary due to the visitor never knowing if the owner is home or not. They will assume that the Intercom has been answered that there is someone home. When a call is received, the visitor can speak directly to the owner who then can make a decision whether or not to open the gates, door or barrier. Not only is it an Intercom, is has two other great features too: 1000 user Caller ID access control. Working in the same way as the GSM-64 mentioned earlier, the unit can store up to 1000 numbers. When a caller phones the unit and the number is recognised, the relay is triggered. Any unknown callers are disconnected and ignored. 2 input alarm or notification system. Connect these inputs to a sensor or monitoring system and the owner can be notified of events happening on site such as gates being forced or the property has unwelcome visitors. Alarms are sent as text or voice to nominated numbers. More information on this product can be found at http://www.gsm-secure.co.uk/gsm_intercom.htm Other products we have include, boat alarms, caravan alarms and house alarms that use wireless sensors as well as wired inputs for monitoring and the facility to switch on equipment such as heating, cooling, Jacuzzis and hot-tubs remotely using a quick call from a mobile phone. Alarms are reported by text message and then a phone call along with facilities to listen in to he premises to identify false alarm or an intruder. TRADE DISCOUNTS are available at http://www.gsm-secure.co.uk/dealeroffer.htm Thank-you http://www.gsm-secure.co.uk Although we would like to keep sending you information about our products we understand that you may wish to be removed from our list. If this is the case, please use the links at the bottom of this email to remove your email address. We will stop sending more emails and fully respect your wishes. -- If you do not want to receive any more newsletters, http://gsm-secure.co.uk/mailer/?p=unsubscribe&uid=aacf0ef99fe69bb12c3f37d7258d66b4 To update your preferences and to unsubscribe visit http://gsm-secure.co.uk/mailer/?p=preferences&uid=aacf0ef99fe69bb12c3f37d7258d66b4 Forward a Message to Someone http://gsm-secure.co.uk/mailer/?p=forward&uid=aacf0ef99fe69bb12c3f37d7258d66b4&mid=12 -- Powered by PHPlist, www.phplist.com -- From gnemmi at gmail.com Sat May 10 11:06:17 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Sat May 10 11:06:22 2008 Subject: mounting linux partitions In-Reply-To: References: Message-ID: <200805100806.06105.gnemmi@gmail.com> On Friday 09 May 2008 14:40:06 Isaac Mushinsky wrote: > Now I would like to mount ext3 partition from FreeBSD at least for reading, > or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I > can I mounted UFS2 paritions under Linux like this: [gonzalo@inferna ~]$ grep fbsd7 /etc/fstab /dev/sda9 /mnt/fbsd7 ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda11 /mnt/fbsd7/var ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda12 /mnt/fbsd7/tmp ufs ufstype=ufs2,user,auto,ro, 1 2 /dev/sda13 /mnt/fbsd7/usr ufs ufstype=ufs2,user,auto,ro, 1 2 [gonzalo@inferna ~]$ > $ mount -t etx2fs /dev/ad12s7 /linux > > but then if I do > > $ ls /linux > I get a 'Bad file descriptor' for directory /linux. e2fsprogs are > installed, and fsck.ext2 or fsck.ext3 think well of the partition. Also, df > seems to show it correctly, with size and free space. Same problem in here .. Same FS ... Using the same line ... I couldn't figure out a solution .. I either get a 'Bad file descriptor' for directory /linux' or $ ls /linux No such file or directory > I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition > is 'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's > fdisk shows a couple of ext3 partitions. However, /dev/ad12s7 does > correspond to the correct linux partition and, when mounted, df shows the > right size and utilization. FreeBSD 7.0 i386 and Linux i386 in here > Any advice how to share a partition between these 2 systems? I only want to > use linux to scan the film and store the pictures on disk, then boot into > FreeBSD where I spend most of my life as a user. I feel more comfortable > pulling from FreeBSD rather than pushing to it because (1) it is easier for > me to recompile FreeBSD kernel or install packages if necessary, and (2) I > would mind much less a corruption on the linux partition than on UFS; I can > simply reinstall the default installation for Linux, but FreeBSD has > important data and is finely tuned for me over the years. Same in here .. I've got all of my music on a ext3 partition and pdfs and pictures on another ext3 partition .. I only need to mount those two in order to get FreeBSD's Amarok access to my music collection. Any help will be greatly apprecciated .. Really -- Blessings Gonzalo Nemmi From mneumann at ntecs.de Sat May 10 11:13:08 2008 From: mneumann at ntecs.de (Michael Neumann) Date: Sat May 10 11:13:12 2008 Subject: tap -> wireless client bridging (WPA) Message-ID: <48257C5F.4030702@ntecs.de> Hi, I'd like to run Qemu on FreeBSD 7.0 and be able to connect from the Qemu instance to the internet. For this to work, I'd like to use a tap device and bridge it with a wireless (wpi) device. But it seems like both lagg and if_bridge doesn't yet support WPA security (or wireless clients). Anyone knows if this support will be added in 7.1 or maybe another good approach to my problem? Regards, Michael From wojtek at wojtek.tensor.gdynia.pl Sat May 10 12:17:33 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 12:17:36 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <4825777E.1060106@gmail.com> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> <4825777E.1060106@gmail.com> Message-ID: <20080510141526.H60043@wojtek.tensor.gdynia.pl> > | if it's realteks, marvell etc. you will have a problems > > re(4) seems to be fine with most of them now under 7 you mean it's IP checksums turned off by default in freebsd 7? if i turn it off in FreeBSD 6.3 - it works too. but you CAN NOT do ifconfig re0 down and ifconfig re0 up after 5-15 times it will lockup. now i use it at 100Mbps in one server, following this 2 things, works for a month now. From wojtek at wojtek.tensor.gdynia.pl Sat May 10 12:23:12 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 12:23:16 2008 Subject: freebsd7 on older machines In-Reply-To: <20080509133949.53b83c29@gom.home> References: <20080509133949.53b83c29@gom.home> Message-ID: <20080510142202.B60043@wojtek.tensor.gdynia.pl> > installation cdrom. > > i want to create a series of 'dumb terminals' which can ssh -Y into a make X server running - you will be able to remotely use X apps too. > faster machine. if necessary i suppose i can floppy in and then install > via nfs. or i can setup the hd on another machine that does support the > install cdrom and then transfer to the older machine. > > here are the specific questions: > > 1. do older machines work better with older versions of freebsd? should work with FreeBSD 7, but i would rather use 6.* > 2. if i dd a hd (with freebsd) onto another hd will i have a problem > with the mbr and be unable to boot? no. it will work From costas.magnuse at gmail.com Sat May 10 12:25:49 2008 From: costas.magnuse at gmail.com (constantine) Date: Sat May 10 12:25:54 2008 Subject: Installation with IP alias Message-ID: <30ddfdae0805100456s40f282c5w1479437513bbd7c3@mail.gmail.com> Dear FreeBSD Aficionados, I am trying to install FreeBSD in my notebook through an external USB CD-ROM. While the installation manager runs fine, after choosing the installation media it says it cannot mount /dev/acd0 (which refers to the notebook's built-in broken cdrom). What could I do? As an alternative I tried installing through FTP. The problem is that my network configuration has to be as such (with ip aliasing and some static routes): defaultrouter="192.168.1.1" static_routes="beastie puffy" route_beastie="-net 10.0.0.0/8 10.96.66.254" route_puffy="-net 10.96.66.253/32 10.96.66.2" hostname="payaso.costis.name" ifconfig_rl0="inet 10.96.66.2 netmask 255.255.255.0" ifconfig_rl0_alias0="inet 192.168.1.36 netmask 255.255.255.0" ... and the holographic emergency shell is somewhat hostile to running ifconfig/route: (command: not found) My DNS server is 10.96.66.1 Thank you very much in advance for any insights!... Yours, Constantine Tsardounis http://costis.name From dave.list at pixelhammer.com Sat May 10 13:14:58 2008 From: dave.list at pixelhammer.com (DAve) Date: Sat May 10 13:15:02 2008 Subject: freebsd7 on older machines In-Reply-To: <20080510142202.B60043@wojtek.tensor.gdynia.pl> References: <20080509133949.53b83c29@gom.home> <20080510142202.B60043@wojtek.tensor.gdynia.pl> Message-ID: <48259F4E.7040700@pixelhammer.com> Wojciech Puchar wrote: >> installation cdrom. >> >> i want to create a series of 'dumb terminals' which can ssh -Y into a > > make X server running - you will be able to remotely use X apps too. > >> faster machine. if necessary i suppose i can floppy in and then install >> via nfs. or i can setup the hd on another machine that does support the >> install cdrom and then transfer to the older machine. >> >> here are the specific questions: >> >> 1. do older machines work better with older versions of freebsd? > > should work with FreeBSD 7, but i would rather use 6.* > >> 2. if i dd a hd (with freebsd) onto another hd will i have a problem >> with the mbr and be unable to boot? > > no. it will work You can use rdump this way, I have done it many many times to "clone" a server from one piece of hardware to another. Boot with a live filesystem CD on the target machine Mount your partitions under /mnt/ufs.1, /mnt/ufs.2, /mnt/ufs.3 (etc) Then rdump from the source machine Edit your conf files Reboot Easy as pie ;^) DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From wojtek at wojtek.tensor.gdynia.pl Sat May 10 13:39:29 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 13:39:31 2008 Subject: freebsd7 on older machines In-Reply-To: <48259F4E.7040700@pixelhammer.com> References: <20080509133949.53b83c29@gom.home> <20080510142202.B60043@wojtek.tensor.gdynia.pl> <48259F4E.7040700@pixelhammer.com> Message-ID: <20080510153904.D60491@wojtek.tensor.gdynia.pl> >> no. it will work > > You can use rdump this way, I have done it many many times to "clone" a > server from one piece of hardware to another. but don't forget to bsdlabel -B then > > Boot with a live filesystem CD on the target machine > Mount your partitions under /mnt/ufs.1, /mnt/ufs.2, /mnt/ufs.3 (etc) > Then rdump from the source machine > Edit your conf files > Reboot > > Easy as pie ;^) > > DAve > > -- > In 50 years, our descendants will look back on the early years > of the internet, and much like we now look back on men with > rockets on their back and feathers glued to their arms, marvel > that we had the intelligence to wipe the drool from our chins. > _______________________________________________ > 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 gilles.ganault at free.fr Sat May 10 13:45:06 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat May 10 13:45:24 2008 Subject: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed Message-ID: Hello I got a bunch of PANIC messages this morning on a FreeBSD 6.3 host, and had to restart Samba: ======== [2008/05/10 10:28:51, 0] lib/util.c:smb_panic(1633) PANIC (pid 43086): tdb_reopen_all failed. [2008/05/10 10:28:51, 0] lib/util.c:log_stack_trace(1737) BACKTRACE: 3 stack frames: #0 0x8220341 at /usr/local/sbin/smbd #1 0x82b9389 at /usr/local/sbin/smbd #2 0x8086b8e <_start+118> at /usr/local/sbin/smbd [2008/05/10 10:28:51, 0] lib/fault.c:dump_core(181) dumping core in /var/log/samba/cores/smbd [2008/05/10 10:29:59, 0] lib/util_tdb.c:tdb_log(664) tdb(/var/db/samba/locking.tdb): tdb_reopen: open failed (No such file or directory) [2008/05/10 10:29:59, 0] smbd/server.c:open_sockets_smbd(572) tdb_reopen_all failed. ======== FWIW, I downloaded the latest ports and compiled it recently to get samba-3.0.28a,1. I didn't get this type of error with the previous version. Is it possible to downgrade to a stable version? Thank you. From dave.list at pixelhammer.com Sat May 10 13:52:26 2008 From: dave.list at pixelhammer.com (DAve) Date: Sat May 10 13:52:31 2008 Subject: freebsd7 on older machines In-Reply-To: <20080510153904.D60491@wojtek.tensor.gdynia.pl> References: <20080509133949.53b83c29@gom.home> <20080510142202.B60043@wojtek.tensor.gdynia.pl> <48259F4E.7040700@pixelhammer.com> <20080510153904.D60491@wojtek.tensor.gdynia.pl> Message-ID: <4825A816.8040307@pixelhammer.com> Wojciech Puchar wrote: >>> no. it will work >> >> You can use rdump this way, I have done it many many times to "clone" >> a server from one piece of hardware to another. > but don't forget to bsdlabel -B then > > >> >> Boot with a live filesystem CD on the target machine >> Mount your partitions under /mnt/ufs.1, /mnt/ufs.2, /mnt/ufs.3 (etc) The trick is the live CD. You setup the drives/partitions first. You mount them ready to go on the target machine before you rdump. DAve >> Then rdump from the source machine >> Edit your conf files >> Reboot >> >> Easy as pie ;^) >> >> DAve >> >> -- >> In 50 years, our descendants will look back on the early years >> of the internet, and much like we now look back on men with >> rockets on their back and feathers glued to their arms, marvel >> that we had the intelligence to wipe the drool from our chins. >> _______________________________________________ >> 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" > > -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From hakmi at rogers.com Sat May 10 13:59:30 2008 From: hakmi at rogers.com (Tamouh H.) Date: Sat May 10 13:59:35 2008 Subject: Upgrading 5.4 to 7.0 Error on Kernel Message-ID: <019101c8b2a2$107358a0$6900a8c0@tamouh> Hi, I'm trying to upgrade from 5.4 i386 to 7.0 latest release. But I'm having a bit of problem with the upgrade for some reason. This is what has been done so far: - deleted /usr/src/* - cvsup -g -L 2 to RELENG_7_0 src-all - deleted /usr/obj/* - in /usr/src make clean The error occurs when doing: make kernel-toolchain ===> usr.bin/gencat (obj,depend,all,install) /usr/obj/usr/src/tmp/usr/src/usr.bin/gencat created for /usr/src/usr.bin/gencat rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/usr.bin/gencat/gencat.c echo gencat: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend cc -O2 -fno-strict-aliasing -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/usr.bin/gencat/gencat.c In file included from /usr/src/usr.bin/gencat/gencat.c:88: /usr/obj/usr/src/tmp/legacy/usr/include/nl_types.h:100: error: syntax error before "__format_arg" *** Error code 1 Stop in /usr/src/usr.bin/gencat. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any tips on how to get this update? Or should I move to 6.x then 7.x ? Thanks, Tamouh Hakmi From girish at hri.res.in Sat May 10 16:06:17 2008 From: girish at hri.res.in (Girish Kulkarni) Date: Sat May 10 16:06:21 2008 Subject: Installing Xfce4: Request for help Message-ID: <8a2141c0805100837t35dc3123m8639ec92a0881aec@mail.gmail.com> Hello, I am trying in install Xfce4 in FreeBSD 7.0 on my laptop. I try to use the ports by saying: ----- # cd /usr/ports/x11-wm/xfce4 # make install clean ----- But then I get the following error: ----- ===> Installing for xfce-4.4.2 ===> xfce-4.4.2 depends on file: /usr/local/lib/xfce4/mcs-plugins/ui_plugin.so - found ===> xfce-4.4.2 depends on executable: xfwm4 - not found ===> Verifying install for xfwm4 in /usr/ports/x11-wm/xfce4-wm ===> Patching for xfce4-wm-4.4.2 ===> Applying extra patch /usr/ports/x11-wm/xfce4-wm/files/extrapatch-src__events.c Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to src/events.c.rej *** Error code 1 Stop in /usr/ports/x11-wm/xfce4-wm. *** Error code 1 Stop in /usr/ports/x11-wm/xfce4-wm. *** Error code 1 Stop in /usr/ports/x11-wm/xfce4. ----- I am clueless. Could somebody help? Thanks, Girish. -- Girish Kulkarni - Allahabad, India - http://girish.50webs.com From aryeh.friedman at gmail.com Sat May 10 16:22:28 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sat May 10 16:22:32 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <20080510141526.H60043@wojtek.tensor.gdynia.pl> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> <4825777E.1060106@gmail.com> <20080510141526.H60043@wojtek.tensor.gdynia.pl> Message-ID: <4825CBB9.8030602@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wojciech Puchar wrote: |> | if it's realteks, marvell etc. you will have a problems |> |> re(4) seems to be fine with most of them now under 7 | | you mean it's IP checksums turned off by default in freebsd 7? | | if i turn it off in FreeBSD 6.3 - it works too. but you CAN NOT do ifconfig re0 down and ifconfig re0 up | | after 5-15 times it will lockup. | | | now i use it at 100Mbps in one server, following this 2 things, works for a month now. | I am using 8-CURRENT and no such issue. Details: uname: FreeBSD ool-435559b8.dyn.optonline.net 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Fri May 9 01:10:47 EDT 2008 aryeh@ool-435559b8.dyn.optonline.net:/usr/obj/usr/src/sys/MONSTER amd64 /etc/rc: #!/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin sysctl net.inet.udp.blackhole=1 sysctl net.inet.tcp.blackhole=2 swapon -a fsck -p mount -rw / mount -a kldload /usr/local/modules/fuse.ko hostname ool-435559b8.dyn.optonline.net ifconfig re0 192.168.2.2 ifconfig lo0 127.0.0.1 route add default 192.168.2.1 named inetd noip2 /usr/sbin/sshd ntpdate north-america.pool.ntp.org cupsd sendmail -bd -q1m apachectl start moused -t auto -p /dev/ums0 vidcontrol -m on Relevent portions of dmesg: re0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 17 at device 0.0 on pci4 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:19:db:b5:f8:0f re0: [FILTER] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgly7kACgkQk8GFzCrQm4AxFQCbBJWm/JHHxzwLC/xTPrFAHAgL T6sAn0x3+6rJeiFRO30HvCsOMoKiHGMu =I3k/ -----END PGP SIGNATURE----- From kenneth.hatteland at kleppnett.no Sat May 10 17:15:47 2008 From: kenneth.hatteland at kleppnett.no (kenneth hatteland) Date: Sat May 10 17:15:55 2008 Subject: : freebsd7 on older machines Message-ID: <4825D1BA.4000105@kleppnett.no> ------------------------------ Message: 7 Date: Fri, 09 May 2008 13:39:49 -0700 From: prad Subject: freebsd7 on older machines To: freebsd-questions@freebsd.org Message-ID: <20080509133949.53b83c29@gom.home> Content-Type: text/plain; charset=US-ASCII i can't seem to boot the cdrom on older hardware (500MHz and down). i read somewhere that the older drives aren't supported by the installation cdrom. i want to create a series of 'dumb terminals' which can ssh -Y into a faster machine. if necessary i suppose i can floppy in and then install via nfs. or i can setup the hd on another machine that does support the install cdrom and then transfer to the older machine. here are the specific questions: 1. do older machines work better with older versions of freebsd? 2. if i dd a hd (with freebsd) onto another hd will i have a problem with the mbr and be unable to boot? 3. are there any other ideas for install? -- In friendship, prad I have with success installed 7.0 on a pentium 133 mhz laptop with 96 meg ram. compiled X and fluxbox from source. The whole installation took a week or so ;) Works like a charm, except firefox is heavy load for this ancient piece of machinery. Also use xfce compiled from source on old 350 - 450mhz machines nicely. I usually use cdrom boot and then ftp install. On machines with no cd, or no working rom drives I use floppy boot versions of FreeBSD and then ftp the rest of the install. When wanting to use cdrom boot where I have no floppy, or bios doesn`t support cdrom boot (ie no bios upgrade to fix it either) I use a floppy tool called "smart boot manager" that when booted enables me to continue on most other media of my desire.( gives a new boot menu with among others cdrom driver loaded) I suggest this option for your convenience...... Kenneth Hatteland, Norway From dennis_flynn at yahoo.com Sat May 10 19:17:27 2008 From: dennis_flynn at yahoo.com (Dennis Flynn) Date: Sat May 10 19:17:32 2008 Subject: root login stops working Message-ID: <812883.11120.qm@web54010.mail.re2.yahoo.com> I'm running FreeBSD wx.dennis-flynn.net 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 About a day after install root login no longer works - even on the console. I see the following in /var/log/auth.log: May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: And in /var/log/messages: May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) New to FreeBSD after using Linux for a long time. I'd really like to get this to workfor my web server/weather station which is currently running on Debian Linux. Thanks Dennis Flynn Home Work --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. From freebsd-questions at slightlystrange.org Sat May 10 19:35:01 2008 From: freebsd-questions at slightlystrange.org (Daniel Bye) Date: Sat May 10 19:35:06 2008 Subject: Installing Xfce4: Request for help In-Reply-To: <8a2141c0805100837t35dc3123m8639ec92a0881aec@mail.gmail.com> References: <8a2141c0805100837t35dc3123m8639ec92a0881aec@mail.gmail.com> Message-ID: <20080510193453.GD1181@torus.slightlystrange.org> On Sat, May 10, 2008 at 09:07:15PM +0530, Girish Kulkarni wrote: > Hello, > > I am trying in install Xfce4 in FreeBSD 7.0 on my laptop. I try to use > the ports by saying: > > ----- > # cd /usr/ports/x11-wm/xfce4 > # make install clean > ----- > > But then I get the following error: > > ----- > ===> Installing for xfce-4.4.2 > ===> xfce-4.4.2 depends on file: > /usr/local/lib/xfce4/mcs-plugins/ui_plugin.so - found > ===> xfce-4.4.2 depends on executable: xfwm4 - not found > ===> Verifying install for xfwm4 in /usr/ports/x11-wm/xfce4-wm > ===> Patching for xfce4-wm-4.4.2 > ===> Applying extra patch > /usr/ports/x11-wm/xfce4-wm/files/extrapatch-src__events.c > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to src/events.c.rej > *** Error code 1 > > Stop in /usr/ports/x11-wm/xfce4-wm. > *** Error code 1 > > Stop in /usr/ports/x11-wm/xfce4-wm. > *** Error code 1 > > Stop in /usr/ports/x11-wm/xfce4. > ----- > > I am clueless. Could somebody help? Try running a make clean in x11-wm/xfce4-wm and have another go - it looks like some kind of artefact from a previous, unsuccessful attempt to build it. portsclean, part of the portupgrade package, can help with things like this - run portsclean -CDD every so often to keep your workdirs clean, and to remove distfiles for ports that aren't installed. 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/20080510/ba9ae1e8/attachment.pgp From noc at hdk5.net Sat May 10 19:42:05 2008 From: noc at hdk5.net (Al Plant) Date: Sat May 10 19:42:10 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <20080510115039.H59529@wojtek.tensor.gdynia.pl> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> Message-ID: <4825FA8C.2000306@hdk5.net> Wojciech Puchar wrote: >> to the 4.8-R > > if your things work fine - keep as is don't change both software and > hardware. > > >> For a commercial use server >> 1) Which version do you recommend, shall I go for 7.0-R ? >> or 6.3-R. > > 6.3 > >> >> 2) Hosting company hardware is >> * Single Intel E6300 CORE 2 DUO 1.86Ghz /1066MHz FSB /2MB L2 >> Cache * 2GB DDR2 RAM * 2x 250GB/7200 RPM Serial ATA Drives - Hot >> Swap; RAID1 * 3Ware 8006-2LP SATA RAID Controller * 2 >> 10/100/1000 Ethernet ports >> >> Any of the above parts incompatabile with FreeBSD, or it has any bug ? > check what ethernet ports are. other should work fine. > >> They didnot mention the brand of ethernet ports > > if it's realteks, marvell etc. you will have a problems > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Aloha. From my own experience: Realtek pci 1000 8169 re0 work fine and are stable. The TrendNet brand has corrected the previous issues with the on board cards. These 8169 cards are plug in pci that work fine (not on board). ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From wojtek at wojtek.tensor.gdynia.pl Sat May 10 20:14:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 20:15:03 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <4825CBB9.8030602@gmail.com> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> <4825777E.1060106@gmail.com> <20080510141526.H60043@wojtek.tensor.gdynia.pl> <4825CBB9.8030602@gmail.com> Message-ID: <20080510221058.O62237@wojtek.tensor.gdynia.pl> > > FreeBSD ool-435559b8.dyn.optonline.net 8.0-CURRENT FreeBSD 8.0-CURRENT #3: > Fri May 9 01:10:47 EDT 2008 > aryeh@ool-435559b8.dyn.optonline.net:/usr/obj/usr/src/sys/MONSTER amd64 nice /etc/rc :) From wojtek at wojtek.tensor.gdynia.pl Sat May 10 20:14:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat May 10 20:15:04 2008 Subject: advice needed regarding OS & Hardware. In-Reply-To: <4825FA8C.2000306@hdk5.net> References: <20080510115039.H59529@wojtek.tensor.gdynia.pl> <4825FA8C.2000306@hdk5.net> Message-ID: <20080510221359.G62532@wojtek.tensor.gdynia.pl> > > From my own experience: > Realtek pci 1000 8169 re0 work fine and are stable. The TrendNet brand has > corrected the previous issues with the on board cards. > These 8169 cards are plug in pci that work fine (not on board). possibly newer (fixed) chip revision. 100Mbit/s realteks now are all fine too, after long long time since first were made. From anujhere at gmail.com Sat May 10 20:36:18 2008 From: anujhere at gmail.com (=?UTF-8?Q?=E0=A4=85=E0=A4=A8=E0=A5=81=E0=A4=9C_Anuj_Singh?=) Date: Sat May 10 20:36:21 2008 Subject: root login stops working In-Reply-To: <812883.11120.qm@web54010.mail.re2.yahoo.com> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> Message-ID: <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> Direct root login is disabled by default. are you able to login from your 10.11.12.104 as a non root user? What client software are you using on your 10.11.12.104 for logging on to your freebsd? On Sun, May 11, 2008 at 12:20 AM, Dennis Flynn wrote: > I'm running FreeBSD wx.dennis-flynn.net 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 > > About a day after install root login no longer works - even on the console. > > I see the following in /var/log/auth.log: > May 10 14:22:37 wx sshd[86223]: Accepted password for root from > 10.11.12.104 port 1492 ssh2 > May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: > > And in /var/log/messages: > May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 > (core dumped) > > New to FreeBSD after using Linux for a long time. I'd really like to get > this to workfor my web server/weather station which is currently running on > Debian Linux. > > Thanks > > > Dennis Flynn > > Home > Work > > > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > _______________________________________________ > 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 Sat May 10 21:01:15 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat May 10 21:01:19 2008 Subject: root login stops working In-Reply-To: <812883.11120.qm@web54010.mail.re2.yahoo.com> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> Message-ID: <200805102300.41775.fbsd.questions@rachie.is-a-geek.net> On Saturday 10 May 2008 20:50:46 Dennis Flynn wrote: > I'm running FreeBSD wx.dennis-flynn.net 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 > > About a day after install root login no longer works - even on the console. > > I see the following in /var/log/auth.log: > May 10 14:22:37 wx sshd[86223]: Accepted password for root from > 10.11.12.104 port 1492 ssh2 May 10 14:22:37 wx sshd[86223]: Received > disconnect from 10.11.12.104: 0: > > And in /var/log/messages: > May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 > (core dumped) Looks like you got hacked, the tell-tale being "ip port ####". http://security.freebsd.org/advisories/FreeBSD-SA-08:05.openssh.asc -- 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 May 10 21:08:48 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat May 10 21:08:52 2008 Subject: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed In-Reply-To: References: Message-ID: <200805102308.45970.fbsd.questions@rachie.is-a-geek.net> On Saturday 10 May 2008 15:40:02 Gilles wrote: > [2008/05/10 10:29:59, 0] lib/util_tdb.c:tdb_log(664) > tdb(/var/db/samba/locking.tdb): tdb_reopen: open failed (No such > file or directory) > FWIW, I downloaded the latest ports and compiled it recently to get > samba-3.0.28a,1. I didn't get this type of error with the previous > version. Is it possible to downgrade to a stable version? Not sure it's related, but did you read the message you get before you installed this version? ( cd /usr/ports/net/samba3 && make pre-everything) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From wahjava.ml at gmail.com Sat May 10 21:08:58 2008 From: wahjava.ml at gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) Date: Sat May 10 21:09:03 2008 Subject: root login stops working In-Reply-To: <812883.11120.qm@web54010.mail.re2.yahoo.com> (Dennis Flynn's message of "Sat, 10 May 2008 11:50:46 -0700 (PDT)") References: <812883.11120.qm@web54010.mail.re2.yahoo.com> Message-ID: <87ve1l987v.fsf@chateau.d.lf> >>>>> "Dennis" == Dennis Flynn writes: Dennis> I'm running FreeBSD wx.dennis-flynn.net 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 Dennis> About a day after install root login no longer works - even on the console. Dennis> I see the following in /var/log/auth.log: Dennis> May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 Dennis> May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: Dennis> And in /var/log/messages: Dennis> May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) Looks like your shell segfaulted during login., resulting in your ssh session being aborted. How about booting in single user mode ? And does your installation underwent any filesystem recovery ? You can try reinstalling csh from freebsd installation disc, and then try. HTH -- Ashish Shukla ???? ????? http://wahjava.wordpress.com/ ?-- ?- ???? ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- -- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080510/f8630503/attachment.pgp From pieter at degoeje.nl Sat May 10 21:43:13 2008 From: pieter at degoeje.nl (Pieter de Goeje) Date: Sat May 10 21:43:16 2008 Subject: Installation with IP alias In-Reply-To: <30ddfdae0805100456s40f282c5w1479437513bbd7c3@mail.gmail.com> References: <30ddfdae0805100456s40f282c5w1479437513bbd7c3@mail.gmail.com> Message-ID: <200805102343.02976.pieter@degoeje.nl> On Saturday 10 May 2008, constantine wrote: > Dear FreeBSD Aficionados, > > I am trying to install FreeBSD in my notebook through an external USB > CD-ROM. While the installation manager runs fine, after choosing the > installation media it says it cannot mount /dev/acd0 (which refers to > the notebook's built-in broken cdrom). > What could I do? > > As an alternative I tried installing through FTP. The problem is that > my network configuration has to be as such (with ip aliasing and some > static routes): > defaultrouter="192.168.1.1" > static_routes="beastie puffy" > route_beastie="-net 10.0.0.0/8 10.96.66.254" > route_puffy="-net 10.96.66.253/32 10.96.66.2" > hostname="payaso.costis.name" > ifconfig_rl0="inet 10.96.66.2 netmask 255.255.255.0" > ifconfig_rl0_alias0="inet 192.168.1.36 netmask 255.255.255.0" > > ... and the holographic emergency shell is somewhat hostile to running > ifconfig/route: (command: not found) > > My DNS server is 10.96.66.1 > > > Thank you very much in advance for any insights!... > > Yours, > > Constantine Tsardounis > http://costis.name You could try the livefs CD, which should have everything you need to get the network working. I suppose you could then install from FTP using sysinstall. If that doesn't work you could install FreeBSD on a USB (flash?) disk, boot from it, then basically copy the whole USB disk to the HDD of your laptop, or something like that. Good Luck! Pieter de Goeje From fbsd.questions at rachie.is-a-geek.net Sat May 10 21:56:30 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat May 10 21:56:33 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <20080510090439.U58698@wojtek.tensor.gdynia.pl> References: <482473B7.7070707@pixelhammer.com> <4824CEE7.6070605@infracaninophile.co.uk> <20080510090439.U58698@wojtek.tensor.gdynia.pl> Message-ID: <200805102356.28171.fbsd.questions@rachie.is-a-geek.net> On Saturday 10 May 2008 09:10:37 Wojciech Puchar wrote: > >> and what most unix users do. > > > > It is what a lot of unix users have done historically, but now that there > > is > > and still most do. > > > It's not a "Unix way" versus "Other OS Way" thing -- its a response to > > the change > > in direction hardware development has taken over the past several years. > > Chip > > on multichip hardware you can do many different things too - even faster > as it's spread over cores. Do you realize your own arguments are in favor of moving to 7.x? Since the concurrency on 7.x with ULE has improved so much more, running multiprogram pipelines or completely different programs will improve as well. And as a bonus you get improved threading for the programs that use them. Secondly, the unix way would be the way that scales best and in practice, machines dedicated to one task scale easier then machines that do it all, especially since you can tune the hardware and kernel. Thirdly, unix also got big, because it was able to split one task over multiple machines. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From gilles.ganault at free.fr Sat May 10 22:20:09 2008 From: gilles.ganault at free.fr (Gilles) Date: Sat May 10 22:20:14 2008 Subject: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed References: <200805102308.45970.fbsd.questions@rachie.is-a-geek.net> Message-ID: On Sat, 10 May 2008 23:08:45 +0200, Mel wrote: >Not sure it's related, but did you read the message you get before you >installed this version? >( cd /usr/ports/net/samba3 && make pre-everything) # cd /usr/ports/net/samba3 && make pre-everything ===> NOTICE: This version of port has changed location of Samba password ===> NOTICE: (smbpasswd) directory. Files in '/usr/local/private' ===> NOTICE: have moved to '/usr/local/etc/samba'. No problem there. I did create my own /usr/local/etc/smb.conf, and smbpasswd is living under /usr/local/etc/samba/. The n-1 version worked fine, and this version was installed about a week ago. From murray at stokely.org Sat May 10 22:32:45 2008 From: murray at stokely.org (Murray Stokely) Date: Sat May 10 22:32:48 2008 Subject: Article on implementing UFS journaling on desktop PCs (updated) In-Reply-To: <4814B628.7090307@otenet.gr> References: <4810BCC4.9090401@otenet.gr> <4814B628.7090307@otenet.gr> Message-ID: <2a7894eb0805101508v4728bdffq536737cdab751eda@mail.gmail.com> I'm just getting caught up on my -doc mail. This is a great article. Thanks for writing it up! - Murray On Sun, Apr 27, 2008 at 10:21 AM, Manolis Kiagias wrote: > > I have just updated my recent article on journaling for desktops: > > http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html > > Main differences: > > - The abstract is somewhat shorter > > - Separate providers for journal and data are needed only when the partition > to be journaled is not empty. This is now clarified in the "Understanding > journaling" section. > > - A new section "Journaling new partitions" was added (explains how to use a > single provider for data / journal on an empty/new partition and how to set > the size of the journal) > > - A "further reading" section was added with a few links related to > journaling. > > - Various other small fixes in content / markup. > > Please review this new revision and send me your comments. > > Thanks > Manolis > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" > From fbsd.questions at rachie.is-a-geek.net Sat May 10 22:48:04 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Sat May 10 22:48:08 2008 Subject: BSDL C data structure library In-Reply-To: <4818CBB6.2050901@comcast.net> References: <48189C0F.5000108@comcast.net> <4818CBB6.2050901@comcast.net> Message-ID: <200805110048.01052.fbsd.questions@rachie.is-a-geek.net> On Wednesday 30 April 2008 21:42:46 Nathan Lay wrote: > Thanks for all the prompt responses. I knew about the macros but was > thinking of something more automated and complete (in the sense that all > common data structures are supported). While looking for an AVL library, I actually found devel/libds in ports. BSD licensed. Hasn't been modified in ages, but that's good - it's finished :p -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From mail at chdevelopment.se Sat May 10 23:15:05 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Sat May 10 23:15:25 2008 Subject: How to config ipv6 for this instance In-Reply-To: References: Message-ID: <48262C76.1050705@chdevelopment.se> Xiaobo Zhu wrote: > Hi, > I have read the handbook and spent hours on the configuration of ipv6 > on laptop, but still can't get it done. > The local network administrator only suggest the following steps to > setup ipv6 on windows xp and it works fine on that platform. I just > don't know to get it work on FreeBSD, would anyone guide me in detail > so I can also help the people aroud me. > Many thanks! > I haven't tried this but look in in the FreeBSD handbook (29.11.5.2 IPv6 Router/Gateway Settings) file:///usr/share/doc/en_US.ISO8859-1/books/handbook/index.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html -- Christer Hermansson From mail at chdevelopment.se Sat May 10 23:16:21 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Sat May 10 23:16:26 2008 Subject: How to config ipv6 for this instance In-Reply-To: <20080510090337.A58698@wojtek.tensor.gdynia.pl> References: <20080510090337.A58698@wojtek.tensor.gdynia.pl> Message-ID: <48262CC3.9050100@chdevelopment.se> Wojciech Puchar wrote: >> on laptop, but still can't get it done. >> The local network administrator only suggest the following steps to >> setup ipv6 on windows xp and it works fine on that platform. I just >> don't know to get it work on FreeBSD, would anyone guide me in detail >> so I can also help the people aroud me. >> Many thanks! >> >> // The following steps make ipv6 works fine on windows xp >> ipv6 install >> netsh > interface ipv6 isatap set router 202.112.95.129 >> netsh >interface ipv6 add route ::/0 2 >> 2001:da8:207:1:0:5efe:202.112.95.129 > no idea what is "isatap" Wikipedia got a good description http://en.wikipedia.org/wiki/ISATAP -- Christer Hermansson From mail at chdevelopment.se Sat May 10 23:22:36 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Sat May 10 23:22:42 2008 Subject: How to config ipv6 for this instance In-Reply-To: <48262C76.1050705@chdevelopment.se> References: <48262C76.1050705@chdevelopment.se> Message-ID: <48262E3A.3050304@chdevelopment.se> Christer Hermansson wrote: > Xiaobo Zhu wrote: >> Hi, >> I have read the handbook and spent hours on the configuration of ipv6 >> on laptop, but still can't get it done. >> The local network administrator only suggest the following steps to >> setup ipv6 on windows xp and it works fine on that platform. I just >> don't know to get it work on FreeBSD, would anyone guide me in detail >> so I can also help the people aroud me. >> Many thanks! > I haven't tried this but look in in the FreeBSD handbook (29.11.5.2 > IPv6 Router/Gateway Settings) > > file:///usr/share/doc/en_US.ISO8859-1/books/handbook/index.html > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > Sorry !! I was looking more at the windows example and your config in your posting and missed that you already read the handbook. -- Christer Hermansson From mail at chdevelopment.se Sat May 10 23:43:13 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Sat May 10 23:43:18 2008 Subject: How to config ipv6 for this instance In-Reply-To: References: Message-ID: <4826330F.3020005@chdevelopment.se> Xiaobo Zhu wrote: > Hi, > I have read the handbook and spent hours on the configuration of ipv6 > on laptop, but still can't get it done. > The local network administrator only suggest the following steps to > setup ipv6 on windows xp and it works fine on that platform. I just > don't know to get it work on FreeBSD, would anyone guide me in detail > so I can also help the people aroud me. > Many thanks! > > You should use Miredo ( /usr/ports/net/miredo ) That have a isatap implementation. -- Christer Hermansson From dan at langille.org Sun May 11 04:10:11 2008 From: dan at langille.org (Dan Langille) Date: Sun May 11 04:10:14 2008 Subject: The FreeBSD Diary: 2008-04-20 - 2008-05-10 Message-ID: <20080511041003.49F52509EF@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 . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From wojtek at wojtek.tensor.gdynia.pl Sun May 11 06:21:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 11 06:21:51 2008 Subject: How to config ipv6 for this instance In-Reply-To: <48262CC3.9050100@chdevelopment.se> References: <20080510090337.A58698@wojtek.tensor.gdynia.pl> <48262CC3.9050100@chdevelopment.se> Message-ID: <20080511081610.C66214@wojtek.tensor.gdynia.pl> >>> netsh > interface ipv6 isatap set router 202.112.95.129 >>> netsh >interface ipv6 add route ::/0 2 >>> 2001:da8:207:1:0:5efe:202.112.95.129 >> no idea what is "isatap" > Wikipedia got a good description > > http://en.wikipedia.org/wiki/ISATAP > strange that their admin can do this on router and give users native IPv6. From albert.bowen at gmail.com Sun May 11 06:55:26 2008 From: albert.bowen at gmail.com (Xiaobo Zhu) Date: Sun May 11 06:55:29 2008 Subject: How to config ipv6 for this instance In-Reply-To: <4826330F.3020005@chdevelopment.se> References: <4826330F.3020005@chdevelopment.se> Message-ID: thanks for your reply. I install miredo and study the manual, it seems that the default setting of midero works fine, so I just setup teredo as follows, but it still can't work. would you please figure out what is wrong with it, or give me a configuration guide in detail. Thanks in advance! // asign the ipv6 add ifconfig teredo inet6 2001:da8:207:1:0:5efe.172.16.120.226 // setup the default router ifconfig teredo isatap rtr 202.112.95.129 On Sun, May 11, 2008 at 7:43 AM, Christer Hermansson wrote: > Xiaobo Zhu wrote: > > > Hi, > > I have read the handbook and spent hours on the configuration of ipv6 > > on laptop, but still can't get it done. > > The local network administrator only suggest the following steps to > > setup ipv6 on windows xp and it works fine on that platform. I just > > don't know to get it work on FreeBSD, would anyone guide me in detail > > so I can also help the people aroud me. > > Many thanks! > > > > > > > > You should use Miredo ( /usr/ports/net/miredo ) > > That have a isatap implementation. > > -- > > Christer Hermansson > > > > From nicolas at nicoelro.net Sun May 11 07:04:43 2008 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Sun May 11 07:04:47 2008 Subject: Apache and Environment Message-ID: <482696F8.9090401@nicoelro.net> Hello. I use apache13 and php5. When I do a phpinfo(), I can see in "Environment" sensibles datas when I launch apache in root. I see all my env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR, OSTYPE, LANG, etc, etc...). So, we see informations about user who launched apache. When apache is launched as boot (with apache_enable="YES"), I don't see these informations. I only see: HOME / PATH /sbin:/bin:/usr/sbin:/usr/bin RC_PID 39 PWD / This is OK. There is no critical informations. How could I launch apache and mask these informations? I must reboot to have this default datas, else I see environment data about the user who lauch it. Thanks. -- - Nicolas. From nishita at mri.ernet.in Sun May 11 07:10:36 2008 From: nishita at mri.ernet.in (Nishita Desai) Date: Sun May 11 07:10:41 2008 Subject: Xfce with graphical login Message-ID: Hello, I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it to directly give me a graphical login. The Xfce manual says this can be done using gdm. According to it, I need to copy the example file "xfce44.desktop" into /usr/X11R6/share/xsessions. The example file is supposed to be located in /usr/local/share/examples (since Xfce is installed in /usr/local.) But there is no such file. 1. Is there any other location this file could be? (`locate` cannot find it.) 2. Can I download it from somewhere? Googling did not give anything. 3. Will anyone be kind enough to send me a copy by email? It is strange why the file's not there. Xfce was installed using pkg_add (the port was giving some error in compilation which I could not solve) and is working nicely without any obvious problems. Thanks, Nishita. -- http://nishita.50webs.com/ From frase at frase.id.au Sun May 11 07:18:46 2008 From: frase at frase.id.au (Fraser Tweedale) Date: Sun May 11 07:18:53 2008 Subject: Xfce with graphical login In-Reply-To: References: Message-ID: <48269DC4.5080702@frase.id.au> Nishita Desai wrote: > Hello, > > I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it > to directly give me a graphical login. The Xfce manual says this can > be done using gdm. According to it, I need to copy the example file > "xfce44.desktop" into /usr/X11R6/share/xsessions. The example file is > supposed to be located in /usr/local/share/examples (since Xfce is > installed in /usr/local.) But there is no such file. > > 1. Is there any other location this file could be? (`locate` cannot find it.) > 2. Can I download it from somewhere? Googling did not give anything. > 3. Will anyone be kind enough to send me a copy by email? > > It is strange why the file's not there. Xfce was installed using > pkg_add (the port was giving some error in compilation which I could > not solve) and is working nicely without any obvious problems. > > Thanks, > Nishita. > As an Xfce user, I've always found gdm to be more trouble than it's worth. Have you had a look at /usr/ports/x11/slim - it's a nice, lightweight graphical login manager. frase -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080511/9a6f6b71/signature-0001.pgp From sonicy at otenet.gr Sun May 11 08:27:00 2008 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sun May 11 08:27:05 2008 Subject: Xfce with graphical login In-Reply-To: References: Message-ID: <4826ADD1.5040003@otenet.gr> Nishita Desai wrote: > Hello, > > I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it > to directly give me a graphical login. The Xfce manual says this can > be done using gdm. According to it, I need to copy the example file > "xfce44.desktop" into /usr/X11R6/share/xsessions. The example file is > supposed to be located in /usr/local/share/examples (since Xfce is > installed in /usr/local.) But there is no such file. > > 1. Is there any other location this file could be? (`locate` cannot find it.) > 2. Can I download it from somewhere? Googling did not give anything. > 3. Will anyone be kind enough to send me a copy by email? > > It is strange why the file's not there. Xfce was installed using > pkg_add (the port was giving some error in compilation which I could > not solve) and is working nicely without any obvious problems. > > Thanks, > Nishita. > > This is the quick way to add XFCE to your "sessions" menu in GDM: First of all, make sure you have gdm_enable="YES" in /etc/rc.conf (I assume you already have this) Now, create a file in: /usr/local/etc/dm/Sessions Name it something like xfce44.desktop and type the following into it (adjust as needed): [Desktop Entry] Encoding=UTF-8 Name=XFCE4 Comment=This session logs you into XFCE4 Exec=/usr/local/bin/startxfce4 TryExec=/usr/local/bin/startxfce4 Icon= Type=Application Reboot, and when the GDM login screen appears, you will be able to select XFCE4 from the Sessions menu. Hope this helps, Manolis From nishita at mri.ernet.in Sun May 11 08:56:25 2008 From: nishita at mri.ernet.in (Nishita Desai) Date: Sun May 11 08:56:29 2008 Subject: Xfce with graphical login In-Reply-To: <4826ADD1.5040003@otenet.gr> References: <4826ADD1.5040003@otenet.gr> Message-ID: On Sun, May 11, 2008 at 12:48 PM, Fraser Tweedale wrote: > As an Xfce user, I've always found gdm to be more trouble than > it's worth. Have you had a look at /usr/ports/x11/slim - it's > a nice, lightweight graphical login manager. On Sun, May 11, 2008 at 1:56 PM, Manolis Kiagias wrote: > This is the quick way to add XFCE to your "sessions" menu in > GDM: > [...] > Reboot, and when the GDM login screen appears, you will be able > to select XFCE4 from the Sessions menu. Thank you both of you for your help. I've installed Slim and it works great. Thanks again, Nishita. From xorquewasp at googlemail.com Sun May 11 09:56:02 2008 From: xorquewasp at googlemail.com (xorquewasp@googlemail.com) Date: Sun May 11 09:56:16 2008 Subject: gcc42 and profiling Message-ID: <20080511093039.GA33095@logik.internal.network> Whist trying to compile a program using the gcc42 (actually gnat-gcc42) port, using the -pg flag for profiling, I got the following upon linking: cc -pg -c -o prog.o prog.c cc -pg -o prog prog.o /usr/bin/ld: cannot find -lgcc_p I'm assuming this means that profiling libraries for the compiler are missing. What do I need to do to get working libraries from the port? There doesn't appear to be anything to set in the Makefile or any port options whatsoever. Please CC: me as I'm not subscribed. From xorquewasp at googlemail.com Sun May 11 10:11:21 2008 From: xorquewasp at googlemail.com (xorquewasp@googlemail.com) Date: Sun May 11 10:11:26 2008 Subject: gcc42 and profiling In-Reply-To: <20080511093039.GA33095@logik.internal.network> References: <20080511093039.GA33095@logik.internal.network> Message-ID: <20080511101132.GA88979@logik.internal.network> Please ignore my last post. I somehow neglected to install the proflibs distribution. From mneumann at ntecs.de Sun May 11 10:27:50 2008 From: mneumann at ntecs.de (Michael Neumann) Date: Sun May 11 10:27:56 2008 Subject: tap -> wireless client bridging (WPA) In-Reply-To: <48257C5F.4030702@ntecs.de> References: <48257C5F.4030702@ntecs.de> Message-ID: <4826CA1C.8010104@ntecs.de> Michael Neumann wrote: > Hi, > > I'd like to run Qemu on FreeBSD 7.0 and be able to connect from the Qemu > instance to the internet. For this to work, I'd like to use a tap device > and bridge it with a wireless (wpi) device. But it seems like both lagg > and if_bridge doesn't yet support WPA security (or wireless clients). In the meanwhile I found the answer myself... the solution is to use natd. Regards, Michael From mail at chdevelopment.se Sun May 11 12:53:49 2008 From: mail at chdevelopment.se (Christer Hermansson) Date: Sun May 11 12:53:54 2008 Subject: How to config ipv6 for this instance In-Reply-To: References: <4826330F.3020005@chdevelopment.se> Message-ID: <4826EC5A.8000203@chdevelopment.se> Xiaobo Zhu wrote: > thanks for your reply. > I install miredo and study the manual, it seems that the default setting of > midero works fine, so I just setup teredo as follows, but it still can't > work. would you please figure out what is wrong with it, or give me a > configuration guide in detail. > Thanks in advance! > > // asign the ipv6 add > ifconfig teredo inet6 2001:da8:207:1:0:5efe.172.16.120.226 > // setup the default router > ifconfig teredo isatap rtr 202.112.95.129 > > Like I said in my first post to this thread, I haven't tried this and I can't try this by my self for the moment (got no access to a 6-4 gateway what I'm aware about), however I think it's a interesting subject so I will probably try to test it in the future if I get the opportunity. I was now reading little about it and found a posting http://article.gmane.org/gmane.network.ipv6.miredo.devel/174 so maybe it doesn't offer a working isatap client only a isatap server and you need the client, this posting say so but maybe that's only apply for linux. The only tips I can give you is to check for any error messages in /var/log/messages and I would try to start it manual in xterm or on the console to see what's going on, as root /usr/local/sbin/miredo --foreground Maybe it's better for you to continue the search for a solution in http://lists.freebsd.org/mailman/listinfo/freebsd-net the readers of that list are probably more into this subject. -- Christer Hermansson From onkar.n.m at gmail.com Sun May 11 14:03:38 2008 From: onkar.n.m at gmail.com (Onkar) Date: Sun May 11 14:03:42 2008 Subject: Dowloading entire source code Message-ID: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for reference. Please let me know how do i go about it. regards, Onkar From aryeh.friedman at gmail.com Sun May 11 14:16:28 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun May 11 14:16:33 2008 Subject: Dowloading entire source code In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> Message-ID: <4826FFB5.2020902@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Onkar wrote: | I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for | reference. Please let me know how do i go about it. Depends on if your talking about for the base system or ports or both. The easiest way to do it is use the csup procedures listed in the one of appendixs of the Handbook. If you want to do it in in such a way that if you make a mortification the next csup will not globber it read the man page for developement(8), you should note though that some of the procedures listed there are overkill. For example I skip most of the stuff on /usr/src2 (besides it breaks some tools). For example this is how I update my sources on a daily baseis: cvsup -h cvsup9.us.freebsd.org /usr/share/example/cvsup/cvsup-supfile // fetch the latest6 cvs repository cd /usr/src cvs -q update -dP // update my local base systems sources // do the make procedure listed in the handbook cd /usr/ports cvs -q update -dP // update my ports tree portsupgrade -a // install any new port updates Note this method will give you a 8-CURRENT system if you want some other version you will have to put a tag option on the /usr/src cvs call. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgm/7UACgkQk8GFzCrQm4Al/gCeK0vsp9QqVYycqKLUKyinSImu 1FgAoIYiHM5RaVmYI76zGDAbJNa5h7Jp =06ha -----END PGP SIGNATURE----- From cpghost at cordula.ws Sun May 11 15:12:58 2008 From: cpghost at cordula.ws (cpghost) Date: Sun May 11 15:13:02 2008 Subject: Dowloading entire source code In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> Message-ID: <20080511171251.2a664cec@epia-2.farid-hajji.net> On Sun, 11 May 2008 19:09:03 +0530 Onkar wrote: > I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source > code for reference. Please let me know how do i go about it. Welcome to FreeBSD Onkar! ;-) While installing from CD, you have the option to extract the source code. If you've already installed FreeBSD and your /usr/src is empty or non-existent, you could always login as 'root', and re-run the installer with: # /usr/sbin/sysinstall Then go to "Configure" (Do post-install configuration of FreeBSD), then "Distribution" (Install additional distribution sets), and then check "src" (Sources for everything). You could figure out the rest yourself. ;) The sources you'll get will be unpacked under /usr/src and can be used to recompile the system (kernel and base system) as described in the Handbook. Later, you may want to upgrade your system. Typically, you'll use 'csup' (/usr/bin/csup) to fetch the newest sources from one of the FreeBSD CVSUP mirrors. This will update your sources in /usr/src. Then you'll compile everything into /usr/obj (a temporary holding area) as described in the Handbook (have a look at /usr/src/UPDATING, near the end), and move the compiled binaries from /usr/obj to where they belong (again: see the Handbook). > regards, > Onkar -cpghost. -- Cordula's Web. http://www.cordula.ws/ From onkar.n.m at gmail.com Sun May 11 15:17:30 2008 From: onkar.n.m at gmail.com (Onkar) Date: Sun May 11 15:17:34 2008 Subject: GUI on FreeBSD Message-ID: <6933400d0805110817l5f350ecdh8cf1db3e556a8326@mail.gmail.com> I want to install FreeBSD on my system. But the problem is that I got only one system (which i need to chech mail and other such layman tasks ! ) I would be nice if I install the GUI . \ I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks !! ) Please let me know how to enable GUI when installing FreeBSD !! regards, Onkar From nlandys at gmail.com Sun May 11 15:43:32 2008 From: nlandys at gmail.com (Nerius Landys) Date: Sun May 11 15:43:36 2008 Subject: GUI on FreeBSD In-Reply-To: <6933400d0805110817l5f350ecdh8cf1db3e556a8326@mail.gmail.com> References: <6933400d0805110817l5f350ecdh8cf1db3e556a8326@mail.gmail.com> Message-ID: <560f92640805110843i421b5b33s62b264ddd34e6166@mail.gmail.com> You can install a GUI after installing FreeBSD. If you choose this route (instead of choosing to install X during the install), then I recommend reading the FreeBSD Handbook section on X11: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html On Sun, May 11, 2008 at 8:17 AM, Onkar wrote: > I want to install FreeBSD on my system. But the problem is that I got only > one system (which i need to chech mail and other such layman tasks ! ) I > would be nice if I install the GUI . \ > I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks > !! > ) Please let me know how to enable GUI when installing FreeBSD !! > > regards, > Onkar > _______________________________________________ > 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 aryeh.friedman at gmail.com Sun May 11 16:03:28 2008 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun May 11 16:03:32 2008 Subject: GUI on FreeBSD In-Reply-To: <560f92640805110843i421b5b33s62b264ddd34e6166@mail.gmail.com> References: <6933400d0805110817l5f350ecdh8cf1db3e556a8326@mail.gmail.com> <560f92640805110843i421b5b33s62b264ddd34e6166@mail.gmail.com> Message-ID: <482718C9.3070304@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nerius Landys wrote: | You can install a GUI after installing FreeBSD. If you choose this route | (instead of choosing to install X during the install), then I recommend | reading the FreeBSD Handbook section on X11: | | http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html It sounds like he wants more then just a GUI he wants a desktop.... in that case you should pick one of the following depending on your taste: xfce4 (what I use) gnome kde | | On Sun, May 11, 2008 at 8:17 AM, Onkar wrote: | |> I want to install FreeBSD on my system. But the problem is that I got only |> one system (which i need to chech mail and other such layman tasks ! ) I |> would be nice if I install the GUI . \ |> I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks |> !! |> ) Please let me know how to enable GUI when installing FreeBSD !! |> |> regards, |> Onkar |> _______________________________________________ |> 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" | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgnGMgACgkQk8GFzCrQm4Dm9gCeIlWNIpTmdclW3jgxkcKA3nLa CXsAoKvIC4Ft2b21WBXu8PLq3dJBRdGK =Wo31 -----END PGP SIGNATURE----- From novembre at gmail.com Sun May 11 19:17:48 2008 From: novembre at gmail.com (Novembre) Date: Sun May 11 19:17:53 2008 Subject: agp problems in 7.0-RELEASE Message-ID: <3b47caa90805111217n557e977ese6b31b71130f79ff@mail.gmail.com> Hi all, I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 and 7.0, I realized that some things aren't the same anymore. Probing agp gives the following messages ---------- 6.2-RELEASE-p9: pci0: on pcib0 agp0: mem 0xe0000000-0xe0ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) 7.0-RELEASE: pci0: on pcib0 agp0: on hostb0 agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: bad aperture size agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) device_attach: agp0 attach returned 12 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xd8000000-0xdbffffff,0xde000000-0xdeffffff at device 0.0 on pci1 ---------- So what are the errors "agp0: Invalid aperture setting 0x0" and "agp0: bad aperture size (0Mb)" and "device_attach: agp0 attach returned 12" that I see in 7.0-RELEASE? I assume that agp driver is not attached, so there's something wrong with its implementation in 7.0, right? I have uploaded the complete dmesg's to 6.2-RELEASE dmesg : http://pastebin.com/f12c0ff27 7.0-RELEASE dmesg : http://pastebin.com/f3e6809c6 Thanks a lot :) From novembre at gmail.com Sun May 11 19:19:30 2008 From: novembre at gmail.com (Novembre) Date: Sun May 11 19:19:34 2008 Subject: Compiz Fusion brings all Gnome with itself In-Reply-To: <3b47caa90804271426k27cbfdffhaf516c9119ac2c07@mail.gmail.com> References: <3b47caa90804271426k27cbfdffhaf516c9119ac2c07@mail.gmail.com> Message-ID: <3b47caa90805111219y8ef4247o7d7489a23f932bb4@mail.gmail.com> Hi, I've installed Compiz Fusion on my machine using packages. Installing it from ports was unsuccessful since it needs gio-fam-backend which in turn needs glib-2.16.3 to be installed. I don't really want to update my glib since I don't know if I need to update all my system (or at least those packages which depend on it) as well or not after updating glib (I just didn't want to take the risk). Anyhow, installing Compiz Fusion from ports brought with it all Gnome: ------------- [me@rsx4 /usr/ports]$ pkg_info | grep -i "gnome" atk-1.20.0 A GNOME accessibility toolkit (ATK) eel-2.20.0 Generally useful classes and extensions to GNOME gconf2-2.20.1 A configuration database system for GNOME gnome-control-center-2.20.1_1 Control center for GNOME 2 project gnome-desktop-2.20.1_1 Additional UI API for GNOME 2 gnome-doc-utils-0.12.2 GNOME doc utils gnome-icon-theme-2.20.0_1 A collection of icons for the GNOME 2 desktop gnome-keyring-2.20.1 A program that keeps passwords and other secrets gnome-menus-2.20.1 Implementation of the FreeDesktop Desktop Menu Spec gnome-mime-data-2.18.0_2 A MIME and Application database for GNOME gnome-panel-2.20.1 Panel component for the GNOME 2 Desktop gnome-vfs-2.20.0_2 GNOME Virtual File System gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scrip gnomehier-2.3_10 A utility port that creates the GNOME directory tree libbonobo-2.20.1_1 A component and compound document system for GNOME2 libbonoboui-2.20.0 GUI frontend to the libbonobo component of GNOME 2 libglade2-2.6.2 GNOME glade library libgnome-2.20.1.1_1 Libraries for GNOME, a GNU desktop environment libgnomecanvas-2.20.1.1 A graphics library for GNOME libgnomekbd-2.20.0 GNOME keyboard shared library libgnomeui-2.20.1.1 Libraries for the GNOME GUI, a GNU desktop environment libxml2-2.6.31 XML parser library for GNOME libxslt-1.1.22_1 The XSLT C library for GNOME nautilus-2.20.0 File manager for the GNOME desktop py25-libxml2-2.6.31 Python interface for XML parser library for GNOME ------------- especially, 'ps -ax' now shows these two processes running: ------------- 865 ?? I 0:00.15 /usr/local/libexec/gconfd-2 14 876 ?? I 0:00.03 gnome-pty-helper ------------- How can I stop them from running when I start X? And how can I remove all these useless Gnome packages that I won't use? Do I need to update everything that depends on it if I decide to update glib? Thanks a lot :) From perrin at apotheon.com Sun May 11 19:50:00 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun May 11 19:50:05 2008 Subject: root login stops working In-Reply-To: <200805102300.41775.fbsd.questions@rachie.is-a-geek.net> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <200805102300.41775.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080511194957.GA81732@demeter.hydra> On Sat, May 10, 2008 at 11:00:41PM +0200, Mel wrote: > On Saturday 10 May 2008 20:50:46 Dennis Flynn wrote: > > I'm running FreeBSD wx.dennis-flynn.net 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 > > > > About a day after install root login no longer works - even on the console. > > > > I see the following in /var/log/auth.log: > > May 10 14:22:37 wx sshd[86223]: Accepted password for root from > > 10.11.12.104 port 1492 ssh2 May 10 14:22:37 wx sshd[86223]: Received > > disconnect from 10.11.12.104: 0: > > > > And in /var/log/messages: > > May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 > > (core dumped) > > Looks like you got hacked, the tell-tale being "ip port ####". > http://security.freebsd.org/advisories/FreeBSD-SA-08:05.openssh.asc . . . unless that's part of Dennins' network setup. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do." -------------- 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/20080511/88e7aea0/attachment.pgp From perrin at apotheon.com Sun May 11 19:54:14 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun May 11 19:54:18 2008 Subject: root login stops working In-Reply-To: <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> Message-ID: <20080511195413.GB81732@demeter.hydra> On Sun, May 11, 2008 at 01:38:52AM +0530, ???? Anuj Singh wrote: > Direct root login is disabled by default. are you able to login from your > 10.11.12.104 as a non root user? What client software are you using on your > 10.11.12.104 for logging on to your freebsd? Correction: Direct root login via SSH is disabled by default. If you need root access, you should use a staff account in the wheel group to remotely log into the machine, then su to root. You should, however, be able to log in as root from a TTY console for local access. The fact that remote direct root login is disabled is a security feature, meant to prevent things like brute-force attacks on root over the network. It's a bad idea to change that behavior, in general. Back when I was using Debian for all my servers, I would configure sshd to disable direct root login -- and was pleased to find that on FreeBSD it's disabled by default, once I started using FreeBSD for all my servers. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] John Kenneth Galbraith: "If all else fails, immortality can always be assured through spectacular error." -------------- 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/20080511/0eb593cf/attachment.pgp From perrin at apotheon.com Sun May 11 19:58:47 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun May 11 19:58:53 2008 Subject: root login stops working In-Reply-To: <812883.11120.qm@web54010.mail.re2.yahoo.com> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> Message-ID: <20080511195846.GC81732@demeter.hydra> On Sat, May 10, 2008 at 11:50:46AM -0700, Dennis Flynn wrote: > I'm running FreeBSD wx.dennis-flynn.net 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 > > About a day after install root login no longer works - even on the console. > > I see the following in /var/log/auth.log: > May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 > May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: I'd say this was expected behavior, since FreeBSD disbles direct root login over SSH by default (for good reason), but . . . > > And in /var/log/messages: > May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) . . . this looks suspicious. I'm pretty sure you don't get any core dumps when sshd refuses to let you log in as root. > > New to FreeBSD after using Linux for a long time. I'd really like to get this to workfor my web server/weather station which is currently running on Debian Linux. For security purposes, you should probably actually configure your Debian system to behave more like your FreeBSD system, with regard to SSH. Set the PermitRootLogin value in /etc/ssh/sshd_config to "no" to prevent remote logins over SSH as root. This behavior is intended as a security measure. To access root remotely, log in over SSH as an account that has su access, then su to root, rather than just logging in as root directly. To grant an account on FreeBSD su access to root, add it to the wheel group. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2); -------------- 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/20080511/b1b76b2f/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Sun May 11 20:00:51 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 11 20:00:56 2008 Subject: root login stops working In-Reply-To: <20080511195413.GB81732@demeter.hydra> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> <20080511195413.GB81732@demeter.hydra> Message-ID: <20080511215811.W72139@wojtek.tensor.gdynia.pl> > need root access, you should use a staff account in the wheel group to > remotely log into the machine, then su to root. or set PermitRootLogin yes in sshd_conf much easier. > The fact that remote direct root login is disabled is a security feature, > meant to prevent things like brute-force attacks on root over the > network. It's a bad idea to change that behavior, in general. Back when just another stupid myth. simply use good passwords. having to log through 2 accounts doesn't increase security. actually increases mess. From solskogen at carebears.mine.nu Sun May 11 20:40:04 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Sun May 11 20:40:09 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network Message-ID: Hi! I have been seeing a lot of warnings in syslog the last week. Do anyone have a tip for where to begin searching for the sinner? arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network pinging 0.0.0.0 gives me reply from 192.168.0.1 which is my OpenBSD router. The warnings shows up on my FreeBSD server. Nothing on the OpenBSD box. $ uname -a FreeBSD shine.carebears.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 28 07:58:17 CET 2008 root@shine.carebears.lan:/files2/build/usr/src/sys/SHINE amd64 -- chs From jon at radel.com Sun May 11 21:34:57 2008 From: jon at radel.com (Jon Radel) Date: Sun May 11 21:35:01 2008 Subject: root login stops working In-Reply-To: <20080511215811.W72139@wojtek.tensor.gdynia.pl> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> <20080511195413.GB81732@demeter.hydra> <20080511215811.W72139@wojtek.tensor.gdynia.pl> Message-ID: <48276671.8080806@radel.com> Wojciech Puchar wrote: > >> need root access, you should use a staff account in the wheel group to >> remotely log into the machine, then su to root. > > or set > > PermitRootLogin yes > > in sshd_conf > > much easier. > >> The fact that remote direct root login is disabled is a security feature, >> meant to prevent things like brute-force attacks on root over the >> network. It's a bad idea to change that behavior, in general. Back when > > just another stupid myth. As is, of course, all security in depth. Hey, if you want everything riding on one password, more power to you, but you might want to refrain from using phrases like "stupid myth" unless you've got some hard data to back them up. > simply use good passwords. Or a nice little key encrypted with a good pass phrase. Use ssh-agent right and you can make things even easier for yourself. > > having to log through 2 accounts doesn't increase security. actually > increases mess. The only mess I can think of is all that logging that forces a bit of accountability onto all the admins who know the root password. Of course, if you're the only admin, I suppose it doesn't really matter. ;-) --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080511/56d17864/smime.bin From kosovostudent at gmail.com Sun May 11 21:47:02 2008 From: kosovostudent at gmail.com (Kosovo Student) Date: Sun May 11 21:47:06 2008 Subject: SOS KOSOVO Message-ID: <20080511212122.E6EE057120D@server10.greatweb.de> Dear ladies and gentlemen please allow me to introduce myself. I am at first year of my studies at the Economic Faculty here at Prishtina University. I am unable to continue my studies because of financial reasons therefore I would ask you hereby for your possible financial assistance as I am unable to continue studies on my own. Your assistance can be as little as possible but to me it will be big because it would enable me to create a healthy family future, your assistance would open doors to me and make me become an economist so that I could also help somebody else tomorrow just as you helped me. I thank you for your time and your help. Kosovo Email:kosovostudent@gmail.com phone : +37744 119934 From wojtek at wojtek.tensor.gdynia.pl Sun May 11 21:58:45 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun May 11 21:58:47 2008 Subject: root login stops working In-Reply-To: <48276671.8080806@radel.com> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <3120c9e30805101308q55d93966p69914d3bde9a3139@mail.gmail.com> <20080511195413.GB81732@demeter.hydra> <20080511215811.W72139@wojtek.tensor.gdynia.pl> <48276671.8080806@radel.com> Message-ID: <20080511235653.D72685@wojtek.tensor.gdynia.pl> >>> meant to prevent things like brute-force attacks on root over the >>> network. It's a bad idea to change that behavior, in general. Back when >> >> just another stupid myth. > > As is, of course, all security in depth. Hey, if you want everything > riding on one password, more power to you, but you might want to refrain > from using phrases like "stupid myth" unless you've got some hard data > to back them up. did below. > >> simply use good passwords. > > Or a nice little key encrypted with a good pass phrase. i use ssh with id_dsa/authorized keys regularly, and rlogin&.rhosts within the range of private/vpn/other way secure network >> having to log through 2 accounts doesn't increase security. actually >> increases mess. > > The only mess I can think of is all that logging that forces a bit of > accountability onto all the admins who know the root password. Of > course, if you're the only admin, I suppose it doesn't really matter. 2 admins for one server is never good idea :) From nepbabucxspamfree at yahoo.ca Sun May 11 22:07:40 2008 From: nepbabucxspamfree at yahoo.ca (nepbabu) Date: Sun May 11 22:07:45 2008 Subject: [Bulk] Re: root login stops working In-Reply-To: <20080511195846.GC81732@demeter.hydra> References: <812883.11120.qm@web54010.mail.re2.yahoo.com> <20080511195846.GC81732@demeter.hydra> Message-ID: <20080511214102.GA18120@interrupt.driven.box> Thus spoke Chad Perrin on Sunday, 11 May 2008 at 13:58:46 -0600: > On Sat, May 10, 2008 at 11:50:46AM -0700, Dennis Flynn wrote: > > I'm running FreeBSD wx.dennis-flynn.net 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 > > > > About a day after install root login no longer works - even on the console. [ .... ] > For security purposes, you should probably actually configure your Debian > system to behave more like your FreeBSD system, with regard to SSH. Set > the PermitRootLogin value in /etc/ssh/sshd_config to "no" to prevent > remote logins over SSH as root. This behavior is intended as a security > measure. To access root remotely, log in over SSH as an account that has > su access, then su to root, rather than just logging in as root directly. I think sshd_config in Debian has "PermitRootLogin" to "no" by default (i.e., as part of default installation). It's been a while since I've munged with the default configs (correct me if I am wrong). -- Cheers, Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca) Journal: http://nepbabu.livejournal.com || pubkey: see header "Rule 6: There is no Rule 6." - Rob Pike "Those who can make you believe absurdities, can make you commit atrocities." - Fran??ois-Marie Arouet -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 223 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080511/c637d404/attachment.pgp From derek at computinginnovations.com Sun May 11 22:40:39 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sun May 11 22:40:42 2008 Subject: agp problems in 7.0-RELEASE In-Reply-To: <3b47caa90805111217n557e977ese6b31b71130f79ff@mail.gmail.co m> References: <3b47caa90805111217n557e977ese6b31b71130f79ff@mail.gmail.com> Message-ID: <6.0.0.22.2.20080511174125.02661810@mail.computinginnovations.com> At 02:17 PM 5/11/2008, Novembre wrote: >Hi all, > >I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 >to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 >and 7.0, I realized that some things aren't the same anymore. > >Probing agp gives the following messages >---------- >6.2-RELEASE-p9: >pci0: on pcib0 >agp0: mem 0xe0000000-0xe0ffffff at >device 0.0 on pci0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at device 0.0 (no driver attached) > >7.0-RELEASE: >pci0: on pcib0 >agp0: on hostb0 >agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: >bad aperture size >agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) >device_attach: agp0 attach returned 12 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >vgapci0: mem >0xd8000000-0xdbffffff,0xde000000-0xdeffffff >at device 0.0 on pci1 >---------- > >So what are the errors "agp0: Invalid aperture setting 0x0" and "agp0: bad >aperture size (0Mb)" and "device_attach: agp0 attach returned 12" that I see >in 7.0-RELEASE? I assume that agp driver is not attached, so there's >something wrong with its implementation in 7.0, right? > >I have uploaded the complete dmesg's to >6.2-RELEASE dmesg : http://pastebin.com/f12c0ff27 >7.0-RELEASE dmesg : http://pastebin.com/f3e6809c6 > >Thanks a lot :) The agp aperture size is usually set in the BIOS. Check your BIOS. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From dak.col at gmail.com Sun May 11 23:32:31 2008 From: dak.col at gmail.com (Natham) Date: Sun May 11 23:32:34 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) Message-ID: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> Hi: Im trying to set up a FreeBSD VM under Hyper-V but i the instalation do not start. i try x86 and x64 boot disk only (for a net install). The error i got is "cant load kernel". Im a novice on FreeBSD but i have set up a few small server with it. Any idea? -- mmm, interesante..... From cuongvt at fpt.vn Sun May 11 23:34:12 2008 From: cuongvt at fpt.vn (cuongvt) Date: Sun May 11 23:34:16 2008 Subject: netbeans 6.0.1 not run Message-ID: <17179367.post@talk.nabble.com> Hi all! full explanation: FreeBSD 7.0-RELEASE (i386) uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) installed: jdk-1.6.0.3p4_1 diablo-jdk-1.5.0.07.01_10 javavmwrapper-2.3.2 I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. java -version: java 16 jdku3p1 etc etc Then I insralled netbeans from ports, firstly it warned: JAVA_HOME should not be defined. So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and reinstalled netbeans. Installation went fine. When I try run netbeans: mak@lo0:~>netbeans XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Any ideas? P/S:All pkgs were installed via ports* -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html Sent from the freebsd-questions mailing list archive at Nabble.com. From rock_on_the_web at comcen.com.au Sun May 11 23:48:04 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Sun May 11 23:48:09 2008 Subject: Imagemagick port seems broken - jp2.c patch fails Message-ID: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> I may be not thinking straight due to a head cold- in which case just tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It attempts to find Imagemagick folder in the work folder but cannot do so. I ran ls but all it has is .extract.imagemagick._usr_local or the like (the exact message is on another system atm). All I want is to install lives, but this has killed that. Any ideas what I can do? Or is this something to send to the ports list? Time is of the essence here, so thats why I thought somebody here might be able to find a workaround so I can continue for now and post to ports later. Cheers From derek at computinginnovations.com Sun May 11 23:59:17 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Sun May 11 23:59:21 2008 Subject: freebsd7 on older machines In-Reply-To: <20080509133949.53b83c29@gom.home> References: <20080509133949.53b83c29@gom.home> Message-ID: <6.0.0.22.2.20080511185606.0264b180@mail.computinginnovations.com> At 03:39 PM 5/9/2008, prad wrote: >i can't seem to boot the cdrom on older hardware (500MHz and down). >i read somewhere that the older drives aren't supported by the >installation cdrom. > >i want to create a series of 'dumb terminals' which can ssh -Y into a >faster machine. if necessary i suppose i can floppy in and then install >via nfs. or i can setup the hd on another machine that does support the >install cdrom and then transfer to the older machine. > >here are the specific questions: > >1. do older machines work better with older versions of freebsd? >2. if i dd a hd (with freebsd) onto another hd will i have a problem >with the mbr and be unable to boot? >3. are there any other ideas for install? > >-- >In friendship, >prad Your older computer probably doesn't support booting from CD. You can get a third party BIOS to upgrade your system. Or create boot floppies to start the install. Once you get a version installed keep it up to date using cvsup or the new binary update utility. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From derek at computinginnovations.com Mon May 12 00:00:45 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon May 12 00:00:49 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: References: Message-ID: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> At 03:39 PM 5/11/2008, Christer Solskogen wrote: >Hi! > >I have been seeing a lot of warnings in syslog the last week. Do anyone >have a tip for where to begin searching for the sinner? > >arplookup 0.0.0.0 failed: host is not on local network >arplookup 0.0.0.0 failed: host is not on local network >arplookup 0.0.0.0 failed: host is not on local network >arplookup 0.0.0.0 failed: host is not on local network > >pinging 0.0.0.0 gives me reply from 192.168.0.1 which is my OpenBSD >router. The warnings shows up on my FreeBSD server. Nothing on the OpenBSD box. > >$ uname -a >FreeBSD shine.carebears.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 28 >07:58:17 CET 2008 >root@shine.carebears.lan:/files2/build/usr/src/sys/SHINE amd64 > >-- >chs Sounds like you have 0.0.0.0 configured on an ethernet interface. I would check all your systems, and be sure it isn't used. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From LukeD at pobox.com Mon May 12 00:43:44 2008 From: LukeD at pobox.com (Luke Dean) Date: Mon May 12 00:43:49 2008 Subject: netbeans 6.0.1 not run In-Reply-To: <17179367.post@talk.nabble.com> References: <17179367.post@talk.nabble.com> Message-ID: <20080511172106.N57861@border.lukas.is-a-geek.org> On Sun, 11 May 2008, cuongvt wrote: > > Hi all! > > full explanation: > FreeBSD 7.0-RELEASE (i386) > uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) > > installed: > jdk-1.6.0.3p4_1 > diablo-jdk-1.5.0.07.01_10 > javavmwrapper-2.3.2 > > I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. > java -version: > java 16 jdku3p1 etc etc > > Then I insralled netbeans from ports, firstly it warned: > JAVA_HOME should not be defined. > > So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and > reinstalled netbeans. > Installation went fine. > > When I try run netbeans: > mak@lo0:~>netbeans > XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. This is exactly the same error message I get whenever I attempt to run any graphical java application on FreeBSD 7 using the diablo port. Between the diablo binaries and my Nvidia drivers, I'm relying on so many different compatibility layers and hacks that it's just too much. Installing jdk-1.6 and forcing my java applications to point to /usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for me. So, I suspect that netbeans is still looking at the diablo java. Maybe there's a configuration option somewhere? If netbeans copies the java engine or contains its own, then I bet it's using diablo because that's the dependency that the port lists. I've not used netbeans on FreeBSD, so I don't know. > > Any ideas? > P/S:All pkgs were installed via ports* > -- > View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html > Sent from the freebsd-questions mailing list archive at Nabble.com. From jdowdy at ncircle.com Mon May 12 00:50:01 2008 From: jdowdy at ncircle.com (Johan Dowdy) Date: Mon May 12 00:50:04 2008 Subject: Imagemagick port seems broken - jp2.c patch fails Message-ID: Did you cvsup before attempting the install? -J ----- Original Message ----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org Sent: Sun May 11 16:46:31 2008 Subject: Imagemagick port seems broken - jp2.c patch fails I may be not thinking straight due to a head cold- in which case just tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It attempts to find Imagemagick folder in the work folder but cannot do so. I ran ls but all it has is .extract.imagemagick._usr_local or the like (the exact message is on another system atm). All I want is to install lives, but this has killed that. Any ideas what I can do? Or is this something to send to the ports list? Time is of the essence here, so thats why I thought somebody here might be able to find a workaround so I can continue for now and post to ports later. Cheers _______________________________________________ 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 vuhanhnhu.com Mon May 12 01:05:06 2008 From: freebsd at vuhanhnhu.com (cuongvt) Date: Mon May 12 01:05:10 2008 Subject: netbeans 6.0.1 not run In-Reply-To: <20080511172106.N57861@border.lukas.is-a-geek.org> References: <17179367.post@talk.nabble.com> <20080511172106.N57861@border.lukas.is-a-geek.org> Message-ID: <17179967.post@talk.nabble.com> Luke Dean wrote: > > > > On Sun, 11 May 2008, cuongvt wrote: > >> >> Hi all! >> >> full explanation: >> FreeBSD 7.0-RELEASE (i386) >> uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) >> >> installed: >> jdk-1.6.0.3p4_1 >> diablo-jdk-1.5.0.07.01_10 >> javavmwrapper-2.3.2 >> >> I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. >> java -version: >> java 16 jdku3p1 etc etc >> >> Then I insralled netbeans from ports, firstly it warned: >> JAVA_HOME should not be defined. >> >> So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and >> reinstalled netbeans. >> Installation went fine. >> >> When I try run netbeans: >> mak@lo0:~>netbeans >> XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" >> after 0 requests (0 known processed) with 0 events remaining. > > This is exactly the same error message I get whenever I attempt to run any > graphical java application on FreeBSD 7 using the diablo port. Between > the diablo binaries and my Nvidia drivers, I'm relying on so many > different compatibility layers and hacks that it's just too much. > > Installing jdk-1.6 and forcing my java applications to point to > /usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for > me. > > So, I suspect that netbeans is still looking at the diablo java. > Maybe there's a configuration option somewhere? > If netbeans copies the java engine or contains its own, then I bet it's > using diablo because that's the dependency that the port lists. > I've not used netbeans on FreeBSD, so I don't know. > >> >> Any ideas? >> P/S:All pkgs were installed via ports* >> -- >> View this message in context: >> http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html >> Sent from the freebsd-questions mailing list archive at Nabble.com. > Yeah. Netbeans looks for diablo 1.5 p7 as it's dependency. > Thanks for info. Any idea? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179967.html Sent from the freebsd-questions mailing list archive at Nabble.com. From novembre at gmail.com Mon May 12 01:54:15 2008 From: novembre at gmail.com (Novembre) Date: Mon May 12 01:54:20 2008 Subject: agp problems in 7.0-RELEASE In-Reply-To: <6.0.0.22.2.20080511174125.02661810@mail.computinginnovations.com> References: <3b47caa90805111217n557e977ese6b31b71130f79ff@mail.gmail.com> <6.0.0.22.2.20080511174125.02661810@mail.computinginnovations.com> Message-ID: <3b47caa90805111854p113ae306la272de6adb27aea8@mail.gmail.com> On Sun, May 11, 2008 at 5:42 PM, Derek Ragona < derek@computinginnovations.com> wrote: > At 02:17 PM 5/11/2008, Novembre wrote: > > Hi all, > > I have upgraded my home desktop (1.4GHz P-IIIS) machine from > 6.2-RELEASE-p9 > to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from > 6.2 > and 7.0, I realized that some things aren't the same anymore. > > Probing agp gives the following messages > ---------- > 6.2-RELEASE-p9: > pci0: on pcib0 > agp0: mem 0xe0000000-0xe0ffffff at > device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > > 7.0-RELEASE: > pci0: on pcib0 > agp0: on hostb0 > agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: > bad aperture size > agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) > device_attach: agp0 attach returned 12 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem > 0xd8000000-0xdbffffff,0xde000000-0xdeffffff > at device 0.0 on pci1 > ---------- > > So what are the errors "agp0: Invalid aperture setting 0x0" and "agp0: bad > aperture size (0Mb)" and "device_attach: agp0 attach returned 12" that I > see > in 7.0-RELEASE? I assume that agp driver is not attached, so there's > something wrong with its implementation in 7.0, right? > > I have uploaded the complete dmesg's to > 6.2-RELEASE dmesg : http://pastebin.com/f12c0ff27 > 7.0-RELEASE dmesg : http://pastebin.com/f3e6809c6 > > Thanks a lot :) > > > The agp aperture size is usually set in the BIOS. Check your BIOS. > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. Hi, It could be a possibility, but I haven't touched anything in the BIOS. I've just upgraded my 6.2-RELEASE-p9 to 7.0-RELEASE from source. Besides, I was not geting that error when using 6.2. Apparently, it's something related to FreeBSD rather than my BIOS. Thanks :) From rock_on_the_web at comcen.com.au Mon May 12 01:56:23 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon May 12 01:56:27 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: References: Message-ID: <1210557199.26533.21.camel@laptop2.herveybayaustralia.com.au> On Sun, 2008-05-11 at 17:20 -0700, Johan Dowdy wrote: > Did you cvsup before attempting the install? > > -J > Do you mean update the ports tree? This is a relatively new install of 6.3 (last week or so) with a minimal distro and no ports tree installed at the time. I run portsnap manually after install nowadays so that the latest and greatest is installed from the start. I'll try updating, but pkg_version -v seems up to date so I doubt very much it'll make a diff. > ----- Original Message ----- > From: owner-freebsd-questions@freebsd.org > To: freebsd-questions@freebsd.org > Sent: Sun May 11 16:46:31 2008 > Subject: Imagemagick port seems broken - jp2.c patch fails > > I may be not thinking straight due to a head cold- in which case just > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > attempts to find Imagemagick folder in the work folder but cannot do so. > I ran ls but all it has is .extract.imagemagick._usr_local or the like > (the exact message is on another system atm). > > All I want is to install lives, but this has killed that. Any ideas what > I can do? Or is this something to send to the ports list? Time is of the > essence here, so thats why I thought somebody here might be able to find > a workaround so I can continue for now and post to ports later. > > Cheers > > _______________________________________________ > 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 gilles.ganault at free.fr Mon May 12 03:50:08 2008 From: gilles.ganault at free.fr (Gilles) Date: Mon May 12 03:50:13 2008 Subject: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed References: <200805102308.45970.fbsd.questions@rachie.is-a-geek.net> Message-ID: On Sun, 11 May 2008 00:17:03 +0200, Gilles wrote: >No problem there. I did create my own /usr/local/etc/smb.conf, and >smbpasswd is living under /usr/local/etc/samba/. The n-1 version >worked fine, and this version was installed about a week ago. I uninstalled, recompiled the Ports. Hopefully, this error won't occur again. Thanks. From rock_on_the_web at comcen.com.au Mon May 12 06:02:49 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon May 12 06:02:53 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <20080512035010.GA78711@njord.Belkin> References: <1210557199.26533.21.camel@laptop2.herveybayaustralia.com.au> <20080512035010.GA78711@njord.Belkin> Message-ID: <1210571976.26533.29.camel@laptop2.herveybayaustralia.com.au> On Sun, 2008-05-11 at 23:50 -0400, Matthew Donovan wrote: > I just tried to install imagemagick from ports myself and it installed fine maybe it's a 6.3 issue since I m on 7.0 or your ports is out of date considering here the imagemagick port installs ImageMagick-6.4.1.0 > Ok then, it must be a 6.3 issue. I ran portsnap update and the tree is up to date as I thought. The error is a weird one- the patch looking for a directory that isn't there, why would there be a Imagemagick directory under the work directory? And where are all the source files for the build which should be under the work directory? Instead just an empty file named .extract_done.imagemagick._usr_local. I've also looked under /usr/local but I can't find anything there either. > On Mon, May 12, 2008 at 11:53:18AM +1000, Da Rock wrote: > > > > On Sun, 2008-05-11 at 17:20 -0700, Johan Dowdy wrote: > > > Did you cvsup before attempting the install? > > > > > > -J > > > > > > > Do you mean update the ports tree? This is a relatively new install of > > 6.3 (last week or so) with a minimal distro and no ports tree installed > > at the time. I run portsnap manually after install nowadays so that the > > latest and greatest is installed from the start. I'll try updating, but > > pkg_version -v seems up to date so I doubt very much it'll make a diff. > > > > > > > ----- Original Message ----- > > > From: owner-freebsd-questions@freebsd.org > > > To: freebsd-questions@freebsd.org > > > Sent: Sun May 11 16:46:31 2008 > > > Subject: Imagemagick port seems broken - jp2.c patch fails > > > > > > I may be not thinking straight due to a head cold- in which case just > > > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > > > attempts to find Imagemagick folder in the work folder but cannot do so. > > > I ran ls but all it has is .extract.imagemagick._usr_local or the like > > > (the exact message is on another system atm). > > > > > > All I want is to install lives, but this has killed that. Any ideas what > > > I can do? Or is this something to send to the ports list? Time is of the > > > essence here, so thats why I thought somebody here might be able to find > > > a workaround so I can continue for now and post to ports later. > > > > > > Cheers > > > > > > _______________________________________________ > > > 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 rsmith at xs4all.nl Mon May 12 06:02:55 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon May 12 06:03:00 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> References: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> Message-ID: <20080512060243.GA9805@slackbox.xs4all.nl> On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: > I may be not thinking straight due to a head cold- in which case just > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It Update your ports tree. The current version in ports is 6.4.1.0. There have been some problems with 6.4.0.7, see http://www.freshports.org/graphics/ImageMagick/ 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/20080512/bf151d14/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Mon May 12 06:48:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 06:48:46 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> Message-ID: <20080512084817.G78272@wojtek.tensor.gdynia.pl> so install on clean machine, then run windows in emulator. much better solution ;) On Sun, 11 May 2008, Natham wrote: > Hi: > > Im trying to set up a FreeBSD VM under Hyper-V but i the instalation > do not start. i try x86 and x64 boot disk only (for a net install). > The error i got is "cant load kernel". > > Im a novice on FreeBSD but i have set up a few small server with it. Any idea? > > > > -- > mmm, interesante..... > _______________________________________________ > 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 rock_on_the_web at comcen.com.au Mon May 12 07:00:10 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon May 12 07:00:15 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <20080512060243.GA9805@slackbox.xs4all.nl> References: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> <20080512060243.GA9805@slackbox.xs4all.nl> Message-ID: <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> On Mon, 2008-05-12 at 08:02 +0200, Roland Smith wrote: > On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: > > I may be not thinking straight due to a head cold- in which case just > > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > > Update your ports tree. The current version in ports is 6.4.1.0. There > have been some problems with 6.4.0.7, see > http://www.freshports.org/graphics/ImageMagick/ > > Roland You'll have to excuse me- I'm not usually such a dunderhead- but how do I go about that? I ran portsnap update and it says the tree is up to date. From valentin.bud at gmail.com Mon May 12 07:57:27 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Mon May 12 07:57:33 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> References: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> <20080512060243.GA9805@slackbox.xs4all.nl> <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> Message-ID: <139b44430805120033m6bcaac28q204add485cd7f7ba@mail.gmail.com> you must use portsnap fetch update from the man portsnap: update Update a ports tree extracted using the extract command. You must run this command to apply changes to your ports tree after downloading updates via the *fetch* or cron com- mands. Again, note that in the parts of the ports tree which are being updated, any local changes or additions will be removed. all the best V On Mon, May 12, 2008 at 9:58 AM, Da Rock wrote: > > On Mon, 2008-05-12 at 08:02 +0200, Roland Smith wrote: > > On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: > > > I may be not thinking straight due to a head cold- in which case just > > > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > > > > Update your ports tree. The current version in ports is 6.4.1.0. There > > have been some problems with 6.4.0.7, see > > http://www.freshports.org/graphics/ImageMagick/ > > > > Roland > > You'll have to excuse me- I'm not usually such a dunderhead- but how do > I go about that? I ran portsnap update and it says the tree is up to > date. > > _______________________________________________ > 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, Valentin Bud www.syk.ro www.spreadbsd.org/aff/86/1 www.spreadbsd.org/aff/86/2 valentin [dot] bud [at] gmail [dot] com valentin [dot] bud [at] dep [dot] upt [dot] ro From rsmith at xs4all.nl Mon May 12 08:03:28 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon May 12 08:03:34 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> References: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> <20080512060243.GA9805@slackbox.xs4all.nl> <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> Message-ID: <20080512080312.GA13080@slackbox.xs4all.nl> On Mon, May 12, 2008 at 04:58:54PM +1000, Da Rock wrote: > > On Mon, 2008-05-12 at 08:02 +0200, Roland Smith wrote: > > On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: > > > I may be not thinking straight due to a head cold- in which case just > > > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > > > > Update your ports tree. The current version in ports is 6.4.1.0. There > > have been some problems with 6.4.0.7, see > > http://www.freshports.org/graphics/ImageMagick/ > > > > Roland > > You'll have to excuse me- I'm not usually such a dunderhead- but how do > I go about that? I ran portsnap update and it says the tree is up to > date. You have to get updates before you can apply them. So use: portsnap fetch update 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/20080512/5785f529/attachment.pgp From rock_on_the_web at comcen.com.au Mon May 12 08:08:16 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon May 12 08:08:21 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <86d4nsngvt.fsf@nowhere.org> References: <1210549591.26533.16.camel@laptop2.herveybayaustralia.com.au> <20080512060243.GA9805@slackbox.xs4all.nl> <1210575534.26533.32.camel@laptop2.herveybayaustralia.com.au> <86d4nsngvt.fsf@nowhere.org> Message-ID: <1210579598.26533.38.camel@laptop2.herveybayaustralia.com.au> On Mon, 2008-05-12 at 08:03 +0100, Glyn Millington wrote: > Da Rock writes: > > > On Mon, 2008-05-12 at 08:02 +0200, Roland Smith wrote: > >> On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: > >> > I may be not thinking straight due to a head cold- in which case just > >> > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > >> > >> Update your ports tree. The current version in ports is 6.4.1.0. There > >> have been some problems with 6.4.0.7, see > >> http://www.freshports.org/graphics/ImageMagick/ > >> > >> Roland > > > > You'll have to excuse me- I'm not usually such a dunderhead- but how do > > I go about that? I ran portsnap update and it says the tree is up to > > date. > > Shouldn't it be > > > portsnap fetch update > ^^^^^ > > atb > > Glyn > I told you I wasn't with it. Of course that works now... I've updated AND installed imagemagick. I use portsnap fetch then portsnap update usually- but of course I forgot the first step in my foggy brain. Thanks for your patience guys From chrizach at gmail.com Mon May 12 09:18:53 2008 From: chrizach at gmail.com (Christian Zachariasen) Date: Mon May 12 09:18:55 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <20080512084817.G78272@wojtek.tensor.gdynia.pl> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> Message-ID: <4a89d1190805120218i4c94a084ld0e308182c2136f9@mail.gmail.com> Sounds like a problem with your partitioning or boot manager installation. Being a noob with FreeBSD surely doesn't help when you're trying to install it in a completely experimental way! I'd advise setting up FreeBSD on a completely blank hard drive using the exact same steps you used to set it up in the Hyper-V. If it works, then you'll know it's a problem with the virtualization. Of course, always check out any wikis or forums about installing different OSes on the Hyper-V - someone out there is bound to have tried doing the same thing as you. Christian Zachariasen On Mon, May 12, 2008 at 8:48 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > so install on clean machine, then run windows in emulator. much better > solution ;) > > > > On Sun, 11 May 2008, Natham wrote: > > Hi: > > > > Im trying to set up a FreeBSD VM under Hyper-V but i the instalation > > do not start. i try x86 and x64 boot disk only (for a net install). > > The error i got is "cant load kernel". > > > > Im a novice on FreeBSD but i have set up a few small server with it. Any > > idea? > > > > > > > > -- > > mmm, interesante..... > > _______________________________________________ > > 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 cblasius at gmail.com Mon May 12 11:20:21 2008 From: cblasius at gmail.com (Zbigniew Komarnicki) Date: Mon May 12 11:20:25 2008 Subject: kernel panic FreeBSD 7.0 - Xorg Message-ID: <200805121251.26443.cblasius@gmail.com> Hello! I decide to go on FreeBSD 7.0-RELEASE. Before I used 6.3-RELEASE. But now I cannot get working Xorg. I almost get the kernel panic. I install fresh 7.0-RELEASE and update ports by portsnam and everything compiled by ports system. After instalign 'xorg' ports I do the following steps as root: Xorg -configure X -config /root/xorg.conf.new and I got black monitor and after few seconds the system reboots. Then I go to single user and do fsck -p (Similar was when I logon as root and typed "startx") After that, I boot the system and I saw on the monitor the following (the exactly output is in file messages attached in this e-mail): savecore: reboot after panic: vm_fault: fault on nofault entry, addr: e56e8000 savecore: writing core to vmcore.2 and then I examine the file "xorg.conf.org" (I attached the file) and I saw that I have there the following line: Driver "radeon" In FreeBSD 6.3-RELEASE I had there Driver "ati" so I change it to "ati" and do X -config /root/xorg.conf.new but with no result - kernel panic again. What going on here? After fsck -p i decide to use "vesa" driver. I could only obtain the resolution "1024x678", but my monitor use "1280x1024". I have the following monitor: Philips 190P Could someone help me, please? If you need more information I send it to you. Thank you in advance. Here are additional information: # uname -a FreeBSD komp1.dom 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 have the following motherboard: A-7N400SL F5 (from first screen after computer started) and also 3/29/2005-nVidia-nForce-6AG1BG0QC-00. The attached files: 1. messages (from /var/log/messages) 2. xorg.conf.new (from /root/xorg.conf.new) Thank you in advance for any help and I'm sorry for my English. Best wishes, Zbigniew -------------- next part -------------- May 12 11:38:29 komp1 syslogd: kernel boot file is /boot/kernel/kernel May 12 11:38:29 komp1 kernel: Copyright (c) 1992-2008 The FreeBSD Project. May 12 11:38:29 komp1 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 May 12 11:38:29 komp1 kernel: The Regents of the University of California. All rights reserved. May 12 11:38:29 komp1 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. May 12 11:38:29 komp1 kernel: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 May 12 11:38:29 komp1 kernel: root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC May 12 11:38:29 komp1 kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 May 12 11:38:29 komp1 kernel: CPU: AMD Athlon(tm) XP 2000+ (1660.38-MHz 686-class CPU) May 12 11:38:29 komp1 kernel: Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 May 12 11:38:29 komp1 kernel: Features=0x383fbff May 12 11:38:29 komp1 kernel: AMD Features=0xc0400800 May 12 11:38:29 komp1 kernel: real memory = 2147418112 (2047 MB) May 12 11:38:29 komp1 kernel: avail memory = 2091872256 (1994 MB) May 12 11:38:29 komp1 kernel: ACPI APIC Table: May 12 11:38:29 komp1 kernel: ioapic0 irqs 0-23 on motherboard May 12 11:38:29 komp1 kernel: kbd1 at kbdmux0 May 12 11:38:29 komp1 kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) May 12 11:38:29 komp1 kernel: hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) May 12 11:38:29 komp1 kernel: acpi0: on motherboard May 12 11:38:29 komp1 kernel: acpi0: [ITHREAD] May 12 11:38:29 komp1 kernel: acpi0: Power Button (fixed) May 12 11:38:29 komp1 kernel: acpi0: reservation of 0, a0000 (3) failed May 12 11:38:29 komp1 kernel: acpi0: reservation of 100000, 7fef0000 (3) failed May 12 11:38:29 komp1 kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 May 12 11:38:29 komp1 kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 May 12 11:38:29 komp1 kernel: cpu0: on acpi0 May 12 11:38:29 komp1 kernel: acpi_button0: on acpi0 May 12 11:38:29 komp1 kernel: pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 May 12 11:38:29 komp1 kernel: pci0: on pcib0 May 12 11:38:29 komp1 kernel: Correcting nForce2 C1 CPU disconnect hangs May 12 11:38:29 komp1 kernel: agp0: on hostb0 May 12 11:38:29 komp1 kernel: pci0: at device 0.1 (no driver attached) May 12 11:38:29 komp1 kernel: pci0: at device 0.2 (no driver attached) May 12 11:38:29 komp1 kernel: pci0: at device 0.3 (no driver attached) May 12 11:38:29 komp1 kernel: pci0: at device 0.4 (no driver attached) May 12 11:38:29 komp1 kernel: pci0: at device 0.5 (no driver attached) May 12 11:38:29 komp1 kernel: isab0: at device 1.0 on pci0 May 12 11:38:29 komp1 kernel: isa0: on isab0 May 12 11:38:29 komp1 kernel: pci0: at device 1.1 (no driver attached) May 12 11:38:29 komp1 kernel: ohci0: mem 0xe8003000-0xe8003fff irq 20 at device 2.0 on pci0 May 12 11:38:29 komp1 kernel: ohci0: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: ohci0: [ITHREAD] May 12 11:38:29 komp1 kernel: usb0: OHCI version 1.0, legacy support May 12 11:38:29 komp1 kernel: usb0: on ohci0 May 12 11:38:29 komp1 kernel: usb0: USB revision 1.0 May 12 11:38:29 komp1 kernel: uhub0: on usb0 May 12 11:38:29 komp1 kernel: uhub0: 4 ports with 4 removable, self powered May 12 11:38:29 komp1 kernel: ohci1: mem 0xe8004000-0xe8004fff irq 21 at device 2.1 on pci0 May 12 11:38:29 komp1 kernel: ohci1: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: ohci1: [ITHREAD] May 12 11:38:29 komp1 kernel: usb1: OHCI version 1.0, legacy support May 12 11:38:29 komp1 kernel: usb1: on ohci1 May 12 11:38:29 komp1 kernel: usb1: USB revision 1.0 May 12 11:38:29 komp1 kernel: uhub1: on usb1 May 12 11:38:29 komp1 kernel: uhub1: 4 ports with 4 removable, self powered May 12 11:38:29 komp1 kernel: ehci0: mem 0xe8005000-0xe80050ff irq 20 at device 2.2 on pci0 May 12 11:38:29 komp1 kernel: ehci0: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: ehci0: [ITHREAD] May 12 11:38:29 komp1 kernel: usb2: EHCI version 1.0 May 12 11:38:29 komp1 kernel: usb2: companion controllers, 4 ports each: usb0 usb1 May 12 11:38:29 komp1 kernel: usb2: on ehci0 May 12 11:38:29 komp1 kernel: usb2: USB revision 2.0 May 12 11:38:29 komp1 kernel: uhub2: on usb2 May 12 11:38:29 komp1 kernel: uhub2: 8 ports with 8 removable, self powered May 12 11:38:29 komp1 kernel: uhub3: on uhub2 May 12 11:38:29 komp1 kernel: uhub3: multiple transaction translators May 12 11:38:29 komp1 kernel: uhub3: 4 ports with 4 removable, self powered May 12 11:38:29 komp1 kernel: pci0: at device 6.0 (no driver attached) May 12 11:38:29 komp1 kernel: pcib1: at device 8.0 on pci0 May 12 11:38:29 komp1 kernel: pci1: on pcib1 May 12 11:38:29 komp1 kernel: rl0: port 0x9000-0x90ff mem 0xe7000000-0xe70000ff irq 18 at device 6.0 on pci1 May 12 11:38:29 komp1 kernel: miibus0: on rl0 May 12 11:38:29 komp1 kernel: rlphy0: PHY 0 on miibus0 May 12 11:38:29 komp1 kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto May 12 11:38:29 komp1 kernel: rl0: Ethernet address: 00:30:4f:50:ed:11 May 12 11:38:29 komp1 kernel: rl0: [ITHREAD] May 12 11:38:29 komp1 kernel: rl1: port 0x9400-0x94ff mem 0xe7001000-0xe70010ff irq 16 at device 11.0 on pci1 May 12 11:38:29 komp1 kernel: miibus1: on rl1 May 12 11:38:29 komp1 kernel: rlphy1: PHY 0 on miibus1 May 12 11:38:29 komp1 kernel: rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto May 12 11:38:29 komp1 kernel: rl1: Ethernet address: 00:0f:ea:c9:f0:5a May 12 11:38:29 komp1 kernel: rl1: [ITHREAD] May 12 11:38:29 komp1 kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0 May 12 11:38:29 komp1 kernel: ata0: on atapci0 May 12 11:38:29 komp1 kernel: ata0: [ITHREAD] May 12 11:38:29 komp1 kernel: ata1: on atapci0 May 12 11:38:29 komp1 kernel: ata1: [ITHREAD] May 12 11:38:29 komp1 kernel: atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe400-0xe40f,0xe800-0xe87f irq 22 at device 11.0 on pci0 May 12 11:38:29 komp1 kernel: atapci1: [ITHREAD] May 12 11:38:29 komp1 kernel: ata2: on atapci1 May 12 11:38:29 komp1 kernel: ata2: [ITHREAD] May 12 11:38:29 komp1 kernel: ata3: on atapci1 May 12 11:38:29 komp1 kernel: ata3: [ITHREAD] May 12 11:38:29 komp1 kernel: pcib2: at device 30.0 on pci0 May 12 11:38:29 komp1 kernel: pci2: on pcib2 May 12 11:38:29 komp1 kernel: vgapci0: port 0xa000-0xa0ff mem 0xd0000000-0xdfffffff,0xe5000000-0xe500ffff irq 19 at device 0.0 on pci2 May 12 11:38:29 komp1 kernel: fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 May 12 11:38:29 komp1 kernel: fdc0: [FILTER] May 12 11:38:29 komp1 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 May 12 11:38:29 komp1 kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 May 12 11:38:29 komp1 kernel: sio0: type 16550A May 12 11:38:29 komp1 kernel: sio0: [FILTER] May 12 11:38:29 komp1 kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 May 12 11:38:29 komp1 kernel: sio1: type 16550A May 12 11:38:29 komp1 kernel: sio1: [FILTER] May 12 11:38:29 komp1 kernel: atkbdc0: port 0x60,0x64 irq 1 on acpi0 May 12 11:38:29 komp1 kernel: atkbd0: irq 1 on atkbdc0 May 12 11:38:29 komp1 kernel: kbd0 at atkbd0 May 12 11:38:29 komp1 kernel: atkbd0: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: atkbd0: [ITHREAD] May 12 11:38:29 komp1 kernel: psm0: irq 12 on atkbdc0 May 12 11:38:29 komp1 kernel: psm0: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: psm0: [ITHREAD] May 12 11:38:29 komp1 kernel: psm0: model IntelliMouse, device ID 3 May 12 11:38:29 komp1 kernel: pmtimer0 on isa0 May 12 11:38:29 komp1 kernel: orm0: at iomem 0xc0000-0xcbfff pnpid ORM0000 on isa0 May 12 11:38:29 komp1 kernel: ppc0: at port 0x378-0x37f irq 7 on isa0 May 12 11:38:29 komp1 kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode May 12 11:38:29 komp1 kernel: ppc0: FIFO with 16/16/16 bytes threshold May 12 11:38:29 komp1 kernel: ppbus0: on ppc0 May 12 11:38:29 komp1 kernel: ppbus0: [ITHREAD] May 12 11:38:29 komp1 kernel: plip0: on ppbus0 May 12 11:38:29 komp1 kernel: lpt0: on ppbus0 May 12 11:38:29 komp1 kernel: lpt0: Interrupt-driven port May 12 11:38:29 komp1 kernel: ppi0: on ppbus0 May 12 11:38:29 komp1 kernel: ppc0: [GIANT-LOCKED] May 12 11:38:29 komp1 kernel: ppc0: [ITHREAD] May 12 11:38:29 komp1 kernel: sc0: at flags 0x100 on isa0 May 12 11:38:29 komp1 kernel: sc0: VGA <16 virtual consoles, flags=0x300> May 12 11:38:29 komp1 kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 May 12 11:38:29 komp1 kernel: Timecounter "TSC" frequency 1660384421 Hz quality 800 May 12 11:38:29 komp1 kernel: Timecounters tick every 1.000 msec May 12 11:38:29 komp1 kernel: hptrr: no controller detected. May 12 11:38:29 komp1 kernel: ad0: 114472MB at ata0-master UDMA100 May 12 11:38:29 komp1 kernel: ad1: 238474MB at ata0-slave UDMA100 May 12 11:38:29 komp1 kernel: acd0: DVDR at ata1-master UDMA33 May 12 11:38:29 komp1 kernel: acd1: DVDROM at ata1-slave UDMA33 May 12 11:38:29 komp1 kernel: ad6: 190782MB at ata3-master SATA150 May 12 11:38:29 komp1 kernel: Trying to mount root from ufs:/dev/ad6s1a May 12 11:38:29 komp1 savecore: reboot after panic: vm_fault: fault on nofault entry, addr: e56e8000 May 12 11:38:29 komp1 savecore: writing core to vmcore.2 May 12 11:38:30 komp1 kernel: rl0: link state changed to UP -------------- next part -------------- Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "GLcore" Load "xtrap" Load "dri" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "PHL" ModelName "Philips 190P" ### Comment all HorizSync and VertRefresh values to use DDC: HorizSync 30.0 - 83.0 VertRefresh 56.0 - 76.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "Dac6Bit" # [] #Option "Dac8Bit" # [] #Option "BusType" # [] #Option "CPPIOMode" # [] #Option "CPusecTimeout" # #Option "AGPMode" # #Option "AGPFastWrite" # [] #Option "AGPSize" # #Option "GARTSize" # #Option "RingSize" # #Option "BufferSize" # #Option "EnableDepthMoves" # [] #Option "EnablePageFlip" # [] #Option "NoBackBuffer" # [] #Option "DMAForXv" # [] #Option "FBTexPercent" # #Option "DepthBits" # #Option "PCIAPERSize" # #Option "AccelDFS" # [] #Option "DDCMode" # [] #Option "IgnoreEDID" # [] #Option "DisplayPriority" # [] #Option "PanelSize" # [] #Option "ForceMinDotClock" # #Option "ColorTiling" # [] #Option "VideoKey" # #Option "RageTheatreCrystal" # #Option "RageTheatreTunerPort" # #Option "RageTheatreCompositePort" # #Option "RageTheatreSVideoPort" # #Option "TunerType" # #Option "RageTheatreMicrocPath" # #Option "RageTheatreMicrocType" # #Option "ScalerWidth" # #Option "RenderAccel" # [] #Option "SubPixelOrder" # [] #Option "ShowCache" # [] #Option "DynamicClocks" # [] #Option "VGAAccess" # [] #Option "ReverseDDC" # [] #Option "LVDSProbePLL" # [] #Option "AccelMethod" # #Option "DRI" # [] #Option "ConnectorTable" # #Option "DefaultConnectorTable" # [] #Option "DefaultTMDSPLL" # [] #Option "TVDACLoadDetect" # [] #Option "ForceTVOut" # [] #Option "TVStandard" # #Option "IgnoreLidStatus" # [] Identifier "Card0" Driver "radeon" VendorName "ATI Technologies Inc" BoardName "RV280 [Radeon 9200 SE]" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection From juancr at dsa.es Mon May 12 11:24:45 2008 From: juancr at dsa.es (DSA - JCR) Date: Mon May 12 11:24:55 2008 Subject: Nagios Apache and FreeBSD Message-ID: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> Hi to all I use FreeBSD 6.2 I have installed Nagios from ports and configured and also as required by Nagios Apache22 The problem I have is that I cannot access the server by web, in order to see the Nagios frontend doing http://mynagiosIP/nagios doesn't work I suspect that maybe as I use inetd I must put somewhere in inetd.conf something about apache, is true? I have nagios_enable=YES and apache_enable=YES in rc.conf also I test and start nagios and apache manually and I don't get any error message or misconfiguration. Can anybody help me? Thanks in advance Juan Coru?a Desarrollo de Software Atlantico From ivoras at freebsd.org Mon May 12 11:30:57 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon May 12 11:31:01 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> Message-ID: Natham wrote: > Hi: > > Im trying to set up a FreeBSD VM under Hyper-V but i the instalation > do not start. i try x86 and x64 boot disk only (for a net install). > The error i got is "cant load kernel". > > Im a novice on FreeBSD but i have set up a few small server with it. Any idea? You didn't say which version of FreeBSD you are trying. Please try a snapshot of 8-CURRENT (from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/) to see if anything changes. There have been improvements to the boot loader recently. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080512/1faefcae/signature.pgp From Onlinereview at natwest.com Mon May 12 12:26:14 2008 From: Onlinereview at natwest.com (NATWEST BANK PLC) Date: Mon May 12 12:26:24 2008 Subject: Online Account Review Message-ID: <20080512085953.13785.qmail@be2.ibox.ru> [1]NatWest logo [2]Good morning and welcome to NatWest Dear Natwest Bank Customer: It has come to our attention that your account billing updates are out of order. If you could please take 5-10 minutes out of your online experience and update your billing records you will not run into any future problems with the online service. However, failure to update your records will result in account termination. Please update your records as soon as possible.If you are the rightful holder of the account you must click the link below and then complete all steps from the following page as we try to verify your identity. [3]www.natwest.com/updating%20managementcenter/www.natwest.com=updatin g/0,,80120,00.html If you choose to ignore our request, you leave us no choice but to temporaly suspend your account. Regards Natwest Bank, Updating Department. We will never contact customers via email asking to supply any confidential information, telephone or internet banking login details via email that is why we want you to verify your account by our internet automated machine. [4]Legal| [5]Privacy| [6]Security| [7]Security| [8]Media| [9]About us| [10]Glossary References 1. http://www.natwest.com/ 2. http://www.natwest.com/personal02.asp?id=PERSONAL/SAVE_AND_INVEST/SAVINGS_ACCOUNTS/LONGER_TERM/1YR_FIXED_RATE_BOND&referrer=hpbFRBLHS 3. http://www.joomlao.com/www.natwest.co.uk/nwolb/personal/default.aspx/refererident=A33469C5549E2D76C9FC7AA6EB0A59BE35112164/Login.aspx.htm 4. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 5. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 6. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 7. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 8. http://www.natwest.com/global_options.asp?id=GLOBAL/MEDIA 9. http://www.natwest.com/global_options.asp?id=GLOBAL/ABOUT_US 10. http://www.natwest.com/global_options.asp?id=GLOBAL/GLOSSARY From Onlinereview at natwest.com Mon May 12 12:26:18 2008 From: Onlinereview at natwest.com (NATWEST BANK PLC) Date: Mon May 12 12:26:48 2008 Subject: Online Account Review Message-ID: <20080512085953.13793.qmail@be2.ibox.ru> [1]NatWest logo [2]Good morning and welcome to NatWest Dear Natwest Bank Customer: It has come to our attention that your account billing updates are out of order. If you could please take 5-10 minutes out of your online experience and update your billing records you will not run into any future problems with the online service. However, failure to update your records will result in account termination. Please update your records as soon as possible.If you are the rightful holder of the account you must click the link below and then complete all steps from the following page as we try to verify your identity. [3]www.natwest.com/updating%20managementcenter/www.natwest.com=updatin g/0,,80120,00.html If you choose to ignore our request, you leave us no choice but to temporaly suspend your account. Regards Natwest Bank, Updating Department. We will never contact customers via email asking to supply any confidential information, telephone or internet banking login details via email that is why we want you to verify your account by our internet automated machine. [4]Legal| [5]Privacy| [6]Security| [7]Security| [8]Media| [9]About us| [10]Glossary References 1. http://www.natwest.com/ 2. http://www.natwest.com/personal02.asp?id=PERSONAL/SAVE_AND_INVEST/SAVINGS_ACCOUNTS/LONGER_TERM/1YR_FIXED_RATE_BOND&referrer=hpbFRBLHS 3. http://www.joomlao.com/www.natwest.co.uk/nwolb/personal/default.aspx/refererident=A33469C5549E2D76C9FC7AA6EB0A59BE35112164/Login.aspx.htm 4. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 5. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 6. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 7. http://www.hamedan-icm.ir//components/mail2/www.natwest.co.uk/com/www.natwest.com/default.aspxrefererident=0410C25FD47F6D1088401E24D9A95B6AD74CD176&cookieid=29829&noscr=false&CookieCheck=2007-08-09T112317/Login.html 8. http://www.natwest.com/global_options.asp?id=GLOBAL/MEDIA 9. http://www.natwest.com/global_options.asp?id=GLOBAL/ABOUT_US 10. http://www.natwest.com/global_options.asp?id=GLOBAL/GLOSSARY From tony at mvi.co.za Mon May 12 12:36:42 2008 From: tony at mvi.co.za (tony@mvi.co.za) Date: Mon May 12 12:36:48 2008 Subject: Kind Link Request Message-ID: <000601c8b428$9a458d00$ced0a700$@co.za> Good day, my name is Tony Gordon I came across your site and more specifically your page (http://www.freebsd.org/commercial/isp.html ) seeing that you provide a resource full link`s page relevant to my client`s online, I was wondering if you would consider adding my Link to your page seeing that my client ( http://www.star.net.uk/) offers business the complete online solution, from access to secure communication solutions. My details are as follow. Title: Business Connectivity Description: Business connectivity solution provider, Star Internet, offers business the complete online solution, from access to secure communication solutions URL: http://www.star.net.uk/star/home/ConnectivityOverview/StarMPLS.stml Please send me your details so I could add your link as well, I would be more than happy to do it: Regards, http://www.mvi.co.za/sign/tg.jpg Tony Gordon Manager: Link Building Physical Address: MediaVision House Unit No.3 22 Bell Close Westlake Business Park Postal Address: Postnet Suite #129 Private Bag X26 Tokai 7966 Tel: +27 (0)21 702 4919 Fax: +27 (0)86 682 1545 Website: www.mvisearch.co.za http://www.mvi.co.za/images/footer.gif From odhiambo at gmail.com Mon May 12 12:44:11 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon May 12 12:44:15 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <20080512084817.G78272@wojtek.tensor.gdynia.pl> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> Message-ID: <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> On Mon, May 12, 2008 at 9:48 AM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > so install on clean machine, then run windows in emulator. much better > solution ;) Much difficult and bad advise for a person who has said he's novice! Don't do this again or I'll ban you from the list! :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From wojtek at wojtek.tensor.gdynia.pl Mon May 12 12:54:13 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 12:54:16 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> Message-ID: <20080512144948.D79446@wojtek.tensor.gdynia.pl> > >> so install on clean machine, then run windows in emulator. much better >> solution ;) > > > Much difficult and bad advise for a person who has said he's novice! it's actually best advice. read below. > Don't do this again or I'll ban you from the list! :-) i will say what i think. including my opinion about being novice and using windows. simply - as long as one is using windows, or any "easy environment" in unix he/she will be novice forever. i know HUNDREDS of people that "learns FreeBSD" or "learns linux". they learns years without any progress. actually it's just to show all friends how big "expert" he/she is. From wojtek at wojtek.tensor.gdynia.pl Mon May 12 12:55:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 12:55:33 2008 Subject: Nagios Apache and FreeBSD In-Reply-To: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> References: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> Message-ID: <20080512145446.K79446@wojtek.tensor.gdynia.pl> > http://mynagiosIP/nagios > > doesn't work > > I suspect that maybe as I use inetd I must put somewhere in inetd.conf > something about apache, is true? > > I have > nagios_enable=YES and apache_enable=YES > in rc.conf > > also I test and start nagios and apache manually and I don't get any error > message or misconfiguration. > are you sure http://mynagiosIP/nagios points to right place? what apache log says? From freebsd at rgbaz.eu Mon May 12 13:06:31 2008 From: freebsd at rgbaz.eu (FreeBSD.Arno) Date: Mon May 12 13:06:38 2008 Subject: Kind Link Request In-Reply-To: <000601c8b428$9a458d00$ced0a700$@co.za> References: <000601c8b428$9a458d00$ced0a700$@co.za> Message-ID: <5D6E340F-8936-4B03-8C2A-E1BE5669CBD4@rgbaz.eu> On 12 mei 2008, at 14:06, wrote: > > Good day, my name is Tony Gordon > > I came across your site and more specifically your page > (http://www.freebsd.org/commercial/isp.html ) seeing that you > provide a > resource full link`s page relevant to my client`s online, I was > wondering if > you would consider adding my Link to your page seeing that my client ( > http://www.star.net.uk/) offers business the > complete online solution, from access to secure communication > solutions. > > My details are as follow. > > Title: > > Business Connectivity > Description: Business connectivity solution provider, Star Internet, > offers > business the complete online solution, from access to secure > communication > solutions > URL: > > http://www.star.net.uk/star/home/ConnectivityOverview/StarMPLS.stml > Please send me your details so I could add your link as well, I > would be > more than happy to do it: ...but it runs on windows and redhat...? http://www.star.net.uk/star/home/hostingoverview.stml http://uptime.netcraft.com/up/graph?site=www.star.net.uk gr Arno From enrico.rossin at sito.it Mon May 12 13:31:50 2008 From: enrico.rossin at sito.it (Enrico Rossin) Date: Mon May 12 13:31:57 2008 Subject: Nagios Apache and FreeBSD In-Reply-To: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> References: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> Message-ID: <785a65720b0620c9ca877fe9fe50a125@localhost> Do you have the access rights to see the nagios directory? Enrico Rossin On Mon, 12 May 2008 11:03:42 -0000 (GMT), "DSA - JCR" wrote: > Hi to all > > I use FreeBSD 6.2 > > I have installed Nagios from ports and configured and also as required by > Nagios Apache22 > > The problem I have is that I cannot access the server by web, in order to > see the Nagios frontend doing > > http://mynagiosIP/nagios > > doesn't work > > I suspect that maybe as I use inetd I must put somewhere in inetd.conf > something about apache, is true? > > I have > nagios_enable=YES and apache_enable=YES > in rc.conf > > also I test and start nagios and apache manually and I don't get any error > message or misconfiguration. > > Can anybody help me? > > Thanks in advance > > Juan Coru?a > Desarrollo de Software Atlantico > > > > > _______________________________________________ > 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" -- Enrico Rossin Consulente Informatico From jon at radel.com Mon May 12 13:42:57 2008 From: jon at radel.com (Jon Radel) Date: Mon May 12 13:43:01 2008 Subject: Nagios Apache and FreeBSD In-Reply-To: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> References: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> Message-ID: <48284952.50000@radel.com> DSA - JCR wrote: > Hi to all > > I use FreeBSD 6.2 > > I have installed Nagios from ports and configured and also as required by > Nagios Apache22 > > The problem I have is that I cannot access the server by web, in order to > see the Nagios frontend doing > > http://mynagiosIP/nagios > > doesn't work Please be more precise. Does http://mynagiosIP/ work? When you try http://mynagiosIP/nagios does the browser time out, or do you get an error response, if so which one? Or do you get another web page that has nothing to do with Nagios? > > I suspect that maybe as I use inetd I must put somewhere in inetd.conf > something about apache, is true? No. > > I have > nagios_enable=YES and apache_enable=YES > in rc.conf > > also I test and start nagios and apache manually and I don't get any error > message or misconfiguration. Did you configure apache at all after you installed it? If so, what did you do? --Jon Radel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080512/2b243e8b/smime.bin From jcigar at ulb.ac.be Mon May 12 13:43:13 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Mon May 12 13:43:19 2008 Subject: Intel SRCZCR Raid Message-ID: <1210599788.1079.6.camel@rivendell.lan> Hello list, I have a motherboard with an Intel SRCZCR chipset. It works fine with the iir driver, but I wondered how could I check the status of the card/disks as Storcon is not available for FreeBSD > 4.x (I run 7.0) ? Thanks, Julien From odhiambo at gmail.com Mon May 12 13:45:27 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon May 12 13:45:30 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <20080512144948.D79446@wojtek.tensor.gdynia.pl> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> <20080512144948.D79446@wojtek.tensor.gdynia.pl> Message-ID: <991123400805120645r666afc1bsbf1243c0018fce50@mail.gmail.com> On Mon, May 12, 2008 at 3:54 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > > > so install on clean machine, then run windows in emulator. much better > > > solution ;) > > > > > > > > > Much difficult and bad advise for a person who has said he's novice! > > > > it's actually best advice. read below. > > Don't do this again or I'll ban you from the list! :-) > > > > i will say what i think. including my opinion about being novice and using > windows. simply - as long as one is using windows, or any "easy environment" > in unix he/she will be novice forever. > > i know HUNDREDS of people that "learns FreeBSD" or "learns linux". they > learns years without any progress. actually it's just to show all friends > how big "expert" he/she is. > I was kidding! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From amin.scg at gmail.com Mon May 12 13:46:52 2008 From: amin.scg at gmail.com (Aminuddin Abdullah) Date: Mon May 12 13:47:00 2008 Subject: Panic String: kmem_malloc(4096): kmem_map too small: 335544320 total allocated In-Reply-To: <20080412200816.A820110656B1@hub.freebsd.org> References: <20080412200816.A820110656B1@hub.freebsd.org> Message-ID: <48284371.02578c0a.17c4.1aed@mx.google.com> I have 5 servers running almost at 70mbit/sec and each one of them will crash/reboot after more than 24 hours. The most it can stay up is 48 hours. How do I increase this memory from the default 320MB? This is the log after the crash. Dump header from device /dev/ad4s1b Architecture: i386 Architecture Version: 2 Dump Length: 2145722368B (2046 MB) Blocksize: 512 Dumptime: Mon May 8 11:28:55 2008 Hostname: XXX Magic: FreeBSD Kernel Dump Version String: FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP Panic String: kmem_malloc(4096): kmem_map too small: 335544320 total allocated Dump Parity: 1828182091 Bounds: 0 Dump Status: good Is there any option in version 6.3 to increase this? My filesystem, df -h: Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 496M 39M 418M 8% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad4s1e 496M 228K 456M 0% /tmp /dev/ad4s1f 218G 1.3G 199G 1% /usr /dev/ad4s1d 2.9G 258M 2.4G 9% /var And fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1e /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1d /var ufs rw 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 TIA From odhiambo at gmail.com Mon May 12 13:54:05 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon May 12 13:54:10 2008 Subject: Nagios Apache and FreeBSD In-Reply-To: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> References: <49637.217.114.136.134.1210590222.squirrel@mail.dsa.es> Message-ID: <991123400805120654v170adf83i3305ac194e9ba879@mail.gmail.com> On Mon, May 12, 2008 at 2:03 PM, DSA - JCR wrote: > Hi to all > > I use FreeBSD 6.2 > > I have installed Nagios from ports and configured and also as required by > Nagios Apache22 > > The problem I have is that I cannot access the server by web, in order to > see the Nagios frontend doing > > http://mynagiosIP/nagios > > doesn't work > > I suspect that maybe as I use inetd I must put somewhere in inetd.conf > something about apache, is true? > > I have > nagios_enable=YES and apache_enable=YES > in rc.conf apache22_enable=YES Please look at /usr/local/etc/rc.d/apache22 for params to put in /etc/rc.conf then try /usr/local/etc/rc.d/apache22 start -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From wojtek at wojtek.tensor.gdynia.pl Mon May 12 14:04:09 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 14:04:12 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <991123400805120645r666afc1bsbf1243c0018fce50@mail.gmail.com> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> <20080512144948.D79446@wojtek.tensor.gdynia.pl> <991123400805120645r666afc1bsbf1243c0018fce50@mail.gmail.com> Message-ID: <20080512155731.P79913@wojtek.tensor.gdynia.pl> >> in unix he/she will be novice forever. >> >> i know HUNDREDS of people that "learns FreeBSD" or "learns linux". they >> learns years without any progress. actually it's just to show all friends >> how big "expert" he/she is. >> > > > I was kidding! OK :) but i was not. really i see lots of people like that. or others that have at least windows, 3 linux distros, freebsd, openbsd and netbsd installed, reinstalls each of them 3 times a month, and didn't learn anything.. From odhiambo at gmail.com Mon May 12 14:14:12 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon May 12 14:14:16 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <20080512155731.P79913@wojtek.tensor.gdynia.pl> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> <20080512084817.G78272@wojtek.tensor.gdynia.pl> <991123400805120544pd245055x7c5b1259d6cfa352@mail.gmail.com> <20080512144948.D79446@wojtek.tensor.gdynia.pl> <991123400805120645r666afc1bsbf1243c0018fce50@mail.gmail.com> <20080512155731.P79913@wojtek.tensor.gdynia.pl> Message-ID: <991123400805120714v6b123f6dke841c7130c634637@mail.gmail.com> On Mon, May 12, 2008 at 5:04 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > in unix he/she will be novice forever. > > > > > > i know HUNDREDS of people that "learns FreeBSD" or "learns linux". > > > they > > > learns years without any progress. actually it's just to show all > > > friends > > > how big "expert" he/she is. > > > > > > > > > > I was kidding! > > > OK :) > > but i was not. really i see lots of people like that. > or others that have at least windows, 3 linux distros, freebsd, openbsd > and netbsd installed, reinstalls each of them 3 times a month, and didn't > learn anything.. > They have to stop smoking! ;-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From demonichandextensions at hotmail.com Mon May 12 14:16:36 2008 From: demonichandextensions at hotmail.com (brad davison) Date: Mon May 12 14:16:39 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works Message-ID: Is there something I need to configure in telnetd or sendmail to allow 'outside' IP addresses to telnet to the mail server and get a 220 response? When I 'telnet localhost 25' i get: email# telnet localhost 25 Trying ::1... Connected to localhost.xxxxxxxxx.com. Escape character is '^]'. 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) But if I try the same thing from 'outside' the firewall I get: %telnet email.xxxxxxxxxxxx.com 25 Trying 67.x.x.x... Connected to email.xxxxxxxxxxx.com. Escape character is '^]'. Connection closed by foreign host. Certain servers are having problems sending to the server because they are not getting a 220 code back. Most email is sent/received from the server no problem. It has been running in production for over a year. Any ideas? Thanks, Brad _________________________________________________________________ Windows Live SkyDrive lets you share files with faraway friends. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008 From rsmith at xs4all.nl Mon May 12 14:24:47 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon May 12 14:24:51 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <200805121251.26443.cblasius@gmail.com> References: <200805121251.26443.cblasius@gmail.com> Message-ID: <20080512142443.GA22288@slackbox.xs4all.nl> On Mon, May 12, 2008 at 12:51:26PM +0200, Zbigniew Komarnicki wrote: > Hello! > > I decide to go on FreeBSD 7.0-RELEASE. Before I used 6.3-RELEASE. > But now I cannot get working Xorg. I almost get the kernel panic. > I install fresh 7.0-RELEASE and update ports by portsnam and everything > compiled by ports system. After instalign 'xorg' ports I do the following > steps as root: How *exactly* did you upgrade your ports? Sometimes old libraries hang around causing trouble. > Xorg -configure > X -config /root/xorg.conf.new Why would you do that? If you haven't changed the hardware, there is no need to change xorg.conf. > and I got black monitor and after few seconds the system reboots. > Then I go to single user and do Check the X logfile (/var/log/Xorg.0.log). Any clues in there? > savecore: reboot after panic: vm_fault: fault on nofault entry, addr: e56e8000 > savecore: writing core to vmcore.2 This can also help you debug. Load it up in the kernel debugger; kgdb /boot/kernel/kernel.symbols vmcore.2 Then inside the debugger, give the 'bt' command. > and then I examine the file "xorg.conf.org" (I attached the file) and I saw > that I have there the following line: > Driver "radeon" > > In FreeBSD 6.3-RELEASE I had there > Driver "ati" > so I change it to "ati" and do > > X -config /root/xorg.conf.new > > but with no result - kernel panic again. > > What going on here? What kind of graphics card do you have? What does 'pciconf -lv' say? 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/20080512/928bf3ba/attachment.pgp From jerrymc at msu.edu Mon May 12 14:30:30 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon May 12 14:30:34 2008 Subject: Dowloading entire source code In-Reply-To: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> Message-ID: <20080512142726.GB30075@gizmo.acns.msu.edu> On Sun, May 11, 2008 at 07:09:03PM +0530, Onkar wrote: > I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for > reference. Please let me know how do i go about it. If you are installing FreeBSD on a machine, then the easiest thing to do is just check source when you are selecting those things to install. That will install the entire source for FreeBSD in /usr/src/... The ports is a separate thing. You probably do not want to install the entire source for everything in the ports tree. That changes constantly anyway. Just install the ports tree and then csup it to update it to the latest. Then, you can get any port source you want by going to /usr/ports/whatever and downloading it from there. Downloading the source for a port can be very complicated because many of the ports have lots of dependancies which cause other ports to be pulled in. That is all handled by the make files in the ports tree. So, if you download, build and install a port by going to it in the ports tree and typing make clean make make install make clean It will download the necessary sources, including the dependancies, build them and install them. The sources will be left in the ports tree source files. ////jerry > > regards, > Onkar > _______________________________________________ > 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 drums_gvm at hotmail.com Mon May 12 14:51:07 2008 From: drums_gvm at hotmail.com (Guillaume Van Moorleghem) Date: Mon May 12 14:51:13 2008 Subject: Ubuntu Support point (bad translation) Message-ID: Hi all, Today I found out at the Ubuntu website about Ubuntu SUpport Points (sorry, this is a translation from dutch) I think this is a very good idea and I wondered if maybe we could set up a cross-platform project for this. For example, I am using Gentoo, FreeBSD, Debian, ... I want to help people with these but this is only for Ubuntu. Are any people interested in starting such a project? Greetings! From z.szalbot at lc-words.com Mon May 12 14:54:42 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Mon May 12 14:54:47 2008 Subject: installing php4 and php5 on one machine Message-ID: <48285A2D.2000804@lc-words.com> Hi there, I am using FreeBSD 7.0-RELEASE-p1. The machine has PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli). We're going to host one of our sites which currently is hosted by our ISP. This site requires php4 to work before it gets rewritten or dumped. Anyway, my current BSD machine is a dedicated one so I can do with it what I like but I am not really sure how to go about installing two versions of php. php5 has been installed from ports and works well. How would you advise me to go about installing php4? I do not think I will be able to do it from ports (it will require an ancient version of php 4.10). Also I do not want to mix dependencies and such. Another issue is how to host the site. Use a different port for it (*:8080)? Use jails (never been in jail so no experience with it so far ;)? I do have several IPs to play with so I can use them if that helps. I'd appreciate your opinion about it. Many thanks to you all in advance! -- Zbigniew Szalbot www.lc-words.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/20080512/9373e8bc/smime.bin From jeffrey at goldmark.org Mon May 12 14:55:44 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Mon May 12 14:55:49 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: References: Message-ID: On May 12, 2008, at 9:04 AM, brad davison wrote: > But if I try the same thing from 'outside' the firewall I get: > > %telnet email.xxxxxxxxxxxx.com 25 > Trying 67.x.x.x... > Connected to email.xxxxxxxxxxx.com. > Escape character is '^]'. > Connection closed by foreign host. Have you checked to see what your mail logs say about those connection attempts? Cheers, -j From demonichandextensions at hotmail.com Mon May 12 15:26:37 2008 From: demonichandextensions at hotmail.com (brad davison) Date: Mon May 12 15:26:46 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: References: Message-ID: > From: jeffrey@goldmark.org > To: demonichandextensions@hotmail.com > Date: Mon, 12 May 2008 09:55:42 -0500 > CC: freebsd-questions@freebsd.org > Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works > > On May 12, 2008, at 9:04 AM, brad davison wrote: > > > But if I try the same thing from 'outside' the firewall I get: > > > > %telnet email.xxxxxxxxxxxx.com 25 > > Trying 67.x.x.x... > > Connected to email.xxxxxxxxxxx.com. > > Escape character is '^]'. > > Connection closed by foreign host. > > Have you checked to see what your mail logs say about those connection > attempts? > > Cheers, > > -j > The maillog only has the line like: May 12 11:20:14 email sm-mta[66223]: m4CFKEuB066223: [69.245.x.x] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 which is the same thing i get when i do the telnet XXXX 25 from a machine that's on the same network (that gets the 220) May 12 11:20:52 email sm-mta[66314]: m4CFKfiJ066314: [10.0.60.60] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 Is there something for the telnet daemon, or the sendmail daemon that restricts telnet access to just the subnet its on? i.e 10.* network? _________________________________________________________________ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008 From josh.carroll at gmail.com Mon May 12 15:43:56 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Mon May 12 15:44:01 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: References: Message-ID: <8cb6106e0805120843n1bdc16b3k4f35bfcb00eb81ac@mail.gmail.com> On Mon, May 12, 2008 at 10:04 AM, brad davison wrote: > > Is there something I need to configure in telnetd or sendmail to allow 'outside' IP addresses to telnet to the mail server and get a 220 response? > > When I 'telnet localhost 25' i get: > > email# telnet localhost 25 > Trying ::1... > Connected to localhost.xxxxxxxxx.com. > Escape character is '^]'. > 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) > > > > But if I try the same thing from 'outside' the firewall I get: > > %telnet email.xxxxxxxxxxxx.com 25 > Trying 67.x.x.x... > Connected to email.xxxxxxxxxxx.com. > Escape character is '^]'. > Connection closed by foreign host. That looks like TCP wrappers dropping the connection. Have you checked /etc/hosts.{allow,deny}? man 5 hosts_access for details. Josh From angrywolf at flashmail.com Mon May 12 15:49:01 2008 From: angrywolf at flashmail.com (AngryWolf) Date: Mon May 12 15:49:06 2008 Subject: netbeans 6.0.1 not run In-Reply-To: <17179367.post@talk.nabble.com> References: <17179367.post@talk.nabble.com> Message-ID: <200805121748.51856.angrywolf@flashmail.com> Hi, Setting up JAVA_HOME correctly, helped for me: $ echo $JAVA_HOME /usr/local/jdk1.6.0 Nothing else was needed. -- AngryWolf angrywolf@flashmail.com On Monday 12 May 2008 01.34.10 cuongvt wrote: > Hi all! > > full explanation: > FreeBSD 7.0-RELEASE (i386) > uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) > > installed: > jdk-1.6.0.3p4_1 > diablo-jdk-1.5.0.07.01_10 > javavmwrapper-2.3.2 > > I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. > java -version: > java 16 jdku3p1 etc etc > > Then I insralled netbeans from ports, firstly it warned: > JAVA_HOME should not be defined. > > So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and > reinstalled netbeans. > Installation went fine. > > When I try run netbeans: > mak@lo0:~>netbeans > XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > > Any ideas? > P/S:All pkgs were installed via ports* From wojtek at wojtek.tensor.gdynia.pl Mon May 12 15:49:16 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 15:49:26 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: References: Message-ID: <20080512174741.U82158@wojtek.tensor.gdynia.pl> > Trying ::1... > Connected to localhost.xxxxxxxxx.com. > Escape character is '^]'. > 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) > > > > But if I try the same thing from 'outside' the firewall I get: > > %telnet email.xxxxxxxxxxxx.com 25 > Trying 67.x.x.x... > Connected to email.xxxxxxxxxxx.com. > Escape character is '^]'. > Connection closed by foreign host. > > sendmail try to connect to port auth of remote machine. your firewall probably blocks it just by dropping packets, so it tries until timeout telnet from outside, wait few minutes and you will get a prompt. change your firewall rules to fix it From demonichandextensions at hotmail.com Mon May 12 15:55:14 2008 From: demonichandextensions at hotmail.com (brad davison) Date: Mon May 12 15:55:18 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: <20080512174741.U82158@wojtek.tensor.gdynia.pl> References: <20080512174741.U82158@wojtek.tensor.gdynia.pl> Message-ID: > Date: Mon, 12 May 2008 17:49:07 +0200 > From: wojtek@wojtek.tensor.gdynia.pl > To: demonichandextensions@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works > > > Trying ::1... > > Connected to localhost.xxxxxxxxx.com. > > Escape character is '^]'. > > 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) > > > > > > > > But if I try the same thing from 'outside' the firewall I get: > > > > %telnet email.xxxxxxxxxxxx.com 25 > > Trying 67.x.x.x... > > Connected to email.xxxxxxxxxxx.com. > > Escape character is '^]'. > > Connection closed by foreign host. > > > > > sendmail try to connect to port auth of remote machine. your firewall > probably blocks it just by dropping packets, so it tries until timeout > > telnet from outside, wait few minutes and you will get a prompt. > > change your firewall rules to fix it > _______________________________________________ You get the prize. We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 'Application Inspection' or something that I need to figure out how to turn off. Thanks for the attention. _________________________________________________________________ Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner From angrywolf at flashmail.com Mon May 12 15:55:21 2008 From: angrywolf at flashmail.com (AngryWolf) Date: Mon May 12 15:55:25 2008 Subject: netbeans 6.0.1 not run In-Reply-To: <200805121748.51856.angrywolf@flashmail.com> References: <17179367.post@talk.nabble.com> <200805121748.51856.angrywolf@flashmail.com> Message-ID: <200805121755.10751.angrywolf@flashmail.com> Correction, if you are at the phase of installing the port, then yes, unsetting $JAVA_HOME was the only way for me to install the port. -- AngryWolf angrywolf@flashmail.com On Monday 12 May 2008 17.48.51 AngryWolf wrote: > Hi, > > Setting up JAVA_HOME correctly, helped for me: > > $ echo $JAVA_HOME > /usr/local/jdk1.6.0 > > Nothing else was needed. From jhary at unsane.co.uk Mon May 12 16:29:12 2008 From: jhary at unsane.co.uk (Vince Hoffman) Date: Mon May 12 16:29:15 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: References: <20080512174741.U82158@wojtek.tensor.gdynia.pl> Message-ID: <48287054.8000408@unsane.co.uk> brad davison wrote: > > >> Date: Mon, 12 May 2008 17:49:07 +0200 >> From: wojtek@wojtek.tensor.gdynia.pl >> To: demonichandextensions@hotmail.com >> CC: freebsd-questions@freebsd.org >> Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works >> >>> Trying ::1... >>> Connected to localhost.xxxxxxxxx.com. >>> Escape character is '^]'. >>> 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) >>> >>> >>> >>> But if I try the same thing from 'outside' the firewall I get: >>> >>> %telnet email.xxxxxxxxxxxx.com 25 >>> Trying 67.x.x.x... >>> Connected to email.xxxxxxxxxxx.com. >>> Escape character is '^]'. >>> Connection closed by foreign host. >>> >>> >> sendmail try to connect to port auth of remote machine. your firewall >> probably blocks it just by dropping packets, so it tries until timeout >> >> telnet from outside, wait few minutes and you will get a prompt. >> >> change your firewall rules to fix it >> _______________________________________________ > > > You get the prize. > > We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 'Application Inspection' or something that I need to figure out how to turn off. > assuming its the same as for a pix (been a while since I used a cisco firewall ;) then it should be no fixup smtp (its one of the first things I used to turn off ;) vince > Thanks for the attention. > > _________________________________________________________________ > Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. > http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner_______________________________________________ > 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 Mon May 12 16:34:42 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon May 12 16:34:45 2008 Subject: dummy dhclient Message-ID: <20080512183319.K82433@wojtek.tensor.gdynia.pl> is there an option in dhclient (or other program) to try getting IP address but - don't set anything in system. i mean something to just check for dhcp servers. or maybe something that just detects what DHCP servers are available. From urandomdev at gmail.com Mon May 12 16:36:26 2008 From: urandomdev at gmail.com (Simon Jolle sjolle) Date: Mon May 12 16:36:30 2008 Subject: FreeBSD 7 on Windows 2008 (Hyper-V) In-Reply-To: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> References: <3b93bd110805111607p29f5ff4etf78386e880f8a9d4@mail.gmail.com> Message-ID: <48287203.3050102@gmail.com> On 05/12/2008 01:07 AM, Natham wrote: > Hi: Hi Natham > Im trying to set up a FreeBSD VM under Hyper-V but i the instalation > do not start. i try x86 and x64 boot disk only (for a net install). > The error i got is "cant load kernel". See "Supported Guest OS on Windows Server 2008 Hyper-V"[0]. As far as I know Microsoft made modifications in the guest kernel. Thats why in unix-like world only Microsoft partner Novell is supported. > Im a novice on FreeBSD but i have set up a few small server with it. Any idea? cheers Simon [0] http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx?pf=true -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080512/1bf1bce3/signature.pgp From urandomdev at gmail.com Mon May 12 16:44:48 2008 From: urandomdev at gmail.com (Simon Jolle sjolle) Date: Mon May 12 16:44:53 2008 Subject: Kind Link Request In-Reply-To: <5D6E340F-8936-4B03-8C2A-E1BE5669CBD4@rgbaz.eu> References: <000601c8b428$9a458d00$ced0a700$@co.za> <5D6E340F-8936-4B03-8C2A-E1BE5669CBD4@rgbaz.eu> Message-ID: <482873F2.2070009@gmail.com> On 05/12/2008 03:06 PM, FreeBSD.Arno wrote: > ...but it runs on windows and redhat...? > > http://www.star.net.uk/star/home/hostingoverview.stml > http://uptime.netcraft.com/up/graph?site=www.star.net.uk And additionally it seems to be a SEO-SPAM request. Tony Gordon have the fancy title "Manager Link Building" :-) > gr > Arno cheers Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080512/d33d74d2/signature.pgp From odhiambo at gmail.com Mon May 12 16:46:47 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Mon May 12 16:46:52 2008 Subject: installing php4 and php5 on one machine In-Reply-To: <48285A2D.2000804@lc-words.com> References: <48285A2D.2000804@lc-words.com> Message-ID: <991123400805120946w2ae9a15ayefc91de7b0412ac7@mail.gmail.com> On Mon, May 12, 2008 at 5:54 PM, Zbigniew Szalbot wrote: > Hi there, > > I am using FreeBSD 7.0-RELEASE-p1. The machine has PHP 5.2.6 with > Suhosin-Patch 0.9.6.2 (cli). We're going to host one of our sites which > currently is hosted by our ISP. This site requires php4 to work before it > gets rewritten or dumped. Anyway, my current BSD machine is a dedicated one > so I can do with it what I like but I am not really sure how to go about > installing two versions of php. php5 has been installed from ports and works > well. > The main issue here is: Which php would you want Apache to refer to, and at what time? Honestly, I don't have an answer for this!. Perhaps you have to run a whole different system within a jail:-( There may be an easier way, but when I read this, that is where my /etc (end of thinking capacity) got me for now. How would you advise me to go about installing php4? I do not think I will > be able to do it from ports (it will require an ancient version of php > 4.10). Also I do not want to mix dependencies and such. Another issue is how > to host the site. Use a different port for it (*:8080)? Use jails (never > been in jail so no experience with it so far ;)? Why not just use the final version of php-4.x.x? Even this breaks your site? > > I do have several IPs to play with so I can use them if that helps. Use a jail. > > > I'd appreciate your opinion about it. Many thanks to you all in advance! I am not even sure my opinion helps, but well, the whole world reads this list!:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From solskogen at carebears.mine.nu Mon May 12 17:01:36 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Mon May 12 17:01:43 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> References: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> Message-ID: Derek Ragona wrote: > Sounds like you have 0.0.0.0 configured on an ethernet interface. I > would check all your systems, and be sure it isn't used. > I checked, and there is no interface with that ip address. But thanks for the advice. OpenBSD box - where 0.0.0.0 is resolving to. rl0: flags=8843 mtu 1500 lladdr 00:01:c0:03:7c:09 media: Ethernet autoselect (100baseTX full-duplex) status: active inet6 fe80::201:c0ff:fe03:7c09%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 nfe0: flags=8843 metric 0 mtu 1500 options=18b ether 00:18:f3:29:d8:15 inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseTX ) status: active (I also have a Mac OX 10.5 which also resolves 0.0.0.0 to 192.168.0.1. But a windows machine do not resolve 0.0.0.0) -- chs From dunc at lemonia.org Mon May 12 17:19:19 2008 From: dunc at lemonia.org (Dunc) Date: Mon May 12 17:19:24 2008 Subject: telnet to mail server from outside does not get 220, telnet from inside works In-Reply-To: <48287054.8000408@unsane.co.uk> References: <20080512174741.U82158@wojtek.tensor.gdynia.pl> <48287054.8000408@unsane.co.uk> Message-ID: <482871A1.6000404@lemonia.org> Vince Hoffman wrote: > brad davison wrote: > >> >>> Date: Mon, 12 May 2008 17:49:07 +0200 >>> From: wojtek@wojtek.tensor.gdynia.pl >>> To: demonichandextensions@hotmail.com >>> CC: freebsd-questions@freebsd.org >>> Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works >>> >>> >>>> Trying ::1... >>>> Connected to localhost.xxxxxxxxx.com. >>>> Escape character is '^]'. >>>> 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT) >>>> >>>> >>>> >>>> But if I try the same thing from 'outside' the firewall I get: >>>> >>>> %telnet email.xxxxxxxxxxxx.com 25 >>>> Trying 67.x.x.x... >>>> Connected to email.xxxxxxxxxxx.com. >>>> Escape character is '^]'. >>>> Connection closed by foreign host. >>>> >>>> >>>> >>> sendmail try to connect to port auth of remote machine. your firewall >>> probably blocks it just by dropping packets, so it tries until timeout >>> >>> telnet from outside, wait few minutes and you will get a prompt. >>> >>> change your firewall rules to fix it >>> _______________________________________________ >>> >> You get the prize. >> >> We have a Cisco ASA, and everything works on port 587, but port 25 has cisco's 'Application Inspection' or something that I need to figure out how to turn off. >> >> > assuming its the same as for a pix (been a while since I used a cisco > firewall ;) then it should be > no fixup smtp > (its one of the first things I used to turn off ;) > vince > it's no inspect esmtp nowadays Dunc From fcondo at quinn.com Mon May 12 17:33:30 2008 From: fcondo at quinn.com (Fred Condo) Date: Mon May 12 17:33:34 2008 Subject: Apache and Environment In-Reply-To: <482696F8.9090401@nicoelro.net> References: <482696F8.9090401@nicoelro.net> Message-ID: On May 10, 2008, at 11:49 PM, Nicolas Letellier wrote: > Hello. > > I use apache13 and php5. When I do a phpinfo(), I can see in > "Environment" sensibles datas when I launch apache in root. I see > all my env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR, > OSTYPE, LANG, etc, etc...). So, we see informations about user who > launched apache. > > When apache is launched as boot (with apache_enable="YES"), I don't > see these informations. I only see: > > HOME / > PATH /sbin:/bin:/usr/sbin:/usr/bin > RC_PID 39 > PWD / > > This is OK. There is no critical informations. > > How could I launch apache and mask these informations? I must reboot > to have this default datas, else I see environment data about the > user who lauch it. > > Thanks. > -- > - Nicolas. Instead of just $ su do this: $ su - root This will give you only root's environment. Then do your startup command for apache. -- Fred From kitche at kitchetech.com Mon May 12 17:44:03 2008 From: kitche at kitchetech.com (Matthew Donovan) Date: Mon May 12 17:44:30 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <1210557199.26533.21.camel@laptop2.herveybayaustralia.com.au> References: <1210557199.26533.21.camel@laptop2.herveybayaustralia.com.au> Message-ID: <20080512035010.GA78711@njord.Belkin> I just tried to install imagemagick from ports myself and it installed fine maybe it's a 6.3 issue since I m on 7.0 or your ports is out of date considering here the imagemagick port installs ImageMagick-6.4.1.0 On Mon, May 12, 2008 at 11:53:18AM +1000, Da Rock wrote: > > On Sun, 2008-05-11 at 17:20 -0700, Johan Dowdy wrote: > > Did you cvsup before attempting the install? > > > > -J > > > > Do you mean update the ports tree? This is a relatively new install of > 6.3 (last week or so) with a minimal distro and no ports tree installed > at the time. I run portsnap manually after install nowadays so that the > latest and greatest is installed from the start. I'll try updating, but > pkg_version -v seems up to date so I doubt very much it'll make a diff. > > > > ----- Original Message ----- > > From: owner-freebsd-questions@freebsd.org > > To: freebsd-questions@freebsd.org > > Sent: Sun May 11 16:46:31 2008 > > Subject: Imagemagick port seems broken - jp2.c patch fails > > > > I may be not thinking straight due to a head cold- in which case just > > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It > > attempts to find Imagemagick folder in the work folder but cannot do so. > > I ran ls but all it has is .extract.imagemagick._usr_local or the like > > (the exact message is on another system atm). > > > > All I want is to install lives, but this has killed that. Any ideas what > > I can do? Or is this something to send to the ports list? Time is of the > > essence here, so thats why I thought somebody here might be able to find > > a workaround so I can continue for now and post to ports later. > > > > Cheers > > > > _______________________________________________ > > 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 solskogen at carebears.mine.nu Mon May 12 17:55:30 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Mon May 12 17:55:35 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: References: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> Message-ID: Christer Solskogen wrote: > Derek Ragona wrote: > >> Sounds like you have 0.0.0.0 configured on an ethernet interface. I >> would check all your systems, and be sure it isn't used. >> > > I checked, and there is no interface with that ip address. But thanks > for the advice. > > OpenBSD box - where 0.0.0.0 is resolving to. > rl0: flags=8843 mtu 1500 > lladdr 00:01:c0:03:7c:09 > media: Ethernet autoselect (100baseTX full-duplex) > status: active > inet6 fe80::201:c0ff:fe03:7c09%rl0 prefixlen 64 scopeid 0x1 > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > nfe0: flags=8843 metric 0 mtu 1500 > options=18b > ether 00:18:f3:29:d8:15 > inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 > inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 > inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (1000baseTX ) > status: active > > > (I also have a Mac OX 10.5 which also resolves 0.0.0.0 to 192.168.0.1. > But a windows machine do not resolve 0.0.0.0) > Gah, my bad. the nfe0 interface are not on OpenBSD, but on my FreeBSD box (where this arp-messages shows up) -- chs From cblasius at gmail.com Mon May 12 18:34:18 2008 From: cblasius at gmail.com (Zbigniew Komarnicki) Date: Mon May 12 18:34:22 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <20080512142443.GA22288@slackbox.xs4all.nl> References: <200805121251.26443.cblasius@gmail.com> <20080512142443.GA22288@slackbox.xs4all.nl> Message-ID: <200805122034.17925.cblasius@gmail.com> On Monday 12 of May 2008 16:24:44 Roland Smith wrote: > How *exactly* did you upgrade your ports? Sometimes old libraries hang > around causing trouble. I simply download the iso file for boot only: 7.0-RELEASE-i386-bootonly.iso Then burn on CD and then install fresh 7.0-RELEASE on hard disk - minimal system. Next I used portsnap to download ports: portsnap fetch [...] Then go to /usr/ports/x11/xorg and: make install clean After that, when I log as normal user and typed: startx got the first kernel panic. Then I used: Xorg -configure X -config /root/xorg.conf.new and again I got kernel panic, and also as mention previous, for drivers "ati" and "radeon", too. > > Xorg -configure > > X -config /root/xorg.conf.new > Why would you do that? If you haven't changed the hardware, there is no > need to change xorg.conf. Because I hadn't the old version xorg.conf from 6.3. I simply format these partitions and forgotten make a backup of "/etc" especially "/etc/X11". > > and I got black monitor and after few seconds the system reboots. > > Then I go to single user and do > > Check the X logfile (/var/log/Xorg.0.log). Any clues in there? I do obtain nothing in /var/log/Xorg.0.log. I only obtain result when I use "vesa" driver and it is about 10 kB text. But there no any errors form the "vesa" drivers. From the drivers "radon" or "ati" nothing was written, because was kernel panic. > > savecore: reboot after panic: vm_fault: fault on nofault entry, addr: > > e56e8000 savecore: writing core to vmcore.2 Now I have vmcore.8 > This can also help you debug. Load it up in the kernel debugger; > > kgdb /boot/kernel/kernel.symbols vmcore.2 > > Then inside the debugger, give the 'bt' command. I coudn't do that because I obtain the following information (I do not remember exactly) Couldn't find file vmcore.2 I went to the "/boot/kernel/" and there really no such file. > > What kind of graphics card do you have? What does 'pciconf -lv' say? I have: Radeon 9200 SE Series'. It is correctly recognized in xorg.conf.new, but if I remember in 6.3 the driver was "ati" for such card not "radeon". Here is the output: hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x01e010de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 AGP Controller' class = bridge subclass = HOST-PCI none0@pci0:0:0:1: class=0x050000 card=0x0c1710de chip=0x01eb10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 Memory Controller 1' class = memory subclass = RAM none1@pci0:0:0:2: class=0x050000 card=0x0c1710de chip=0x01ee10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 Memory Controller 4' class = memory subclass = RAM none2@pci0:0:0:3: class=0x050000 card=0x0c1710de chip=0x01ed10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 Memory Controller 3' class = memory subclass = RAM none3@pci0:0:0:4: class=0x050000 card=0x0c1710de chip=0x01ec10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 Memory Controller 2' class = memory subclass = RAM none4@pci0:0:0:5: class=0x050000 card=0x0c1710de chip=0x01ef10de rev=0xc1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce2 Memory Controller 5' class = memory subclass = RAM isab0@pci0:0:1:0: class=0x060100 card=0x0c111458 chip=0x008010de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2S PCI to ISA Bridge' class = bridge subclass = PCI-ISA none5@pci0:0:1:1: class=0x0c0500 card=0x0c111458 chip=0x008410de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2S PCI System Management' class = serial bus subclass = SMBus ohci0@pci0:0:2:0: class=0x0c0310 card=0x50041458 chip=0x008710de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2A USB Controller' class = serial bus subclass = USB ohci1@pci0:0:2:1: class=0x0c0310 card=0x50041458 chip=0x008710de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2A USB Controller' class = serial bus subclass = USB ehci0@pci0:0:2:2: class=0x0c0320 card=0x50041458 chip=0x008810de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2A USB Controller' class = serial bus subclass = USB none6@pci0:0:6:0: class=0x040100 card=0xa0021458 chip=0x008a10de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce AC'97 Audio Codec Interface' class = multimedia subclass = audio pcib1@pci0:0:8:0: class=0x060400 card=0x00000000 chip=0x008b10de rev=0xa3 hdr=0x01 vendor = 'Nvidia Corp' device = 'nforce MCP2A PCI Bridge' class = bridge subclass = PCI-PCI atapci0@pci0:0:9:0: class=0x01018a card=0x50021458 chip=0x008510de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2S Parallel ATA Controller' class = mass storage subclass = ATA atapci1@pci0:0:11:0: class=0x010185 card=0xb0021458 chip=0x008e10de rev=0xa3 hdr=0x00 vendor = 'Nvidia Corp' device = 'nForce MCP2S Serial ATA Compatible Controller' class = mass storage subclass = ATA pcib2@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 hdr=0x01 vendor = 'Nvidia Corp' device = 'nForce2 AGP Host to PCI Bridge' class = bridge subclass = PCI-PCI rl0@pci0:1:6:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet rl1@pci0:1:11:0: class=0x020000 card=0xe0001458 chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet vgapci0@pci0:2:0:0: class=0x030000 card=0x596412ab chip=0x59641002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Radeon 9200 Radeon 9200 SE Series' class = display subclass = VGA In file: "/var/log/dmesg.today" I found at the end of file the following entries: pid 23201 (conftest), uid 0: exited on signal 11 (core dumped) pid 34580 (conftest), uid 0: exited on signal 12 (core dumped) This was when I run "startx" as normal user without file "xorg.conf" in "/etc/X11/xorg.conf". So the Xorg server must such file generated on the fly - and the result of course was kernel panic. Why Xorg do kernel panic? What I doing wrong? Any hints will be very appreciated. Thank you in advance. > Roland Best wishes, Zbigniew From pauls at utdallas.edu Mon May 12 18:59:48 2008 From: pauls at utdallas.edu (Paul Schmehl) Date: Mon May 12 18:59:52 2008 Subject: Unexepcted behavior from read and cat Message-ID: I created a small list of IPs that I wanted to do digs on (because I'm lazy and don't want to do them one at a time.) I then wrote the following on the commandline: % dig +short -x `cat iplist` The results was an answer for the first line only. So, I thought read line would do the trick. I tried this: % dig +short -x `(read line; echo $line; while read line; do echo $line; done) < iplist` Same result. I even tried: % dig +short -s `cat iplist | awk '{print $1}'` Same result. (Yes, I know, why do twice the work to get the same answer, but I was desperate.) WTF? Why do these utilities, which usually read all the lines in a file now only work once when run through dig? Is there a way to feed dig a list of IPs and have it return each and every one of them? I tried dig +short -x -f iplist, but that returns nothing at all. Sure, I can edit the file and prepend +short -x to each line, but by then I might as well just do them individually. What am I missing? -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From pauls at utdallas.edu Mon May 12 19:08:06 2008 From: pauls at utdallas.edu (Paul Schmehl) Date: Mon May 12 19:08:11 2008 Subject: Unexepcted behavior from read and cat In-Reply-To: References: Message-ID: <5908E3FC770922A748B2301B@utd65257.utdallas.edu> --On Monday, May 12, 2008 13:59:47 -0500 Paul Schmehl wrote: > > Sure, I can edit the file and prepend +short -x to each line, but by then I > might as well just do them individually. > > What am I missing? Never mind. This worked. (read line; dig +short -x `echo $line`; while read line; do dig +short -x `echo $line`; done) < iplist -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ From cswiger at mac.com Mon May 12 19:08:51 2008 From: cswiger at mac.com (Chuck Swiger) Date: Mon May 12 19:08:55 2008 Subject: Unexepcted behavior from read and cat In-Reply-To: References: Message-ID: On May 12, 2008, at 11:59 AM, Paul Schmehl wrote: > WTF? Why do these utilities, which usually read all the lines in a > file now only work once when run through dig? Is there a way to > feed dig a list of IPs and have it return each and every one of them? The dig which comes with BIND 9 supports doing multiple queries; older versions of dig apparently will only do a single query. Try doing "dig -f iplist" for batch-mode multiple queries, but trying to feed other options (like +short) will cause it to not output anything when I just tested. (The command-line argument handling of this utility is wildly nonstandard and sometimes plainly broken, IMO....) -- -Chuck From mario.lobo at ipad.com.br Mon May 12 19:10:20 2008 From: mario.lobo at ipad.com.br (Mario Lobo) Date: Mon May 12 19:10:22 2008 Subject: Unexepcted behavior from read and cat In-Reply-To: References: Message-ID: <200805121611.02108.mario.lobo@ipad.com.br> On Monday 12 May 2008, Paul Schmehl wrote: > I created a small list of IPs that I wanted to do digs on (because I'm lazy > and don't want to do them one at a time.) > > I then wrote the following on the commandline: > > % dig +short -x `cat iplist` > > The results was an answer for the first line only. > > So, I thought read line would do the trick. I tried this: > > % dig +short -x `(read line; echo $line; while read line; do echo $line; > done) < iplist` > > Same result. > > I even tried: > > % dig +short -s `cat iplist | awk '{print $1}'` > > Same result. (Yes, I know, why do twice the work to get the same answer, > but I was desperate.) > > WTF? Why do these utilities, which usually read all the lines in a file > now only work once when run through dig? Is there a way to feed dig a list > of IPs and have it return each and every one of them? > > I tried dig +short -x -f iplist, but that returns nothing at all. > > Sure, I can edit the file and prepend +short -x to each line, but by then I > might as well just do them individually. > > What am I missing? Why not: for ips in `cat iplist` do dig +short -x $ips done -- Mario Lobo Seguran?a de Redes - Desenvolvimento e An?lise IPAD - Instituto de Pesquisa e Apoio ao Desenvolvimento Tecnol?gico e Cient?fico From jdowdy at ncircle.com Mon May 12 19:22:51 2008 From: jdowdy at ncircle.com (Johan Dowdy) Date: Mon May 12 19:22:54 2008 Subject: Unexepcted behavior from read and cat In-Reply-To: Message-ID: For loops are your friend. I'd do something like: for i in `cat iplist` do dig +short -x $I done -J On 5/12/08 11:59 AM, "Paul Schmehl" wrote: > dig +short -x `cat iplist` -- Johan Dowdy - CISSP Senior Systems Administrator nCircle Network Security 415.318.2880 "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clarke From kurt.buff at gmail.com Mon May 12 20:06:28 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon May 12 20:06:34 2008 Subject: OSS webex-style program? Message-ID: All, I seem to recall discussion of this sort of program recently, but can't remember where. I've got some mobile remote users who could use support (they're on Windows laptops) and would like to set something up like this. Does anyone know of something like this? Thanks, Kurt From fbsd.questions at rachie.is-a-geek.net Mon May 12 20:20:51 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 12 20:20:59 2008 Subject: dummy dhclient In-Reply-To: <20080512183319.K82433@wojtek.tensor.gdynia.pl> References: <20080512183319.K82433@wojtek.tensor.gdynia.pl> Message-ID: <200805122159.59596.fbsd.questions@rachie.is-a-geek.net> On Monday 12 May 2008 18:34:32 Wojciech Puchar wrote: > is there an option in dhclient (or other program) to try getting IP > address but - don't set anything in system. > > i mean something to just check for dhcp servers. > > or maybe something that just detects what DHCP servers are available. The largely undocumented dhclient_exit|enter_hooks are suitable for this. Look at the source of /sbin/dhclient-script. In short, if you set exit_status to non-zero in /etc/dhclient-enter-hooks, nothing will be set. Some environment variables will be available to you, among which should be the ip of the dhcp server that responded. If you simply dump the env to stdout, you will see things available. -- 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 Mon May 12 20:20:52 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 12 20:21:00 2008 Subject: installing php4 and php5 on one machine In-Reply-To: <48285A2D.2000804@lc-words.com> References: <48285A2D.2000804@lc-words.com> Message-ID: <200805122220.48258.fbsd.questions@rachie.is-a-geek.net> On Monday 12 May 2008 16:54:37 Zbigniew Szalbot wrote: > How would you advise me to go about installing php4? I do not think I > will be able to do it from ports (it will require an ancient version of > php 4.10). Also I do not want to mix dependencies and such. Jail for sure. > Another > issue is how to host the site. Use a different port for it (*:8080)? Use > jails (never been in jail so no experience with it so far ;)? > I do have several IPs to play with so I can use them if that helps. Yep, add an IP alias to the external interface, build the jail on that and you're pretty much done (DNS of course being the missing link). There's tools like ezjail in ports, but imo that's more for people who build jails on a regular basis. Also, it is a good idea to do it by hand at least once, so you get a feel for the process and know what's going on underneath the ezjail magic. Believe it or not, the manpage for jail(8) contains a section with the commands to setup a jail from scratch and touches on all the variables required to have it started upon boot. There's more then one reason to do this in a jail. First of all, you can seperate the php versions, something that's not supported by the ports system. Secondly, you can add a second jail where you're going to work the migration on. Once satisfied, you bring them both down, change ip of the new version and wait for bug reports. If it looks like there's too many bugs, you still have the old version available and you can switch the ip's back. You can do this as often as you want, till everything looks good. Thirdly, the cost in memory usage for a jail is negligable compared to the above gains, especially since it will primarily run apache (cron and sshd being the most common other programs). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From rsmith at xs4all.nl Mon May 12 20:22:15 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon May 12 20:22:19 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <200805122034.17925.cblasius@gmail.com> References: <200805121251.26443.cblasius@gmail.com> <20080512142443.GA22288@slackbox.xs4all.nl> <200805122034.17925.cblasius@gmail.com> Message-ID: <20080512202212.GA31293@slackbox.xs4all.nl> On Mon, May 12, 2008 at 08:34:17PM +0200, Zbigniew Komarnicki wrote: > On Monday 12 of May 2008 16:24:44 Roland Smith wrote: > > How *exactly* did you upgrade your ports? Sometimes old libraries hang > > around causing trouble. > > I simply download the iso file for boot only: > 7.0-RELEASE-i386-bootonly.iso > > Then burn on CD and then install fresh 7.0-RELEASE on hard disk - minimal > system. Next I used portsnap to download ports: > portsnap fetch > [...] Did you do a 'portsnap extract' as well? Fetching alone isn't enough. > got the first kernel panic. Then I used: > Xorg -configure > X -config /root/xorg.conf.new > > and again I got kernel panic, and also as mention previous, for drivers "ati" > and "radeon", too. You should definitely use the radeon driver for this hardware. > > > savecore: reboot after panic: vm_fault: fault on nofault entry, addr: > > > e56e8000 savecore: writing core to vmcore.2 > > Now I have vmcore.8 > > > This can also help you debug. Load it up in the kernel debugger; > > > > kgdb /boot/kernel/kernel.symbols vmcore.2 > > > > Then inside the debugger, give the 'bt' command. > > I coudn't do that because I obtain the following information (I do not > remember exactly) > Couldn't find file vmcore.2 > > I went to the "/boot/kernel/" and there really no such file. Saved cores are kept in /var/crash by default. See "dumpdir" in /etc/defaults/rc.conf. Try kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.8 > > What kind of graphics card do you have? What does 'pciconf -lv' say? > > I have: Radeon 9200 SE Series'. It is correctly recognized in xorg.conf.new, > but if I remember in 6.3 the driver was "ati" for such card not "radeon". > vgapci0@pci0:2:0:0: class=0x030000 card=0x596412ab chip=0x59641002 rev=0x01 > hdr=0x00 > vendor = 'ATI Technologies Inc' > device = 'Radeon 9200 Radeon 9200 SE Series' > class = display > subclass = VGA > > > In file: "/var/log/dmesg.today" I found at the end of file the following > entries: > pid 23201 (conftest), uid 0: exited on signal 11 (core dumped) > pid 34580 (conftest), uid 0: exited on signal 12 (core dumped) Hmm. Signal 12 is "non-existant system call invoked". That's one I've never seen before. > This was when I run "startx" as normal user without file "xorg.conf" > in "/etc/X11/xorg.conf". So the Xorg server must such file generated on the > fly - and the result of course was kernel panic. > > Why Xorg do kernel panic? It has access to system internals via /dev/mem and /dev/io. So it can potentially screw things up pretty badly. It might also be a hardware problem. Testing the RAM would be a good place to start. 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/20080512/9d89c362/attachment.pgp From derek at computinginnovations.com Mon May 12 20:30:37 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon May 12 20:30:40 2008 Subject: {Spam?} Re: agp problems in 7.0-RELEASE In-Reply-To: <3b47caa90805111854p113ae306la272de6adb27aea8@mail.gmail.co m> References: <3b47caa90805111217n557e977ese6b31b71130f79ff@mail.gmail.com> <6.0.0.22.2.20080511174125.02661810@mail.computinginnovations.com> <3b47caa90805111854p113ae306la272de6adb27aea8@mail.gmail.com> Message-ID: <6.0.0.22.2.20080512153043.0265baf8@mail.computinginnovations.com> At 08:54 PM 5/11/2008, Novembre wrote: >On Sun, May 11, 2008 at 5:42 PM, Derek Ragona ><derek@computinginnovations.com> wrote: >>At 02:17 PM 5/11/2008, Novembre wrote: >>>Hi all, >>> >>>I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 >>>to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 >>>and 7.0, I realized that some things aren't the same anymore. >>> >>>Probing agp gives the following messages >>>---------- >>>6.2-RELEASE-p9: >>>pci0: on pcib0 >>>agp0: mem 0xe0000000-0xe0ffffff at >>>device 0.0 on pci0 >>>pcib1: at device 1.0 on pci0 >>>pci1: on pcib1 >>>pci1: at device 0.0 (no driver attached) >>> >>>7.0-RELEASE: >>>pci0: on pcib0 >>>agp0: on hostb0 >>>agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: >>>bad aperture size >>>agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) >>>device_attach: agp0 attach returned 12 >>>pcib1: at device 1.0 on pci0 >>>pci1: on pcib1 >>>vgapci0: mem >>>0xd8000000-0xdbffffff,0xde000000-0xdeffffff >>> >>>at device 0.0 on pci1 >>>---------- >>> >>>So what are the errors "agp0: Invalid aperture setting 0x0" and "agp0: bad >>>aperture size (0Mb)" and "device_attach: agp0 attach returned 12" that I see >>>in 7.0-RELEASE? I assume that agp driver is not attached, so there's >>>something wrong with its implementation in 7.0, right? >>> >>>I have uploaded the complete dmesg's to >>>6.2-RELEASE dmesg >>>: http://pastebin.com/f12c0ff27 >>>7.0-RELEASE dmesg >>>: http://pastebin.com/f3e6809c6 >>> >>>Thanks a lot :) >> >>The agp aperture size is usually set in the BIOS. Check your BIOS. >> >> -Derek >> >>-- >>This message has been scanned for viruses and >>dangerous content by MailScanner, and is >>believed to be clean. > > >Hi, > >It could be a possibility, but I haven't touched anything in the BIOS. >I've just upgraded my 6.2-RELEASE-p9 to 7.0-RELEASE from source. Besides, >I was not geting that error when using 6.2. Apparently, it's something >related to FreeBSD rather than my BIOS. > >Thanks :) While you may not have changed anything, I would verify the setting in your BIOS and possibly try a different setting. Most BIOS allow only for 2-3 settings. It may be you have a non-standard setting and the loader is seeing that as 0. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From derek at computinginnovations.com Mon May 12 20:38:33 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon May 12 20:38:38 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: References: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> Message-ID: <6.0.0.22.2.20080512153543.02665c88@mail.computinginnovations.com> At 12:55 PM 5/12/2008, Christer Solskogen wrote: >Christer Solskogen wrote: >>Derek Ragona wrote: >> >>>Sounds like you have 0.0.0.0 configured on an ethernet interface. I >>>would check all your systems, and be sure it isn't used. >>I checked, and there is no interface with that ip address. But thanks for >>the advice. >>OpenBSD box - where 0.0.0.0 is resolving to. >>rl0: flags=8843 mtu 1500 >> lladdr 00:01:c0:03:7c:09 >> media: Ethernet autoselect (100baseTX full-duplex) >> status: active >> inet6 fe80::201:c0ff:fe03:7c09%rl0 prefixlen 64 scopeid 0x1 >> inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 >>nfe0: flags=8843 metric 0 mtu 1500 >> options=18b >> ether 00:18:f3:29:d8:15 >> inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255 >> media: Ethernet autoselect (1000baseTX ) >> status: active >> >>(I also have a Mac OX 10.5 which also resolves 0.0.0.0 to 192.168.0.1. >>But a windows machine do not resolve 0.0.0.0) > > >Gah, my bad. >the nfe0 interface are not on OpenBSD, but on my FreeBSD box (where this >arp-messages shows up) You may want to do traceroutes from the systems that do find the 0.0.0.0 interface. I would bet you have a default route and/or netmask sending the traffic. You will get those arp messages if you run two different interfaces on the same system, on the same subnet (not to be confused with running multiple IP's on an interface.) Arp tries to tie an IP address to a machine address, but if the reverse routing isn't correct you will see these error messages. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From solskogen at carebears.mine.nu Mon May 12 20:45:12 2008 From: solskogen at carebears.mine.nu (Christer Solskogen) Date: Mon May 12 20:45:17 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: <6.0.0.22.2.20080512153543.02665c88@mail.computinginnovations.com> References: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> <6.0.0.22.2.20080512153543.02665c88@mail.computinginnovations.com> Message-ID: Derek Ragona wrote: > You may want to do traceroutes from the systems that do find the 0.0.0.0 > interface. I would bet you have a default route and/or netmask sending > the traffic. You will get those arp messages if you run two different > interfaces on the same system, on the same subnet (not to be confused > with running multiple IP's on an interface.) Arp tries to tie an IP > address to a machine address, but if the reverse routing isn't correct > you will see these error messages. > A tip from George Davidovich setting the aliases to use netmask to 0xffffffff seems to fix the problem. -- chs From z.szalbot at lc-words.com Mon May 12 20:46:48 2008 From: z.szalbot at lc-words.com (Zbigniew Szalbot) Date: Mon May 12 20:46:52 2008 Subject: installing php4 and php5 on one machine In-Reply-To: <200805122220.48258.fbsd.questions@rachie.is-a-geek.net> References: <48285A2D.2000804@lc-words.com> <200805122220.48258.fbsd.questions@rachie.is-a-geek.net> Message-ID: <4828ACB1.9070002@lc-words.com> Hello, Mel pisze: > On Monday 12 May 2008 16:54:37 Zbigniew Szalbot wrote: > >> How would you advise me to go about installing php4? I do not think I >> will be able to do it from ports (it will require an ancient version of >> php 4.10). Also I do not want to mix dependencies and such. > > Jail for sure. Thanks! > There's more then one reason to do this in a jail. First of all, you can > seperate the php versions, something that's not supported by the ports > system. And here comes my question. Can the php5 installation be left intact and php4 be built in a jail? And finally, would I also need to build another instance of apache in jail? Thank you again! -- Zbigniew Szalbot www.lc-words.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/20080512/a6f593c2/smime.bin From fbsd.questions at rachie.is-a-geek.net Mon May 12 20:49:30 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 12 20:49:35 2008 Subject: Panic String: kmem_malloc(4096): kmem_map too small: 335544320 total allocated In-Reply-To: <48284371.02578c0a.17c4.1aed@mx.google.com> References: <20080412200816.A820110656B1@hub.freebsd.org> <48284371.02578c0a.17c4.1aed@mx.google.com> Message-ID: <200805122249.27906.fbsd.questions@rachie.is-a-geek.net> On Monday 12 May 2008 15:16:48 Aminuddin Abdullah wrote: > I have 5 servers running almost at 70mbit/sec and each one of them will > crash/reboot after more than 24 hours. The most it can stay up is 48 hours. > > How do I increase this memory from the default 320MB? After some digging it looks like vm.kmem_size* are the loader tunables you're looking for. See loader(8) for a description. However, does it make sense to have this much kernel memory? What is it caused by? mbufs? If you dump netstat -m periodically from cron, is that where the memory is going? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From thedossone at googlemail.com Mon May 12 20:54:14 2008 From: thedossone at googlemail.com (Max Russell) Date: Mon May 12 20:54:18 2008 Subject: Automounting USB pen drives Message-ID: <6fec50390805121354p41392964sd3fdebdf4b2640a7@mail.gmail.com> I understand that when I plug in a USB drive to my 7.0 system, that it turns up as /dev/da0 or /dav/da1 etc. I'd like to work towards a nice automount script that shows the drive on my desktop, KDE. Could anyone point me at where I need to edit/make changes - is this just in /etc/fstab? I'd like to get it so it is seamless, just plug the USB device in and it mounts. From fbsd.questions at rachie.is-a-geek.net Mon May 12 21:00:06 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 12 21:00:09 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <20080512202212.GA31293@slackbox.xs4all.nl> References: <200805121251.26443.cblasius@gmail.com> <200805122034.17925.cblasius@gmail.com> <20080512202212.GA31293@slackbox.xs4all.nl> Message-ID: <200805122300.03000.fbsd.questions@rachie.is-a-geek.net> On Monday 12 May 2008 22:22:12 Roland Smith wrote: > On Mon, May 12, 2008 at 08:34:17PM +0200, Zbigniew Komarnicki wrote: > > On Monday 12 of May 2008 16:24:44 Roland Smith wrote: > > In file: "/var/log/dmesg.today" I found at the end of file the following > > entries: > > pid 23201 (conftest), uid 0: exited on signal 11 (core dumped) > > pid 34580 (conftest), uid 0: exited on signal 12 (core dumped) > > Hmm. Signal 12 is "non-existant system call invoked". That's one I've > never seen before. It's generated by some configure script (conftest), normally nothing to worry about. It's easy to get if you have a jail 'running' 6.x and you haven't set OSREL and/or UNAME_R correctly. Also, some configure scripts just try to invoke linux/posix/apple_syscall_foo to see if it's there. -- 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 Mon May 12 21:04:41 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon May 12 21:04:45 2008 Subject: installing php4 and php5 on one machine In-Reply-To: <4828ACB1.9070002@lc-words.com> References: <48285A2D.2000804@lc-words.com> <200805122220.48258.fbsd.questions@rachie.is-a-geek.net> <4828ACB1.9070002@lc-words.com> Message-ID: <200805122304.38225.fbsd.questions@rachie.is-a-geek.net> On Monday 12 May 2008 22:46:41 Zbigniew Szalbot wrote: > Hello, > > Mel pisze: > > On Monday 12 May 2008 16:54:37 Zbigniew Szalbot wrote: > >> How would you advise me to go about installing php4? I do not think I > >> will be able to do it from ports (it will require an ancient version of > >> php 4.10). Also I do not want to mix dependencies and such. > > > > Jail for sure. > > Thanks! > > > There's more then one reason to do this in a jail. First of all, you can > > seperate the php versions, something that's not supported by the ports > > system. > > And here comes my question. Can the php5 installation be left intact and > php4 be built in a jail? Yes. I build ports for 6.x machines, on a 7.x machine in a jail. So you can seperate it perfectly. > And finally, would I also need to build > another instance of apache in jail? Yes. You basically create a seperate FreeBSD installation, without the kernel. Complete with devfs and seperate user accounts. It is better to start this way and if you get paranoid about all the things running, it is easy to remove things one by one till it stops working ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From cblasius at gmail.com Mon May 12 21:05:46 2008 From: cblasius at gmail.com (Zbigniew Komarnicki) Date: Mon May 12 21:05:51 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <20080512202212.GA31293@slackbox.xs4all.nl> References: <200805121251.26443.cblasius@gmail.com> <200805122034.17925.cblasius@gmail.com> <20080512202212.GA31293@slackbox.xs4all.nl> Message-ID: <200805122305.48279.cblasius@gmail.com> On Monday 12 of May 2008 22:22:12 Roland Smith wrote: > > > How *exactly* did you upgrade your ports? Sometimes old libraries hang > > > around causing trouble. > > > >I used portsnap to download ports: > > portsnap fetch > > [...] > > Did you do a 'portsnap extract' as well? Fetching alone isn't enough. Yes of course. I first use 'portsnap update', but the portsnap told me that the ports was not created by portsnap and gave me what to do next. So I do it and everythings go on succesfull after that. > You should definitely use the radeon driver for this hardware. I use on this computer also "Debian lenny" and everythings works well also Xorg. But in xorg.conf on Debian I have "ati" driver not "radeon". The Xorg have the following version on Debian: X.Org X Server 1.4.0.90 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-4) Current Operating System: Linux komp1 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686 Build Date: 29 April 2008 08:24:00PM > Saved cores are kept in /var/crash by default. See "dumpdir" in > /etc/defaults/rc.conf. Try > > kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.8 I will try it. Thank you. > > Why Xorg do kernel panic? > > It has access to system internals via /dev/mem and /dev/io. So it can > potentially screw things up pretty badly. I understand. > It might also be a hardware problem. Testing the RAM would be a good > place to start. I check it. I run "memtest" today. It is strange why on Debian it works but here not? Thank you very much Roland. > Roland Best wishes, Zbigniew From fbsd06 at mlists.homeunix.com Mon May 12 21:06:17 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon May 12 21:06:22 2008 Subject: Unexepcted behavior from read and cat In-Reply-To: <5908E3FC770922A748B2301B@utd65257.utdallas.edu> References: <5908E3FC770922A748B2301B@utd65257.utdallas.edu> Message-ID: <20080512215503.42926695@gumby.homeunix.com.> On Mon, 12 May 2008 14:08:06 -0500 Paul Schmehl wrote: > --On Monday, May 12, 2008 13:59:47 -0500 Paul Schmehl > wrote: > > > > Sure, I can edit the file and prepend +short -x to each line, but > > by then I might as well just do them individually. > > > > What am I missing? > > Never mind. > > This worked. > > (read line; dig +short -x `echo $line`; while read line; do dig > +short -x `echo $line`; done) < iplist > I tend to use "xargs -n1" with dig e.g cat iplist | xargs -n1 dig +short -x From dave.list at pixelhammer.com Mon May 12 21:30:06 2008 From: dave.list at pixelhammer.com (DAve) Date: Mon May 12 21:30:11 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <4824CD74.2020004@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> <4824CD74.2020004@pixelhammer.com> Message-ID: <4828B658.7060805@pixelhammer.com> DAve wrote: > Chuck Swiger wrote: >> It might be reasonable to try hyperthreading enabled, as your type of >> load might be improved by it on.... >> > > Funny that, enabling hyperthreading immediately dropped my load by half, > I see CPU0, CPU1, CPU2, CPU3 now in top. I also see my CPU load > reporting correctly as well. I see ranges from 10% idle to 80% idle, not > locked at 50% and above. > > That seems to have cured several ills. I will know more Monday at 8:30am > when the business email traffic kicks in. > > DAve Just a quick note, we survived the day in good form. The servers have dropped their load numbers by 50% under a heavy load and by 80% under a normal load. More importantly, Nagios shows that SMTP is always responding and the load balancers are now showing a max of 34 active connections on each server where before they were showing 350+. Connections are opening and closing far far quicker. machdep.hyperthreading_allowed=1 has been added to /etc/sysctl.conf On a related note, I met Chuck back in 1999 in Seattle at a SeaFug meeting. I doubt he remembers me but he and John Polstra coached me through changing from a Mac Admin to a BSD admin. I've read Chuck's posts on multiple maillists that we both have, or do, share subscriptions to. Chuck, you are always helpful, never mean, and you encourage detective work to identify a problem rather than recite the "upgrade" mantra. Your knowledge has helped countless people over the years, including me. I appreciate that. If you have a wish list, I can't find it. I would sure like to buy you a CD or something since I can't buy you a beer. Thank you for your time, thanks to everyone on the list for their time. DAve -- In 50 years, our descendants will look back on the early years of the internet, and much like we now look back on men with rockets on their back and feathers glued to their arms, marvel that we had the intelligence to wipe the drool from our chins. From derek at computinginnovations.com Mon May 12 21:32:55 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon May 12 21:32:59 2008 Subject: arplookup 0.0.0.0 failed: host is not on local network In-Reply-To: References: <6.0.0.22.2.20080511190114.0264af00@mail.computinginnovations.com> <6.0.0.22.2.20080512153543.02665c88@mail.computinginnovations.com> Message-ID: <6.0.0.22.2.20080512163401.026387f8@mail.computinginnovations.com> At 03:44 PM 5/12/2008, Christer Solskogen wrote: >Derek Ragona wrote: > >>You may want to do traceroutes from the systems that do find the 0.0.0.0 >>interface. I would bet you have a default route and/or netmask sending >>the traffic. You will get those arp messages if you run two different >>interfaces on the same system, on the same subnet (not to be confused >>with running multiple IP's on an interface.) Arp tries to tie an IP >>address to a machine address, but if the reverse routing isn't correct >>you will see these error messages. > >A tip from George Davidovich setting the aliases to use netmask to >0xffffffff seems to fix the problem. > >-- >chs Yes aliases should have a netmask of 255.255.255.255 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From gnemmi at gmail.com Mon May 12 21:48:08 2008 From: gnemmi at gmail.com (Gonzalo Nemmi) Date: Mon May 12 21:48:13 2008 Subject: Automounting USB pen drives In-Reply-To: <6fec50390805121354p41392964sd3fdebdf4b2640a7@mail.gmail.com> References: <6fec50390805121354p41392964sd3fdebdf4b2640a7@mail.gmail.com> Message-ID: <200805121847.48020.gnemmi@gmail.com> On Monday 12 May 2008 17:54:12 Max Russell wrote: > I understand that when I plug in a USB drive to my 7.0 system, that it > turns up as /dev/da0 or /dav/da1 etc. > > I'd like to work towards a nice automount script that shows the drive > on my desktop, KDE. > > Could anyone point me at where I need to edit/make changes - is this > just in /etc/fstab? > > I'd like to get it so it is seamless, just plug the USB device in and it > mounts. _______________________________________________ > 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'll find the solution in here: http://www.tinker.tv/download/afreebsd2_ch8.pdf -- Blessings Gonzalo Nemmi From cswiger at mac.com Mon May 12 21:57:48 2008 From: cswiger at mac.com (Chuck Swiger) Date: Mon May 12 21:57:52 2008 Subject: FBSD 6.2 Xeon 2.4ghz CPU and high load In-Reply-To: <4828B658.7060805@pixelhammer.com> References: <482473B7.7070707@pixelhammer.com> <4824CD74.2020004@pixelhammer.com> <4828B658.7060805@pixelhammer.com> Message-ID: On May 12, 2008, at 2:27 PM, DAve wrote: > On a related note, I met Chuck back in 1999 in Seattle at a SeaFug > meeting. I doubt he remembers me but he and John Polstra coached me > through changing from a Mac Admin to a BSD admin. I've read Chuck's > posts on multiple maillists that we both have, or do, share > subscriptions to. Chuck, you are always helpful, never mean, and you > encourage detective work to identify a problem rather than recite > the "upgrade" mantra. Your knowledge has helped countless people > over the years, including me. I appreciate that. > > If you have a wish list, I can't find it. I would sure like to buy > you a CD or something since I can't buy you a beer. Well, you're most welcome. If you ever show up for one of the Apple events like a MacWorld or WWDC, you might run into me again...or at a Tommy's Tequila run, afterwards. :-) -- -Chuck From dyioulos at firstbhph.com Mon May 12 22:09:45 2008 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Mon May 12 22:09:49 2008 Subject: OSS webex-style program? In-Reply-To: References: Message-ID: <200805121809.34140.dyioulos@firstbhph.com> On Monday 12 May 2008 4:06 pm, Kurt Buff wrote: > All, > > I seem to recall discussion of this sort of program recently, but > can't remember where. > > I've got some mobile remote users who could use support (they're on > Windows laptops) and would like to set something up like this. > > Does anyone know of something like this? > > Thanks, > > Kurt > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I don't know which program you're refering to, but you might want to take a look at OpenMeetings (code.google.com/p/openmeetings/). IMHO, the install's a little tough. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From developer at grinz.com Mon May 12 22:17:09 2008 From: developer at grinz.com (Ross Gohlke) Date: Mon May 12 22:17:18 2008 Subject: Help compiling source code Message-ID: <50602.74.170.92.99.1210629669.squirrel@grinzport.grinz.com> I am a longtime FreeBSD user accustomed to ports. I have never been comfortable compiling source code except under the most vanilla of circumstances (ie, when nothing goes wrong). QUESTION: How can I change pam-pgsql's configure script to find pgsql's libraries? The machine in question is a Powerbook G4 (PowerPC) running Mac OS 10.4.11. I am using MacPorts (equivalent of ports). One small piece of software (available in FreeBSD ports) is a lynchpin of my entire operation - pam-pgsql. Pam-pgsql gives me virtual email users which are easily shared between Postfix and Cyrus IMAP while letting me use my SQL backend of preference - PostgreSQL. There is no macport available for pam-pgsql, so I must compile the source myself. It is not working. My hunch is that the fix is simple - something with paths, because macports installs PostgreSQL at weird paths and the pam-pgsql configure script expects a standard location. ## /opt/local/src/pam-pgsql/configure.in dnl Configure template for pam_pgsql AC_INIT(pam_get_pass.c) AC_CONFIG_HEADER(config.h) dnl Checks for libraries. AC_CHECK_LIB(pam, pam_get_user) dnl Checks for header files. AC_CANONICAL_HOST AC_HEADER_STDC AC_CHECK_HEADERS(syslog.h) AC_CHECK_HEADERS(netdb.h) AC_MSG_CHECKING(for PostgreSQL headers) for d in /usr /usr/local /usr/local/pgsql; do test -f $d/include/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include" PG_DIR="$d" AC_MSG_RESULT($d/include) } test -f $d/include/postgresql/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/postgresql" PG_DIR="$d" AC_MSG_RESULT($d/include/postgresql) } test -f $d/include/postgresql/8.0/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/postgresql/8.0" PG_DIR="$d" AC_MSG_RESULT($d/include/postgresql/8.0) } test -f $d/include/pgsql/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/pgsql" PG_DIR="$d" AC_MSG_RESULT($d/include/pgsql) } done old_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -L$PG_DIR/lib" AC_CHECK_LIB(pq, PQexecParams, [AC_SUBST(PGSQL_LIB) PGSQL_LIB="-L$PG_DIR/lib"], [AC_MSG_ERROR(could not determine PostgreSQL library location)]) LDFLAGS="$old_LDFLAGS" ...... ## /opt/local/include/postgresql83/ -rw-r--r-- 2 root admin 600 May 12 12:25 ecpg_config.h -rw-r--r-- 2 root admin 2776 May 12 12:25 ecpg_informix.h -rw-r--r-- 2 root admin 2600 May 12 12:25 ecpgerrno.h -rw-r--r-- 2 root admin 2440 May 12 12:25 ecpglib.h -rw-r--r-- 2 root admin 2560 May 12 12:25 ecpgtype.h drwxr-xr-x 3 root admin 102 May 12 12:26 informix drwxr-xr-x 8 root admin 272 May 12 12:26 internal drwxr-xr-x 3 root admin 102 May 12 12:26 libpq -rw-r--r-- 2 root admin 18410 May 12 12:25 libpq-fe.h -rw-r--r-- 2 root admin 21700 May 12 12:25 pg_config.h -rw-r--r-- 2 root admin 8954 May 12 12:25 pg_config_manual.h -rw-r--r-- 2 root admin 217 May 12 12:25 pg_config_os.h -rw-r--r-- 2 root admin 814 May 12 12:25 pgtypes_date.h -rw-r--r-- 2 root admin 588 May 12 12:25 pgtypes_error.h -rw-r--r-- 2 root admin 1485 May 12 12:25 pgtypes_interval.h -rw-r--r-- 2 root admin 2306 May 12 12:25 pgtypes_numeric.h -rw-r--r-- 2 root admin 1057 May 12 12:25 pgtypes_timestamp.h -rw-r--r-- 2 root admin 1837 May 12 12:25 postgres_ext.h drwxr-xr-x 40 root admin 1360 May 12 12:26 server -rw-r--r-- 2 root admin 834 May 12 12:25 sql3types.h -rw-r--r-- 2 root admin 1267 May 12 12:25 sqlca.h ## /opt/local/lib/postgresql83/ -rwxr-xr-x 2 root admin 106392 May 12 12:25 adminpack.so -rwxr-xr-x 2 root admin 100444 May 12 12:25 ascii_and_mic.so drwxr-xr-x 25 root admin 850 May 12 12:26 bin -rwxr-xr-x 2 root admin 106700 May 12 12:25 cyrillic_and_mic.so -rwxr-xr-x 2 root admin 130720 May 12 12:25 dblink.so -rwxr-xr-x 2 root admin 425208 May 12 12:25 dict_snowball.so -rwxr-xr-x 2 root admin 100448 May 12 12:25 euc_cn_and_mic.so -rwxr-xr-x 2 root admin 100540 May 12 12:25 euc_jis_2004_and_shift_jis_2004.so -rwxr-xr-x 2 root admin 104952 May 12 12:25 euc_jp_and_sjis.so -rwxr-xr-x 2 root admin 100476 May 12 12:25 euc_kr_and_mic.so -rwxr-xr-x 2 root admin 105384 May 12 12:25 euc_tw_and_big5.so -rwxr-xr-x 2 root admin 118224 May 12 12:25 fuzzystrmatch.so -rwxr-xr-x 2 root admin 101164 May 12 12:25 latin2_and_win1250.so -rwxr-xr-x 2 root admin 100808 May 12 12:25 latin_and_mic.so -rwxr-xr-x 2 root admin 69544 May 12 12:25 libecpg.6.0.dylib lrwxr-xr-x 1 root admin 17 May 12 12:26 libecpg.6.dylib -> libecpg.6.0.dylib -rw-r--r-- 2 root admin 110192 May 12 12:25 libecpg.a lrwxr-xr-x 1 root admin 17 May 12 12:26 libecpg.dylib -> libecpg.6.0.dylib -rwxr-xr-x 2 root admin 21380 May 12 12:25 libecpg_compat.3.0.dylib lrwxr-xr-x 1 root admin 24 May 12 12:26 libecpg_compat.3.dylib -> libecpg_compat.3.0.dylib -rw-r--r-- 2 root admin 16832 May 12 12:25 libecpg_compat.a lrwxr-xr-x 1 root admin 24 May 12 12:26 libecpg_compat.dylib -> libecpg_compat.3.0.dylib -rw-r--r-- 2 root admin 44848 May 12 12:25 libpgport.a -rwxr-xr-x 2 root admin 69040 May 12 12:25 libpgtypes.3.0.dylib lrwxr-xr-x 1 root admin 20 May 12 12:26 libpgtypes.3.dylib -> libpgtypes.3.0.dylib -rw-r--r-- 2 root admin 90096 May 12 12:25 libpgtypes.a lrwxr-xr-x 1 root admin 20 May 12 12:26 libpgtypes.dylib -> libpgtypes.3.0.dylib -rwxr-xr-x 2 root admin 131804 May 12 12:25 libpq.5.1.dylib lrwxr-xr-x 1 root admin 15 May 12 12:26 libpq.5.dylib -> libpq.5.1.dylib -rw-r--r-- 2 root admin 196192 May 12 12:25 libpq.a lrwxr-xr-x 1 root admin 15 May 12 12:26 libpq.dylib -> libpq.5.1.dylib -rwxr-xr-x 2 root admin 100584 May 12 12:25 lo.so -rwxr-xr-x 2 root admin 100704 May 12 12:25 pg_buffercache.so -rwxr-xr-x 2 root admin 110600 May 12 12:25 pg_trgm.so -rwxr-xr-x 2 root admin 116700 May 12 12:25 pgxml.so drwxr-xr-x 4 root admin 136 May 12 12:26 pgxs -rwxr-xr-x 2 root admin 220872 May 12 12:25 plpgsql.so -rwxr-xr-x 2 root admin 114112 May 12 12:25 tsearch2.so -rwxr-xr-x 2 root admin 100448 May 12 12:25 utf8_and_ascii.so -rwxr-xr-x 2 root admin 317580 May 12 12:25 utf8_and_big5.so -rwxr-xr-x 2 root admin 100496 May 12 12:25 utf8_and_cyrillic.so -rwxr-xr-x 2 root admin 219288 May 12 12:25 utf8_and_euc_cn.so -rwxr-xr-x 2 root admin 280844 May 12 12:25 utf8_and_euc_jis_2004.so -rwxr-xr-x 2 root admin 309400 May 12 12:25 utf8_and_euc_jp.so -rwxr-xr-x 2 root admin 231576 May 12 12:25 utf8_and_euc_kr.so -rwxr-xr-x 2 root admin 428184 May 12 12:25 utf8_and_euc_tw.so -rwxr-xr-x 2 root admin 1112220 May 12 12:25 utf8_and_gb18030.so -rwxr-xr-x 2 root admin 448644 May 12 12:25 utf8_and_gbk.so -rwxr-xr-x 2 root admin 126164 May 12 12:25 utf8_and_iso8859.so -rwxr-xr-x 2 root admin 100520 May 12 12:25 utf8_and_iso8859_1.so -rwxr-xr-x 2 root admin 370832 May 12 12:25 utf8_and_johab.so -rwxr-xr-x 2 root admin 280860 May 12 12:25 utf8_and_shift_jis_2004.so -rwxr-xr-x 2 root admin 219276 May 12 12:25 utf8_and_sjis.so -rwxr-xr-x 2 root admin 370820 May 12 12:25 utf8_and_uhc.so -rwxr-xr-x 2 root admin 121848 May 12 12:25 utf8_and_win.so -rwxr-xr-x 2 root admin 101860 May 12 12:25 uuid-ossp.so % /opt/local/src/pam-pgsql/configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for pam_get_user in -lpam... yes checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for PostgreSQL headers... checking for PQexecParams in -lpq... no configure: error: could not determine PostgreSQL library location I already tried changing /usr to /opt in configure.in, that didn't work. Any help would be greatly appreciated. Ross Gohlke From ross at grinz.com Mon May 12 22:17:09 2008 From: ross at grinz.com (Ross Gohlke) Date: Mon May 12 22:17:20 2008 Subject: Help compiling source code Message-ID: <50603.74.170.92.99.1210629662.squirrel@grinzport.grinz.com> I am a longtime FreeBSD user accustomed to ports. I have never been comfortable compiling source code except under the most vanilla of circumstances (ie, when nothing goes wrong). QUESTION: How can I change pam-pgsql's configure script to find pgsql's libraries? The machine in question is a Powerbook G4 (PowerPC) running Mac OS 10.4.11. I am using MacPorts (equivalent of ports). One small piece of software (available in FreeBSD ports) is a lynchpin of my entire operation - pam-pgsql. Pam-pgsql gives me virtual email users which are easily shared between Postfix and Cyrus IMAP while letting me use my SQL backend of preference - PostgreSQL. There is no macport available for pam-pgsql, so I must compile the source myself. It is not working. My hunch is that the fix is simple - something with paths, because macports installs PostgreSQL at weird paths and the pam-pgsql configure script expects a standard location. ## /opt/local/src/pam-pgsql/configure.in dnl Configure template for pam_pgsql AC_INIT(pam_get_pass.c) AC_CONFIG_HEADER(config.h) dnl Checks for libraries. AC_CHECK_LIB(pam, pam_get_user) dnl Checks for header files. AC_CANONICAL_HOST AC_HEADER_STDC AC_CHECK_HEADERS(syslog.h) AC_CHECK_HEADERS(netdb.h) AC_MSG_CHECKING(for PostgreSQL headers) for d in /usr /usr/local /usr/local/pgsql; do test -f $d/include/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include" PG_DIR="$d" AC_MSG_RESULT($d/include) } test -f $d/include/postgresql/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/postgresql" PG_DIR="$d" AC_MSG_RESULT($d/include/postgresql) } test -f $d/include/postgresql/8.0/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/postgresql/8.0" PG_DIR="$d" AC_MSG_RESULT($d/include/postgresql/8.0) } test -f $d/include/pgsql/libpq-fe.h && { AC_SUBST(PGSQL_INC) PGSQL_INC="-I$d/include/pgsql" PG_DIR="$d" AC_MSG_RESULT($d/include/pgsql) } done old_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -L$PG_DIR/lib" AC_CHECK_LIB(pq, PQexecParams, [AC_SUBST(PGSQL_LIB) PGSQL_LIB="-L$PG_DIR/lib"], [AC_MSG_ERROR(could not determine PostgreSQL library location)]) LDFLAGS="$old_LDFLAGS" ...... ## /opt/local/include/postgresql83/ -rw-r--r-- 2 root admin 600 May 12 12:25 ecpg_config.h -rw-r--r-- 2 root admin 2776 May 12 12:25 ecpg_informix.h -rw-r--r-- 2 root admin 2600 May 12 12:25 ecpgerrno.h -rw-r--r-- 2 root admin 2440 May 12 12:25 ecpglib.h -rw-r--r-- 2 root admin 2560 May 12 12:25 ecpgtype.h drwxr-xr-x 3 root admin 102 May 12 12:26 informix drwxr-xr-x 8 root admin 272 May 12 12:26 internal drwxr-xr-x 3 root admin 102 May 12 12:26 libpq -rw-r--r-- 2 root admin 18410 May 12 12:25 libpq-fe.h -rw-r--r-- 2 root admin 21700 May 12 12:25 pg_config.h -rw-r--r-- 2 root admin 8954 May 12 12:25 pg_config_manual.h -rw-r--r-- 2 root admin 217 May 12 12:25 pg_config_os.h -rw-r--r-- 2 root admin 814 May 12 12:25 pgtypes_date.h -rw-r--r-- 2 root admin 588 May 12 12:25 pgtypes_error.h -rw-r--r-- 2 root admin 1485 May 12 12:25 pgtypes_interval.h -rw-r--r-- 2 root admin 2306 May 12 12:25 pgtypes_numeric.h -rw-r--r-- 2 root admin 1057 May 12 12:25 pgtypes_timestamp.h -rw-r--r-- 2 root admin 1837 May 12 12:25 postgres_ext.h drwxr-xr-x 40 root admin 1360 May 12 12:26 server -rw-r--r-- 2 root admin 834 May 12 12:25 sql3types.h -rw-r--r-- 2 root admin 1267 May 12 12:25 sqlca.h ## /opt/local/lib/postgresql83/ -rwxr-xr-x 2 root admin 106392 May 12 12:25 adminpack.so -rwxr-xr-x 2 root admin 100444 May 12 12:25 ascii_and_mic.so drwxr-xr-x 25 root admin 850 May 12 12:26 bin -rwxr-xr-x 2 root admin 106700 May 12 12:25 cyrillic_and_mic.so -rwxr-xr-x 2 root admin 130720 May 12 12:25 dblink.so -rwxr-xr-x 2 root admin 425208 May 12 12:25 dict_snowball.so -rwxr-xr-x 2 root admin 100448 May 12 12:25 euc_cn_and_mic.so -rwxr-xr-x 2 root admin 100540 May 12 12:25 euc_jis_2004_and_shift_jis_2004.so -rwxr-xr-x 2 root admin 104952 May 12 12:25 euc_jp_and_sjis.so -rwxr-xr-x 2 root admin 100476 May 12 12:25 euc_kr_and_mic.so -rwxr-xr-x 2 root admin 105384 May 12 12:25 euc_tw_and_big5.so -rwxr-xr-x 2 root admin 118224 May 12 12:25 fuzzystrmatch.so -rwxr-xr-x 2 root admin 101164 May 12 12:25 latin2_and_win1250.so -rwxr-xr-x 2 root admin 100808 May 12 12:25 latin_and_mic.so -rwxr-xr-x 2 root admin 69544 May 12 12:25 libecpg.6.0.dylib lrwxr-xr-x 1 root admin 17 May 12 12:26 libecpg.6.dylib -> libecpg.6.0.dylib -rw-r--r-- 2 root admin 110192 May 12 12:25 libecpg.a lrwxr-xr-x 1 root admin 17 May 12 12:26 libecpg.dylib -> libecpg.6.0.dylib -rwxr-xr-x 2 root admin 21380 May 12 12:25 libecpg_compat.3.0.dylib lrwxr-xr-x 1 root admin 24 May 12 12:26 libecpg_compat.3.dylib -> libecpg_compat.3.0.dylib -rw-r--r-- 2 root admin 16832 May 12 12:25 libecpg_compat.a lrwxr-xr-x 1 root admin 24 May 12 12:26 libecpg_compat.dylib -> libecpg_compat.3.0.dylib -rw-r--r-- 2 root admin 44848 May 12 12:25 libpgport.a -rwxr-xr-x 2 root admin 69040 May 12 12:25 libpgtypes.3.0.dylib lrwxr-xr-x 1 root admin 20 May 12 12:26 libpgtypes.3.dylib -> libpgtypes.3.0.dylib -rw-r--r-- 2 root admin 90096 May 12 12:25 libpgtypes.a lrwxr-xr-x 1 root admin 20 May 12 12:26 libpgtypes.dylib -> libpgtypes.3.0.dylib -rwxr-xr-x 2 root admin 131804 May 12 12:25 libpq.5.1.dylib lrwxr-xr-x 1 root admin 15 May 12 12:26 libpq.5.dylib -> libpq.5.1.dylib -rw-r--r-- 2 root admin 196192 May 12 12:25 libpq.a lrwxr-xr-x 1 root admin 15 May 12 12:26 libpq.dylib -> libpq.5.1.dylib -rwxr-xr-x 2 root admin 100584 May 12 12:25 lo.so -rwxr-xr-x 2 root admin 100704 May 12 12:25 pg_buffercache.so -rwxr-xr-x 2 root admin 110600 May 12 12:25 pg_trgm.so -rwxr-xr-x 2 root admin 116700 May 12 12:25 pgxml.so drwxr-xr-x 4 root admin 136 May 12 12:26 pgxs -rwxr-xr-x 2 root admin 220872 May 12 12:25 plpgsql.so -rwxr-xr-x 2 root admin 114112 May 12 12:25 tsearch2.so -rwxr-xr-x 2 root admin 100448 May 12 12:25 utf8_and_ascii.so -rwxr-xr-x 2 root admin 317580 May 12 12:25 utf8_and_big5.so -rwxr-xr-x 2 root admin 100496 May 12 12:25 utf8_and_cyrillic.so -rwxr-xr-x 2 root admin 219288 May 12 12:25 utf8_and_euc_cn.so -rwxr-xr-x 2 root admin 280844 May 12 12:25 utf8_and_euc_jis_2004.so -rwxr-xr-x 2 root admin 309400 May 12 12:25 utf8_and_euc_jp.so -rwxr-xr-x 2 root admin 231576 May 12 12:25 utf8_and_euc_kr.so -rwxr-xr-x 2 root admin 428184 May 12 12:25 utf8_and_euc_tw.so -rwxr-xr-x 2 root admin 1112220 May 12 12:25 utf8_and_gb18030.so -rwxr-xr-x 2 root admin 448644 May 12 12:25 utf8_and_gbk.so -rwxr-xr-x 2 root admin 126164 May 12 12:25 utf8_and_iso8859.so -rwxr-xr-x 2 root admin 100520 May 12 12:25 utf8_and_iso8859_1.so -rwxr-xr-x 2 root admin 370832 May 12 12:25 utf8_and_johab.so -rwxr-xr-x 2 root admin 280860 May 12 12:25 utf8_and_shift_jis_2004.so -rwxr-xr-x 2 root admin 219276 May 12 12:25 utf8_and_sjis.so -rwxr-xr-x 2 root admin 370820 May 12 12:25 utf8_and_uhc.so -rwxr-xr-x 2 root admin 121848 May 12 12:25 utf8_and_win.so -rwxr-xr-x 2 root admin 101860 May 12 12:25 uuid-ossp.so % /opt/local/src/pam-pgsql/configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for pam_get_user in -lpam... yes checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for PostgreSQL headers... checking for PQexecParams in -lpq... no configure: error: could not determine PostgreSQL library location I already tried changing /usr to /opt in configure.in, that didn't work. Any help would be greatly appreciated. Ross Gohlke From kurt.buff at gmail.com Mon May 12 22:33:01 2008 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon May 12 22:33:04 2008 Subject: OSS webex-style program? In-Reply-To: <200805121809.34140.dyioulos@firstbhph.com> References: <200805121809.34140.dyioulos@firstbhph.com> Message-ID: I don't remember, either, but this is worth taking a look at. Thanks for the help! Kurt On Mon, May 12, 2008 at 3:09 PM, Dimitri Yioulos wrote: > > On Monday 12 May 2008 4:06 pm, Kurt Buff wrote: > > All, > > > > I seem to recall discussion of this sort of program recently, but > > can't remember where. > > > > I've got some mobile remote users who could use support (they're on > > Windows laptops) and would like to set something up like this. > > > > Does anyone know of something like this? > > > > Thanks, > > > > Kurt > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > I don't know which program you're refering to, but you might want to take a > look at OpenMeetings (code.google.com/p/openmeetings/). IMHO, the install's > a little tough. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From jdowdy at ncircle.com Mon May 12 23:04:51 2008 From: jdowdy at ncircle.com (Johan Dowdy) Date: Mon May 12 23:04:56 2008 Subject: Imagemagick port seems broken - jp2.c patch fails In-Reply-To: <1210579598.26533.38.camel@laptop2.herveybayaustralia.com.au> Message-ID: Just as a best practice you might want to consider running a weekly cvsup out of cron. You should probably always run it before installing anything out of ports, but if you have it as a weekly scheduled task, it will decrease the time it takes to run when you ?need? to run it. Of course portsnap also rocks the party. I?m just old school and stuck in cvsup land. -J On 5/12/08 1:06 AM, "Da Rock" wrote: > > > On Mon, 2008-05-12 at 08:03 +0100, Glyn Millington wrote: >> > Da Rock writes: >> > >>> > > On Mon, 2008-05-12 at 08:02 +0200, Roland Smith wrote: >>>> > >> On Mon, May 12, 2008 at 09:46:31AM +1000, Da Rock wrote: >>>>> > >> > I may be not thinking straight due to a head cold- in which case just >>>>> > >> > tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It >>>> > >> >>>> > >> Update your ports tree. The current version in ports is 6.4.1.0. There >>>> > >> have been some problems with 6.4.0.7, see >>>> > >> http://www.freshports.org/graphics/ImageMagick/ >>>> > >> >>>> > >> Roland >>> > > >>> > > You'll have to excuse me- I'm not usually such a dunderhead- but how do >>> > > I go about that? I ran portsnap update and it says the tree is up to >>> > > date. >> > >> > Shouldn't it be >> > >> > >> > portsnap fetch update >> > ^^^^^ >> > >> > atb >> > >> > Glyn >> > > > I told you I wasn't with it. Of course that works now... I've updated > AND installed imagemagick. I use portsnap fetch then portsnap update > usually- but of course I forgot the first step in my foggy brain. > > Thanks for your patience guys > > _______________________________________________ > 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" > -- Johan Dowdy - CISSP Senior Systems Administrator nCircle Network Security 415.318.2880 "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clarke From jdowdy at ncircle.com Mon May 12 23:12:27 2008 From: jdowdy at ncircle.com (Johan Dowdy) Date: Mon May 12 23:12:31 2008 Subject: dummy dhclient In-Reply-To: <20080512183319.K82433@wojtek.tensor.gdynia.pl> Message-ID: I suspect that what you are looking for is something that is just looking for DHCP traffic, but doesn?t actually grab a lease. I don?t think that there is a current port for this but this program http://dhcp-agent.sourceforge.net/ but dhcp-agent alleges to have a sniffer option. http://dhcp-agent.sourceforge.net/man/dhcp-sniff.1.html I haven?t used it but I recall stumbling upon this a while back when I was looking for the same. If you try it out, let me know if it works. -J On 5/12/08 9:34 AM, "Wojciech Puchar" wrote: > is there an option in dhclient (or other program) to try getting IP > address but - don't set anything in system. > > i mean something to just check for dhcp servers. > > or maybe something that just detects what DHCP servers are available. > > > > _______________________________________________ > 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" > -- Johan Dowdy - CISSP Senior Systems Administrator nCircle Network Security 415.318.2880 "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clarke From que_deseja at hotmail.com Tue May 13 00:44:09 2008 From: que_deseja at hotmail.com (Desmond Chapman) Date: Tue May 13 00:44:14 2008 Subject: RE-upgraded and have a few problems. Message-ID: I reinstalled and re upgraded FreeBSD 7.0 on my drive. The testing distribution worked better than the stable. Some of my problems may not be directed to the right mailing list for help. Please let me know where I can get the information. Sound card is no longer detected. DCOP server for KDE3 does not start. KDE hangs and has to be shut does by a vtty. Gnome-audio gstreamer trouble. Is the current testing having these problems? _________________________________________________________________ Make Windows Vista more reliable and secure with Windows Vista Service Pack 1. http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner From chris at monochrome.org Tue May 13 01:43:28 2008 From: chris at monochrome.org (Chris Hill) Date: Tue May 13 01:43:31 2008 Subject: RE-upgraded and have a few problems. In-Reply-To: References: Message-ID: <20080512210552.V99496@tripel.monochrome.org> On Tue, 13 May 2008, Desmond Chapman wrote: > I reinstalled and re upgraded FreeBSD 7.0 on my drive. The testing > distribution worked better than the stable. Some of my problems may > not be directed to the right mailing list for help. Please let me know > where I can get the information. By testing, do you mean -CURRENT? What tag are you using in your supfile? As for the mailing list, this is a reasonable place to start. If you don't get a solution here, maybe try multimedia for the gstreamer problems. There does seem to be a kde-specific mailing list; see https://mail.kde.org/mailman/listinfo/kde-freebsd, and also http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL for the full list of lists. (URL may have wrapped.) > Sound card is no longer detected. Maybe since upgrading you are no longer loading whatever kernel module it is that the card requires. You can # kldload sound.ko ...to load all sound modules, for the purpose of finding out which one you need. BTW, what make and model sound card is it? Also please post the output of the following commands: $ uname -a $ dmesg | grep ^pcm $ pciconf -lv $ kldstat > DCOP server for KDE3 does not start. KDE hangs and has to be shut does > by a vtty. These seem like issues with X and/or KDE. Are you able to run some other window manager, e.g. twm? > Gnome-audio gstreamer trouble. There were some notes recently about gstreamer in /usr/ports/UPDATING; look there. If you can be (a lot) more specific about the problem, someone here may well be able to help. That is, tell us what you were trying to do, what command you issued, what result you expected, and what result you got. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From lists at stringsutils.com Tue May 13 02:31:01 2008 From: lists at stringsutils.com (Francisco Reyes) Date: Tue May 13 02:31:05 2008 Subject: Which FTPs are most used by ports? Message-ID: I am about to install FreeBSD at a new job. They block ftp, along with most other ports. I may be able to get a whole open for the freebsd server to be able to ftp from some specific machines. Any suggestions what machines I should add to the list? For programs I know about I plan to do "make fetch-recursive" at home and then copy the /usr/ports/distfile directory. From budiyt at gmail.com Tue May 13 02:32:30 2008 From: budiyt at gmail.com (budsz) Date: Tue May 13 02:32:33 2008 Subject: Syntax base IP In-Reply-To: <4d4dc3640805061548v44e28b8aue4a683d263d878bf@mail.gmail.com> References: <4d4dc3640805040840t5725fb4ejfd19da3c3f78ec73@mail.gmail.com> <48201E0D.60803@yandex.ru> <4d4dc3640805061548v44e28b8aue4a683d263d878bf@mail.gmail.com> Message-ID: <4d4dc3640805121904i7fd5da1bl1af6f41830889942@mail.gmail.com> On Tue, May 6, 2008 at 3:59 PM, Andrey V. Elsukov wrote: > budsz wrote: > > > > > ipunlimit="192.168.0.100/32,10.35.4.1/32,202.129.189.42/32,\ > > 202.129.189.45/32,125.163.77.180/32,202.43.167.70/32,\ > > > 202.43.167.72/32,202.43.161.119/32,202.10.32.10/32,202.93.20.22/32,\ > > 202.93.20.23/32,202.93.20.24/32,122.102.49.132/32,\ > > 202.43.161.124/32,202.93.247.26/32,202.93.247.28/32" > > > > ${fwcmd} add 100 pipe 1 ip from ${ippriviix} to { not ${ipunlimit} } > > ${portlim} via ${ifint0} > > ${fwcmd} add 101 pipe 1 ip from { not ${ipunlimit} } ${portlim} to > > ${ippriviix} via ${ifint0} > > > > Executing firewall I got error message like this: > > #sh /etc/rc.firewall > > ipfw: opcode 6 size 33 wrong > > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > ipfw: opcode 2 size 33 wrong > > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > > Hallo, I got some problem here, these are the example of the rules i've set: portlim="20-21,80,88,443,2009,8080,8088,10007,18755" bwunlimit="64Kbit/s" ${fwcmd} pipe 1 config bw ${bwunlimit} ${fwcmd} table 1 add 10.35.4.1/32 1 ${fwcmd} table 1 add 122.102.49.132/32 1 ${fwcmd} table 1 add 125.163.77.180/32 1 ${fwcmd} table 1 add 192.168.0.100/32 1 ${fwcmd} table 1 add 202.10.32.10/32 1 ${fwcmd} table 1 add 202.129.189.42/32 1 ${fwcmd} table 1 add 202.129.189.45/32 1 ${fwcmd} table 1 add 202.43.161.119/32 1 ${fwcmd} table 1 add 202.43.161.124/32 1 ${fwcmd} table 1 add 202.43.167.70/32 1 ${fwcmd} table 1 add 202.43.167.72/32 1 ${fwcmd} table 1 add 202.93.20.22/32 1 ${fwcmd} table 1 add 202.93.20.23/32 1 ${fwcmd} table 1 add 202.93.20.24/32 1 ${fwcmd} table 1 add 202.93.247.26/32 1 ${fwcmd} table 1 add 202.93.247.28/32 1 ${fwcmd} add 100 pipe tablearg ip from ${ippriviix} to not "table(1)" ${portlim} via ${ifint0} ${fwcmd} add 101 pipe tablearg ip from not "table(1)" ${portlim} to ${ippriviix} via ${ifint0} As a result, those ip addresses can pass. But any other ip adresses (other than) those above could not be accessed, as if it were blocked. My intention is to limit (NOT blocking) any other ip addresses (other than) those ip's above. How could i use the 'not' keyword for above case ? Thank You -- budsz From invite+mbem5ken at facebookmail.com Tue May 13 03:23:05 2008 From: invite+mbem5ken at facebookmail.com (Vivian Liu) Date: Tue May 13 03:23:10 2008 Subject: Check out my Facebook profile Message-ID: <31bfcfd21e7e2d00c3abe32edbf6b247@register.facebook.com> I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Vivian Here's the link: http://www.facebook.com/p.php?i=1257431115&k=ZYC256T4V5XMZFEEXCW2Q&r&v=2 ___________________ This e-mail may contain promotional materials. If you do not wish to receive future commercial mailings from Facebook, please click on the link below. Facebook's offices are located at 156 University Ave., Palo Alto, CA 94301. http://www.facebook.com/o.php?u=541591870&k=ce3f87 From sahil at tandon.net Tue May 13 03:34:06 2008 From: sahil at tandon.net (Sahil Tandon) Date: Tue May 13 03:34:10 2008 Subject: Which FTPs are most used by ports? In-Reply-To: References: Message-ID: <20080513033359.GA44088@shepherd> * Francisco Reyes [05-12-2008]: > I am about to install FreeBSD at a new job. They block ftp, along with > most other ports. > > I may be able to get a whole open for the freebsd server to be able to > ftp from some specific machines. Any suggestions what machines I should > add to the list? You mean FTP *to* (and not "from") specific machines, right? And what about HTTP? If you look in just a few Makefiles, you'll notice that MASTER_SITES vary with each port (CPAN, SF and a few others might appear often), so unless you know exactly which ports you will install, this will be tough. For example, see output of: % find /usr/ports/ports-mgmt/ -name Makefile | xargs egrep MASTER_SITE -- Sahil Tandon From wojtek at wojtek.tensor.gdynia.pl Tue May 13 06:49:22 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue May 13 06:49:25 2008 Subject: RE-upgraded and have a few problems. In-Reply-To: References: Message-ID: <20080513084815.O87631@wojtek.tensor.gdynia.pl> > I reinstalled and re upgraded FreeBSD 7.0 on my drive. The testing distribution worked better than the stable. Some of my problems may not be directed to the right mailing list for help. Please let me know where I can get the information. > Sound card is no longer detected. and never been. sound modules isn't built into kernel you must kldload sound module - right for your hardware. > DCOP server for KDE3 does not start. KDE hangs and has to be shut does by a vtty. this is question for KDE authors > Gnome-audio gstreamer trouble. for gnome authors. From wojtek at wojtek.tensor.gdynia.pl Tue May 13 06:52:04 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue May 13 06:52:06 2008 Subject: RE-upgraded and have a few problems. In-Reply-To: <20080512210552.V99496@tripel.monochrome.org> References: <20080512210552.V99496@tripel.monochrome.org> Message-ID: <20080513084927.E87631@wojtek.tensor.gdynia.pl> > that the card requires. You can > > # kldload sound.ko > are you sure what you say. kldload sound.ko loads common sound drivers code, not all modules kldload /boot/kernel/snd_* would do what you've said after this - look at logs what module actually fit, and then add snd__load="YES" to /boot/loader.conf to have it loaded every boot. > These seem like issues with X and/or KDE. Are you able to run some other > window manager, e.g. twm? icewm is very good for those who like somehow windows looking, but only somehow and only looking, it works very fast and very well :) From freebsd at rgbaz.eu Tue May 13 07:57:58 2008 From: freebsd at rgbaz.eu (FreeBSD.Arno) Date: Tue May 13 07:58:04 2008 Subject: Kind Link Request In-Reply-To: <482873F2.2070009@gmail.com> References: <000601c8b428$9a458d00$ced0a700$@co.za> <5D6E340F-8936-4B03-8C2A-E1BE5669CBD4@rgbaz.eu> <482873F2.2070009@gmail.com> Message-ID: <157B479B-5F96-429E-80BE-7CE0AD51E236@rgbaz.eu> On 12 mei 2008, at 18:44, On 05/12/2008 ...but it runs on windows and http://www.star.net.uk/star/home/hostingoverview.stml http://uptime.netcraft.com/up/graph?site=www.star.net.uk And have fancy title "Manager Link ooh and i fell for it... lol sorry for gr Arno cheers Simon From cblasius at gmail.com Tue May 13 08:06:10 2008 From: cblasius at gmail.com (Zbigniew Komarnicki) Date: Tue May 13 08:06:15 2008 Subject: kernel panic FreeBSD 7.0 - Xorg In-Reply-To: <20080512202212.GA31293@slackbox.xs4all.nl> References: <200805121251.26443.cblasius@gmail.com> <200805122034.17925.cblasius@gmail.com> <20080512202212.GA31293@slackbox.xs4all.nl> Message-ID: <200805131006.12981.cblasius@gmail.com> On Monday 12 of May 2008 22:22:12 Roland Smith wrote: > It might also be a hardware problem. Testing the RAM would be a good > place to start. Yes. You are right. I tested my memory with 'memtest' and got one error: Tst Pass Failing Address Good Bad Err-Bits Count 5 0 00022c8af50 - 556.6 MB efffffff ffffffff 10000000 1 After this error 'memtest' hang, keyboard was frozen and only pressed the restart button help. So, I will buy new memory. Thank you very much for help Roland and Mel. Thank you. > Roland Best wishes, Zbigniew From glyn at millingtons.org Tue May 13 08:13:57 2008 From: glyn at millingtons.org (Glyn Millington) Date: Tue May 13 08:14:02 2008 Subject: Linux compat library error: ELF file OS ABI invalid Message-ID: <86tzh2oc1t.fsf@nowhere.org> FreeBSD 7.0 release, ports currently up-to-date Trying to launch Linux Open Office 2.4 I get the following error message ,---- | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI | invalid `---- Now I *think* that what it ought to load is /usr/compat/linux/usr/X11R6/lib/libXext.so.6 but it goes for the FreeBSD X extension lib instead. Can anyone help me to fix this? atb Glyn From freebsd at violetlan.net Tue May 13 08:25:52 2008 From: freebsd at violetlan.net (Reinhold) Date: Tue May 13 08:25:56 2008 Subject: Samba doesn't start after a ports upgrade Message-ID: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> Hi I have a samba server here at work. Last night I did a ports upgrade and since then samba fails to start. It just hangs at the rc script. # /usr/local/etc/rc.d/samba start Removing stale Samba tdb files: done Starting nmbd. Starting smbd. # ps auxwww |grep smb root 66854 0.0 0.7 5740 3464 ?? Ss 9:09AM 0:00.01 /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf root 67466 0.0 1.3 9616 6756 p1 I+ 9:09AM 0:00.06 /usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf root 67561 0.0 0.2 1596 924 p2 S+ 9:09AM 0:00.00 grep smb and in the log file it looks like this [2008/05/13 09:14:16, 5] lib/debug.c:debug_dump_status(391) INFO: Current debug levels: all: True/5 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 dmapi: False/0 [2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134) Maximum core file size limits now -1(soft) -1(hard) [2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167) get_current_groups: user is in 3 groups: 0, 0, 5 [2008/05/13 09:14:16, 0] smbd/server.c:main(944) smbd version 3.0.28a started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/05/13 09:14:16, 2] smbd/server.c:main(948) uid=0 gid=0 euid=0 egid=0 [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) Build environment: [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) Built by: reinhold@fbsd01.gim.local [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) Built on: Tue May 13 08:52:37 BST 2008 [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) Built using: cc [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) Build host: FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE #1: Mon May 12 18:47:12 BST 2008 reinhold@fbsd01.gim.local:/usr/obj/usr/src/sys/MYKERN i386 [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) SRCDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) BUILDDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) And loads of other stuff that looks the same as above It ends with this [2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117) reloading printcap cache [2008/05/13 09:14:16, 5] printing/print_cups.c:cups_cache_reload(94) reloading cups printcap cache [2008/05/13 09:16:46, 0] printing/print_cups.c:cups_connect(69) Unable to connect to CUPS server localhost:631 - Operation timed out [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223) reload status: error [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(117) reloading printcap cache [2008/05/13 09:16:46, 5] printing/print_cups.c:cups_cache_reload(94) reloading cups printcap cache Any help please, my whole office is down at the moment :-( Regards Reinhold From kris at FreeBSD.org Tue May 13 08:37:08 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue May 13 08:37:10 2008 Subject: Linux compat library error: ELF file OS ABI invalid In-Reply-To: <86tzh2oc1t.fsf@nowhere.org> References: <86tzh2oc1t.fsf@nowhere.org> Message-ID: <48295334.2050308@FreeBSD.org> Glyn Millington wrote: > FreeBSD 7.0 release, ports currently up-to-date > > > Trying to launch Linux Open Office 2.4 I get the following error message > > > ,---- > | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while > | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI > | invalid > `---- > > Now I *think* that what it ought to load is > > /usr/compat/linux/usr/X11R6/lib/libXext.so.6 > > but it goes for the FreeBSD X extension lib instead. > > Can anyone help me to fix this? kldload linux or build it into your kernel. Kris From glyn at millingtons.org Tue May 13 08:49:39 2008 From: glyn at millingtons.org (Glyn Millington) Date: Tue May 13 08:49:43 2008 Subject: Linux compat library error: ELF file OS ABI invalid In-Reply-To: <48295334.2050308@FreeBSD.org> (Kris Kennaway's message of "Tue\, 13 May 2008 10\:37\:08 +0200") References: <86tzh2oc1t.fsf@nowhere.org> <48295334.2050308@FreeBSD.org> Message-ID: <86fxsmoaeb.fsf@nowhere.org> Kris Kennaway writes: > Glyn Millington wrote: >> FreeBSD 7.0 release, ports currently up-to-date >> >> >> Trying to launch Linux Open Office 2.4 I get the following error message >> >> >> ,---- >> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while >> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI >> | invalid >> `---- >> >> Now I *think* that what it ought to load is >> >> /usr/compat/linux/usr/X11R6/lib/libXext.so.6 >> >> but it goes for the FreeBSD X extension lib instead. >> >> Can anyone help me to fix this? > > kldload linux > > or build it into your kernel. Thanks Kris - trouble is its already there! glynthebearded# kldload linux kldload: can't load linux: File exists (via rc.conf) Is it possible to use libmap.conf to persuade a Linbux binary to use a Linux library, or is that not the way to go? Glyn From kris at FreeBSD.org Tue May 13 09:01:21 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Tue May 13 09:01:24 2008 Subject: Linux compat library error: ELF file OS ABI invalid In-Reply-To: <86fxsmoaeb.fsf@nowhere.org> References: <86tzh2oc1t.fsf@nowhere.org> <48295334.2050308@FreeBSD.org> <86fxsmoaeb.fsf@nowhere.org> Message-ID: <482958E2.5050207@FreeBSD.org> Glyn Millington wrote: > Kris Kennaway writes: > >> Glyn Millington wrote: >>> FreeBSD 7.0 release, ports currently up-to-date >>> >>> >>> Trying to launch Linux Open Office 2.4 I get the following error message >>> >>> >>> ,---- >>> | /usr/compat/linux/opt/openoffice.org2.4/program/soffice.bin: error while >>> | loading shared libraries: /usr/local/lib/libXext.so.6: ELF file OS ABI >>> | invalid >>> `---- >>> >>> Now I *think* that what it ought to load is >>> >>> /usr/compat/linux/usr/X11R6/lib/libXext.so.6 >>> >>> but it goes for the FreeBSD X extension lib instead. >>> >>> Can anyone help me to fix this? >> kldload linux >> >> or build it into your kernel. > > > > Thanks Kris - trouble is its already there! > > glynthebearded# kldload linux > kldload: can't load linux: File exists > > (via rc.conf) > > Is it possible to use libmap.conf to persuade a Linbux binary to use a > Linux library, or is that not the way to go? No, that is not necessary. Next thing to check is that /usr/X11R6 is before /usr/local in your linux ldconfig search path. Kris From freebsd at violetlan.net Tue May 13 09:20:50 2008 From: freebsd at violetlan.net (Reinhold) Date: Tue May 13 09:20:53 2008 Subject: Samba doesn't start after a ports upgrade In-Reply-To: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> References: <62380.217.41.34.61.1210666845.squirrel@www.violetlan.net> Message-ID: <64406.217.41.34.61.1210670523.squirrel@www.violetlan.net> Woot, its back up. The problem was cups. I never used cups before, but for some reason now I have to start cups up so that samba can work. Regards Reinhold On Tue, May 13, 2008 09:20, Reinhold wrote: > Hi > > > I have a samba server here at work. Last night I did a ports upgrade and > since then samba fails to start. It just hangs at the rc script. > > # /usr/local/etc/rc.d/samba start > Removing stale Samba tdb files: done > Starting nmbd. > Starting smbd. > > > > # ps auxwww |grep smb > root 66854 0.0 0.7 5740 3464 ?? Ss 9:09AM 0:00.01 > /usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf > root 67466 0.0 1.3 9616 6756 p1 I+ 9:09AM 0:00.06 > /usr/local/sbin/smbd -d 5 -s /usr/local/etc/smb.conf > root 67561 0.0 0.2 1596 924 p2 S+ 9:09AM 0:00.00 grep smb > > and in the log file it looks like this [2008/05/13 09:14:16, 5] > lib/debug.c:debug_dump_status(391) > INFO: Current debug levels: > all: True/5 > tdb: False/0 > printdrivers: False/0 > lanman: False/0 > smb: False/0 > rpc_parse: False/0 > rpc_srv: False/0 > rpc_cli: False/0 > passdb: False/0 > sam: False/0 > auth: False/0 > winbind: False/0 > vfs: False/0 > idmap: False/0 > quota: False/0 > acls: False/0 > locking: False/0 > msdfs: False/0 > dmapi: False/0 > [2008/05/13 09:14:16, 3] lib/fault.c:dump_core_setup(134) > Maximum core file size limits now -1(soft) -1(hard) > [2008/05/13 09:14:16, 3] smbd/sec_ctx.c:get_current_groups(167) > get_current_groups: user is in 3 groups: 0, 0, 5 > [2008/05/13 09:14:16, 0] smbd/server.c:main(944) > smbd version 3.0.28a started. Copyright Andrew Tridgell and the Samba Team > 1992-2008 > [2008/05/13 09:14:16, 2] smbd/server.c:main(948) > uid=0 gid=0 euid=0 egid=0 [2008/05/13 09:14:16, 4] > smbd/build_options.c:output(45) > Build environment: > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built by: reinhold@fbsd01.gim.local > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built on: Tue May 13 08:52:37 BST 2008 > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Built using: cc > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > Build host: FreeBSD fbsd01.gim.local 6.3-STABLE FreeBSD 6.3-STABLE > #1: Mon May 12 18:47:12 BST 2008 > reinhold@fbsd01.gim.local:/usr/obj/usr/src/sys/MYKERN i386 > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > SRCDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > BUILDDIR: /usr/ports/net/samba3/work/samba-3.0.28a/source > [2008/05/13 09:14:16, 4] smbd/build_options.c:output(45) > > > And loads of other stuff that looks the same as above > It ends with this > [2008/05/13 09:14:16, 3] printing/pcap.c:pcap_cache_reload(117) > reloading printcap cache [2008/05/13 09:14:16, 5] > printing/print_cups.c:cups_cache_reload(94) > reloading cups printcap cache [2008/05/13 09:16:46, 0] > printing/print_cups.c:cups_connect(69) > Unable to connect to CUPS server localhost:631 - Operation timed out > [2008/05/13 09:16:46, 3] printing/pcap.c:pcap_cache_reload(223) > reload status: error [2008/05/13 09:16:46, 3] > printing/pcap.c:pcap_cache_reload(117) > reloading printcap cache [2008/05/13 09:16:46, 5] > printing/print_cups.c:cups_cache_reload(94) > reloading cups printcap cache > > > Any help please, my whole office is down at the moment :-( > > > Regards > Reinhold > > > _______________________________________________ > 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 Tue May 13 09:55:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue May 13 0