Re: Errata Branch
On Thu, Sep 02, 2004 at 10:39:04PM -0600, Paul Andrews wrote: I'm looking for some information on the Errata Branch for 4.10. I just re-installed my FreeBSD system and am now running 4.10-RELEASE. I want to make sure that I am running with the most-up-to-date security patches applied. Yes. All you need to do is cvsup to the head of the RELENG_4_10 branch, and compile and install using that code. I would like to know the steps necessary for appling the changes in RELENG_4_10. Also how can I tell if the security patchs and code fixes have been applied. Just using cvsup will get you all of the security and other fixes. That includes all of the patches included in the various security advisories issued by the FreeBSD project. To get a newly installed system up to the latest patch level, using cvsup and doing a complete buildworld cycle is your best bet. For any further Errata or Security Advisories, you can always do another buildworld cycle, or there will usually be instructions in the advisory on how to just recompile only the affected bits. If you go the whole 'buildworld' route each time, the uname(1) output will show the patchlevel of the system: currently that's 4.10-RELEASE-p2 after the release of FreeBSD-SA-04:13 on June 30th. Instructions on how to do a buildworld can be found in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and also be sure to read /usr/src/UPDATING after cvsup'ing to see if there are any special instructions. My stable-subfile: *default host=cvsup12.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_10 *default delete use-rel-suffix src-all That looks fine to me. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp9aSnpwQNq6.pgp Description: PGP signature
How to get system static info?
Hi: May you please tell me which procedures or functions can get current cpu usage and mem usage in freebsd? Just like top does. It seems freebsd is different with linux in said process. Or could you tell me how to find top resource. Many thanks! gxz 9-3-2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to get system static info?
On Fri, 3 Sep 2004, Neo wrote: Hi: May you please tell me which procedures or functions can get current cpu usage and mem usage in freebsd? Just like top does. It seems freebsd is different with linux in said process. Or could you tell me how to find top resource. Many thanks! man 3 sysctl Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting ssh to work
I recently tried to ssh into my desktop from another machine, and found that it doesn't work (it times out). I'm not sure what I need to do to make it work. I'm running 5-CURRENT from August 3 (back when 5 was still -CURRENT). I've confirmed that sshd is running (sshd_enable=YES is in rc.conf). I've checked /etc/ssh/sshd_config, and I haven't changed any of the defaults. My firewall should allow this sort of thing, and just to make absolutely sure, I told my firewall to (temporarily) let in _everything_ from the entire class B network the remote machine is on. netstat says that my machine is listening on port 22. And I can 'ssh localhost' from my desktop to itself (though it does say, socket: Protocol not supported before successfully asking for my password). The remote machine in question is running OpenSSH_3.6.1p2, and I'm running OpenSSH_3.8.1p1. I thought maybe for some odd reason ssh'ing out is blocked on the remote machine, but then I remembered that a friend tried to ssh in from his OS X laptop the other day, and that timed out the same way the current remote machine is. And I don't get a Permission denied sort of error on the remote machine, just a timeout. Any ideas? Thanks, -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvsup fail: Invalid FileAttr.AttrTypes encoding.
Running FreeBSD 5.2 Release. Haven't modified anything in the last week on the server, yet I'm getting this error when I try to cvsup since yesterday. The command I'm using is cvsup -g -L 2 /root/ports-supfile. Here's the last of the output before the error: Edit ports/graphics/png/files/patch-ab Add delta 1.2 2004.09.03.03.47.14 ache TreeList failed: Error in /usr/sup/ports-all/checkouts.cvs:.: 64498: Invalid FileAttr.AttrTypes encoding. Delete it and try again. What exactly is it asking me to delete? TIA, Vonleigh Simmons http://illusionart.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Way OT: How long does your box run for?
The other day I was explaining something to my boss (a suit), and I mentioned that a FreeBSD box would easily run for a year or more. Oh, he said, and then you've got to reboot it?. I explained that generally some upgrade comes along that reqwuires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? --- Andy Holyer, Technical stuff Hedgehog Broadband, 11 Marlborough Place Brighton BN1 1UB 08451 260895 x 241 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup fail: Invalid FileAttr.AttrTypes encoding.
On Fri, Sep 03, 2004 at 01:43:34AM -0700, Vonleigh Simmons wrote: Edit ports/graphics/png/files/patch-ab Add delta 1.2 2004.09.03.03.47.14 ache TreeList failed: Error in /usr/sup/ports-all/checkouts.cvs:.: 64498: Invalid FileAttr.AttrTypes encoding. Delete it and try again. What exactly is it asking me to delete? Line 64498 of /usr/sup/ports-all/checkouts.cvs:. # cd /usr/sup/ports-all/ # sed -i~ -e '64498d' checkouts.cvs:. Then re-run cvsup, and it will replace the missing line with the correct data. Failing that, you can delete or move aside the whole /usr/sup/ports-all/checkouts.cvs:. file. The checkouts files are used solely for bookkeeping, and as the manual says, cvsup can cope without, although it makes the cvsup process rather less efficient. See the section 'THE LIST FILE' in cvsup(1) The list file is not strictly necessary. If it is deleted, or becomes inconsistent with the actual client files, cvsup falls back upon a less efficient method of identifying the client's files and performing its updates. Depending on CVSup's mode of operation, the fallback method employs time stamps, checksums, or analysis of RCS files. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpxmN5CDaHDh.pgp Description: PGP signature
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 04:02 pm, Dan Finn [EMAIL PROTECTED] wrote: On Thu, 2 Sep 2004 23:22:26 +0100, Steve Hodgson [EMAIL PROTECTED] wrote: On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000 .6 000.7000.8000/usr/local/lib/ruby/site_ruby/1. 8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.. ...6000.7000.8000/usr/local/lib/ruby/site_ru by/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. I ended up having to move /usr/ports out of the way and doing a fresh cvsup. I am not sure why but this fixed it. I tried this and still got the same error. Mine isn't choking on nvidia-driver, though. Also tried reinstalling ruby, still the same error. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
On Friday 03 September 2004 01:45 am, Andy Holyer wrote: The other day I was explaining something to my boss (a suit), and I mentioned that a FreeBSD box would easily run for a year or more. Oh, he said, and then you've got to reboot it?. I explained that generally some upgrade comes along that reqwuires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? Netcraft has a list of long uptimes for websites, which has a lot of FreeBSDs (including number 1, with an uptime of nearly five years). Bad security, but still... http://uptime.netcraft.com/up/today/top.avg.html -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting ssh to work
On Friday 03 September 2004 01:43 am, Matthew Seaman wrote: One thing to check -- do you have the machine key for the remote machine cached somewhere No. Failing that, try running ssh and/or sshd in debug mode. On the client side you can run: % ssh -v -v -v [EMAIL PROTECTED] which will trace exactly what ssh is trying to do as you log in. Not much, it seems. Never makes contact: $ ssh -v -v -v [EMAIL PROTECTED] OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connecting to [host] [host ip] port 22. debug1: connect to address [host] port 22: Connection timed out ssh: connect to host [host] port 22: Connection timed out The ssh_config has 'ForwardX11 yes' but is default apart from that. Unfortunately I don't have root access on the remote box. What's odd is that it never tries to contact me on port 22. I'm logging all packets from it to me, and I'm only seeing packets _from_ its port 22 to one of my unpriveledged ports (I should have added before that I'm first sshing to this computer, then trying to ssh back). I also just tried this from another remote computer (OpenSSH_3.7.1p2) on a completely separate network 2000 miles away, and got the exact same results. (For fun I tried sshing between these two remote computers, and that works fine.) I'd suggest that port 22 is being blocked upstream, but I just ssh'd to an old computer that sits right next to my desktop and is on the same network (it runs 5.2RC2). That computer can't ssh to mine either. -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question about Wireless USB Adapter
On Friday 03 September 2004 00:21, Vince Hoffman wrote: On Thu, 2 Sep 2004, Daan Vreeken [PA4DAN] wrote: On Thursday 02 September 2004 05:53, Will Lieu wrote: Hello, I was just wondering if FreeBSD is going/does it support the following Wireless USB Adapter: Netgear MA111. If not do you know where I can get the drivers for this? I've searched around around and seemed to come up empty. Your reply would be greatly appreciated. As far as I could find, your device is based on the Prism-2 chipset. Linux claims to support the device with the wlan-ng driver, but as far as I know, FreeBSD doesn't have support for it (at this moment). from man wi The wi driver provides support for wireless network adapters based around the Lucent Hermes, Intersil PRISM-II, Intersil PRISM-2.5, Intersil Prism-3, and Symbol Spectrum24 chipsets. All five chipsets provide a similar interface to the driver. however i have no idea if this includes USB adapters, Nope. At this moment it doesn't. the only usb wireless driver i came across (or ever looked for for that matter) for Freebsd was for Atmel based USB WLAN adapters http://vitsch.net/bsd/atuwi/ it seemed to work quite well when i tried it. I wrote it :) I have a Prism-II USB WLAN adapter here at home, I just haven't had the time (yet) to look at it. Before I look at it I first want the atuwi driver to be in a more finished state.. At this moment I think the atuwi driver is the only USB WLAN driver for FreeBSD. All adapters based on other chipset are unsupported at this moment. grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux emulators
On Thu, 2 Sep 2004 23:57:26 -0300 (ART) in lucky.freebsd.questions, E. J. Cerejo wrote: Hello I'm running fbsd 4.10 and i would like to run linux emulator but I see 3 versions in ports, does it matter which one I install and do I have to add anything to make.conf if I choose to use one other than the one that is default? As I understand you are asking about emulators/linux_base* ports. They are different, just compare list of distfiles in their Makefiles and which one you need to install depends on applications you are going to run under Linux compatibility mode (shared libraries dependencies for example). Handbook has a good explanation about Linux compatibility mode and information about installation of additional shared libraries. There isn't any sense to duplicate it here. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Lotus Domino server on FreeBSD
Has anybody experience about Lotus Domino Server on FreeBDS? Is possible run Lotus Domino server 6.5 fo r Linux on FreeBSD under compat Linux? Thanks for all info ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
[ Maintainer of lang/ruby18 amd sysutils/portupgrade CC'd ] On Fri, Sep 03, 2004 at 02:05:40AM -0700, Joshua Tinnin wrote: On Thursday 02 September 2004 04:02 pm, Dan Finn [EMAIL PROTECTED] wrote: On Thu, 2 Sep 2004 23:22:26 +0100, Steve Hodgson [EMAIL PROTECTED] wrote: On Thursday 02 September 2004 19:34, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000 .6 000.7000.8000/usr/local/lib/ruby/site_ruby/1. 8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] I have just had the same thing happen to me, and I'm unable to fix it by using pkgdb or portsdb. I just portupgraded kde3 using the instructions in /usr/ports/UPDATING and also updated the nvidia drivers. I'm running FreeBSD 5.2.1-p9. --- Checking the package registry database Stale dependency: gnome2-2.6.2 - nvidia-driver-1.0.6113 (x11/nvidia-driver): [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11726 port entries found .1000.2000.3000.4000.5000.. ...6000.7000.8000/usr/local/lib/ruby/site_ru by/1.8/portsdb.rb:587: [BUG] Bus Error ruby 1.8.2 (2004-07-29) [i386-freebsd5] Abort trap (core dumped) Any ideas, or suggestions appreciated. I ended up having to move /usr/ports out of the way and doing a fresh cvsup. I am not sure why but this fixed it. I tried this and still got the same error. Mine isn't choking on nvidia-driver, though. Also tried reinstalling ruby, still the same error. Ditto: 'portsdb -u' dumps core. On FreeBSD 4.10, and without KDE or the like installed: % uname -a FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.10-STABLE FreeBSD 4.10-STABLE #81: Sat Aug 28 17:10:47 BST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 Which suggests it's something in the INDEX file around line 8400-ish that portsdb can't cope with -- and it's a change since about 09:00 BST yesterday, when portsdb worked as intended. I can't see anything obviously wrong in the backtrace I got from the coredump though: #0 0x2819ac0c in kill () from /usr/lib/libc.so.4 No symbol table info available. #1 0x281dda65 in abort () from /usr/lib/libc.so.4 No symbol table info available. #2 0x2808b805 in rb_bug (fmt=0x28118f50 Segmentation fault) at error.c:214 buf = /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: \000\000\203\t(\021(+\000\000\000l\a\b8+\000\000\000\2348\001\000\000\000\004\000\000\000\214C\b\001\000\000\000(\000\000\000\0008\001\000\000\000_7\000\0009\000\000_\a\b\000\000\000\000\f\215C\b\001\000\000\000\210L\001\000\000L\001\000\000S\a\bL\000\000\000\000\220\000\000\000\000\000\000\000\000t [EMAIL PROTECTED](... out = (FILE *) 0x281e97f0 len = 50 #3 0x280efeca in sigsegv (sig=11) at signal.c:446 No locals. #4 0xbfbfffac in ?? () No symbol table info available. #5 0x281d207f in __bt_put () from /usr/lib/libc.so.4 No symbol table info available. #6 0x28214ef6 in bdb1_put () from /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so No symbol table info available. #7 0x28214f5d in bdb1_assign () from /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so No symbol table info available. #8 0x28098b6d in rb_call0 (klass=136611476, recv=136550876, id=333, oid=333, argc=2, argv=0xbfbfb308, body=0x82484b4, nosuper=0) at eval.c:5411 func = (VALUE (*)()) 0x28214f2c bdb1_assign recv = 136550876 len = 2 argc = 2 argv = (VALUE *) 0xbfbfb308 len = 2 _frame = {self = 136550876, argc = 2, argv = 0xbfbfb308, last_func = 333, orig_func = 333, last_class = 136611476, prev = 0xbfbfba0c, tmp = 0x0, node = 0x8116980, iter = 0, flags = 0, uniq = 2127051} _iter = {iter = 0, prev = 0xbfbfb9b0} nosuper = 0 b2 = (NODE *) 0x281ddcfd result = 4 itr = 673271596 tick = 2126983 #9 0x28099618 in rb_call (klass=136611476, recv=136550876, mid=333, argc=2, argv=0xbfbfb308, scope=0) at eval.c:5757 mid = 333 body = (NODE *) 0x82484b4 noex = 0 id = 333 ent = (struct cache_entry *) 0x298 #10 0x2809377b in rb_eval (self=136603516, n=0x81171b4) at eval.c:3239 recv = 136550876 argc = 2 argv = (VALUE *) 0xbfbfb308 scope = 0 n = (NODE *) 0x0 contnode = (NODE *) 0x8116840 node = (NODE *) 0x8116980
Re: Question about Wireless USB Adapter
On Fri, 3 Sep 2004, Daan Vreeken [PA4DAN] wrote: On Friday 03 September 2004 00:21, Vince Hoffman wrote: On Thu, 2 Sep 2004, Daan Vreeken [PA4DAN] wrote: On Thursday 02 September 2004 05:53, Will Lieu wrote: Hello, I was just wondering if FreeBSD is going/does it support the following Wireless USB Adapter: Netgear MA111. If not do you know where I can get the drivers for this? I've searched around around and seemed to come up empty. Your reply would be greatly appreciated. As far as I could find, your device is based on the Prism-2 chipset. Linux claims to support the device with the wlan-ng driver, but as far as I know, FreeBSD doesn't have support for it (at this moment). from man wi The wi driver provides support for wireless network adapters based around the Lucent Hermes, Intersil PRISM-II, Intersil PRISM-2.5, Intersil Prism-3, and Symbol Spectrum24 chipsets. All five chipsets provide a similar interface to the driver. however i have no idea if this includes USB adapters, Nope. At this moment it doesn't. the only usb wireless driver i came across (or ever looked for for that matter) for Freebsd was for Atmel based USB WLAN adapters http://vitsch.net/bsd/atuwi/ it seemed to work quite well when i tried it. I wrote it :) Doh so you did ;) I realy must pay more attention when i reply. I have a Prism-II USB WLAN adapter here at home, I just haven't had the time (yet) to look at it. Before I look at it I first want the atuwi driver to be in a more finished state.. At this moment I think the atuwi driver is the only USB WLAN driver for FreeBSD. All adapters based on other chipset are unsupported at this moment. grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd builds
Hi, Building kernels I am comfortable with. I have been doing it a while for SUSE. Now I wanted to try freebsd 5.1. So I have some questions about freebsd builds. Some of the questions may sound dumb but I want to make sure I don't do something catostrophic based on a past experience with SUSE. So... make clean - simply cleans objects, executables in the work area /usr/src. Nothing else make buildkernel - simply builds the kernel, support modules, and so on in the work area only /usr/src. The biilt kernel is located in /usr/obj/usr/src/../kernel. make installkernel - once this is done, that which was in the work area is placed in working directories of the installed system. For SUSE I used GRUB or lilo to write the boot block. For freebsd I use bsdlabel? I am targeting the kernel for a Soekris 4511. The 4511 has a national semiconductor ethernet chip. On SUSE I add the configuration parameter NATSEMI=Y to build the ethernet driver. What is the configruation parameter for Freebsd ethernet driver. I was reading a notes file on a technique of building a jail sandbox. The sandbox becomes something like freebsd inside freebsd. The purpose was to allow someone to make major modifications to the kernel and not affect the working operating system components. Per the notes file, the sandbox is set by: perform a customer install. During the install change the installation location to point to the sandbox. chroot sandbox Do a build in the sandbox I create the folder, changed the destintation to be the sandbox in the installation options, and installed freebsd in the sandbox folder. Then I: chroot to the sandbox To verify my sandbox install was correct, I tried to rebuild the GENERIC kernel in the sandbox. An error occured in makefile.inc1 line 139. That line has a make command dealing with CPUTYPE. The error was its value not being zero. I then exited the sandbox (command shell) and reexecuted the make command to rebuild the GENERIC kernel in the standard /usr/src location. It worked fine. So it is not the installation kit. The problem is something I have not done or did improperly in creating the sandbox. Thoughts. A ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting ssh to work
On Friday 03 September 2004 02:56 am, David Syphers wrote: [a lot of stuff about how ssh doesn't work] Oh my, I feel silly. See, I have no experience with LANs, and foolishly though that I had a real IP, that computers off the LAN could use to find me... Didn't even realize I was _on_ a LAN, actually. So ssh works fine, I just need to figure out how to let other computers know where I am. *sigh* -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
100,000 TCP connections - kernel tuning advice wanted
Hi all, As part of a team, I am working on a TCP multiplexor using FreeBSD. On side A we have 100,000 TCP connections accepting packets, which are multiplexed onto a single TCP connection on Side B. Packets going B-A are demultiplexed in the reverse way. Info - - freebsd version is 5.2-RELEASE. Kernel has been recompiled to use DEVICE_POLLING and unused devices removed. The HZ parameter has been varied through 1000,2000,4000 but this does not significantly alter our results. We have also played with the idle and trap sysctl's for polling. - our network card is an Intel EtherExpress Pro, running at 100Mbits - UDP is not an option for us - Average payload size is 50-100 bytes. The payload is preceeded by a 32 bit value, which is the size of the payload, so reading is a matter of grabbing the size, allocating a buffer and then doing the read. Minimal processing is done on the packet. - We are using our own specialized memory management. We use writev and readv whereever possible. - socket buffers have been increased to 1MB on the B side, but are the default size on side A. - we are using kevent/kqueue - this task would be impossible without them - our current test box has 1.5GB RAM and a 1GHZ Athlon CPU. While we might go for a faster CPU, we would like to keep within our current RAM constraints. - Side A is connected to a test client, which has 20% idle time. - Side B is connected via a switch to another test box, which just echos the packets back for testing purposes. It has significant idle time. - Our current rough measurements, using top, show 30% user time, and 60% kernel time, when this app is running. This multiplexing app is the only app running on the machine. The machine is CPU bound - the multiplexing requires no disk I/O. Currently we are getting 4000-6000 packets/sec unidirectional throughput, depending upon the mix of packet types/sizes. This goes up to 5000-7000 packets/sec for 50,000 connections. We are seeking advice on what kernel tunables we can tweak to improve packet throughput. Constants are TCP, 100,000 connections, 50-100 byte packet sizes. All help appreciated. Regs Simon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freeBSD for a CVS server
Hello, I'm not a FreeBSD user yet, neither am I a Linux user. Most of my job consists in developing systems for the QNX RTP. I'm currently in the process of setting up a CVS server for 15-20 users and I'm now at choosing an OS for it. The article posted at: http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php gave me a good feeling about the design philosophy and goals that FreeBSD pursue. And the HUGE amount of documentation available on your website made me feel comfortable... So I think I'll go with it. Now the questions: - Which version should I go with? Should I use 4.10 Production Release? Is the 5.2.1 New Technology Release suitable for a production server? - Is there any article related to the setup of a CVS server with FreeBSD? Thank you, Martin Gagnon Genisys Consulting Group 418 871 0301 x207 html xmlns:v=urn:schemas-microsoft-com:vml xmlns:o=urn:schemas-microsoft-com:office:office xmlns:w=urn:schemas-microsoft-com:office:word xmlns=http://www.w3.org/TR/REC-html40; head meta http-equiv=Content-Type content=text/html; charset=windows-1252 meta name=ProgId content=Word.Document meta name=Generator content=Microsoft Word 11 meta name=Originator content=Microsoft Word 11 link id=Main-File rel=Main-File href=cid:[EMAIL PROTECTED] !--[if gte mso 9]xml o:shapedefaults v:ext=edit spidmax=3074 / /xml![endif]-- /head body lang=EN-US link=blue vlink=#66 div style='mso-element:footnote-separator' id=fs p class=MsoNormalfont size=2 face=Arialspan lang=FR-CA style='font-size: 10.0pt'span style='mso-special-character:footnote-separator'![if !supportFootnotes] hr align=left size=1 width=33% ![endif]/span/span/font/p /div div style='mso-element:footnote-continuation-separator' id=fcs p class=MsoNormalfont size=2 face=Arialspan lang=FR-CA style='font-size: 10.0pt'span style='mso-special-character:footnote-continuation-separator'![if !supportFootnotes] hr align=left size=1 ![endif]/span/span/font/p /div div style='mso-element:endnote-separator' id=es p class=MsoNormalfont size=2 face=Arialspan lang=FR-CA style='font-size: 10.0pt'span style='mso-special-character:footnote-separator'![if !supportFootnotes] hr align=left size=1 width=33% ![endif]/span/span/font/p /div div style='mso-element:endnote-continuation-separator' id=ecs p class=MsoNormalfont size=2 face=Arialspan lang=FR-CA style='font-size: 10.0pt'span style='mso-special-character:footnote-continuation-separator'![if !supportFootnotes] hr align=left size=1 ![endif]/span/span/font/p /div /body /html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
driver : Promise SATA150 TX2/TX4 Serial ATA/150
Dear Sir our system need using FreeBsd 4.10, but it don't have driver for Promise SATA150 TX4 Can anyone give the driver Regards Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
Hello everyone, Having some trouble with my cdrw ... deputy# burncd -f /dev/acd0c -s 1 data /home/matt/devel/monodevel/cd.iso fixate next writeable LBA 0 writing from file /home/matt/devel/monodevel/cd.iso size 12064 KB only wrote -1 of 32768 bytes err=5 fixating CD, please wait.. burncd: ioctl(CDRIOCFIXATE): Input/output error deputy# Might also want to see http://paste.atopia.net/58 Console displays WRITE_BIG and CLOSE_TRAC/SESSION errors using burncd. I've tried changing: -CD RW drive -CD RW Media -Hardware (got an entirely new machine in here) -cables The only thing I havben't changed is the hard drive (haven't tried a new install of bsd or a different OS). Running 4.10-RELEASE. Any ideas? Thanks! -Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what is S.M.A.R.T and do I need it when I'm using freebsd (5.x...)
Hi everyone, I've got this question that bugs me. It seems that the bios setup utility on my desktop machine (MB. GA-8IPE1000-G Pro) does not support turning on S.M.A.R.T. I remember that long ago I've read somewhere in the net that S.M.A.R.T has to do something with remapping the bad sectors on the IDE drive similar to the way SCSI controller should do it, but probably I've got it wrong... So, what is S.M.A.R.T, does FreeBSD use it, and should it be turned on trough the bios setup utility? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Moving MySQL database
I have a server that is rapidly filling the var partition with a MySQL database. I'd like to move it to a subdirectory somewhere under /usr. Is there a document that would outline a best practices approach to doing this? My first instinct was to stop the mysqld, do a mv on /var/db to /var/db2 to rename it, copy the data to a /usr/local/db folder and alter permissions on it to match /var/db, then make a softlink between /usr/local/db and /var/db and restart mysqld so mysqld wouldn't need any reconfiguring and everything, I would *think*, should keep working...only now it will be working off a far more spacious partition. Thanks, -Bart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bash = default
Hello, sorry but i'm more confortable with bash, so how can i obtain my bash -i on the login ? (Without doing a 'bash -i' after the login.) Thanks for your help. mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Package version problem with portupgrade(1)
On Thursday 02 September 2004 01:45 am, Philip Payne wrote: Well, png is up to png-1.2.5_8 and if you did a recent cvsup and recreated your INDEXs, that is what you should be seeing. OK, portupgrade(1) _is_ looking for 1.2.5_8 but it is trying to get it from ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/All where the version of png is 1.2.5_2, so how to resolve the conflict? Seems to me that portupgrade(1) needs to be getting the packages from packages-4-stable/All instead? Staying behind is a good way to end up with a security black hole :). Precisely. A cvsup of ports-all and a portsdb -uU should be a good way to keep your system current. Will that change where portupgrade(1) tries to get the packages from? I believe the package updates will lag behind the ports source update i.e. if you use portupgrade -PP and use packages only there will be the occasional port that does not have a package available. I'm not sure how long the lag is... I guess different for different ports. I think you'll just have to accept a slight lag on when you can update certain ports. If this is not the real error I'm sure someone will correct me. His PACKAGESITE environment variable is set to a wrong location. I think that he needs to set it using something like setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All or his favorite mirror, as all one line. and then run portupgrade -PPa. It defaults to the 4.9 release packages and they never change. I have only used PACKAGESITE once and that was to update KDE. The sites were so busy that my computer would build it almost as fast as I could download it. Ah, OK. That makes sense. Didn't realise the package path problem. If you're using portinstall then you can set alternative package sites in /usr/local/etc/pkgtools.conf rather than setting the PACKAGESITE environment variable. Phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving MySQL database
On Fri, Sep 03, 2004 at 09:42:36AM -0400, Bart Silverstrim wrote: I have a server that is rapidly filling the var partition with a MySQL database. I'd like to move it to a subdirectory somewhere under /usr. Is there a document that would outline a best practices approach to doing this? My first instinct was to stop the mysqld, do a mv on /var/db to /var/db2 to rename it, copy the data to a /usr/local/db folder and alter permissions on it to match /var/db, then make a softlink between /usr/local/db and /var/db and restart mysqld so mysqld wouldn't need any reconfiguring and everything, I would *think*, should keep working...only now it will be working off a far more spacious partition. I'd do it this way: i) Stop mysql ii) Remove (pkg_delete) the mysql-server package iii) Move the database files to their new location, taking care to preserve ownership, permissions, timestamps etc. iv) Reinstall the mysql-server port setting a different DB_DIR on the make command line: # make DB_DIR=/usr/local/db install v) Make sure that the home directory of the mysql user account is the same as you set DB_DIR to. The port should take care of that, but it won't hurt to double check. % grep mysql /etc/passwd mysql:*:88:88:MySQL Daemon:/usr/local/db:/sbin/nologin vi) Restart the mysql server. Verify that your data survived the move. And that's it: you're done. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpoB8kMjlbIF.pgp Description: PGP signature
Re: bash = default
On Fri, 3 Sep 2004, messmate wrote: Hello, sorry but i'm more confortable with bash, so how can i obtain my bash -i on the login ? (Without doing a 'bash -i' after the login.) use chsh Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving MySQL database
On Fri, Sep 03, 2004 at 09:42:36AM -0400, Bart Silverstrim wrote: I have a server that is rapidly filling the var partition with a MySQL database. I'd like to move it to a subdirectory somewhere under /usr. Is there a document that would outline a best practices approach to doing this? My first instinct was to stop the mysqld, do a mv on /var/db to /var/db2 to rename it, copy the data to a /usr/local/db folder and alter permissions on it to match /var/db, then make a softlink between /usr/local/db and /var/db and restart mysqld so mysqld wouldn't need any reconfiguring and everything, I would *think*, should keep working...only now it will be working off a far more spacious partition. I'd do it this way: i) Stop mysql ii) Remove (pkg_delete) the mysql-server package iii) Move the database files to their new location, taking care to preserve ownership, permissions, timestamps etc. iv) Reinstall the mysql-server port setting a different DB_DIR on the make command line: # make DB_DIR=/usr/local/db install v) Make sure that the home directory of the mysql user account is the same as you set DB_DIR to. The port should take care of that, but it won't hurt to double check. % grep mysql /etc/passwd mysql:*:88:88:MySQL Daemon:/usr/local/db:/sbin/nologin vi) Restart the mysql server. Verify that your data survived the move. And that's it: you're done. Won't a simple symlink of /var/db/mysql to a new location (ie. /usr/db/mysql) after the directory is moved perform the same task, without the need to re-install? I've never done this, but it may work, and save some troubles. Steve Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
Andy Holyer wrote: The other day I was explaining something to my boss (a suit), You're a patient one, then ... and I mentioned that a FreeBSD box would easily run for a year or more. Oh, he said, and then you've got to reboot it?. I explained that generally some upgrade comes along that reqwuires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? For a publicly accessible host, around 150 days, which is probably too much; generally things start to feel stale by then, to me, and security paranoia grows in direct correlation to system uptime (which should reflect more on my perceived knowledge of security and paranoia than on the Project's software) I've heard accounts of boxen acting as, say, LAN routers or LAN file servers with uptimes of years. IIRC, Netcraft now claims that most new FreeBSD builds reset to zero after 400-something days, so some of their statistics may be no longer as valid... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Enabling Serial Console
Wish to enable the serial console on my servers so that I can remotely view a reboot when it crashes ... I know to plug the serial cable into COM1 ... and I know I have to add something to /boot.config, but, if I want to set it so that even if the keyboard is plugged in, the serial console works, what do I need to add? I always thought -P, but reading the man page, I'm not so sure :( Also ... I'm going to cross-connect the servers for now ... ServerA/COM1-ServerB/COM2, ServerB/COM1-ServerC/COM2, etc ... what happens if all machines come up at once? I see nothing in the man page about 'detecting serial', so I'm assuming that the serial console will still work, even if there is nothing at the other end 'listening' yet? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enabling Serial Console
Wish to enable the serial console on my servers so that I can remotely view a reboot when it crashes ... I know to plug the serial cable into COM1 ... and I know I have to add something to /boot.config, but, if I want to set it so that even if the keyboard is plugged in, the serial console works, what do I need to add? I always thought -P, but reading the man page, I'm not so sure :( I believe what you are looking for is: # echo '-h' /boot.config Also ... I'm going to cross-connect the servers for now ... ServerA/COM1-ServerB/COM2, ServerB/COM1-ServerC/COM2, etc ... what happens if all machines come up at once? I see nothing in the man page about 'detecting serial', so I'm assuming that the serial console will still work, even if there is nothing at the other end 'listening' yet? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash = default
Hello, sorry but i'm more confortable with bash, Oh, that's so sad... so how can i obtain my bash -i on the login ? (Without doing a 'bash -i' after the login.) Just change the login shell in the /etc/passwd file. use vipw(8) to edit the /etc/passwd file and replace the last field with /usr/local/bin/bash (or whatever its full path is) (don't edit /etc/passwd with regular vi or vim or emacs or whatever, use vipw to make sure it locks things correctly and updates the database when needed) I have never tried using a flag on the shell in the /etc/passwrd file so I don't know what the -i will do to it. You might have to add some quoting. You can also use chsh(1) to make the edit. jerry Thanks for your help. mess-mate ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash = default
On Fri, Sep 03, 2004 at 10:22:54AM -0400, Jerry McAllister wrote: I have never tried using a flag on the shell in the /etc/passwrd file so I don't know what the -i will do to it. You might have to add some quoting. All the -i flag means is that the shell is interactive. It shouldn't be necessary to use it for a login shell, as login shells are assumed interactive already. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpddHJChb7rX.pgp Description: PGP signature
Re: Moving MySQL database
I have a server that is rapidly filling the var partition with a MySQL database. I'd like to move it to a subdirectory somewhere under /usr. Is there a document that would outline a best practices approach to doing this? My first instinct was to stop the mysqld, do a mv on /var/db to /var/db2 to rename it, copy the data to a /usr/local/db folder and alter permissions on it to match /var/db, then make a softlink between /usr/local/db and /var/db and restart mysqld so mysqld wouldn't need any reconfiguring and everything, I would *think*, should keep working...only now it will be working off a far more spacious partition. presuming /usr is actually a good place for it (may really want to add a disk and make a really different partition) First stop MySQL or reboot to single user. Then cd /var/db tar cf /usr/db.tar * cd /usr mkdir var.db cd var.db tar xf ../db.tar cd /var mv db db.old ln -s /usr/var.db db Now, reboot and let MySQL start and make sure it all is happy and works just fine. Then clean up. cd /usr rm db.tar cd /var rm -rf db.old It should now work using the space in /usr You can use any names you like for db.tar, var.db, db.old. Those just make sense to me and are the style I use. If you don't want to move all the stuff in /var/db, then you will have to be more selective and make the link from within /var/db rather than just the whole db directory from within /var. For example, the MySQL stuff is likely to all be in a directory called /var/db/mysql. So: Stop MySQL or reboot to single user. Then cd /var/db/mysql tar cf /usr/mysql.tar * cd /usr mkdir var.db.mysql cd var.db.mysql tar xf ../../mysql.tar cd /var/db mv mysql mysql.old ln -s /usr/var.db.mysql mysql Now, reboot and let MySQL start and make sure it all is happy and works just fine. Then clean up. cd /usr rm mysql.tar cd /var/db rm -rf mysql.old jerry Thanks, -Bart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Easy question about uninstalling
Hello list, I have just recently installed 4.10 on my system and I chose the KDE desktop as the default. Can someone please tell me how to safely remove all of KDE? If I use pkg_delete, will this remove everything? I know this is a remedial question but I couldn't find any documentation on uninstalling this package and I just want to be sure that everything gets uninstalled correctly. Thank you, Thomas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
Andy Holyer [EMAIL PROTECTED] wrote: The other day I was explaining something to my boss (a suit), and I mentioned that a FreeBSD box would easily run for a year or more. Oh, he said, and then you've got to reboot it?. I explained that generally some upgrade comes along that reqwuires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? Aside from various uptime projects like the ones David commented on, it's generally not practical to go for long uptimes, for exactly the reasons you describe. In practice: My desktop generally maxes out at about 30 days uptime. Something comes up about once a month that causes me to reboot it. Sometimes it's as simple as a few days off from work, and I turn the computer off. Most of the servers I manage (which are all intended for 24/7 access) see about 3 months between reboots. That's an average. Some servers are more aggresively updated than others, and are rebooted more often. The fun part (for me) is that this is all _scheduled_ downtime. For the potentialtech.com server (for example) has about 3 hours of unscheduled downtime since Jan 1. And that downtime is the result of a failed UPS at the colo facility. It has 0 unscheduled downtime due to software issues. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports vs source
On Fri, Sep 03, 2004 at 05:26:11PM +0300, Cristi Tauber wrote: Can anyone tell me which are the avantages of installing from ports rather than installing from tar balls ? I am kind of new to BSD, and I'm familiar with linux install from tar stuff. I know to give the switches to configure to tune the source for installation ... but how i can find the parameters for port install ? I mean ... let's say i want to install php and i have to give the path to mysql, apache and others graphical libraries ... how can I do that with ports ? Any link or explications about this subject is appreciated. FreeBSD ports /is/ installing from source. Except that all of the boring stuff like working out what dependencies you need, what flags are required to find the appropriate shlibs, even where to download the software from: all that stuff is handled automatically for you. If you want to setup a webserver running PHP code against a MySQL back-end database, on a virgin FreeBSD system you can just: # cd /usr/ports/www/mod_php4 # make install # cd /usr/ports/databases/php4-mysql # make install And all of the PHP stuff, plus apache plus mysql will be installed for you. Well, in practice you'ld want to set a few variables on the make command lines so that you got the right variant of apache (2.0.50 vs 1.3.31 vs 1.3.31+mod_ssl-2.8.19 amongst others) and the right version of MySQL (choose from 3.23.58, 4.0.20, 4.1.4 or 5.0.0). The other massive advantage of installing via ports is the packaging system. It keeps track of all of the files and directories etc. installed by each port so that you can do things like create a pkg tarball of the installed port as a backup or to install quickly onto another machine. You can also de-install ports cleanly, and in conjunction with tools like portupgrade(1) the ports system makes tasks like managing software updates a breeze. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp7lmHOhwQc7.pgp Description: PGP signature
Re: ports vs source
Cristi Tauber [EMAIL PROTECTED] wrote: Hello there, Can anyone tell me which are the avantages of installing from ports rather than installing from tar balls ? I am kind of new to BSD, and I'm familiar with linux install from tar stuff. I know to give the switches to configure to tune the source for installation ... but how i can find the parameters for port install ? I mean ... let's say i want to install php and i have to give the path to mysql, apache and others graphical libraries ... how can I do that with ports ? Any link or explications about this subject is appreciated. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-overview.html -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
Kevin D. Kinsey, DaleCo, S.P. writes: I've heard accounts of boxen acting as, say, LAN routers or LAN file servers with uptimes of years. Within the last year or two, I had a conversation with someone who claimed to have a machine runn9ing 2.2.x (or maybe it was 2.1.x) continuously since applying the final security patch. IIRC, Netcraft now claims that most new FreeBSD builds reset to zero after 400-something days, so some of their statistics may be no longer as valid... From the NetCraft FAQ: Why do some Operating Systems never show uptimes above 497 days ? The method that Netcraft uses to determine the uptime of a server is bounded by an upper limit of 497 days for some Operating Systems (see above). It is therefore not possible to see uptimes for these systems that go beyond this upper limit. Although we could in theory attempt to compute the true uptime for OS's with this upper limit by monitoring for restarts at the expected time, we prefer not to do this as it can be inaccurate and error prone. ... which is not exactly the same thing. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports vs source
Cristi Tauber writes: Can anyone tell me which are the avantages of installing from ports rather than installing from tar balls ? The upside of packages is someone else does all the work for you. You install the package, and you're done. The downside of packages is you get what someone decided should go in the package whether you need or want it. Maybe this doesn't matter; maybe you don't care about being told of potential security issues, or having 62 sub-modules that will never be used cluttering up the executable. At your level of experience, use the ports. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is S.M.A.R.T and do I need it when I'm using freebsd (5.x...)
In the last episode (Jan 02), Angelin Lalev said: It seems that the bios setup utility on my desktop machine (MB. GA-8IPE1000-G Pro) does not support turning on S.M.A.R.T. I remember that long ago I've read somewhere in the net that S.M.A.R.T has to do something with remapping the bad sectors on the IDE drive similar to the way SCSI controller should do it, but probably I've got it wrong... SMART is a system where you can poll the disk for status info like temperature, number of corrected reads, self-test results, etc. Bad block remapping will get done by the drive whether you use SMART to monitor it or not. So, what is S.M.A.R.T, does FreeBSD use it, and should it be turned on trough the bios setup utility? It's not really a BIOS thing. It depends on the hard drives you have. You can install the smartmontools port to monitor SMART data for both SCSI and ATA disks. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
Robert Huff wrote: Kevin D. Kinsey, DaleCo, S.P. writes: IIRC, Netcraft now claims that most new FreeBSD builds reset to zero after 400-something days, so some of their statistics may be no longer as valid... From the NetCraft FAQ: Why do some Operating Systems never show uptimes above 497 days ? The method that Netcraft uses to determine the uptime of a server is bounded by an upper limit of 497 days for some Operating Systems (see above). It is therefore not possible to see uptimes for these systems that go beyond this upper limit. Although we could in theory attempt to compute the true uptime for OS's with this upper limit by monitoring for restarts at the expected time, we prefer not to do this as it can be inaccurate and error prone. ... which is not exactly the same thing. Point taken. Typing faster than thinking is dangerous; particularly when not looking at the datum to which one is referring. Thank you. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: what is S.M.A.R.T and do I need it when I'm using freebsd (5. x...)
SMART is not needed for anything. It will only warn you when your hard disks are going bad. I don't ever remember anything about it actually remapping sectors. Its a hardware function, so it has nothing to do with FreeBSD really. -Original Message- From: Angelin Lalev [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 1:51 AM To: [EMAIL PROTECTED] Subject: what is S.M.A.R.T and do I need it when I'm using freebsd (5.x...) Hi everyone, I've got this question that bugs me. It seems that the bios setup utility on my desktop machine (MB. GA-8IPE1000-G Pro) does not support turning on S.M.A.R.T. I remember that long ago I've read somewhere in the net that S.M.A.R.T has to do something with remapping the bad sectors on the IDE drive similar to the way SCSI controller should do it, but probably I've got it wrong... So, what is S.M.A.R.T, does FreeBSD use it, and should it be turned on trough the bios setup utility? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
--On Friday, September 03, 2004 09:15:00 AM -0500 Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] wrote: Andy Holyer wrote: The other day I was explaining something to my boss (a suit), You're a patient one, then ... and I mentioned that a FreeBSD box would easily run for a year or more. Oh, he said, and then you've got to reboot it?. I explained that generally some upgrade comes along that reqwuires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? For a publicly accessible host, around 150 days, which is probably too much; generally things start to feel stale by then, to me, and security paranoia grows in direct correlation to system uptime (which should reflect more on my perceived knowledge of security and paranoia than on the Project's software) In the old days, we used to have boxes with uptimes in the 900 day range. Nowadays that would be insanity. As a security professional, I get irked that some of our boxes only get patched annually (because they only get rebooted annually). It's far too risky a proposition these days. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
--On Friday, September 03, 2004 10:55:09 AM -0400 Bill Moran [EMAIL PROTECTED] wrote: Most of the servers I manage (which are all intended for 24/7 access) see about 3 months between reboots. That's an average. Some servers are more aggresively updated than others, and are rebooted more often. The fun part (for me) is that this is all _scheduled_ downtime. For the potentialtech.com server (for example) has about 3 hours of unscheduled downtime since Jan 1. And that downtime is the result of a failed UPS at the colo facility. It has 0 unscheduled downtime due to software issues. Well, if you're ruling out scheduled downtime, I have a box that's never been down since it was purchased four years ago. :-) 'Course it started out as a RH 7.2 box, and now it's a FreeBSD 4.9 box, but it's never had a single minute of unscheduled downtime. :-) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.10R/moused vs USB Mouse on an IBM A31p
On Thursday 02 September 2004 11:59 pm, ulairi wrote: I's confuzzled (and such). usbd picks up the rodent without a problem and spins up moused with appropriate options (-p /dev/ums0 -I /var/run/moused.ums0.pid). Some simple tests: $ sudo moused -p /dev/ums0 -i all /dev/ums0 usb sysmouse generic $ sudo moused -d -f -p /dev/ums0 moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic Nothing else happens when I move the mouse or click buttons. In 'dmesg' output, I see: ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 2.00/4.19, addr 2, iclass 3/1 ums0: 5 buttons Help? I have this exact mouse. It currently doesn't work due to either a) funny issues with our USB HID support or b) funny stuff with the mouse. I'm highly inclined to say a) which I'm working on a fix in -CURRENT, but it'll at the very least be several weeks till the fix is ready for consumsion. Either use the PS/2 adapter which works fine if your laptop has a port, or get a new mouse (I know it's a nice mouse with excellent tracking). -- Anish Mistry pgpCe6gnb7EvS.pgp Description: signature
Re: ports vs source
Yes i know something ... like the avantages of rpm and another linux package managers. But .. I want apache 1.3.31 with php-4.3.4 and mysql 4.0.20 (let's say) ... from ports ... i understand that I can %choose% what version i want to install ?? Is that correct ? Cristi On Fri, 2004-09-03 at 17:56, Matthew Seaman wrote: On Fri, Sep 03, 2004 at 05:26:11PM +0300, Cristi Tauber wrote: Can anyone tell me which are the avantages of installing from ports rather than installing from tar balls ? I am kind of new to BSD, and I'm familiar with linux install from tar stuff. I know to give the switches to configure to tune the source for installation ... but how i can find the parameters for port install ? I mean ... let's say i want to install php and i have to give the path to mysql, apache and others graphical libraries ... how can I do that with ports ? Any link or explications about this subject is appreciated. FreeBSD ports /is/ installing from source. Except that all of the boring stuff like working out what dependencies you need, what flags are required to find the appropriate shlibs, even where to download the software from: all that stuff is handled automatically for you. If you want to setup a webserver running PHP code against a MySQL back-end database, on a virgin FreeBSD system you can just: # cd /usr/ports/www/mod_php4 # make install # cd /usr/ports/databases/php4-mysql # make install And all of the PHP stuff, plus apache plus mysql will be installed for you. Well, in practice you'ld want to set a few variables on the make command lines so that you got the right variant of apache (2.0.50 vs 1.3.31 vs 1.3.31+mod_ssl-2.8.19 amongst others) and the right version of MySQL (choose from 3.23.58, 4.0.20, 4.1.4 or 5.0.0). The other massive advantage of installing via ports is the packaging system. It keeps track of all of the files and directories etc. installed by each port so that you can do things like create a pkg tarball of the installed port as a backup or to install quickly onto another machine. You can also de-install ports cleanly, and in conjunction with tools like portupgrade(1) the ports system makes tasks like managing software updates a breeze. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which vendor for FreeBSD Rack-Dense Co-Lo Servers?
Hello all, We are an Australian company looking to buy some rack-dense hardware for a FreeBSD implementation at a colocation facility. So far we have got some quotes from Dell for: * Some PowerEdge 1850 servers * PowerEdge 2850 * PowerVault 220S direct attach storage Are there any issues with getting the PERC4 RAID to work with FreeBSD with external storage (the PowerVault 220S)? Are there driver issues with their DAT72 tape drive (that comes with the PowerEdge 2850)? I had a look at FreeBSD Systems' web site, but they are probably not a feasible option (because we need on-site support in Australia). Which vendor would you recommend out of the big 3 (HP, IBM, Dell)? Are there any other vendors that come to mind which might be better? Reliability is the major factor guiding us. Thank you for your help. Out of those three, we have done well with Dell for our FreeBSD servers. I wouldn't rule out the others, though, if they are more convenient for your situation. Since you have already been checking 'FreeBSD Systems' which seems to have a good reputation so far (and who knows about handling an Australian connection, they might), you might want to just ask them how they would handle service in that situation. You might also want to check out 'Iron Systems' at: http://www.ironsystems.com/ jerry Tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving MySQL database
Matthew Seaman wrote: On Fri, Sep 03, 2004 at 09:42:36AM -0400, Bart Silverstrim wrote: I have a server that is rapidly filling the var partition with a MySQL database. I'd like to move it to a subdirectory somewhere under /usr. Is there a document that would outline a best practices approach to doing this? My first instinct was to stop the mysqld, do a mv on /var/db to /var/db2 to rename it, copy the data to a /usr/local/db folder and alter permissions on it to match /var/db, then make a softlink between /usr/local/db and /var/db and restart mysqld so mysqld wouldn't need any reconfiguring and everything, I would *think*, should keep working...only now it will be working off a far more spacious partition. I'd do it this way: i) Stop mysql ii) Remove (pkg_delete) the mysql-server package iii) Move the database files to their new location, taking care to preserve ownership, permissions, timestamps etc. Might a cp -p be slightly more cautious/paranoid until step vi has been completed? Peter. iv) Reinstall the mysql-server port setting a different DB_DIR on the make command line: # make DB_DIR=/usr/local/db install v) Make sure that the home directory of the mysql user account is the same as you set DB_DIR to. The port should take care of that, but it won't hurt to double check. % grep mysql /etc/passwd mysql:*:88:88:MySQL Daemon:/usr/local/db:/sbin/nologin vi) Restart the mysql server. Verify that your data survived the move. And that's it: you're done. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
getting off windows
I have a windows machine and I am trying to figure out how to replace the windows with freebsd. how do I do this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Errata Branch
Matthew, Thanks for the information. You might have already answered this but I'm not 100% sure, once I have cvsup RELENG_4_10 do I need to buildworld just to get the errata branch installed or can I just do as: make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC or is it better to do make buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot (signal user) mergemaster -p make installworld mergemaster reboot Also is it necessary to do the mergemater part of the buildworld process. Thanks again for the assistance. Paul Matthew Seaman wrote: On Thu, Sep 02, 2004 at 10:39:04PM -0600, Paul Andrews wrote: I'm looking for some information on the Errata Branch for 4.10. I just re-installed my FreeBSD system and am now running 4.10-RELEASE. I want to make sure that I am running with the most-up-to-date security patches applied. Yes. All you need to do is cvsup to the head of the RELENG_4_10 branch, and compile and install using that code. I would like to know the steps necessary for appling the changes in RELENG_4_10. Also how can I tell if the security patchs and code fixes have been applied. Just using cvsup will get you all of the security and other fixes. That includes all of the patches included in the various security advisories issued by the FreeBSD project. To get a newly installed system up to the latest patch level, using cvsup and doing a complete buildworld cycle is your best bet. For any further Errata or Security Advisories, you can always do another buildworld cycle, or there will usually be instructions in the advisory on how to just recompile only the affected bits. If you go the whole 'buildworld' route each time, the uname(1) output will show the patchlevel of the system: currently that's 4.10-RELEASE-p2 after the release of FreeBSD-SA-04:13 on June 30th. Instructions on how to do a buildworld can be found in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and also be sure to read /usr/src/UPDATING after cvsup'ing to see if there are any special instructions. My stable-subfile: *default host=cvsup12.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_10 *default delete use-rel-suffix src-all That looks fine to me. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting off windows
Read through http://www.freebsd.org/handbook And for trashing windows, you can do it after booting with the FBSD CD and deleting the windows partition Regards S. On Fri, 03 Sep 2004 11:42:29 -0400, David Litster [EMAIL PROTECTED] wrote: I have a windows machine and I am trying to figure out how to replace the windows with freebsd. how do I do this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.10R/moused vs USB Mouse on an IBM A31p
Thanks for the reply. I thought as much, but wanted to verify. I'd be willing to test your patches if you'd like. On Fri, 2004-09-03 at 08:34, Anish Mistry wrote: On Thursday 02 September 2004 11:59 pm, ulairi wrote: I's confuzzled (and such). usbd picks up the rodent without a problem and spins up moused with appropriate options (-p /dev/ums0 -I /var/run/moused.ums0.pid). Some simple tests: $ sudo moused -p /dev/ums0 -i all /dev/ums0 usb sysmouse generic $ sudo moused -d -f -p /dev/ums0 moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic Nothing else happens when I move the mouse or click buttons. In 'dmesg' output, I see: ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 2.00/4.19, addr 2, iclass 3/1 ums0: 5 buttons Help? I have this exact mouse. It currently doesn't work due to either a) funny issues with our USB HID support or b) funny stuff with the mouse. I'm highly inclined to say a) which I'm working on a fix in -CURRENT, but it'll at the very least be several weeks till the fix is ready for consumsion. Either use the PS/2 adapter which works fine if your laptop has a port, or get a new mouse (I know it's a nice mouse with excellent tracking). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting off windows
David Litster wrote: I have a windows machine and I am trying to figure out how to replace the windows with freebsd. how do I do this? Read, read, read: www.freebsd.org/handbook Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting off windows
On Friday 03 September 2004 10:42 am, David Litster wrote: I have a windows machine and I am trying to figure out how to replace the windows with freebsd. how do I do this? If you have free space on the hard drive, you can add FreeBSD to the computer without deleting Windows. If you choose to delete Windows, just delete the Windows partition during installation and create a FreeBSD partition in its place. The online handbook has a chapter on installation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Happy Friday! Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CRTL+ALT+DEL
How to disable CTRL+ALT+DEL ? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 100,000 TCP connections - kernel tuning advice wanted
netstat -m please Regards S. On Fri, 3 Sep 2004 22:07:35 +1000, Simon Lai [EMAIL PROTECTED] wrote: Hi all, As part of a team, I am working on a TCP multiplexor using FreeBSD. On side A we have 100,000 TCP connections accepting packets, which are multiplexed onto a single TCP connection on Side B. Packets going B-A are demultiplexed in the reverse way. Info - - freebsd version is 5.2-RELEASE. Kernel has been recompiled to use DEVICE_POLLING and unused devices removed. The HZ parameter has been varied through 1000,2000,4000 but this does not significantly alter our results. We have also played with the idle and trap sysctl's for polling. - our network card is an Intel EtherExpress Pro, running at 100Mbits - UDP is not an option for us - Average payload size is 50-100 bytes. The payload is preceeded by a 32 bit value, which is the size of the payload, so reading is a matter of grabbing the size, allocating a buffer and then doing the read. Minimal processing is done on the packet. - We are using our own specialized memory management. We use writev and readv whereever possible. - socket buffers have been increased to 1MB on the B side, but are the default size on side A. - we are using kevent/kqueue - this task would be impossible without them - our current test box has 1.5GB RAM and a 1GHZ Athlon CPU. While we might go for a faster CPU, we would like to keep within our current RAM constraints. - Side A is connected to a test client, which has 20% idle time. - Side B is connected via a switch to another test box, which just echos the packets back for testing purposes. It has significant idle time. - Our current rough measurements, using top, show 30% user time, and 60% kernel time, when this app is running. This multiplexing app is the only app running on the machine. The machine is CPU bound - the multiplexing requires no disk I/O. Currently we are getting 4000-6000 packets/sec unidirectional throughput, depending upon the mix of packet types/sizes. This goes up to 5000-7000 packets/sec for 50,000 connections. We are seeking advice on what kernel tunables we can tweak to improve packet throughput. Constants are TCP, 100,000 connections, 50-100 byte packet sizes. All help appreciated. Regs Simon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CTRL+ALT+DEL
How to disable CTRL+ALT+DEL ? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd builds
On Fri, 3 Sep 2004 07:48:17 -0400, Andrew [EMAIL PROTECTED] wrote: Hi, Building kernels I am comfortable with. I have been doing it a while for SUSE. Now I wanted to try freebsd 5.1. So I have some questions about freebsd builds. Some of the questions may sound dumb but I want to make sure I don't do something catostrophic based on a past experience with SUSE. So... make clean - simply cleans objects, executables in the work area /usr/src. Nothing else make buildkernel - simply builds the kernel, support modules, and so on in the work area only /usr/src. The biilt kernel is located in /usr/obj/usr/src/../kernel. make installkernel - once this is done, that which was in the work area is placed in working directories of the installed system. Bang on target till here For SUSE I used GRUB or lilo to write the boot block. For freebsd I use bsdlabel? Nopes bsdlabel is for something else. By default the new kernel gets installed. No need to update anything in the boot block. If you ned to boot the old kernel then Hit any other key when it says: hit [Enter] key to boot kernel Type unload then boot /kernel.old And you will be back with your previous kernel. I am targeting the kernel for a Soekris 4511. The 4511 has a national semiconductor ethernet chip. On SUSE I add the configuration parameter NATSEMI=Y to build the ethernet driver. What is the configruation parameter for Freebsd ethernet driver. Refer to /usr/src/sys/i386/conf/NOTES and /usr/src/sys/NOTES if you are on 5.* and /usr/src/sys/i386/conf/LINT for the driver. I was reading a notes file on a technique of building a jail sandbox. The sandbox becomes something like freebsd inside freebsd. The purpose was to allow someone to make major modifications to the kernel and not affect the working operating system components. Well hard luck. Jail is something like FBSD inside FBSD but it is not completely FBSD inside FBSD. They run the same kernel and not two separate copies of it. What you need is vmware. Per the notes file, the sandbox is set by: perform a customer install. During the install change the installation location to point to the sandbox. chroot sandbox Do a build in the sandbox I create the folder, changed the destintation to be the sandbox in the installation options, and installed freebsd in the sandbox folder. Then I: chroot to the sandbox To verify my sandbox install was correct, I tried to rebuild the GENERIC kernel in the sandbox. An error occured in makefile.inc1 line 139. That line has a make command dealing with CPUTYPE. The error was its value not being zero. I then exited the sandbox (command shell) and reexecuted the make command to rebuild the GENERIC kernel in the standard /usr/src location. It worked fine. So it is not the installation kit. The problem is something I have not done or did improperly in creating the sandbox. Thoughts. I guess you know the reason by now A Regards S. -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Errata Branch
Paul Andrews [EMAIL PROTECTED] wrote: Matthew, Thanks for the information. You might have already answered this but I'm not 100% sure, once I have cvsup RELENG_4_10 do I need to buildworld just to get the errata branch installed or can I just do as: make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC or is it better to do make buildworld make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot (signal user) mergemaster -p make installworld mergemaster reboot Also is it necessary to do the mergemater part of the buildworld process. Do the entire process: world, kernel, mergemaster. If you have a good understanding of the patches required to fix the particular security issues you are trying to fix, it's possible to determine which of these steps can be skipped. However, if you're asking the question, it's probably best to do all three to ensure that you've got everything. Once you're caught up via this method, each additional security advisary will detail the steps required to patch the problem. It's also possible to simply cvsup, rebuild world, rebuild kernel, mergemaster and be confident that everything required was done, so if you're not sure you fully understand the steps outlined in a particular security advisary, you can always just go through the entire process to be sure. Thanks again for the assistance. Paul Matthew Seaman wrote: On Thu, Sep 02, 2004 at 10:39:04PM -0600, Paul Andrews wrote: I'm looking for some information on the Errata Branch for 4.10. I just re-installed my FreeBSD system and am now running 4.10-RELEASE. I want to make sure that I am running with the most-up-to-date security patches applied. Yes. All you need to do is cvsup to the head of the RELENG_4_10 branch, and compile and install using that code. I would like to know the steps necessary for appling the changes in RELENG_4_10. Also how can I tell if the security patchs and code fixes have been applied. Just using cvsup will get you all of the security and other fixes. That includes all of the patches included in the various security advisories issued by the FreeBSD project. To get a newly installed system up to the latest patch level, using cvsup and doing a complete buildworld cycle is your best bet. For any further Errata or Security Advisories, you can always do another buildworld cycle, or there will usually be instructions in the advisory on how to just recompile only the affected bits. If you go the whole 'buildworld' route each time, the uname(1) output will show the patchlevel of the system: currently that's 4.10-RELEASE-p2 after the release of FreeBSD-SA-04:13 on June 30th. Instructions on how to do a buildworld can be found in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html and also be sure to read /usr/src/UPDATING after cvsup'ing to see if there are any special instructions. My stable-subfile: *default host=cvsup12.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_10 *default delete use-rel-suffix src-all That looks fine to me. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is there a how-to for : postfix + mysql + sasl + courier_IMAP + postfix admin using ports tree?
I came across this site yesterday: http://www.high5.net/howto/ I would like to know if anyone has gotten this setup working by installing everything via the fbsd ports tree. Is there possibly a how-to already out there in order to do this? Thanks Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CRTL+ALT+DEL
On Fri, 3 Sep 2004, [ISO-8859-2] Ing.Miroslav Kond?lka wrote: How to disable CTRL+ALT+DEL ? Thanks. Edit your keymap. The keymaps are in /usr/share/syscons/keymaps/ . Assuming you are using cz.iso2.kbd, edit these lines in /usr/share/syscons/keymaps/cz.iso2.kbd: 083 del'.''.''.'','','boot bootN 103 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot fkey61 O by changing boot to nop or some other definition of your choice. -- Lars Eighner [EMAIL PROTECTED] -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CTRL+ALT+DEL
Try add following line: options SC_DISABLE_REBOOT to your kernel conf, recompile and install the kernel. This should be work. regards, Santo Natale On Fri, Sep 03, 2004 at 06:16:41PM +0200, mkondelk wrote: How to disable CTRL+ALT+DEL ? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is there a how-to for : postfix + mysql + sasl + courier_IMAP + postfix admin using ports tree?
I came across this site yesterday: http://www.high5.net/howto/ I would like to know if anyone has gotten this setup working by installing everything via the fbsd ports tree. Is there possibly a how-to already out there in order to do this? I don't know how firm you are on using postfix, but if your just in the preliminary stages of deciding how to set up a complete mail server, check out the Mail-Toaster... http://www.tnpi.biz/internet/mail/toaster/index.shtml Cheers, Steve Thanks Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CTRL+ALT+DEL
Edit your kernel configuration, add the line : options SC_DISABLE_REBOOT then recompile your kernel, install and reboot. On Fri, 3 Sep 2004, mkondelk wrote: How to disable CTRL+ALT+DEL ? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tape drive
I'm trying to backup to tape, but everything I try I get device not configured. tar -c /home/joe tar: /dev/sa0: Cannot open: Device not configured mt -f /dev/sa0 rewind mt: /dev/sa0: Device not configured The device is on and loaded with tapes. Below is the output that is in the messages log when the server boots, so I'm assuming the server sees the tape drive alright. Any help is appreciated. Aug 31 07:42:33 athena /kernel: Waiting 15 seconds for SCSI devices to settle Aug 31 07:42:33 athena /kernel: sa0 at ahc0 bus 0 target 4 lun 0 Aug 31 07:42:33 athena /kernel: sa0: ARCHIVE Python 04377-XXX 735C Removable S equential Access SCSI-2 device Aug 31 07:42:33 athena /kernel: sa0: 10.000MB/s transfers (10.000MHz, offset 15) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving MySQL database
I'd do it this way: i) Stop mysql I would actually perform a full mysqldump first and save that off. SQL dump file is more flexible concerning version changes than is saving the actual db files. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ 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, -newbies 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 [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to [EMAIL PROTECTED] with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] 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 [EMAIL PROTECTED], 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, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies list caters
The Complete FreeBSD: errata and addenda
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. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sysinstall - setup freeBSD parttrition by using DD option .
Hello, I really need help on freeBSD sysinstall program. During disk parttrition setup I select DD and confirm it YES now My harddisk has problems that I cannot continue install freebsd since during setup.system cannot mount the file system it create. Your guidance is greatly appreciated. Regards, Khai dao ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enabling Serial Console
Marc, Try putting either '-h' or '-D' in /boot.config. I found '-D' worked for me. Personally, I'm wondering if I can put together a serial multiplexer to USB device and write a C or Perl script that will tee the output to respective files that I can 'tail -f' on. For a more thorough treatment in a non-intuitive place checkout the Handbook: http://www.freebsd.org/doc/handbook/serialconsole-setup.html Alex On Sep 3, 2004, at 10:18 AM, Marc G. Fournier wrote: Wish to enable the serial console on my servers so that I can remotely view a reboot when it crashes ... I know to plug the serial cable into COM1 ... and I know I have to add something to /boot.config, but, if I want to set it so that even if the keyboard is plugged in, the serial console works, what do I need to add? I always thought -P, but reading the man page, I'm not so sure :( Also ... I'm going to cross-connect the servers for now ... ServerA/COM1-ServerB/COM2, ServerB/COM1-ServerC/COM2, etc ... what happens if all machines come up at once? I see nothing in the man page about 'detecting serial', so I'm assuming that the serial console will still work, even if there is nothing at the other end 'listening' yet? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir (owner)802 863 5502 MacTutor: Apple Mac OS X Consulting [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Easy question about uninstalling
Much appreciated. Thank you. Thomas -Original Message- From: Subhro [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 10:11 AM To: [EMAIL PROTECTED] ORG Cc: Tom Connolly Subject: Re: Easy question about uninstalling pkg_delete -F /var/db/kde* Regards S. On Fri, 3 Sep 2004 08:52:30 -0600, Tom Connolly [EMAIL PROTECTED] wrote: Hello list, I have just recently installed 4.10 on my system and I chose the KDE desktop as the default. Can someone please tell me how to safely remove all of KDE? If I use pkg_delete, will this remove everything? I know this is a remedial question but I couldn't find any documentation on uninstalling this package and I just want to be sure that everything gets uninstalled correctly. Thank you, Thomas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk failed to mount during sysinstall -
Hello. Sysinstall from freeBSD has option during create disk pattrition ,. I have select DD option instead of C to create a slice. Now my hard drive cannot install linux/freeBSD/or OPENBSD any more.During install after create pattrition.w hen the system format and mount filesystem it failed and cannot mount at all. No further info about DD option found to fix. Please help. AKAI ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports vs source
On Fri, Sep 03, 2004 at 06:34:32PM +0300, Cristi Tauber wrote: Yes i know something ... like the avantages of rpm and another linux package managers. But .. I want apache 1.3.31 with php-4.3.4 and mysql 4.0.20 (let's say) ... from ports ... i understand that I can %choose% what version i want to install ?? Is that correct ? Well, if you installed those applications from ports you would currently get apache 1.3.31, php 4.3.8 and mysql 4.0.20 (assuming you chose the mysql40-server port and not 41-server or 50-server). You can't choose specific versions of those applications, but I don't really see why you would want to do that; you normally want the latest that is maintained for FreeBSD. Please do not top post. pgpU1OiQWoKfp.pgp Description: PGP signature
Fwd: Dell PowerEdge 400SC fan speed monitoring
Howdy gang, I've got a Dell PowerEdge 400SC running 5.3-BETA2 nicely, and I'd like to be able to monitor the internal fan RPM, if possible. The PE 400SC motherboard is very similar to an Intel D875PBZ. I've added the following SMBus options to my kernel: # smbus interface to Intel ICH5 management device smbus # Bus support, required for smb below. device ichsmb device smb # IIC devices to support motherboard monitoring device iicbus device iicbb device iicsmb # devices I've added at the suggestion of Google and man pages: device intpm device pcf But none of the fan speed monitoring ports I've tried will give any useful results for fan speed. I've installed sysutils/xmbmon, which gives reasonable looking values for the chipset, motherboard, and CPU temperatures (95, 104, and 88 degrees F, respectively), but lists fan speed as 0. sysutils/healthd, when run in non-daemon mode using the SMBus, reports tempertature at 0, 0, 0, and fan rotational speed at an unreasonable-looking 0, 22500, 9642. sysutils/consolehm won't compile in SMBus support unless I symlink /usr/include/dev/smbus/smb.h to /usr/include/machine/, and then it reports 40.0 degrees C for all 3 temperature sensors and some wacky numbers for fan RPM like 8k, 33k, and 16k. Is anyone else able to monitor their PowerEdge 400SC fan speed(s)? Does anyone have suggestions for getting this working? Am I just chasing my tail with this? Tune in next week as we present the next gripping episode of ... As the server turns! Thanks, Josh __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tape drive
On Sep 3, 2004, at 11:56 AM, Joe Stuart wrote: I'm trying to backup to tape, but everything I try I get device not configured. tar -c /home/joe tar: /dev/sa0: Cannot open: Device not configured mt -f /dev/sa0 rewind mt: /dev/sa0: Device not configured The device is on and loaded with tapes. Below is the output that is in the messages log when the server boots, so I'm assuming the server sees the tape drive alright. Any help is appreciated. tapes plural? Its a jukebox/changer? If so then the problem is that you haven't completed the process to cause a tape to load in the drive. Can't help other than recommending the man page for ch(4). I have a similar Archive SCSI DAT drive which produces the same Device not configured message when a tape is not loaded, or not yet ready after being inserted. -- David Kelly N4HHE, [EMAIL PROTECTED] Top-posters will not be shown the honor of a reply. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Errata Branch
it was said: I'm looking for some information on the Errata Branch for 4.10. I just re-installed my FreeBSD system and am now running 4.10-RELEASE. I want to make sure that I am running with the most-up-to-date security patches applied. I would like to know the steps necessary for appling the changes in RELENG_4_10. Also how can I tell if the security patchs and code fixes have been applied. My stable-subfile: *default host=cvsup12.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_10 *default delete use-rel-suffix src-all Hello, Your supfile is correct for what you want to do. If you read the faq at www.cvsup.org/faq.html (#11), however, you will see that on the _first_ cvsup, a slightly different method is recommended to ensure your checkouts file is correct. In your particular case, in place of tag=RELENG_4_10, you should have tag=RELENG_4_10_0_RELEASE list=cvs:RELENG_4_10. Then, when that finishes, change the tag back to tag=RELENG_4_10 and delete the list= portion of the line. Then run cvsup again. Remember, you should do this only on the _first_ cvsup; all subsequent times, ignore this step. As for checking that you properly updated, after building and installing world and kernel, run uname -a. You should see 4.10-RELEASE-p2. If you do, the src patches are installed. (The p2 shows your patch level. Right now, for 4.10, it is p2.) Speaking of src patches, you have only src-all in your supfile. This means your ports, docs, and cvsroot will _not_ be updated. If you intend that, fine, just making sure you know. If not, add ports-all, docs-all, and cvsroot=all to your file. HTH, Stheg __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
I am having an odd problem with sendmail on a FreeBSD 5.3 Beta2 box that has been updated from 5.2.1. Here is the problem. I have a .forward set up for root that sends the mail from the periodic scripts on to a real account. Right now it doesn't work. It errors out with the following message from mailq: Deferred: Name server: mail.mailserver.com.: host name lookup failure What is odd is this .forward worked before I updated the box to 5.3, and the same account and setup still works for the other 3 unix boxes in the basement. If I change the .forward on the broken box to point to my gmail account the mail goes right through. Any ideas out there on what might have changed with sendmail between 5.2.1 and 5.3 Beta2? -Will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Package version problem with portupgrade(1)
kstewart wrote: His PACKAGESITE environment variable is set to a wrong location. I think that he needs to set it using something like setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All Thanks Kent, but it didn't work. Setting it made it search in ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/All. I eventually found that it's PKG_SITES that needs setting (and you don't include 'All') after trawling through pkgtools.conf. Unfortunately it's not documented in the portupgrade manpage. Anyway, I've got it all working now - thanks for the push in the right direction, and thanks Phil too for the input. Regards, Mark or his favorite mirror, as all one line. and then run portupgrade -PPa. It defaults to the 4.9 release packages and they never change. I have only used PACKAGESITE once and that was to update KDE. The sites were so busy that my computer would build it almost as fast as I could download it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting ssh to work
David Syphers wrote: On Friday 03 September 2004 02:56 am, David Syphers wrote: [a lot of stuff about how ssh doesn't work] Oh my, I feel silly. See, I have no experience with LANs, and foolishly though that I had a real IP, that computers off the LAN could use to find me... Didn't even realize I was _on_ a LAN, actually. So ssh works fine, I just need to figure out how to let other computers know where I am. *sigh* -David I had a similar problem with using SSH to connect to a FreeBSD box that I have. It turned out that the reason was that on the gateway that I use, I had IP forwarding disabled. My gateway is a box running Slackware Linux, and I am using Iptables to implement NAT (Network Address Translation). Your firewall is most likely something different, but I thought that you might find this info helpful in some way. Mark Vasquez ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:
Deferred: Name server: mail.mailserver.com.: host name lookup failure Can you verify proper DNS functionality on the box? Try: # dig mail.mailserver.com and; # dig freebsd.org Do these return IP addresses? Steve What is odd is this .forward worked before I updated the box to 5.3, and the same account and setup still works for the other 3 unix boxes in the basement. If I change the .forward on the broken box to point to my gmail account the mail goes right through. Any ideas out there on what might have changed with sendmail between 5.2.1 and 5.3 Beta2? -Will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Package version problem with portupgrade(1)
On Friday 03 September 2004 11:23 am, Mark Ovens wrote: kstewart wrote: His PACKAGESITE environment variable is set to a wrong location. I think that he needs to set it using something like setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All Thanks Kent, but it didn't work. Setting it made it search in ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/All. I eventually found that it's PKG_SITES that needs setting (and you don't include 'All') after trawling through pkgtools.conf. Unfortunately it's not documented in the portupgrade manpage. Great! I tried it and it didn't work but I will save this for next time :). I use it so rarely that the mechanism is usally forgotten by the next time :). Kent Anyway, I've got it all working now - thanks for the push in the right direction, and thanks Phil too for the input. Regards, Mark or his favorite mirror, as all one line. and then run portupgrade -PPa. It defaults to the 4.9 release packages and they never change. I have only used PACKAGESITE once and that was to update KDE. The sites were so busy that my computer would build it almost as fast as I could download it. -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash = default
Thank, i'll try it. tis easy. Either vipw or chsh will do it fine. But, you need to use the full path for bash (or whatever other shell you name) Also, that path needs to be listed in /etc/shells so you may need to edit that file as well - using regular vi. -i means interactive. Yes, it is unnecessary though. What I meant is I don't know if you could use the -i in the passwd file. But, you don't nead it anyway. It is redundant. jerry mess-mate On Fri, 3 Sep 2004 10:22:54 -0400 (EDT) Jerry McAllister [EMAIL PROTECTED] wrote: Hello, sorry but i'm more confortable with bash, Oh, that's so sad... so how can i obtain my bash -i on the login ? (Without doing a 'bash -i' after the login.) Just change the login shell in the /etc/passwd file. use vipw(8) to edit the /etc/passwd file and replace the last field with /usr/local/bin/bash (or whatever its full path is) (don't edit /etc/passwd with regular vi or vim or emacs or whatever, use vipw to make sure it locks things correctly and updates the database when needed) I have never tried using a flag on the shell in the /etc/passwrd file so I don't know what the -i will do to it. You might have to add some quoting. You can also use chsh(1) to make the edit. jerry Thanks for your help. mess-mate ___ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash = default
Jerry McAllister [EMAIL PROTECTED] wrote: Thank, i'll try it. tis easy. Either vipw or chsh will do it fine. But, you need to use the full path for bash (or whatever other shell you name) Also, that path needs to be listed in /etc/shells so you may need to edit that file as well - using regular vi. Note two things for reference. If you install bash from the ports, it is automagically added to /etc/shells, and it is installed in /usr/local/bin/bash HTH -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tape drive
On Sep 3, 2004, at 11:56 AM, Joe Stuart wrote: I'm trying to backup to tape, but everything I try I get device not configured. tar -c /home/joe tar: /dev/sa0: Cannot open: Device not configured mt -f /dev/sa0 rewind mt: /dev/sa0: Device not configured The device is on and loaded with tapes. Below is the output that is in the messages log when the server boots, so I'm assuming the server sees the tape drive alright. Any help is appreciated. tapes plural? Its a jukebox/changer? If so then the problem is that you haven't completed the process to cause a tape to load in the drive. Can't help other than recommending the man page for ch(4). I have a similar Archive SCSI DAT drive which produces the same Device not configured message when a tape is not loaded, or not yet ready after being inserted. I will add my 'me too' here. On some machines, we get that with various models of DAT drives. Generally, though, it is with our program that writes a header file directly to the tape before the backup. Then, if I switch it to use tar to write the header file, it works OK. But, sometimes even the tar won't write. I really suspect there is some weirdness in the driver vs the controller for some tape drives that isn't handled well. But, I am not up to tinking the drivers. jerry -- David Kelly N4HHE, [EMAIL PROTECTED] Top-posters will not be shown the honor of a reply. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Moving MySQL database
On Fri, Sep 03, 2004 at 04:40:04PM +0100, Peter Risdon wrote: Matthew Seaman wrote: iii) Move the database files to their new location, taking care to preserve ownership, permissions, timestamps etc. Might a cp -p be slightly more cautious/paranoid until step vi has been completed? vi) Restart the mysql server. Verify that your data survived the move. Absolutely. I was kind of assuming that anyone would automatically take a backup before doing anything of this nature. Perhaps I should have spelt that out. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpJZcaJ9a3gb.pgp Description: PGP signature
Re: portupgrade, portsdb -U failing, ruby dumping core
On Thursday 02 September 2004 02:34 pm, Dan Finn wrote: [ root @ stewie : /usr/ports/sysutils/portupgrade] : portupgrade ruby [Failed `Inappropriate file type or format'] [Updating the portsdb format:bdb1_btree in /usr/ports ... - 11725 port entries found .1000.2000.3000.4000.5000.6 000.7000.8000/usr/local/lib/ruby/site_ruby/1.8/portsdb.r b:587: [BUG] Bus Error ruby 1.8.1 (2004-05-02) [i386-freebsd5] Abort trap (core dumped) Any ideas what could be causing this? I recently installed portindex and have been using that to generate indexes after reading someone suggestion on one of the fbsd mailing lists. I don't think I have made any other changes recently. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I hate to add a me too, but, well, me too. I'm running 5.2.1-RELEASE, not running portindex, and didn't have trouble until the instructions from /usr/ports/UPDATING. Haven't tried to move and re-cvsup /usr/ports. Anyone else have success via this route? Evan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: portupgrade, portsdb -U failing, ruby dumping core
I hate to add a me too, but, well, me too. I'm running 5.2.1-RELEASE, not running portindex, and didn't have trouble until the instructions from /usr/ports/UPDATING. Haven't tried to move and re-cvsup /usr/ports. Anyone else have success via this route? Evan Nope, didn't work for me I've deinstalled kde,gnome,ruby and portupgrade (and now reinstalled them). I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. Not much help I guess Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver : Promise SATA150 TX2/TX4 Serial ATA/150
I don't think there is one. SATA support is pretty much limited to the FreeBSD 5.x branch. On Fri, 3 Sep 2004 04:39:14 +0800, Ben Chen [EMAIL PROTECTED] wrote: Dear Sir our system need using FreeBsd 4.10, but it don't have driver for Promise SATA150 TX4 Can anyone give the driver Regards Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Fri, Sep 03, 2004 at 08:18:04PM +0100, Steve Hodgson wrote: I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. That would be me: http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015847.html It's an odd one all right -- whatever it is that is blowing portsdb's tiny mind is not at all obvious. There doesn't appear to be any problems with any of the ports modified around the time that ruby started dumping core. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpwPD0KyJnsi.pgp Description: PGP signature
error compiling kernel
Hello, to setup the pf firewall had to compile a new kernel. So added the options, compile and get this error : gensetdefs: kern_synch.o: not an ELF file gensetdefs: sys.pipe.o: not an ELF ile *** ERROR code 1 What could this mean ? Running release 4.10 Any help would be very appreciated. mess-mate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 12:38 pm, Matthew Seaman wrote: On Fri, Sep 03, 2004 at 08:18:04PM +0100, Steve Hodgson wrote: I've removed the ports tree and that didn't work. Given that it appears to be a problem in the ports tree (someone [sorry, I've deleted the email] said they have narrowed it down), I was planning on leaving it for now and just cvsupping regularly. That would be me: http://lists.freebsd.org/pipermail/freebsd-ports/2004-September/015847.html It's an odd one all right -- whatever it is that is blowing portsdb's tiny mind is not at all obvious. There doesn't appear to be any problems with any of the ports modified around the time that ruby started dumping core. I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports vs source
On Fri, 03 Sep 2004 17:26:11 +0300 Cristi Tauber [EMAIL PROTECTED] wrote: Hello there, Can anyone tell me which are the avantages of installing from ports rather than installing from tar balls ? I am kind of new to BSD, and I'm familiar with linux install from tar stuff. I know to give the switches to configure to tune the source for installation ... but how i can find the parameters for port install ? I mean ... let's say i want to install php and i have to give the path to mysql, apache and others graphical libraries ... how can I do that with ports ? The ability to squeze the absolute max out using /etc/make.conf is what I love about ports. CPUTYPE?=athlon-xp CFLAGS= -O -m3dnow -msse -mmmx -pipe CXXFLAGS+= -fmemoize-lookups -fsave-memoized -m3dnow -msse -mmmx or something like that ^_^ afaik all packages for 4x defualt to i386 and on 5x i486 so there is less optimizations... for something there is no noticeable differneces... for something there are... my suggestion is to make sure stuff that eats cpu time is optimized... man ports man make.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting off windows
On Fri, 03 Sep 2004 11:42:29 -0400 David Litster [EMAIL PROTECTED] wrote: I have a windows machine and I am trying to figure out how to replace the windows with freebsd. how do I do this? Read the freebsd handbook... http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html if you have no unix experience be sure to read http://www.freebsd.org/projects/newbies.html once you learn it you will love it :) unix makes every thing easy ^_^ no tedious mucking about with a unwieldy mouse and you can do any thing how you want to and not how some one things you want to do something... when it comes to a graphical interface check out http://xwinman.org/ and http://www.freebsd.org/ports/x11-wm.html Just play around with those till you find one that fits you... just remember man is your friend and with man and the handbook you will nearly all ways find what you want :) and if you don't then ask :) enjoy! :) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 01:04 pm, Nico Meijer wrote: Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico I have been following the comments. I thought that is was strange that it only happended for me on 5.3-beta. I have a very different mix of ports on 5.x and your environment affects the make index. My cvsup mirror updates at 30 minutes after the hour on the odd numbered hours and so what I was using was the same mirror state on 4.x and 5.x. FWIW, a make fetchindex on 5.x also died. Something has happened that is beyond Kris' test script. kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html Support the Bison at http://www.buffalofieldcampaign.org/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade, portsdb -U failing, ruby dumping core
On Friday 03 September 2004 01:04 pm, Nico Meijer [EMAIL PROTECTED] wrote: Hey Kent, I am only seeing it on 5.3-beta. I use portindex to genereate INDEX on my 4.x machines and ruby isn't dumping on them. One of my 4.10-p2 servers exhibited the same behaviour with portsdb -u (after 'make index' in /usr/ports). Haven't touched the rest, yet... ;-) Kaboom, it said... Nico FYI, I'm running 5.2.1-RELEASE-p9. Still getting the error from a cvsup done at 9am today, as well as last night. Don't have time to do another at the moment, but hope someone can figure this out. - jt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
I've had a 4.8 server with 280 days uptime, then the motherboard burned :/ I try never to reboot my servers, only when critical security updates are issued. The reason for this is I work with shell providers mostly, and the uptime is a big factor for the clients. But of course, if choosing to reboot apply a patch or let the server unpatched with a possible root vulnerability, I'll go for the reboot anytime. --On Friday, September 03, 2004 10:55:09 AM -0400 Bill Moran [EMAIL PROTECTED] wrote: Most of the servers I manage (which are all intended for 24/7 access) see about 3 months between reboots. That's an average. Some servers are more aggresively updated than others, and are rebooted more often. The fun part (for me) is that this is all _scheduled_ downtime. For the potentialtech.com server (for example) has about 3 hours of unscheduled downtime since Jan 1. And that downtime is the result of a failed UPS at the colo facility. It has 0 unscheduled downtime due to software issues. Well, if you're ruling out scheduled downtime, I have a box that's never been down since it was purchased four years ago. :-) 'Course it started out as a RH 7.2 box, and now it's a FreeBSD 4.9 box, but it's never had a single minute of unscheduled downtime. :-) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- www.6s-gaming.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
At 9:45 AM +0100 9/3/04, Andy Holyer wrote: I explained that generally some upgrade comes along that requires a reboot, but I realized that I don't know how long a box would stay up in the maximum. So, come on, this should be fun, what's the biggest uptime you've ever had for a BSD box? I don't think it would ever require a reboot. The question is whether you need to reboot to apply some prudent updates and security fixes. I have one server that I try to keep up as much as possible. The three longest runs on that machine are: 373 days 10 hours, ending in July 2000 (long power outage) 599 days 14 hours, ending in Sept 2002 (UPS failure) 497 days 18 hours, ending in Apr 2004 (disk failure) The first one ended because a power-station going into campus was flooded (due to some construction in the area), and the building did not have any power for about four hours. My UPS lasted about three and a half hours before giving out. The second one was that the UPS itself melted down! Well, it did not quite melt, but it was seriously overheating and I had to shutdown all the machines connected to it and unplug everything. The UPS was literally too hot for me to touch, and once it cooled down enough (which took about four hours), I could see that the battery had started to melt. The third was a disk problem, but I also believe it was a OS error because the disk *getting* the error was one I should have been able to ignore. However the OS was confused over which disk got the error, and it kept resetting the disk-controller for the main system disk, instead of the one for the disk which had the errors. So, I suspect the fault for that reboot is half hardware and half the OS itself. If you are going for long up times, then the stupidest thing you can do is install it and forget it. While I have long uptimes on this machine, I also have only a few network services running, and there are only two or three people who can log onto the machine (and I trust them). I use the ports collection to keep many things up-to-date, and for some things in the base system (like sendmail), I recompile them on a different machine and then copy the pieces over to this server. So, I manage to apply the vast majority of security fixes, even though I do not reboot and I do not have to stop/restart the main service that this machine provides. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Way OT: How long does your box run for?
Hugo Silva [EMAIL PROTECTED] wrote: I've had a 4.8 server with 280 days uptime, then the motherboard burned :/ I try never to reboot my servers, only when critical security updates are issued. The reason for this is I work with shell providers mostly, and the uptime is a big factor for the clients. It's interesting that the software is more reliable than the hardware. This comes up on the PostgreSQL lists a lot. A vast majority of the data corruption problems that people report turn out to be hardware failures. PostgreSQL is actually several orders of magnitude more reliable than the average box it runs on. FreeBSD is the same way, in my experience. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]