Re: Newbie Experience
On Thursday 14 September 2006 01:21, Kevin Brunelle wrote: As for the GNU tools, yes most sysadmins use some of them (although not always). I know that BSD tar handles gzip and bzip2 just fine ( -z and -j respectively). So I know I wouldn't download gtar just for that feature. In fact, as I discovered a few days ago (after all, how often does one read tar(1)'s manpage?), you only need to use -z and -j when creating a tar archive. bsdtar(1) recognises bzip2 and gzip compression on reading an archive and handles them automatically. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow install of Ruby 18 from ports
On 9/14/06, Olivier Nicole [EMAIL PROTECTED] wrote: I don't know why. I'm running DNS server on old Celeron 400Mhz with 96MB RAM just fine. Why do you think you need Xeon dual core for that? Of course I don't, and won't. I was just replying to the guy that told me that I am using archaic hardware and that it makes building ruby slow. I do use a number of PIII servers (more than Xeon) and am very happy with them. I'm sorry, I didn't mean to aggravate you in any way. PIII is not archaic, but it's certainly old. Nevertheless, we've got a number of PIII boxes in production, and even some older Cyrix ones in our lab - and are quite happy with them. Old hardware is just a half of the deadly recipe. The other half is old FreeBSD. Again, we've got one dual PIII box running FreeBSD 4.7 - under very heavy load with no issues. YMMV, but I would upgrade to 6.1 or 6.2 all the same. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Experience
On Sep 14, 2006, at 12:29 AM, Jonathan McKeown wrote: On Thursday 14 September 2006 01:21, Kevin Brunelle wrote: As for the GNU tools, yes most sysadmins use some of them (although not always). I know that BSD tar handles gzip and bzip2 just fine ( - z and -j respectively). So I know I wouldn't download gtar just for that feature. In fact, as I discovered a few days ago (after all, how often does one read tar(1)'s manpage?), you only need to use -z and -j when creating a tar archive. bsdtar(1) recognises bzip2 and gzip compression on reading an archive and handles them automatically. old habits die hard :-0 Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Experience
On Thursday 14 September 2006 08:40, Chad Leigh -- Shire.Net LLC wrote: On Sep 14, 2006, at 12:29 AM, Jonathan McKeown wrote: In fact, as I discovered a few days ago (after all, how often does one read tar(1)'s manpage?), you only need to use -z and -j when creating a tar archive. bsdtar(1) recognises bzip2 and gzip compression on reading an archive and handles them automatically. old habits die hard :-0 Exactly. I wondered, when I saw the entry in tar(1)'s manpage, how many other little tricks I don't know because I just do it the old way. If I ever get a supply of tuits (round ones are best, apparently), I might start re-reading the documentation for things I already know how to do, just to find out what I'm missing. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nanobsd and CF geometry
Hi, I'm trying to flash Nanobsd on a Compact Flash which is not listed in /usr/src/tools/tools/nanobsd/FlashDevice.sub. Does anyone know how to calculate NANO_MEDIASIZE, NANO_HEADS and NANO_SECTS for a specific CF, in my case a Transcend 512 MB CF? I found a datasheet, but I'm not sure what do do with it: http://www.transcendusa.com/Support/DLCenter/Datasheet/TSXMCF80.pdf Thanks! --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
RE: apache 1.x and 2.x on same server
[EMAIL PROTECTED] wrote: Are there any options I can use when installing apache 2.x from the ports tree so it won't overwrite apache 1.x? Hi, Yes, you have one option: use jails in your server. http://docs.freebsd.org/44doc/papers/jail/jail.html Cheers, --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
mount_ext2fs returning ENODEV on 6.1
What am I doing wrong? # ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device # uname -a FreeBSD fbsd61 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nocona CPU
Hello I wanted to buildworld and kernel on FReeBSD 6.1 since I have Xeon cpu, I Wanted to rebuild it with CPUTYPE=nocona when I put the oprion in /etc/make.conf upon compilation instead of -march=nocona is used -march=prescott I also fixed bsd.cpu.mk but it does not work, alwaus -march=prescott is used. How can I fix it ? for now I rebuilt the sources using no CPUTYPE options... Can anyway really have any kind of improvement using CPUTYPE=nocona for userland and kernel ? thanks Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Top not showing cpu usage even remotely accurately
On Thu, 14 Sep 2006, Giorgos Keramidas wrote: On 2006-09-14 00:48, Tamouh H. [EMAIL PROTECTED] wrote: I think TOP and load averages are no longer accurate on FBSD 5.x and 6.x with SMP kernel. As far as I've seen. Load averages hit sometimes 8.0 without a noticable degradation in performance. I still can't fathom what top tells me on a UP 5.5-STABLE system (300MHz Celeron if speed's relevant). I initiated this thread (weeks ago :) re seeing 0.0% idle (as expected) during buildworld but not seeing anything add up to anything like 100%, including S)ystem processes, in top. Chuck Swiger pointed out that a buildworld runs lots of processes for far shorter times than top's sampling interval, which was true, as a browse with 'lastcomm -eE | less' through the buildworld time showed. However that doesn't explain this typical top view when the system is quiescent or nearly so, as it mostly is, with only 5-minutely crons and 11-minutely entropy runs and the odd sendmail to be seen in lastcomm: last pid: 18500; load averages: 0.01, 0.08, 0.06up 5+08:40:33 17:30:30 136 processes: 3 running, 110 sleeping, 23 waiting CPU states: 5.7% user, 0.0% nice, 6.3% system, 0.0% interrupt, 88.0% idle Mem: 73M Active, 18M Inact, 46M Wired, 8108K Cache, 25M Buf, 2572K Free Swap: 384M Total, 106M Used, 278M Free, 27% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 11 root 171 52 0K 8K RUN102.3H 86.82% 86.82% idle 743 smithi960 26616K 2908K select 156:40 1.03% 1.03% kdeinit 708 smithi960 34140K 15024K select 223:05 0.63% 0.63% Xorg 644 root 960 1244K 244K select 30:19 0.05% 0.05% moused 775 smithi200 11524K 1028K kserel 319:17 0.00% 0.00% xmms 761 smithi960 30824K 7272K select 97:50 0.00% 0.00% kdeinit 27 root 76 -43 0K 8K RUN 44:14 0.00% 0.00% swi5: clock s 772 smithi960 29736K 5600K select 40:57 0.00% 0.00% kdeinit 777 smithi 80 2300K 448K nanslp 36:20 0.00% 0.00% asapm 778 smithi 80 2524K 460K nanslp 34:12 0.00% 0.00% ascpu 767 smithi960 29448K 5612K select 29:23 0.00% 0.00% kdeinit 771 smithi960 29884K 5504K select 22:28 0.00% 0.00% kdeinit 616 mysql 200 50824K 1428K kserel 21:04 0.00% 0.00% mysqld 759 smithi960 29644K 5092K select 20:56 0.00% 0.00% kdeinit 773 smithi960 35640K 4080K select 20:39 0.00% 0.00% kdeinit 766 smithi960 29488K 4768K select 19:07 0.00% 0.00% kdeinit 764 smithi960 28784K 3964K select 16:38 0.00% 0.00% kdeinit 774 smithi960 33168K 3768K select 16:36 0.00% 0.00% kdeinit 757 smithi960 27272K 5508K select 4:55 0.00% 0.00% kdeinit 23 root -60 -179 0K 8K WAIT 3:04 0.00% 0.00% irq12: psm0 22 root -80 -199 0K 8K WAIT 3:02 0.00% 0.00% irq11: cbb0 c 43 root 200 0K 8K syncer 3:00 0.00% 0.00% syncer 4 root -80 0K 8K -2:58 0.00% 0.00% g_down 3 root -80 0K 8K -2:30 0.00% 0.00% g_up 49 root 120 0K 8K -2:09 0.00% 0.00% schedcpu 30 root -160 0K 8K -1:53 0.00% 0.00% yarrow 39 root -160 0K 8K psleep 1:30 0.00% 0.00% pagedaemon 41 root 171 52 0K 8K pgzero 1:25 0.00% 0.00% pagezero [..] It never shows more than about 90% idle, whereas a 0.01 shorter term load average should indicate more like 99% idle, shouldn't it? 97-99%, sometimes 100% idle was what FreeBSD 4.5-R used to tell me with the same workload in around the same memory use, but maybe 4.5 was optimistic .. This is one TOP that freaked me out, notice Idle CPU is 70% while the process is showing it is using 99% of CPU. systat draws more accurate picture, however, load average is still useless as far as performance monitoring : last pid: 10174; load averages: 1.63, 1.44, 1.20 up 4+00:25:19 00:39:20 169 processes: 2 running, 166 sleeping, 1 zombie CPU states: 25.8% user, 0.0% nice, 0.7% system, 0.1% interrupt, 73.4% idle Mem: 1316M Active, 1445M Inact, 297M Wired, 127M Cache, 112M Buf, 79M Free Swap: 8762M Total, 2096K Used, 8760M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPUCPU COMMAND 13362 root 1110 36444K 34196K CPU3 3 50:06 98.88% 98.88% perl5.8.7 90391 root 960 27356K 26236K select 2 0:06 0.54% 0.54% perl5.8.7 79619 nobody 40 209M 84640K sbwait 1 0:09 0.39% 0.39% httpd 10161 root 970 6712K 4752K select 2 0:00 1.40% 0.20% exim-4.62-0 79649 nobody200 210M 84464K lockf 0 0:06 0.15% 0.15% httpd Apparently, you have a 4-CPU system :-) What you see displayed as CPU is for one of the processors, not for all of them.
Re: FreeBSD not popular in Asia?
Check out http://www.bsdstats.org ... Republic of Korea is about to push the US out of first place, but there are *zero* FreeBSD boxes reporting from there ... DragonFly is first, then NetBSD and then OpenBSD ... 6 days later: Thailand jumped from 12 machines to 110... ahead of France and Australia. Only thing that the figures say is that they are far from being accurate. And that people should be reminded to register from time to time. Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
memory problem
Hello, I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. THe system has exactly 4GB of memory but the memory is not complitely seen by the system. At boot thime I Get this warning 524288Kb of memory above 4GB ignored and then if I check real memory = 3757965312 (3583 MB) avail memory = 3678597120 (3508 MB) I do not know why this happens. I Tryed to search on the archives, also other people has this problem but I could not find a valid solution at all. anyone ha sa suggestion for me ? I tried to tweak BIOS parameters unsucesfully... thanks a lot Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache 1.x and 2.x on same server
On 9/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: --On September 13, 2006 5:05:17 PM -0700 snacktime [EMAIL PROTECTED] wrote: Are there any options I can use when installing apache 2.x from the ports tree so it won't overwrite apache 1.x? Sure. Just like any other port. Just choose the location you want to install the port to. apache13 make install PREFIX=/usr/local/www1/ apache2 make install PREFIX=/usr/local/www2/ I'd forgotten about that, thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD not popular in Asia?
Olivier Nicole wrote: Check out http://www.bsdstats.org ... Republic of Korea is about to push the US out of first place, but there are *zero* FreeBSD boxes reporting from there ... DragonFly is first, then NetBSD and then OpenBSD ... 6 days later: Thailand jumped from 12 machines to 110... ahead of France and Australia. This is a long shot, but couldn't it just be that a portal or usergroup of some kind started promoting bsdstats? Lets say a BSD usergroup in Thailand posted a notice on the first page about bsdstats. The usergroup has 200 visitors a day and half of them decides to follow the advice and install bsdstats. That would explain the sudden burst of 100 machines. Another plausible explanation is that an administrator of some network with 100 or so workstations or servers decided to push out bsdstats as a nightly upgrade or similar. It does not seem totally impossible to me, alltough I would not base any major decision on those figures without checking them first. -- R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory problem
RJ45 wrote: THe system has exactly 4GB of memory but the memory is not complitely seen by the system. At boot thime I Get this warning 524288Kb of memory above 4GB ignored A normal 32bit OS can only address 4GB RAM -- but your system has various L2 and other caches built into the CPUs, etc., which count towards the total RAM count. So the excess is trimmed from the main memory. If you need to use more than 4GB RAM then either switch to a 64Bit OS, or investigate 'PAE'. You can run the 64bit version of FreeBSD on Intel Xeons (so long as they support EMT64) or the various AMD 64 bit processors. Xeons don't have as complete 64-bitness as Opterons so performance may not be as good as running 32bit. Mind you that sort of thing depends heavily on the particular workload and you should benchmark against your expected workloads. PAE 'Page Alternate Extensions' is frankly a bit of a haque to allow access to more than 4GB RAM by giving each process it's own separate 4GB address space, rather than sharing the space between all processes. Any one process cannot grow beyond 4GB, but the total over all processes can be more than 4GB. There is support in FreeBSD but with some severe limitations. Many drivers are not compatible with a PAE system. and then if I check real memory = 3757965312 (3583 MB) avail memory = 3678597120 (3508 MB) I do not know why this happens. That number is the amount of memory less what is wired down for the kernel. If you're on a 'big' system -- with lots of RAM -- then the kernel itself has to be larger because it needs to allocate memory to contain page mappings etc. etc. Approximately 500MB consumed by the kernel is not unreasonable for such a machine. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Re: memory problem
On Thu, Sep 14, 2006 at 09:55:09AM +0100, Matthew Seaman wrote: RJ45 wrote: THe system has exactly 4GB of memory but the memory is not complitely seen by the system. At boot thime I Get this warning 524288Kb of memory above 4GB ignored A normal 32bit OS can only address 4GB RAM -- but your system has various L2 and other caches built into the CPUs, etc., which count towards the total RAM count. So the excess is trimmed from the main memory. Not quite true. The caches have absolutely nothing whatsoever to do with this. It is various I/O devices (graphics card, ethernet controller, hard disk controller, other PCI-devices, etc.) that also need to be mapped into the 4GB address-space. Usually the top-most 512MB of this address space is reserved for the I/O-devices. If you have 4GB (or more) of memory then you can't fit all of it as well as the I/O devices into a 32-bit address space, so the memory above the 3.5GB limit is then either completely ignored or (as in this case) remapped to addresses above the 4GB limit. Unfortunately the OS (being only 32-bit aware) cannot access that remapped memory. If you need to use more than 4GB RAM then either switch to a 64Bit OS, or investigate 'PAE'. You can run the 64bit version of FreeBSD on Intel Xeons (so long as they support EMT64) or the various AMD 64 bit processors. Xeons don't have as complete 64-bitness as Opterons so performance may not be as good as running 32bit. Mind you that sort of thing depends heavily on the particular workload and you should benchmark against your expected workloads. PAE 'Page Alternate Extensions' is frankly a bit of a haque to allow access to more than 4GB RAM by giving each process it's own separate 4GB address space, rather than sharing the space between all processes. Any one process cannot grow beyond 4GB, but the total over all processes can be more than 4GB. There is support in FreeBSD but with some severe limitations. Many drivers are not compatible with a PAE system. and then if I check real memory = 3757965312 (3583 MB) avail memory = 3678597120 (3508 MB) I do not know why this happens. That number is the amount of memory less what is wired down for the kernel. If you're on a 'big' system -- with lots of RAM -- then the kernel itself has to be larger because it needs to allocate memory to contain page mappings etc. etc. Approximately 500MB consumed by the kernel is not unreasonable for such a machine. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using PC as serial terminal on running system
On Wednesday 13 September 2006 14:59, Jonathan McKeown wrote: I'm using my laptop and tip(1) as a serial terminal. This is working well when a machine is booted with the laptop connected to its serial port. However, I need to be able to connect the laptop to a machine which was booted without a serial console. I've set the ttyd0 line in /etc/ttys and sigHUPed init. The machine is still not recognising the presence of the ``serial terminal'' - the getty(1) process on the server is not bound to a controlling terminal and nothing is appearing in the tip(1) screen on the laptop. OK, creating a line in /etc/ttys for cuad0 seems to have worked. Will that cause problems later? I assume the problem is that the tip(1) process (or possibly the USB-serial adapter) is not DTRT with respect to carrier. Is there any other way round this? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Network connectivity between FreeBSD and Linux
I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3 installation. I have assigned the same static IP address and hostname to this machine for both the FreeBSD and RHEL installations. While my RHEL installation is running, I am able to communicate with the FC2 installation over the network. When FreeBSD is running, all pings from either side fail. I have no clue if I need to look at some special configuration, or is it a problem with the basics. Wond'ring what to do. Cheers, Andy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow install of Ruby 18 from ports
On 14/09/2006 04:05, Olivier Nicole wrote: I don't know why. I'm running DNS server on old Celeron 400Mhz with 96MB RAM just fine. Why do you think you need Xeon dual core for that? Of course I don't, and won't. I was just replying to the guy that told me that I am using archaic hardware and that it makes building ruby slow. I do use a number of PIII servers (more than Xeon) and am very happy with them. OK, I'm guilty of not reading the whole thread, I apologise. (note to self: don't reply while half asleep) Just out of curiosity I tried ruby port on two machines - fast one (1.6GHz Athlon with 1GB RAM) and small one (400MHz with 96MB RAM). Fast one has no problems with ruby, it builds and installs in few minutes. The slow one is another story, however. build time, no problem here: 460.448u 63.175s 9:52.80 88.3% 3844+2249k 911+151io 308pf+0w install time: 565.634u 72.527s 1:46:30.87 9.9%11+-4438k 1711+40io 464794pf+4w At least that how it looked when I pressed ^C The machine was slow, swapping a lot (about 150MB of swap used), with CPU idling most of the time. I guess Ruby being scripted language doesn't help performance, either. Installing from a package takes about 3 minutes, however. I've never noticed problems with ruby because I build all needed packages on a fast machine (having a lot of memory helps), then install them on the small ones. To sum up, try using a package instead[1]. HTH, Karol [1] There's another option - make the port not to generate documentation but that would mean hacking it, I don't see any knobs to do that. -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc signature.asc Description: OpenPGP digital signature
Re: Network connectivity between FreeBSD and Linux
On Sep 14, 2006, at 7:49 PM, Arindam wrote: I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3 installation. I have assigned the same static IP address and hostname to this machine for both the FreeBSD and RHEL installations. While my RHEL installation is running, I am able to communicate with the FC2 installation over the network. When FreeBSD is running, all pings from either side fail. I have no clue if I need to look at some special configuration, or is it a problem with the basics. Wond'ring what to do. Cheers, Andy -- /sbin/ifconfig output? Also, do you happen to have a firewall in your FreeBSD OS setup :)? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pci modem question
Hi. At Wed, 13 Sep 2006 10:05:07 +0800, musashi miyamoto wrote: FreeBSD mori.ranmaru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Sep 5 02:09:57 PHT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SHOGUN i386 is there a dialup pci modem that is compatible with FreeBSD? Lucent(Agere) Mars chipset can be worked with ports/comms/ltmdm. It's a controller-less modem. I had used a PCI modem that uses the chipset(1646T00) on FreeBSD 5.x for several years. There was no problem for dialup use. PCTel PCT789T chipset can be worked too with the ptmdm driver. It's a software modem: http://homepage2.nifty.com/dumb_show/unix/PCTel-FreeBSD.en.html This driver isn't tested well. There are only two persons who has tested the driver with the chipset (one is me... thanks to Markus!). So if you can, it's better for you to select Lucent Mars. --- Watanabe Kazuhiro ([EMAIL PROTECTED]) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mirroring: gvinum or gmirror?
At Fri, 1 Sep 2006 09:54:02 -0400, David Robillard wrote: Sounds like a good idea indeed. I've always followed Ralf S. Engelschall's instructions at http://people.freebsd.org/~rse/mirror/ which involves using dump(8) to transfer the data onto the second disk once it's setup as a gmirror provider. this has worked for me in the past: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html regards toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thinkpad
At Sun, 10 Sep 2006 19:24:32 +0400, gb wrote: Got hold of an old IBM X21 Thinkpad. Anyone out there have any recommendations for a good kernel config or whatever to squeeze the most of this little fellow? a good starting point: http://gerda.univie.ac.at/freebsd-laptops/index.pl?action=show_laptop_detaillaptop=9 lg toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network connectivity between FreeBSD and Linux
I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3 installation. I have assigned the same static IP address and hostname to this machine for both the FreeBSD and RHEL installations. While my RHEL installation is running, I am able to communicate with the FC2 installation over the network. When FreeBSD is running, all pings from either side fail. I have no clue if I need to look at some special configuration, or is it a problem with the basics. Wond'ring what to do. Cheers, Andy -- /sbin/ifconfig output? Also, do you happen to have a firewall in your FreeBSD OS setup :)? 1. It will take me a while to get the ifconfig output. Will post it in a few hours may be. 2. I am FreeBSD newbie. I am not sure how to check if a firewall is running. I doubt if there is ... I don't remember installing one. Can please you tell me how to look? -Garrett Cheers, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Network connectivity between FreeBSD and Linux
On Sep 14, 2006, at 8:15 PM, Arindam wrote: I have FreeBSD 6.1 installed on one machine and Fedora Core 2 on another. I dual boot the FreeBSD 6.1 machine with a RedHat EL 4.3 installation. I have assigned the same static IP address and hostname to this machine for both the FreeBSD and RHEL installations. While my RHEL installation is running, I am able to communicate with the FC2 installation over the network. When FreeBSD is running, all pings from either side fail. I have no clue if I need to look at some special configuration, or is it a problem with the basics. Wond'ring what to do. Cheers, Andy -- /sbin/ifconfig output? Also, do you happen to have a firewall in your FreeBSD OS setup :)? 1. It will take me a while to get the ifconfig output. Will post it in a few hours may be. 2. I am FreeBSD newbie. I am not sure how to check if a firewall is running. I doubt if there is ... I don't remember installing one. Can please you tell me how to look? -Garrett Cheers, Andy If you didn't compile it into the kernel, there should be a directive in /etc/rc.conf with the term firewall or pf for example if you have one running. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
boot without loader(8) - BTX halted
I can boot fine with loader(8). However if I try to load kernel directly from boot(8) I always get BTX halted no matter which kernel and options I choose. The only command that works is the loader itself, /boot/loader. Why? man 8 loader says that BTX client is the name of the loader on i386. So does BTX halted error message mean that loader(8) is still called, even though it was supposed to be bypassed? I compiled the hints statically to the kernel because my understanding is that if loader(8) is bypassed then /boot/device.hints cannot be read. Is that correct? I use 6.0-release on compaq armada 1700 laptop. thanks anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OT: awk/sed: how to use a variable in an address range?
Hello. This might be OT in FreeBSD list, but hopefully some of yours is involved in sophisticated AWK programming. To keep a small shell script portable I use awk for separating an ASCII file from a home brewn scientific model software. The datasets of the output is enclosed by /begin_data_set_##/ . . . /end_data_set_##/ ## is a two-digit counter, but not necessesaryly equidistant. I would like to separate the file contaning all datasets via awk or sed into appropriate files - this is my intention, but I failed. the simplest way - in theory and in my limitit ability of using sed or awk - is to print all lines between the (sed/awk) addresses /begin_data_set_##/ ... /end_data_set_##/ but this does not work due to i cannot use variables in the address range specifiers neither in awk nor in sed like this: awk -v nc=$NUMBER '/\/begin_data_set_nc\//,/\/end_data_set_nc\// { do-something-in-awk}' $input_file $output_file_$NUMBER nc in this example is set to the counter of the desired dataset. I would like to use SED or AWK only due to portability reasons. Any hints are appreciated. Regards, oh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fortune in English or Spanish
Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx matthias Linux es para gente que odia Micro$soft, FreeBSD es para los amantes de UNIX -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using PC as serial terminal on running system
Hi, At Thu, 14 Sep 2006 12:40:13 +0200, Jonathan McKeown wrote: On Wednesday 13 September 2006 14:59, Jonathan McKeown wrote: I'm using my laptop and tip(1) as a serial terminal. This is working well when a machine is booted with the laptop connected to its serial port. However, I need to be able to connect the laptop to a machine which was booted without a serial console. I've set the ttyd0 line in /etc/ttys and sigHUPed init. The machine is still not recognising the presence of the ``serial terminal'' - the getty(1) process on the server is not bound to a controlling terminal and nothing is appearing in the tip(1) screen on the laptop. OK, creating a line in /etc/ttys for cuad0 seems to have worked. Will that cause problems later? I assume the problem is that the tip(1) process (or possibly the USB-serial adapter) is not DTRT with respect to carrier. Is there any other way round this? Jonathan Perhaps your serial cable is not a null-modem cable, but an interlink cable. These are similar, but has different pin assignments. The former generates a carrier signal but the latter is not. See the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html By the way, if a serial port is set to the console, the port is set to CLOCAL mode (see stty(1)). In this mode, getty(8) can output the login prompt to the port without a carrier signal. --- Watanabe Kazuhiro ([EMAIL PROTECTED]) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx Fortune is part of the base system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
El día Thursday, September 14, 2006 a las 02:50:56PM +0200, [LoN]Kamikaze escribió: Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx Fortune is part of the base system. Maybe I'm stupid, but I don't see it: $ uname -r 6.0-RELEASE $ fortune fortune: not found $ man -k fort f77(1), g77(1) - GNU project Fortran 77 compiler snd_fm801(4) - Forte Media FM801 bridge device driver g77-33(1), g77(1)- GNU project Fortran 77 compiler tk_menuBar(n), tk_bindForTraversal(n) - Obsolete support for menu bars gtranslator(1) - -- a comfortable gettext po file editor with many bells and whistles matthias -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
On Thu, 2006-09-14 at 15:21 +0200, Matthias Apitz wrote: El día Thursday, September 14, 2006 a las 02:50:56PM +0200, [LoN]Kamikaze escribió: Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx Fortune is part of the base system. Maybe I'm stupid, but I don't see it: $ uname -r 6.0-RELEASE $ fortune fortune: not found $ man -k fort f77(1), g77(1) - GNU project Fortran 77 compiler snd_fm801(4) - Forte Media FM801 bridge device driver g77-33(1), g77(1)- GNU project Fortran 77 compiler tk_menuBar(n), tk_bindForTraversal(n) - Obsolete support for menu bars gtranslator(1) - -- a comfortable gettext po file editor with many bells and whistles matthias I know I'm stupid, and I get: # fortune fortune: not found # man fortune No manual entry for fortune # uname -a FreeBSD freebsd.njdol.ad.dol 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 25 13:44:07 EDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WORKSTATION i386 Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDStats project, interesting returns from OpenBSD
I just glanced at the latest statistics on www.bsdstats.org. In the last week or so OpenBSD has overtaken FreeBSD in the USA. Should one conclude that OpenBSD admins have enthusiastically embraced this project and FreeBSD admins have not; or, is OpenBSD really more widely deployed than FreeBSD? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
From: Matthias Apitz [EMAIL PROTECTED] To: [LoN]Kamikaze [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org I'm missing somehow the classic 'fortune' command and files in the Fortune is part of the base system. Maybe I'm stupid, but I don't see it: man fortune FILES /usr/games/fortune /usr/share/games/fortune/*the fortunes databases (those files ending ``-o'' contain the offensive fortunes) Fortune is part of games package. -Reko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
Matthias Apitz wrote: El día Thursday, September 14, 2006 a las 02:50:56PM +0200, [LoN]Kamikaze escribió: Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx Fortune is part of the base system. Maybe I'm stupid, but I don't see it: $ uname -r 6.0-RELEASE $ fortune fortune: not found $ man -k fort f77(1), g77(1) - GNU project Fortran 77 compiler snd_fm801(4) - Forte Media FM801 bridge device driver g77-33(1), g77(1)- GNU project Fortran 77 compiler tk_menuBar(n), tk_bindForTraversal(n) - Obsolete support for menu bars gtranslator(1) - -- a comfortable gettext po file editor with many bells and whistles Perhaps I am wrong on this; however, I thought when you install FBSD you also have the option of installing a complete system, or pared down one that could exclude the 'games' port. I seem to remember a posting on that a while back where a new user had done a minimal installation and several utilities they wanted were not available. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
Matthias Apitz wrote: El día Thursday, September 14, 2006 a las 02:50:56PM +0200, [LoN]Kamikaze escribió: Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the ports, the are Italian and Russian ones, but don't see the fortune itself. If there is a Spanish one a pointer would be nice too. Thx Fortune is part of the base system. Maybe I'm stupid, but I don't see it: Probably not stupid. Although fortune *can* be part of the base system, it is part of the games distribution which might not have got installed. In fact the games are none of them games any more and the likes of snake presumably live in the ports now. Probably you can just run sysinstall with the first CD in place and install just the games - but I've never done that. Being a lazy slacker I wouldn't ever consider a Unix install complete without *something* that passes for a game (for use during long compiles, of course :-)) If you do buildword's and things you might need to check that games haven't been turned off in /etc/make.conf which I presume is possible. This is from 5.4 by I expect 6.X to be largely the same. % which fortune /usr/games/fortune % ls /usr/games ./ caesar* grdc* pom* random* unstr* ../ factor* morse* ppt*rot13* bcd*fortune*number* primes* strfile* No clue about Spanish though. Maybe you need to start translating ;-) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
El día Thursday, September 14, 2006 a las 03:06:48PM +0100, Alex Zbyslaw escribió: Matthias Apitz wrote: El día Thursday, September 14, 2006 a las 02:50:56PM +0200, [LoN]Kamikaze escribió: Matthias Apitz wrote: Hi, I'm missing somehow the classic 'fortune' command and files in the port9k©á:[EMAIL PROTECTED][EMAIL PROTECTED] µ-jà Yë²7N3ïzntw\ wÆìçýûÀ)¸ }2Î\PìR° ?£PÙÖA4àTì8d±ÈW®YÝhû¹nÜÆ=ó%|rÀåÓËØó¦ªÌÇ}¦¨Í²J | ¯!u|5:«wtbÍ=èÍ´]}2PµêÝûQ2 Ù;½Ó®¿¯ïVùFÕÉhËýÍ˪qLÍí »à¶ò ç8ø¤µË²È´ó9ãC4þºx}y$jeV¥¼ÌP¼¯+m²ÚÒè±ÜûóC.gßä¡[^Qø =BrÚyë[þv¥LÎXÿ¥-5EÞüê+8øð(l öÇSʤ©«¿»«öÑl| à®*XÎmg? ì«Õl!(;Ë.ÚâÞÈc3 ö+Nåp¨ÎÌõøIKl®è-èõºw¨Û«¥ÁùYtqÝٶà ¦`äêwÒØü$WFcáX«ÎøQò2s[EMAIL PROTECTED])Ö={[æGNN_Ä~\_7ÌaØéP{TÖ¸æñöÊQH\*òi:å°{Å£üâåÆp0ñ®lÛ#ÓÌVOC÷Ǫ`OVÕù/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fortune in English or Spanish
Reko Turja wrote: From: Matthias Apitz [EMAIL PROTECTED] To: [LoN]Kamikaze [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org I'm missing somehow the classic 'fortune' command and files in the Fortune is part of the base system. Maybe I'm stupid, but I don't see it: man fortune FILES /usr/games/fortune /usr/share/games/fortune/*the fortunes databases (those files ending ``-o'' contain the offensive fortunes) Fortune is part of games package. It occurred to me that you could just try: which fortune and see what it returns. If it is not /usr/games/fortune then you don't have it installed. You may have to use sysinstall to load it. I am not sure about that however. -- Gerard People say they love truth, but in reality they want to believe that which they love is true. Robert J. Ringer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Top not showing cpu usage even remotely accurately
In the last episode (Sep 14), Ian Smith said: I still can't fathom what top tells me on a UP 5.5-STABLE system (300MHz Celeron if speed's relevant). I initiated this thread (weeks ago :) re seeing 0.0% idle (as expected) during buildworld but not seeing anything add up to anything like 100%, including S)ystem processes, in top. [..] However that doesn't explain this typical top view when the system is quiescent or nearly so, as it mostly is, with only 5-minutely crons and 11-minutely entropy runs and the odd sendmail to be seen in lastcomm: last pid: 18500; load averages: 0.01, 0.08, 0.06up 5+08:40:33 17:30:30 136 processes: 3 running, 110 sleeping, 23 waiting CPU states: 5.7% user, 0.0% nice, 6.3% system, 0.0% interrupt, 88.0% idle Mem: 73M Active, 18M Inact, 46M Wired, 8108K Cache, 25M Buf, 2572K Free Swap: 384M Total, 106M Used, 278M Free, 27% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 11 root 171 52 0K 8K RUN102.3H 86.82% 86.82% idle 743 smithi960 26616K 2908K select 156:40 1.03% 1.03% kdeinit 708 smithi960 34140K 15024K select 223:05 0.63% 0.63% Xorg 644 root 960 1244K 244K select 30:19 0.05% 0.05% moused 775 smithi200 11524K 1028K kserel 319:17 0.00% 0.00% xmms It never shows more than about 90% idle, whereas a 0.01 shorter term load average should indicate more like 99% idle, shouldn't it? 97-99%, sometimes 100% idle was what FreeBSD 4.5-R used to tell me with the same workload in around the same memory use, but maybe 4.5 was optimistic .. I would guess that maybe xmms (or some other threaded app) is your hidden CPU consumer. The kernel does not calculate %CPU correctly for libkse-threaded programs, and they usually show up as 0% all the time. The TIME column does update correctly, though. If you switch to libthr with libmap.conf, you'll get accurate threaded %CPU reporting. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FTP server behind router/gateway
I have a FreeBSD 6.1 box running behind a router/gateway. When it tries to go into passive mode, it returns it's internal 192.168. ip address to the client which the client stupidly uses to try to connect to. I've confirmed this by tyring to FTP from several external systems (windows linux). Is there anyway to get the FreeBSD box to return the external address without making it act as the router/gateway? Thanks, Marty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Upgrading our mail server
Hello Our mailhub is actually a HP DL360 with one processor (Xeon 2.8 ghz) with 2 Gb RAM and 120 Gb disks, it is 3 years old. It runs Postfix + imap + imaps + pop3 + pop3s + squirrelmail + vexira antivirus + postgrey and some small auxiliary services. We have approx 2500 users / mailboxes and the machine is often really loaded So I decided it is time to purchase a new server and I need some feedback from admins that could help me to choose a new hardware system that could runs like a charm with FreeBSD 6.1 ? I need SCSI Disks of course , budget is around 10K$ TIA -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP server behind router/gateway
That is more a matter for your router. Your router should be wrapping the internal address with a public one. Be sure you are forwarding all the ports needed for ftp. -Derek At 09:40 AM 9/14/2006, [EMAIL PROTECTED] wrote: I have a FreeBSD 6.1 box running behind a router/gateway. When it tries to go into passive mode, it returns it's internal 192.168. ip address to the client which the client stupidly uses to try to connect to. I've confirmed this by tyring to FTP from several external systems (windows linux). Is there anyway to get the FreeBSD box to return the external address without making it act as the router/gateway? Thanks, Marty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory problem
Since the BIOS reports the memory as ignored, I'd say it is your motherboard causing the issue. You should check the manufacturer's specs on the board and see if this is a limit to the board for the memory you are using. Many system boards have different memory limits based on the actual memory modules you use. -Derek At 03:24 AM 9/14/2006, RJ45 wrote: Hello, I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. THe system has exactly 4GB of memory but the memory is not complitely seen by the system. At boot thime I Get this warning 524288Kb of memory above 4GB ignored and then if I check real memory = 3757965312 (3583 MB) avail memory = 3678597120 (3508 MB) I do not know why this happens. I Tryed to search on the archives, also other people has this problem but I could not find a valid solution at all. anyone ha sa suggestion for me ? I tried to tweak BIOS parameters unsucesfully... thanks a lot Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Newbie Question - what does the ...-p6 mean?
Hello All. Thursday, September 14, 2006, 4:24:43 AM, RJ45 wrote in regards to his message titled Memory problem: snip R I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. snip What does the -p6 nomenclature represent in the above statement? I've noticed some messages have contained various -pX's. I recently just installed FreeBSD 6.1-RELEASE-p0 (according to -uname command) from a FreeBSD Mall 4-CD set, dated May 2006. Does this -p number represent an updated ?Version? containing new patches or ...? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
* On 14/09/06 16:51 +0200, Frank Bonnet wrote: | Hello | | Our mailhub is actually a HP DL360 with one processor (Xeon 2.8 ghz) | with 2 Gb RAM and 120 Gb disks, it is 3 years old. | | It runs Postfix + imap + imaps + pop3 + pop3s + squirrelmail + vexira | antivirus + postgrey | and some small auxiliary services. | | We have approx 2500 users / mailboxes and the machine is often really loaded | | So I decided it is time to purchase a new server and I need some feedback | from | admins that could help me to choose a new hardware system that could runs | like | a charm with FreeBSD 6.1 ? | | I need SCSI Disks of course , budget is around 10K$ Your server is good enough to handle even 10k users. You just need to identify what is causing the overload. Adding one processor and 2GB extra RAM should be enough, I think. If what you want is to get a new server thinking it will be fast just because of the CPU and RAM, then your thinking is ill-advised. I have an HP ML350 with one 2.4GHz CPU, 1GB RAM, 2x146GB SCSI HDD and it runs Exim, courier-imap (pop3/imap), squirrelmail, spamassassin, ClamAv, MySQL with 8k individual mail accounts on it. The only thing I feel like updating on it is to double the CPU and double the RAM and I am sure to run it for longer. Do you see my line of thinking? -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +==+ |\ _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED] Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ Boy, life takes a long time to live -- Steven Wright ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Question - what does the ...-p6 mean?
In response to ograbme [EMAIL PROTECTED]: Hello All. Thursday, September 14, 2006, 4:24:43 AM, RJ45 wrote in regards to his message titled Memory problem: snip R I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. snip What does the -p6 nomenclature represent in the above statement? I've noticed some messages have contained various -pX's. I recently just installed FreeBSD 6.1-RELEASE-p0 (according to -uname command) from a FreeBSD Mall 4-CD set, dated May 2006. Does this -p number represent an updated ?Version? containing new patches or ...? The 'p' is for patch level. See any of the security advisories, for example: http://security.freebsd.org/advisories/FreeBSD-SA-06:20.bind.asc Patch releases are only made when there are security flaws found or major stability problems fixed. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it -- Cordialement Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FTP server behind router/gateway
On Thu, 14 Sep 2006 16:40:18 +0200, [EMAIL PROTECTED] wrote: I have a FreeBSD 6.1 box running behind a router/gateway. When it tries to go into passive mode, it returns it's internal 192.168. ip address to the client which the client stupidly uses to try to connect to. I've confirmed this by tyring to FTP from several external systems (windows linux). Is there anyway to get the FreeBSD box to return the external address without making it act as the router/gateway? Thanks, Marty Maybe this site will help a bit: http://slacksite.com/other/ftp.html Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI vs. SATA (was Re: Upgrading our mail server)
In response to Frank Bonnet [EMAIL PROTECTED]: Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it Has anyone every verified whether or not SATA has the problems that plagued ATA? Such as crappy quality and lying caches? Personally, I still demand SCSI on production servers because it still seems as if: a) The performance is still better b) The reliability is still better But I haven't taken a comprehensive look at the SATA offerings. It also seems as if SATA is more limiting. Most SCSI cards can support 16 devices, does SATA have similar offerings? I know it's not common, but if you need that many spindles, you need them! -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
--On Thursday, September 14, 2006 08:40:21 -0500 Doug Poland [EMAIL PROTECTED] wrote: I just glanced at the latest statistics on www.bsdstats.org. In the last week or so OpenBSD has overtaken FreeBSD in the USA. Should one conclude that OpenBSD admins have enthusiastically embraced this project and FreeBSD admins have not; or, is OpenBSD really more widely deployed than FreeBSD? What page are you looking at? www.bsdstats.org shows 2868 FreeBSD machines and 1379 OpenBSD machines. Only in the US is OpenBSD ahead of FreeBSD. So I suppose you could say that OpenBSD admins *within* the US have embraced the project more willingly than FreeBSD admins or OpenBSD is more widely used *within* the US. But I doubt any of this is meaningful. It won't be until we get a great deal more systems reporting. 5097 systems worldwide must be less than 1% of the total systems in use worldwide, I would think. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: mount_ext2fs returning ENODEV on 6.1
On Thu, Sep 14, 2006 at 12:27:11AM -0700, Perry Hutchison wrote: What am I doing wrong? # ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device No ext2fs support in your kernel? Kris pgph4nTg95HfK.pgp Description: PGP signature
Re: BSDStats project, interesting returns from OpenBSD
On Thu, Sep 14, 2006 at 08:40:21AM -0500, Doug Poland wrote: I just glanced at the latest statistics on www.bsdstats.org. In the last week or so OpenBSD has overtaken FreeBSD in the USA. Should one conclude that OpenBSD admins have enthusiastically embraced this project and FreeBSD admins have not; or, is OpenBSD really more widely deployed than FreeBSD? One should not conclude anything until the numbers are much larger than they are now, because small fluctuations from e.g. regional promotion of bsdstats in one country but not another, or one large company deploying it on all machine, will dramatically change your conclusions. Kris pgp3vAekpFTu7.pgp Description: PGP signature
Which process is hogging my drives?
Some process on my system is really slamming my gstripe volume (so says systat -iostat and gstat). Is there a relatively easy way to see which processes are responsible? -- Kirk Strauser pgpJ2aFH5pyri.pgp Description: PGP signature
Re: SCSI vs. SATA (was Re: Upgrading our mail server)
--- Bill Moran [EMAIL PROTECTED] wrote: In response to Frank Bonnet [EMAIL PROTECTED]: Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it Has anyone every verified whether or not SATA has the problems that plagued ATA? Such as crappy quality and lying caches? Personally, I still demand SCSI on production servers because it still seems as if: a) The performance is still better b) The reliability is still better But I haven't taken a comprehensive look at the SATA offerings. It also seems as if SATA is more limiting. Most SCSI cards can support 16 devices, does SATA have similar offerings? I know it's not common, but if you need that many spindles, you need them! I have see benchmarks on the PC-Mag site or maybe it was PC-World that would seem to indicate that all things being equal, SATA would outperform SCSI. I have a few friends using SATA and RAID without any problems. My next server, hopefully by years end, will use that sort of configuration. Sorry, but that is about all I can tell you. -- White Hat [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
Frank Bonnet wrote: Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it I have yet to have a SATA drive last more than 10 months handling a busy mail queue. I have SCSI drives that are four years old and still going strong. SATA, IMHO, is a nice fast drive for gamers. You can go to Frys and get a speedy drive for little money. I do not trust them for mission critical data. As they gain market share that may change. For now I've changed far too many, I have a pop toaster down currently awaiting it's second SATA drive in 16 months. (Professional NOC, Temp, vibration, power all conditioned, this was a Seagate drive). Just my experience, not looking for agreement or argument. DAve -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI vs. SATA (was Re: Upgrading our mail server)
SATA is still quite limited. To go beyond those limits use SAS, but SAS costs even more than SCSI and is brand new technology. -Derek At 10:46 AM 9/14/2006, Bill Moran wrote: In response to Frank Bonnet [EMAIL PROTECTED]: Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it Has anyone every verified whether or not SATA has the problems that plagued ATA? Such as crappy quality and lying caches? Personally, I still demand SCSI on production servers because it still seems as if: a) The performance is still better b) The reliability is still better But I haven't taken a comprehensive look at the SATA offerings. It also seems as if SATA is more limiting. Most SCSI cards can support 16 devices, does SATA have similar offerings? I know it's not common, but if you need that many spindles, you need them! -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI vs. SATA (was Re: Upgrading our mail server)
On Sep 14, 2006, at 10:28 AM, Derek Ragona wrote: SATA is still quite limited. To go beyond those limits use SAS, but SAS costs even more than SCSI and is brand new technology. Get a 12 or 16 or 24 port Areca card and have a few hot spares and you will see SATA fly for less money than SCSI with higher storage and as high or higher reliability (RAID 6 plus hot spares)... I used to be SCSI only but these new cards and drives offer a lot more for the money and you can make up for reliability by sheer mass and raid 6 and hot spares :-) Chad -Derek At 10:46 AM 9/14/2006, Bill Moran wrote: In response to Frank Bonnet [EMAIL PROTECTED]: Gerard Seibert wrote: Frank Bonnet wrote: [...] I need SCSI Disks of course , budget is around 10K$ Why the insistence on SCSI? Is there any reason that SATA or RAID with SATA is not acceptable? Just curious. Because I want it Has anyone every verified whether or not SATA has the problems that plagued ATA? Such as crappy quality and lying caches? Personally, I still demand SCSI on production servers because it still seems as if: a) The performance is still better b) The reliability is still better But I haven't taken a comprehensive look at the SATA offerings. It also seems as if SATA is more limiting. Most SCSI cards can support 16 devices, does SATA have similar offerings? I know it's not common, but if you need that many spindles, you need them! -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
On 9/14/2006 10:32 AM, Odhiambo Washington wrote: * On 14/09/06 16:51 +0200, Frank Bonnet wrote: | Hello | | Our mailhub is actually a HP DL360 with one processor (Xeon 2.8 ghz) | with 2 Gb RAM and 120 Gb disks, it is 3 years old. | | It runs Postfix + imap + imaps + pop3 + pop3s + squirrelmail + vexira | antivirus + postgrey | and some small auxiliary services. | | We have approx 2500 users / mailboxes and the machine is often really loaded | | So I decided it is time to purchase a new server and I need some feedback | from | admins that could help me to choose a new hardware system that could runs | like | a charm with FreeBSD 6.1 ? | | I need SCSI Disks of course , budget is around 10K$ Your server is good enough to handle even 10k users. You just need to identify what is causing the overload. Adding one processor and 2GB extra RAM should be enough, I think. If what you want is to get a new server thinking it will be fast just because of the CPU and RAM, then your thinking is ill-advised. I have an HP ML350 with one 2.4GHz CPU, 1GB RAM, 2x146GB SCSI HDD and it runs Exim, courier-imap (pop3/imap), squirrelmail, spamassassin, ClamAv, MySQL with 8k individual mail accounts on it. The only thing I feel like updating on it is to double the CPU and double the RAM and I am sure to run it for longer. Do you see my line of thinking? -Wash Are any of the major server brands more FreeBSD friendly than others? I'm looking to purchase a server for some web apps. Our current config is running on a 6 year old Dell PowerEdge machine with SCSI RAID 5, 1 Ghz processor, 32 gig total disk capacity, and a gig of RAM. Upgrading this machine would cost more than it's worth. Boss insists on a name brand server (Dell, HP, Gateway, etc). Budget is in the $2K range. I'd rather stay away from SATA at this point due to the incredible amount of difficulty I experienced putting together a MythTV box earlier this year, and go with SCSI. If no one has specific recommendations, are there any specifics that are definite show stoppers that I should pay attention to when reviewing specs? Best regards, Greg Groth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
On Thursday 14 September 2006 12:09, Kris Kennaway wrote: One should not conclude anything until the numbers are much larger than they are now, because small fluctuations from e.g. regional promotion of bsdstats in one country but not another, or one large company deploying it on all machine, will dramatically change your conclusions. I was just wondering if there is any consensus on adding BSDStats to the base system? If would appear to be a logical step to take so as to insure that all users of FBSD would be counted. An end user could always disable the sending of data by disabling it in the /etc/rc.file. I feel that unless it is part of the base system and turned on by default, too many users will never take part in the reporting process. Also, there does not appear to be a 'man' page for BSDStats. Is that correct? Perhaps there should be one. Just my 2¢. -- Gerard Seibert [EMAIL PROTECTED] Be cheerful while you are alive. Phathotep, 24th Century B.C. pgpTfjisGXrFu.pgp Description: PGP signature
Re: Upgrading our mail server
--On Thursday, September 14, 2006 11:45:49 -0500 Greg Groth [EMAIL PROTECTED] wrote: Are any of the major server brands more FreeBSD friendly than others? I'm looking to purchase a server for some web apps. Our current config is running on a 6 year old Dell PowerEdge machine with SCSI RAID 5, 1 Ghz processor, 32 gig total disk capacity, and a gig of RAM. Upgrading this machine would cost more than it's worth. Boss insists on a name brand server (Dell, HP, Gateway, etc). Budget is in the $2K range. I'd rather stay away from SATA at this point due to the incredible amount of difficulty I experienced putting together a MythTV box earlier this year, and go with SCSI. If no one has specific recommendations, are there any specifics that are definite show stoppers that I should pay attention to when reviewing specs? I just bought a Dell 1950 rack mount with two 73GB SAS drives (3.5 inch, 15K RPM), PERC 5/i integrated card, RAID 1, DRAC, 3.2GB processor, 2GB RAM, etc. It was $2800+ including shipping. I *think* you can get down to the $2000 range by downgrading the processor and memory and getting smaller drives, but it's not going to be easy. (I'll be installing FreeBSD 6.1 RELEASE on it tonight.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Which process is hogging my drives?
In the last episode (Sep 14), Kirk Strauser said: Some process on my system is really slamming my gstripe volume (so says systat -iostat and gstat). Is there a relatively easy way to see which processes are responsible? You can try top in I/O mode. Run top, hit m, then enter ototal. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cvs question
I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Michael Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvs question
In response to Michael Grant [EMAIL PROTECTED]: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Are the UIDs synchronized across machines? Do id on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
On Thu, Sep 14, 2006 at 12:53:04PM -0400, Gerard Seibert wrote: On Thursday 14 September 2006 12:09, Kris Kennaway wrote: One should not conclude anything until the numbers are much larger than they are now, because small fluctuations from e.g. regional promotion of bsdstats in one country but not another, or one large company deploying it on all machine, will dramatically change your conclusions. I was just wondering if there is any consensus on adding BSDStats to the base system? If would appear to be a logical step to take so as to insure that all users of FBSD would be counted. An end user could always disable the sending of data by disabling it in the /etc/rc.file. I feel that unless it is part of the base system and turned on by default, too many users will never take part in the reporting process. I highly doubt that it would be enabled by default in FreeBSD, since many of our users (or their employers) would consider it a privacy breach to have their systems reporting back automatically. Kris pgphwA3uRDlUy.pgp Description: PGP signature
Re: cvs question
Yes, I'm su'ed on both machines: uid=0(root) gid=0(wheel) groups=0(wheel), 5(operator) -Mike On 9/14/06, Bill Moran [EMAIL PROTECTED] wrote: In response to Michael Grant [EMAIL PROTECTED]: I'm being driven slowly mad by cvs... I have 3 boxes, one is acting as a cvs server. The cvs clients (for lack of a better term) are running 6.1 and should be configured the same. Yet, one machine lets me do a cvs login, the other requires I use cvs -d :psserver:.. with each cvs command. I do not have CVSROOT set on either machine. What I get is this: [#822] cvs login Logging in to :pserver:[EMAIL PROTECTED]/home/foo/bar cvs login: authorization failed: server myserver rejected access to /home/foo/bar for user mgrant yet, on the other machine, I get a password prompt and all is fine. Ideas? Suggestions? Are the UIDs synchronized across machines? Do id on each machine and see if the output is the same. Just a thought. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with sqlite3 and python
On Sep 13, 2006, at 7:17 PM, Chuck Swiger wrote: On Sep 13, 2006, at 3:48 PM, Fred C! wrote: Hello I have a problem with Python + sqlite3. My main machine is a FreeBSD 6.1 I have also try on an old machine running FreeBSD 5.5 and it doesn't work either. I join to this email some information. I can also provide a core file if someone is interested in solving that problem. Thanks you for any information on how to solve this Not enough data; switch to the thread which crashed, ie got the SIG 11, and do a bt to try to see what was going wrong. Note that debugging multithreaded programs is rather difficult, and you might want to double-check that your basic Python installation is OK first by running the included self-tests which come with the Python distribution. If you're using the Python from ports, try doing: cd /usr/ports/lang/python make cd /usr/ports/lang/python/work/Python-2.4.3 make test As I told you in my previews emails all the python tests went with no errors. I have try with using postgres instead of sqlite and I got the same problem hugo:524 gdb /usr/local/bin/python python.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... Core was generated by `python'. Program terminated with signal 11, Segmentation fault. [... lines deleted ...] Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_bisect.so Reading symbols from /usr/local/lib/python2.4/lib-dynload/md5.so... (no debugging symbols found)...done. Loaded symbols for /usr/local/lib/python2.4/lib-dynload/md5.so Reading symbols from /usr/local/lib/python2.4/site-packages/ psycopgmodule.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/python2.4/site-packages/ psycopgmodule.so Reading symbols from /usr/local/lib/libpq.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpq.so.4 Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.2 Reading symbols from /usr/local/lib/libintl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.6 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2822f31b in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
What about making it a sysinstall option? Not in the base install, but the option is presented when setting up a new box. On 9/14/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Thu, Sep 14, 2006 at 12:53:04PM -0400, Gerard Seibert wrote: On Thursday 14 September 2006 12:09, Kris Kennaway wrote: One should not conclude anything until the numbers are much larger than they are now, because small fluctuations from e.g. regional promotion of bsdstats in one country but not another, or one large company deploying it on all machine, will dramatically change your conclusions. I was just wondering if there is any consensus on adding BSDStats to the base system? If would appear to be a logical step to take so as to insure that all users of FBSD would be counted. An end user could always disable the sending of data by disabling it in the /etc/rc.file. I feel that unless it is part of the base system and turned on by default, too many users will never take part in the reporting process. I highly doubt that it would be enabled by default in FreeBSD, since many of our users (or their employers) would consider it a privacy breach to have their systems reporting back automatically. Kris -- I'm nerdy in the extreme and whiter than sour cream ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
On Thu, Sep 14, 2006 at 11:56:24AM -0500, Paul Schmehl wrote: --On Thursday, September 14, 2006 11:45:49 -0500 Greg Groth [EMAIL PROTECTED] wrote: Are any of the major server brands more FreeBSD friendly than others? I'm looking to purchase a server for some web apps. Our current config is running on a 6 year old Dell PowerEdge machine with SCSI RAID 5, 1 Ghz processor, 32 gig total disk capacity, and a gig of RAM. Upgrading this machine would cost more than it's worth. Boss insists on a name brand server (Dell, HP, Gateway, etc). Budget is in the $2K range. I'd rather stay away from SATA at this point due to the incredible amount of difficulty I experienced putting together a MythTV box earlier this year, and go with SCSI. If no one has specific recommendations, are there any specifics that are definite show stoppers that I should pay attention to when reviewing specs? There is a company calling itself FreeBSD systems that claims to make servers especially for BSD Unix. I don't know about the price points. I think they are kind of hard core heavy duty servers. Their web site is: http://www.freebsdsystems.com/ I seem to remember once seeing another site that hyped their servers as especially for BSD, but this is the only one I have an address for. The Dell machine mentioned below doesn't sound bad either if all the devices are happy with FreeBSD. jerry I just bought a Dell 1950 rack mount with two 73GB SAS drives (3.5 inch, 15K RPM), PERC 5/i integrated card, RAID 1, DRAC, 3.2GB processor, 2GB RAM, etc. It was $2800+ including shipping. I *think* you can get down to the $2000 range by downgrading the processor and memory and getting smaller drives, but it's not going to be easy. (I'll be installing FreeBSD 6.1 RELEASE on it tonight.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Syslog: all except?
Is it possible to tell syslog to log everything *except* some facility? I have a very noisy service (openldap) that I don't want to log into my all.log; but I still want all.log to catch everything else. Something like this maybe? *.*,!local4.* all.log -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
On Thu, Sep 14, 2006 at 01:29:38PM -0400, Andy Greenwood wrote: What about making it a sysinstall option? Not in the base install, but the option is presented when setting up a new box. That's not ruled out, if someone does the work. Kris pgpIrJBp4JQSq.pgp Description: PGP signature
Re: Problem with sqlite3 and python
On Sep 14, 2006, at 10:24 AM, Fred C! wrote: As I told you in my previews emails all the python tests went with no errors. Yes. This probably means the problem is not with the basic Python installation and may not be specific to FreeBSD. In other words, you might obtain better results asking on a Python-specific list rather than here. I have try with using postgres instead of sqlite and I got the same problem It would help to compile Python and the stuff under /usr/local/lib/ python2.4/site-packages using -g so that gdb has debugging symbols available, and then do a bt to try and see where the code is experiencing a crash. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: nocona CPU
RJ45 wrote on Thu, Sep 14, 2006 at 01:47:28AM -0600: Hello I wanted to buildworld and kernel on FReeBSD 6.1 since I have Xeon cpu, I Wanted to rebuild it with CPUTYPE=nocona when I put the oprion in /etc/make.conf upon compilation instead of -march=nocona is used -march=prescott Expected behavior. Both are Netburst architecture CPUs and Prescott is the only -march for Netburst. Can anyway really have any kind of improvement using CPUTYPE=nocona for userland and kernel ? Not over Prescott. In general it is doubtful. Netburst only likes to run very specific code fast and gcc can't do much about it. Martin -- %%% Martin Cracauer cracauer@cons.org http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory problem
RJ45 wrote on Thu, Sep 14, 2006 at 02:24:43AM -0600: Hello, I am running FreeBSD 6.1-RELEASE-p6 build with buildworld. THe system has exactly 4GB of memory but the memory is not complitely seen by the system. At boot thime I Get this warning 524288Kb of memory above 4GB ignored and then if I check real memory = 3757965312 (3583 MB) avail memory = 3678597120 (3508 MB) You need to enable remapping in the BIOS. The memory between 3-4 GB is partly taken by device space. So you have to re-map that actual RAM there to a position above 4 GB - which is what the BIOS does. Once the memory is above 4 GB you need a 64 bit kernel or a 32 bit kernel with PAE enabled to use it. Works fine for me on several machines, BTW. But the remapping options in the BIOSes are often broken. Martin -- %%% Martin Cracauer cracauer@cons.org http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which process is hogging my drives?
On Thursday 14 September 2006 12:01 pm, Dan Nelson wrote: You can try top in I/O mode. Run top, hit m, then enter ototal. That was exactly it. Thanks! -- Kirk Strauser pgpv29LbwLcuV.pgp Description: PGP signature
Re: SCSI vs. SATA (was Re: Upgrading our mail server)
Bill Moran wrote: Has anyone every verified whether or not SATA has the problems that plagued ATA? Such as crappy quality and lying caches? Personally, I still demand SCSI on production servers because it still seems as if: a) The performance is still better b) The reliability is still better But I haven't taken a comprehensive look at the SATA offerings. It also seems as if SATA is more limiting. Most SCSI cards can support 16 devices, does SATA have similar offerings? I know it's not common, but if you need that many spindles, you need them! I've used 15-drive SATA Promise arrays with some success. They come in both Fibre Channel and SCSI varieties, and are about $10k with 400GB SATA drives. I've run them up to ~170MB/s with RAID-5, which is more than enough for me. You get the best of both the SATA and SCSI/FC worlds. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Squid +pf +if_bridge
Hello all, I'm using freebsd 6.1 as a bridge (if_bridge) The interfaces are vr0 (plugged into the DSL modem) and rl0 (plugged into the switch, to the rest of the network On the bridge, I'm attempting to use pf to rdr all http requests from my lan, to squid (actually dansguardian) I have squid configured correctly.. and it was working fine. I *had* pf working correctly, and redirecting the requests. Last night, I re-IP'd my network. it used to be 192.168.1.* now it's 10.23.230.* (this was done for different reasons) I made the appropriate changes in pf.conf, and rc.conf to set the new IP on the bridge. Problem: all attempts to browse the web, simply time out. tcpdump shows: 000874 rule 6/0(match): pass in on vr0: 10.23.230.254 10.23.230.5: ICMP net 10.23.230.26 unreachable, length 36 05 rule 6/0(match): pass in on bridge0: 10.23.230.254 10.23.230.5: ICMP net 10.23.230.26 unreachable, length 36 22 rule 7/0(match): pass out on rl0: 64.233.179.99 10.23.230.5: ICMP net 64.233.179.99 unreachable, length 36 However, this only occurs with the redirect. if I insert the proxy IP/port in my web browser, it works fine. Diagnostics: 10.23.230.254 is DSL modem 10.23.230.26 is the bridge/squid box 10.23.230.5 is the workstation trying to browse the net. from th bridge, I can ping all internal IP's, and external (internet) IP's with no problem. From the DSL modem, I can ping all machines on the internet, and also all machines behind the bridge. from the workstation, I can ping the bridge, the DSL modem, and all internet hosts.. I see no apparent reason that the tcpdump output shows ICMP unreachable between *.254 and *.5 Has anyone run into this before? if so, any idea how to resolve it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats project, interesting returns from OpenBSD
On Thursday 14 September 2006 13:29, Andy Greenwood wrote: What about making it a sysinstall option? Not in the base install, but the option is presented when setting up a new box. On 9/14/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Thu, Sep 14, 2006 at 12:53:04PM -0400, Gerard Seibert wrote: On Thursday 14 September 2006 12:09, Kris Kennaway wrote: One should not conclude anything until the numbers are much larger than they are now, because small fluctuations from e.g. regional promotion of bsdstats in one country but not another, or one large company deploying it on all machine, will dramatically change your conclusions. I was just wondering if there is any consensus on adding BSDStats to the base system? If would appear to be a logical step to take so as to insure that all users of FBSD would be counted. An end user could always disable the sending of data by disabling it in the /etc/rc.file. I feel that unless it is part of the base system and turned on by default, too many users will never take part in the reporting process. I highly doubt that it would be enabled by default in FreeBSD, since many of our users (or their employers) would consider it a privacy breach to have their systems reporting back automatically. That is sort of what I meant. Have it installed as part of the base system in much the same manner as portsnap is. The required entry would be placed in the /etc/rc.conf file but commented out or set to 'NO', which ever method is felt to be better. Perhaps the initial MOTD might reference it and point to where more info regarding it might be found. Just a suggestion and please don't top post. It makes it hard to follow a thread. -- Gerard A: Because it fouls the order in which people normally read test. Q: Why is top posting such a bad idea? A: Top posting. Q: What is the most annoying thing on usenet and in e-mail? TOPIC: Posting Etiquette pgpqZymKmjNuk.pgp Description: PGP signature
Re: FreeBSD 6.1 shutting down.
hello Lowell, thank you for your reply, i wish you could find some solution for me i tried to google the net, and found many results for atapci1: failed to enable memory mapping! but most with no solutions. here is the dmesg, Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #0: Thu Aug 17 07:53:54 AST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL ACPI APIC Table: INTEL D945GTP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3406.70-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf41 Stepping = 1 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14 AMD Features=0x2010NX,LM Logical CPUs per core: 2 real memory = 1063669760 (1014 MB) avail memory = 1031925760 (984 MB) ioapic0: Changing APIC ID to 2 ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: INTEL D945GTP on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: display, VGA at device 2.0 (no driver attached) pci0: multimedia at device 27.0 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0 pci1: ACPI PCI bus on pcib1 pcib2: ACPI PCI-PCI bridge at device 28.2 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 28.3 on pci0 pci3: ACPI PCI bus on pcib3 uhci0: UHCI (generic) USB controller port 0x2080-0x209f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: UHCI (generic) USB controller port 0x2060-0x207f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: UHCI (generic) USB controller port 0x2040-0x205f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: UHCI (generic) USB controller on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: UHCI (generic) USB controller port 0x2020-0x203f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: UHCI (generic) USB controller on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem 0x501c4000-0x501c43ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0 pci4: ACPI PCI bus on pcib4 vr0: VIA VT6105 Rhine III 10/100BaseTX port 0x1000-0x10ff mem 0x50001000-0x500010ff irq 22 at device 1.0 on pci4 miibus0: MII bus on vr0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:15:e9:a5:ad:17 fxp0: Intel 82801GB (ICH7) 10/100 Ethernet port 0x1100-0x113f mem 0x5000-0x5fff irq 20 at device 8.0 on pci4 miibus1: MII bus on fxp0 inphy0: i82562ET 10/100 media interface on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:16:76:68:fa:53 isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH7 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20b0-0x20bf irq 18 at device 31.1 on pci0 ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: Intel ICH7 SATA300 controller port 0x20c8-0x20cf,0x20ec-0x20ef,0x20c0-0x20c7,0x20e8-0x20eb,0x20a0-0x20af irq 19 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: ATA channel 0 on atapci1 ata3: ATA channel 1 on atapci1 pci0: serial bus, SMBus at device 31.3 (no driver attached) ppc0: ECP parallel printer port port 0x378-0x37f,0x778-0x77f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: Parallel port bus on ppc0 plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff
Re: FreeBSD 6.1 shutting down.
On Thu, Sep 14, 2006 at 07:29:13PM +, Marwan Sultan wrote: hello Lowell, thank you for your reply, i wish you could find some solution for me i tried to google the net, and found many results for atapci1: failed to enable memory mapping! but most with no solutions. I doubt it's the cause of the problems; most likely you have some other failing hardware component (bad memory, power supply, etc). Check the archives for extensive discussion. Kris P.S. Don't top-post, it spoils the logical flow of the thread. pgpvoBONOcdau.pgp Description: PGP signature
Re: Under Attack: Bandwidth throttling on 5.2.1?
Chris wrote: This is probably going to tax the memory. I'm sorry in advance. We observed 2 hangs and 3 crashes in the last 5 hours and finally after looking at the nature of the traffic, it appears to be little infested windows spybots from all over targeting our forums to attempt to reply to all messages with gambling and other spam. The referer in every case is a few obvious spam sites. We measured 33 pages per second and all invoking perl (well you can image the load). It's killed the system in several was I've never even seen. We shutdown on purpose for the first time in years which is pretty bad for business. I'm readying the quad opteron tyan to take down and shove in it's place since the T1 can't swamp it, but still building. The machine is a dual 3.0 xeon with 4G and Intel 1000/Pro on 5.2.1 with IPFW enabled. If I can configure throttling on this old a system, we could come back up I think and try ride out the attack. I've never done this before but in an earlier thread I saw where you configure a pipe such as: ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 tcp from 192.168.1.2 80 then set sysctl.conf net.inet.ip.fw.one_pass=1 Is that is all that's necessary for this old a system or is there anything else. If this is correct, would this keep this fellow from crashing To use traffic shaping with IPFW you have to compile the kernel with the following options: options DUMMYNET options HZ=1000 then you can add some lines like these to make your bandwidth limit to work: #first flush all the previous pipes ipfw -q -f pipe flush ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 tcp from any to any usually we use two pipes, one for download and one for upload so you can try something like this: #first flush all the previous pipes ipfw -q -f pipe flush #upload bandwidth+download bandwidth=total bandwidth #pipe for upload ipfw pipe 1 config bw 128Kbit/s #pipe for download ipfw pipe 2 config bw 256Kbit/s server_port=20,21,80,443,995,...,etc internal_network=192.168.0.0 #config upload ipfw add pipe 1 tcp from $internal_network to any $server_port #config upload ipfw add pipe 2 tcp from any $server_port to $internal_network The variables server_port and internal_network are examples of course... :-) If you are running natd on your machine the you have to put rules AFTER the divert natd rule like these: ipfw add pipe 1 tcp from {external_ip} to any $server_port ipfw add pipe 2 tcp from any $server_port to $internal_network The net.inet.ip.fw.one_pass=1 must be set if you want your traffic to pass from pipes and not continue at next rules Sorry for my bad english ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Under Attack: Bandwidth throttling on 5.2.1?
On Sep 14, 2006, at 12:53 PM, Panagiotis wrote: Chris wrote: ...system, we could come back up I think and try ride out the attack. I've never done this before but in an earlier thread I saw where you configure a pipe such as: ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 tcp from 192.168.1.2 80 then set sysctl.conf net.inet.ip.fw.one_pass=1 Is that is all that's necessary for this old a system or is there anything else. If this is correct, would this keep this fellow from crashing To use traffic shaping with IPFW you have to compile the kernel with the following options: options DUMMYNET options HZ=1000 then you can add some lines like these to make your bandwidth limit to work: #first flush all the previous pipes ipfw -q -f pipe flush ipfw pipe 1 config bw 256Kbit/s ipfw add pipe 1 tcp from any to any usually we use two pipes, one for download and one for upload so you can try something like this: #first flush all the previous pipes ipfw -q -f pipe flush #upload bandwidth+download bandwidth=total bandwidth #pipe for upload ipfw pipe 1 config bw 128Kbit/s #pipe for download ipfw pipe 2 config bw 256Kbit/s server_port=20,21,80,443,995,...,etc internal_network=192.168.0.0 #config upload ipfw add pipe 1 tcp from $internal_network to any $server_port #config upload ipfw add pipe 2 tcp from any $server_port to $internal_network The variables server_port and internal_network are examples of course... :-) If you are running natd on your machine the you have to put rules AFTER the divert natd rule like these: ipfw add pipe 1 tcp from {external_ip} to any $server_port ipfw add pipe 2 tcp from any $server_port to $internal_network The net.inet.ip.fw.one_pass=1 must be set if you want your traffic to pass from pipes and not continue at next rules Sorry for my bad english ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] Thank you very much. Even rejecting the requests by referer has only lessened the impact on the system and we are occasionally rebooting. It has not let up all night. I will implement. Thank you again. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Syslog: all except?
Is it possible to tell syslog to log everything *except* some facility? I have a very noisy service (openldap) that I don't want to log into my all.log; but I still want all.log to catch everything else. Something like this maybe? *.*,!local4.* all.log *.*,local4.none all.log ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD not popular in Asia?
On Thu, 14 Sep 2006, Roger 'Rocky' Vetterberg wrote: Olivier Nicole wrote: Check out http://www.bsdstats.org ... Republic of Korea is about to push the US out of first place, but there are *zero* FreeBSD boxes reporting from there ... DragonFly is first, then NetBSD and then OpenBSD ... 6 days later: Thailand jumped from 12 machines to 110... ahead of France and Australia. This is a long shot, but couldn't it just be that a portal or usergroup of some kind started promoting bsdstats? Lets say a BSD usergroup in Thailand posted a notice on the first page about bsdstats. The usergroup has 200 visitors a day and half of them decides to follow the advice and install bsdstats. That would explain the sudden burst of 100 machines. Another plausible explanation is that an administrator of some network with 100 or so workstations or servers decided to push out bsdstats as a nightly upgrade or similar. It does not seem totally impossible to me, alltough I would not base any major decision on those figures without checking them first. At only 5000 hosts, I wouldn't be basing any decisions anyway ... I'd like to see 10x that number, and consistently, every month before reading *too* much into them ... Its only been running about 30 days so far, so @ 5k hosts so far, and most of those *since* Sept 1st, it shouldn't take us too long ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cannot route mail through an internal Exch5.5 SMTP server
I am at my wits end with this... help please! FreeBSD 6.1-RELEASE Sendmail 8.13.6 (base) I'm trying to accomplish what should be simple: 1) all outgoing From: email addresses should be stamped @ourdomain.com and not @server.corpdomain.com 2) All emails should be routed through the corp SMTP server (runs MS Exchange 5.5.2658.3). Users use Outlook clients to connect to the corp Exchange system and this SMTP server is our only gateway into it. I'm a bit rusty on my Sendmail and .mc stuff (I really haven't done much with managing email flow, sendmail or other MTAs) so I tried to brush up online as best I can, but I don't remember it being this hard in the past. At this point, here are the things I've put in my .mc file (I'm sure at least some is redundant or not needed/applicable, but this is the result of trying more and more ideas): define(`SMART_HOST', `internal.corp.smtp') define(`LOCAL_RELAY', `internal.corp.smtp') FEATURE(masquerade_envelope) FEATURE(always_add_domain) FEATURE(`masquerade_entire_domain') FEATURE(`allmasquerade') MAILER(local) MAILER(smtp) MASQUERADE_AS(`ourdomain.com.') MASQUERADE_DOMAIN(`outdomain.com.') (and did the required make install in /etc/mail to apply it) resolv.conf has the corp DNS servers in it. I can use ping and host on internal.corp.smtp and it resolves to the proper IP address. I also tried putting them into /etc/hosts along with entries for the versions of the name with the ending dot. 10.xxx.xxx.xxxinternal.corp.smtp internal 10.xxx.xxx.xxxinternal.corp.smtp. 10.xxx.xxx.xxxinternal. I've even done up mailertable (plus the hash) with the following line: .ourdomain.com smtp:internal.corp.smtp This was the result of some stuff I read on the web regarding the error. Anyways, here is the problem that persists after all that: Sep 14 15:25:04 bugzilla sm-mta[67919]: k8EJOhhB067917: to=[EMAIL PROTECTED], delay=00:00:21, xdelay=00:00:20, mailer=relay, pri=30985, relay=internal.corp.smtp., dsn=4.0.0, stat=Deferred: Name server: internal.corp.smtp.: host name lookup failure First of all, not sure why it's adding the trailing dot, but hence my additions to the /etc/hosts file. Secondly: how can it not resolve? bugzilla# host internal.corp.smtp internal.corp.smtp has address 10.xxx.xxx.xxx bugzilla# host internal.corp.smtp. internal.corp.smtp has address 10.xxx.xxx.xxx my /etc/nsswitch.conf file: group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files And not that it applies here... but I can telnet to the SMTP server on port 25, type out a session manually and send an email that way. So ultimately it can work. I just don't get this quirky name-resolution problem. I searched on Google and came up with tons of stuff on this, lots of people asking about it but not a lot of answers... I've tried the ones I've found, but a lot of discussions fell dead without the problem being solved. I'm hoping a fellow FreeBSD user (who knows more than me) might help guide me to a solution. Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ext2fs returning ENODEV on 6.1
# ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device No ext2fs support in your kernel? I had not thought that was the problem, since according to something in the docs or manpages -- which I now cannot locate -- missing kernel support should have resulted in a different message. How would I check, to be sure? I am using the kernel from the installation CD, not one I have built: # uname -a FreeBSD fbsd61 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ext2fs returning ENODEV on 6.1
[EMAIL PROTECTED] (Perry Hutchison) writes: # ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device No ext2fs support in your kernel? I had not thought that was the problem, since according to something in the docs or manpages -- which I now cannot locate -- missing kernel support should have resulted in a different message. How would I check, to be sure? I am using the kernel from the installation CD, not one I have built: # uname -a FreeBSD fbsd61 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The standard kernel doesn't have ext2fs support now; I doubt the 6.1 release was different. Try loading it as a module; kldload ext2fs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ext2fs returning ENODEV on 6.1
On Thu, Sep 14, 2006 at 02:07:56PM -0700, Perry Hutchison wrote: # ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device No ext2fs support in your kernel? I had not thought that was the problem, since according to something in the docs or manpages -- which I now cannot locate -- missing kernel support should have resulted in a different message. How would I check, to be sure? I am using the kernel from the installation CD, not one I have built: Then you don't have kernel support, since it's not enabled by default (the ext2 code is under the GPL and cannot be distributed in a BSD-licensed kernel). Recompile your kernel or load the module per the handbook. Kris pgppw5OdBtg6u.pgp Description: PGP signature
Firefox+Flash
FreeBSD 6.1 I have been trying to get a few of my friends to try FBSD on their PCs without much success. One of the major problems is the inability to get flash to work properly to display videos available on Google. I know that the linux-flash port is marked broken, so that it out. How else can I get flash to work so I can perhaps persuade them to try FBSD? I have KDE and Firefox installed obviously. I tried loading a few of the flash packages available in the ports, but they did not not seem to work. Thanks! -- White Hat [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
--- White Hat [EMAIL PROTECTED] wrote: FreeBSD 6.1 I have been trying to get a few of my friends to try FBSD on their PCs without much success. One of the major problems is the inability to get flash to work properly to display videos available on Google. I know that the linux-flash port is marked broken, so that it out. How else can I get flash to work so I can perhaps persuade them to try FBSD? Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On Sep 14, 2006, at 3:23 PM, Peter wrote: Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. Why? Is there some reason that you or they want to watch ads? I can't think of a single site that I use that needs Flash; I don't install it even on a Windows or MacOS X box. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On 9/14/06, Peter [EMAIL PROTECTED] wrote: --- White Hat [EMAIL PROTECTED] wrote: FreeBSD 6.1 I have been trying to get a few of my friends to try FBSD on their PCs without much success. One of the major problems is the inability to get flash to work properly to display videos available on Google. I know that the linux-flash port is marked broken, so that it out. How else can I get flash to work so I can perhaps persuade them to try FBSD? Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. You can always just use www/linux-firefox and use flash with it. It works quite well. Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
--- michael johnson [EMAIL PROTECTED] wrote: OK, assuming I remove Firefox and install linux-firefox, which what version of flash in the ports tree am I suppose to install to make it all work? -- White Hat [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On 9/14/06, White Hat [EMAIL PROTECTED] wrote: --- michael johnson [EMAIL PROTECTED] wrote: OK, assuming I remove Firefox and install linux-firefox, which what version of flash in the ports tree am I suppose to install to make it all work? Don't deinstall firefox. just install linux-firefox with firefox. www/linux-flashplugin7 has the plugin you want -- White Hat [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
Chuck Swiger wrote: On Sep 14, 2006, at 3:23 PM, Peter wrote: Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. Why? Is there some reason that you or they want to watch ads? I can't think of a single site that I use that needs Flash; I don't install it even on a Windows or MacOS X box. I don't have the need for Flash either. Youtube and Google Video should provide their videos in a proper way. I still believe in dynamic SVG for clear animations. You can watch one of those on the Opera site about SVG, it's great. Nobody needs proprietary binary formats on the Internet. --jona ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox+Flash
On Thu, Sep 14, 2006 at 06:56:30PM -0400, michael johnson wrote: On 9/14/06, Peter [EMAIL PROTECTED] wrote: --- White Hat [EMAIL PROTECTED] wrote: FreeBSD 6.1 I have been trying to get a few of my friends to try FBSD on their PCs without much success. One of the major problems is the inability to get flash to work properly to display videos available on Google. I know that the linux-flash port is marked broken, so that it out. How else can I get flash to work so I can perhaps persuade them to try FBSD? Yes, the Flash issue is a real bummer. It is best *not* to show your friends that when you introduce them to FBSD. You can always just use www/linux-firefox and use flash with it. It works quite well. I use www/linux-opera. No problems here... -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Slow install of Ruby 18 from ports
Just out of curiosity I tried ruby port on two machines - fast one (1.6GHz Athlon with 1GB RAM) and small one (400MHz with 96MB RAM). Fast one has no problems with ruby, it builds and installs in few minutes. The slow one is another story, however. There is definitely something in teh building of ruby (I beleive in the test part), looks like it does a complete disk scanning (to find possible libraries?) during that period when it seems to be idled, disk are being accessed like carzy. Anyway, after a night at it, it finally installs :) Bests, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading our mail server
| Our mailhub is actually a HP DL360 with one processor (Xeon 2.8 ghz) | with 2 Gb RAM and 120 Gb disks, it is 3 years old. | It runs Postfix + imap + imaps + pop3 + pop3s + squirrelmail + vexira | antivirus + postgrey | and some small auxiliary services. Your server is good enough to handle even 10k users. You just need to identify what is causing the overload. Adding one processor and 2GB extra RAM should be enough, I think. Even when the hardware is enough, I enjoy a new machine when it comes to build a mail server: it is such a critical machine (users will not understand that their mailbox could be out of reach for 5 minutes) with enough different components, each having specificities on the config (not the sort you power one and you are done) I don't feel at ease doing too much modif on a production email server. Now at 10K$ you have plenty of money, I believe you could afford 2 machines for hi availability. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Poutupgrade unsafe
Hi, I know the mistake was on my side, I was not carefull enough when using portupgrade on a production machine but... Yesterday I froze our system for about one hour when I used portupgrade to upgrade Samba. It was a very minor upgrade (from 3.0.10 to 3.0.23c,1 I think), but it happens that in between the 2 versions the location of the password file for Samba has been changed. I beleive that the port maintener has a very good reason why to change this directory, but portupgrade would build and install the new Samba silently (if the message at the begining of the makefile did ever show, it was drawn into the flow of portupgrade messages) resulting the new Samba did not accept any connection. I think that such modification should be considered as critical and portupgrade should stop and request acknowledgement before it keeps on installing. I am not sure the mechanism exists in portupgrade, but I see it as a very usefull enhancement. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Poutupgrade unsafe
Olivier Nicole wrote: I know the mistake was on my side, I was not carefull enough when using portupgrade on a production machine but... Yesterday I froze our system for about one hour when I used portupgrade to upgrade Samba. It was a very minor upgrade (from 3.0.10 to 3.0.23c,1 I think), but it happens that in between the 2 versions the location of the password file for Samba has been changed. I beleive that the port maintener has a very good reason why to change this directory, but portupgrade would build and install the new Samba silently (if the message at the begining of the makefile did ever show, it was drawn into the flow of portupgrade messages) resulting the new Samba did not accept any connection. I think that such modification should be considered as critical and portupgrade should stop and request acknowledgement before it keeps on installing. I am not sure the mechanism exists in portupgrade, but I see it as a very usefull enhancement. This one bit me too, but we have only ourselves to blame; there was a clear (well, pretty clear) warning of the change in /usr/ports/UPDATING. You would never forget to check UPDATING before running portupgrade would you? :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_ext2fs returning ENODEV on 6.1
# ll /dev/ad0s7 crw-r- 1 root operator0, 93 Sep 4 02:30 /dev/ad0s7 # file -s /dev/ad0s7 /dev/ad0s7: Linux rev 1.0 ext2 filesystem data # grep -w ad0s7 /etc/fstab /dev/ad0s7 /linux ext2fs ro 0 0 # ll -d /linux drwxr-xr-x 2 root wheel 512 Aug 24 12:09 /linux # mount /linux mount_ext2fs: /dev/ad0s7: Operation not supported by device No ext2fs support in your kernel? I had not thought that was the problem, since according to something in the docs or manpages -- which I now cannot locate -- missing kernel support should have resulted in a different message. How would I check, to be sure? I am using the kernel from the installation CD, not one I have built: # uname -a FreeBSD fbsd61 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The standard kernel doesn't have ext2fs support now; I doubt the 6.1 release was different. Try loading it as a module; kldload ext2fs. It seems not to be that easy :( # kldload ext2fs kldload: can't load ext2fs: No such file or directory Where is ext2fs.ko supposed to have come from? A search for ext2fs in the Handbook found nothing applicable, and I have already built and installed /usr/ports/sysutils/e2fsprogs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]