Re: FreeBSD 6.1 php5 cli core dumped

2008-01-15 Thread Chuck Swiger
On Jan 15, 2008, at 10:33 AM, Dominik Zalewski wrote: I disabled php_mapscript.so extension and PHP CLI doesn't seem to core dump anymore. Problem is that I really need mapscript. I tried to recompile mapserver but it didn't help. Any ideas? Yes, change the order that particular module is

Re: Limit on number of groups a user can join

2008-01-15 Thread Chuck Swiger
On Jan 15, 2008, at 3:01 PM, Andrea Venturoli wrote: I made some tries removing him from other groups and I got to the conclusion that it works as long as he is in no more than 15 groups, but breaks when he join the 16th. Is this an hard limit? Can it be extended? Why this? This limit is

Re: Sendmail: exposed root, why?

2008-01-09 Thread Chuck Swiger
On Jan 8, 2008, at 5:50 AM, Jerahmy Pocott wrote: From the sendmail documentation: There are always users that need to be exposed -- that is, their internal site name should be displayed instead of the masquerade name. Root is an example (which has been exposed by default prior to 8.10). Is

Re: Frequent DHCP requests from Wii

2008-01-09 Thread Chuck Swiger
On Jan 9, 2008, at 10:48 AM, Jeffrey Goldberg wrote: We've got a Wii in the house, and I've got an entry for it in my dhcpd.conf host wii { hardware ethernet 00:19:1d:dd:66:d3; fixed-address wii.ewd.goldmark.org; } which correctly resolves to 10.1.10.145 And everything works fine.

Re: OSX NFS-Server FreeBSD NFS Client

2008-01-08 Thread Chuck Swiger
On Jan 7, 2008, at 11:01 PM, Konrad Heuer wrote: You really don't want to export a filesystem which itself is being mounted remotely. If you want to provide SMB filesharing for these files, run Samba on the OS X machine(s) directly. Knowing all the drawbacks including reduced bandwith,

Re: OSX NFS-Server FreeBSD NFS Client

2008-01-07 Thread Chuck Swiger
On Jan 2, 2008, at 10:50 PM, Konrad Heuer wrote: I observe a serious problem with NFS exports from a Mac OS X 10.4 server to FreeBSD 6.2 NFS clients (itself running on DELL PowerEdge 2850 server hardware). We use the StorNext distributed file system in which FreeBSD cannot participate

Re: timekeeping on jail servers

2007-12-21 Thread Chuck Swiger
On Dec 21, 2007, at 10:24 AM, Bill Moran wrote: ntpdate -B should slew the time slowly. (According to the manpage.) Not generally suitable for cron because it can take longer to slew than it does for the next cron execution to occur, which would then result in multiple ntpdate programs

Re: which cputype for Althon 64 X2 Dual Core

2007-12-21 Thread Chuck Swiger
On Dec 21, 2007, at 4:33 PM, Jeffrey Goldberg wrote: I'm building a new server with 7.0 BETA4 (it will track stable) with the following CPU CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2600.02-MHz K8- class CPU) [ ... ] What optimizations should I make in make.conf? A reasonable

Re: tail does not exit

2007-12-20 Thread Chuck Swiger
On Dec 20, 2007, at 1:58 AM, Mikhail Teterin wrote: On середа 19 грудень 2007, Chuck Swiger wrote: = A quick test suggests that tail -f will close when it gets a SIGPIPE. SIGPIPE? How is that relevant? Does tail get a SIGPIPE, when awk disappears in my example? If it does not, why do you

Re: tail does not exit

2007-12-19 Thread Chuck Swiger
On Dec 19, 2007, at 4:06 PM, Mikhail Teterin wrote: Josh Tolbert: Cause the -f option to tail doesn't work that way. -f always waits for more input. I know very well about -f waiting for more *input*. What puzzles me, is that tail does not quit, when its *output* is closed. James

Re: Does 6.2 Support VIA EPIA M10000G Nehemiah Mini-ITX?

2007-12-19 Thread Chuck Swiger
On Dec 19, 2007, at 4:58 PM, Eric Osterweil wrote: I just installed 6.2 on a VIA EPIA M1G Nehemiah Mini-ITX. It all seems to have installed fine, but when I try to buildworld I get internal compiler errors almost immediately. The problems are not consistently in the same place but

Re: (postfix) SPAM filter?

2007-12-18 Thread Chuck Swiger
On Dec 17, 2007, at 7:56 AM, Eric Crist wrote: I hear a lot of people saying that greylisting doesn't work, when I have actual numbers for my network proving it does. These numbers are from the first week of May 2007 to today: Greylisted/Rejected Messages: 187560 Spam Tagged Messages:

Re: /tmp: filesystem full

2007-12-12 Thread Chuck Swiger
On Dec 12, 2007, at 2:19 PM, Jerry McAllister wrote: [EMAIL PROTECTED] wrote: I even restarted the server but the problem is still there. this is what I got every amount of time (not always). root mail.local 89873 /tmp 4 -rw--- 616886272 rw I don´t understand why

Re: (postfix) SPAM filter?

2007-12-12 Thread Chuck Swiger
On Dec 12, 2007, at 5:12 PM, Sten Daniel Soersdal wrote: We have a need for a relatively painless anti-spam solution that would reduce the amount of incoming spam (via postfix mail router). The problem is that i have little knowledge on what this actually means. Googling reveals a whole

Re: smart_host on sendmail min config

2007-12-10 Thread Chuck Swiger
On Dec 10, 2007, at 11:40 AM, Aryeh Friedman wrote: What else do I need to add to this to make it work (i.e. send all mail via mx1.optonline.net): OSTYPE(`freebsd6')dnl define(`SMART_HOST', `mx2.optonline.net')dnl Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above. (Note

Re: swap_pager: indefinite wait buffer

2007-11-12 Thread Chuck Swiger
On Nov 12, 2007, at 7:38 AM, Brian McCann wrote: Hi all. I'm sure some of you have seen this, and I'm looking for some advice. I've got 2 servers now that will completely lockup (one is 6.1-p4, the other 6.2-p7), and just display this on the console: swap_pager: indefinite wait buffer:

Re: Best way to measure disk bandwidth usage

2007-11-07 Thread Chuck Swiger
Hi-- On Nov 7, 2007, at 9:41 AM, Andrea Venturoli wrote: iostat is also expecially interesting, since it can run non- interactively and I could poll it through cacti... However this monitors only raw da devices. Is there a way to get gmirrors monitored? If they are visible as drive devices,

Re: su: not running setuid

2007-10-22 Thread Chuck Swiger
On Oct 22, 2007, at 11:51 AM, Mayank Jain wrote: I have run chown -R uname:wheel . as root in the / directory. Now it is not allowing me to log in as su. Giving the following error Ouch-- you've managed to reset the setuid/setgid bits for the entire system. You'll probably need to do a

Re: OT: UltraDNS and dor org domains.

2007-10-22 Thread Chuck Swiger
On Oct 22, 2007, at 11:43 AM, DAve wrote: It is only dot org domains, checking deeper it ain't us. If I do a domain query from dnsstuff for any org, I sometimes get nothing but name server records. This happens when the root servers refer the query to TLSx.Ultradns.net. I see ultradns

Re: [stupid question] setting env variables globally

2007-10-19 Thread Chuck Swiger
On Oct 19, 2007, at 9:14 AM, Aryeh M. Friedman wrote: Is there any way to set the default value of a enviromental variable globally. Specifically I want JAVA_VERSION to default to 1.6 unless the user sets it other wise. By global I mean no matter how something is invoked (command line,

Re: How do I enable IP forwarding?

2007-10-19 Thread Chuck Swiger
On Oct 19, 2007, at 3:37 PM, Erik Osterholm wrote: Shouldn't that be YES instead of NO? Um, yes-- quite right. I just copied the default value from /etc/ defaults/rc.conf and forgot to change it. :-0 -- -Chuck ___ freebsd-questions@freebsd.org

Re: How do I enable IP forwarding?

2007-10-19 Thread Chuck Swiger
Hi, Ivan-- On Oct 19, 2007, at 2:57 PM, Ivan Dimitrov wrote: How do I enable IP forwarding? (on freeBSD 6.2) On a temporary basis: sysctl net.inet.ip.forwarding=1 ...or if you want to make that config permanent: echo 'gateway_enable=NO' /etc/rc.conf -- -Chuck

Re: freebsd-net: ether alias

2007-10-19 Thread Chuck Swiger
On Oct 19, 2007, at 2:41 AM, Андрей Поляков wrote: Hi, I am using freebsd 6.2. And I am doubt how to add a harware address alias to my NIC wich would be associated with ip. For example, there are configuration: [ ... ] How do I setup multiple mac addresses? You can do this by

Re: More Postfix Woes

2007-10-18 Thread Chuck Swiger
On Oct 18, 2007, at 3:42 PM, Rem P Roberti wrote: Oct 18 03:16:21 bsd postfix/trivial-rewrite[16064]: warning: database /usr/local/etc/postfix/transport.db is older than source file /usr/local/etc/postfix/transport Fix this by doing: cd /usr/local/etc/postfix ; postmap transport [ ... ]

Re: syslog marking sendmail output as kernel:

2007-10-17 Thread Chuck Swiger
On Oct 16, 2007, at 6:01 PM, Matt Emmerton wrote: There must be somewhere in the kernel where we're writing to the syslog with an empty error string. The syslog routines expect a newline-terminated character string, so the lack of a newline causes the next entry to be on the same line as

Re: postgresql and initdb

2007-10-17 Thread Chuck Swiger
On Oct 17, 2007, at 12:02 PM, Chad Perrin wrote: I've installed PostgreSQL here on FreeBSD 6.2-RELEASE, and I'm a little confused by the presence of the initdb(1) manpage and absence of an initdb command. # locate initdb /usr/local/man/man1/initdb.1.gz

Re: postgresql and initdb

2007-10-17 Thread Chuck Swiger
On Oct 17, 2007, at 2:37 PM, Chad Perrin wrote: ...suggests it will be put in /usr/local/bin/initdb (modulo $ {LOCALBASE}, if changed)-- try doing a rehash if needed. :-) It's not there, unfortunately. The above locate indicated as much, and `cd /usr/local/bin;ls|grep initdb` returns

Re: ECC capability and ACPI warnings

2007-10-12 Thread Chuck Swiger
On Oct 12, 2007, at 12:54 AM, CyberLeo Kitsana wrote: Is there any way, by poking through dmesg or sysctls, to determine if a machine has, or is capable of using, ECC RAM? Well, the sysutils/dmidecode port can be used to answer that question: pi# dmidecode -t memory # dmidecode 2.8 SMBIOS

Re: TPM could not be initialized - bge0 has disappeared ... WTF ?

2007-10-10 Thread Chuck Swiger
On Oct 10, 2007, at 1:47 PM, Gore Jarold wrote: I own a Dell Latitude X1. [ ... ] However, suddenly, when I boot the system, I get a message: WARNING: The TPM could not be initialized I didn't know what TPM was, I didn't care, and I just booted up. Not my problem. Except suddenly I have no

Re: Question about rc-scripts

2007-10-09 Thread Chuck Swiger
On Oct 9, 2007, at 5:16 PM, [EMAIL PROTECTED] wrote: Most binaries i.e. httpd, memcached, mysqld, etc... provide a config file or cli option to provide the path to a pid file. Like you say - I can't find anything in rc.subr that would create a pid. So, I looked in /etc/rc.d/ntpd (for

Re: How do I catch timezone update and perform needed actions?

2007-10-03 Thread Chuck Swiger
Andrew McNaughton wrote: OK, so daylight savings just rolled over again. Applications which are already running apparently do not pick up the time zone change. Nope, that doesn't just happen. See man tzset and maybe the misc/zoneinfo port. And ntpd. In my installation apache is not

Re: Is Apache rotatelogs efficienct for real world use?

2007-10-03 Thread Chuck Swiger
Olivier Nicole wrote: Is Apache rotatelogs suitable for handling large volumes of access logs, i.e. around 50K requests per hour at _peak_ time which is 1.2M requests per day. According to Apache website (http://httpd.apache.org/docs/1.3/logs.html#rotation) this becomes about 120MB in size per

Re: Base system config file headers...

2007-10-01 Thread Chuck Swiger
Modulok wrote: In the header of many of the base system's config files there are lines similar to this: # $FreeBSD: src/etc/group,v 1.32.2.1 2006/03/06 22:23:10 rwatson Exp $ Do these have any useful purpose, other than as a human-readable comment? Some kind of versioning or update

Re: Is Apache rotatelogs efficienct for real world use?

2007-10-01 Thread Chuck Swiger
On Oct 1, 2007, at 3:43 PM, Bahman M. wrote: Is Apache rotatelogs suitable for handling large volumes of access logs, i.e. around 50K requests per hour at _peak_ time which is 1.2M requests per day. According to Apache website (http://httpd.apache.org/docs/1.3/logs.html#rotation) this becomes

Re: best spam filter port(s) for postfix?

2007-10-01 Thread Chuck Swiger
On Oct 1, 2007, at 6:54 PM, Philip Hallstrom wrote: By far the best anti-spam tool I've used with Postfix is policyd- weight. mail/postfix-policyd-weight Agreed. +1. Me too. Seconded (or thirded :). policyd-weight is much smaller than amavisd-new or SpamAssassin (it tends to run a couple

Re: Security report question

2007-09-30 Thread Chuck Swiger
Kurt Buff wrote: [ ... ] +Limiting closed port RST response from 283 to 200 packets/sec I don't know what this means, though I suspect it could mean that I'm being port scanned. Is this a reasonable guess? Yes. It could also be something beating really hard on a single closed port, too. --

Re: Forcing buffer cache to use available memory

2007-09-30 Thread Chuck Swiger
Peter Schuller wrote: Is there a way to force the buffer cache to be more aggressive when caching reads? Or even just plain force a certain number of megabytes to be dedicated to the buffer cache? You want to adjust the vfs.read_max sysctl, I believe, or the vfs.maxbufspace for your second

Re: Deny access from localhost to internet.....

2007-09-28 Thread Chuck Swiger
On Sep 28, 2007, at 10:51 AM, Agus wrote: The question is this..I want to restrict external access, that is from my BSD to the internet, to some groups of users. Other groups i want to access internet normally. I dont want this group of users to be able to establish connections to the

Re: Adding CR/LF

2007-09-28 Thread Chuck Swiger
On Sep 28, 2007, at 11:34 AM, [EMAIL PROTECTED] wrote: Here is the script I am using. #!/bin/sh FILENAMES=test1 test2 test3 FILELIST= for filename in ${FILENAMES} do FILELIST=${FILELIST}${filename}$'\n\r' echo ${FILELIST} done And, here is the output I am getting. test1$\n\r

Re: File size discrepancies

2007-09-28 Thread Chuck Swiger
On Sep 28, 2007, at 11:27 AM, Modulok wrote: I have a file hierarchy of about 18GiB which was copied from a UFS 2 file system one hard disk to a UFS 2 file system on a gmirror array. The size of the two hierarchies differ by 12 bytes according to du(1). No errors were reported by cp(1) during

Re: DHCP and DNS

2007-09-28 Thread Chuck Swiger
On Sep 28, 2007, at 12:27 PM, Thomas D. Dean wrote: How can I get FreeBSD to query the router for IP information for other machines? Your question isn't very clear, but if you want to configure FreeBSD to use a nameserver on your router (or elsewhere), set up /etc/ resolv.conf. Otherwise,

Re: DHCP and DNS

2007-09-28 Thread Chuck Swiger
On Sep 28, 2007, at 1:19 PM, Thomas D. Dean wrote: I have a Belkin N1 wireless router with a mix of wireless and wired machines. 2 wired FreeBSD machines, 1 wired Windows machine, 1 wireless FreeBSD machine, -current wpi driver in the works, and a wireless windows machine. The wired FreeBSD

Re: Stress testing/burning in HDDs

2007-09-27 Thread Chuck Swiger
On Sep 27, 2007, at 10:43 AM, Don O'Neil wrote: I have an array that has a drive that keeps timing out/failing... So I need to replace it. However, I want to stress test/burn in a replacement disk first. What is the best way to do this? It's reasonable to start with something like a:

Re: Stress testing/burning in HDDs

2007-09-27 Thread Chuck Swiger
On Sep 27, 2007, at 12:04 PM, Wojciech Puchar wrote: It's reasonable to start with something like a: dd if=/dev/your_disk of=/dev/null bs=5120 ...to at least try reading every sector on the drive as a basic sanity check. why so small blocks of 10 sectors? i use bs=64k at least goes

Re: Dumb IPFW Question

2007-09-26 Thread Chuck Swiger
On Sep 26, 2007, at 12:46 PM, Chris Yocum wrote: [ ... ] I also get Sep 26 20:09:17 routy kernel: ipfw: 450 Deny UDP my router outside IP:53 my isp dns ip:53 out via sis0 in my /var/log/security file. I have appended the ipfw rules below so you can see all the changes that I made from the

Re: Silly IPFW question.

2007-09-24 Thread Chuck Swiger
On Sep 24, 2007, at 2:33 PM, Grant Peel wrote: Is there anyway to make a rule in IPFW that will match MAC addresses instead of IP or port numnbers (and no, I didnt see anything in the docs :-)) Search man ipfw for MAC. Something like this will: ipfw add 10 deny MAC any 10:20:30:40:50:60

Re: Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-21 Thread Chuck Swiger
On Sep 21, 2007, at 4:11 PM, Wil Hatfield wrote: IP Filter: v4.1.8 initialized. Default = block all, Logging = enabled ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging unlimited Do you really need to run both IPFW and IP Filter at the

Re: SMTP Error from my server?

2007-09-17 Thread Chuck Swiger
On Sep 17, 2007, at 4:05 PM, Chris Maness wrote: Looks to me like a failed sender verification callout-- these are generally construed to be abusive. I can't easily tell from your munging whether it's your server or Adelphia that's doing it, though. This is the only e-mail address that I

Re: SMTP Error from my server?

2007-09-17 Thread Chuck Swiger
On Sep 17, 2007, at 5:25 PM, Chris Maness wrote: Can I turn it off for this sender? Presumably they or you can whitelist whichever address is being blocked, yes. I don't know which side is actually refusing the email as you've removed too much of the logging context to avoid revealing

Re: kernel log messages

2007-09-14 Thread Chuck Swiger
On Sep 14, 2007, at 10:05 AM, Ian Lord wrote: +++ /tmp/security.iwonKikI Thu Sep 13 03:02:27 2007 +pid 85092 (httpd), uid 80: exited on signal 11 pid 85097 (httpd), uid +80: exited on signal 11 pid 85099 (httpd), uid 80: exited on signal 11 +pid 85091 (httpd), uid 80: exited on signal 11

Re: Bridging and port mirroring

2007-09-13 Thread Chuck Swiger
On Sep 13, 2007, at 9:29 AM, Brian McCann wrote: I've got a server with two nics configured for bridging and running bunches of ipfw rules. I'd like to add a 3rd NIC and have it mirror the 2nd NIC (so all traffic into and out of nic2 goes to nic3), so I can run an IDS on another server. Yes, I

Re: parameter setgid_group: unknown group name: postdrop

2007-09-13 Thread Chuck Swiger
On Sep 13, 2007, at 1:19 PM, VeeJay wrote: Could anyone help me? I have installed Postfix on my freebsd 6.2 box but still not able to make it work after spending whole day and night I have added a group with name postdrop but when I try to send a mail, I get this error logged in

Re: /dev/random question

2007-09-13 Thread Chuck Swiger
On Sep 13, 2007, at 1:57 PM, Per olof Ljungmark wrote: On the website it says that the original yarrow algorithm is no longer supported. It seems to have been replaced by the fortuna algorithm. I can't see from the source if /usr/src/sys/dev/random/yarrow.* use the original yarrow algorithm,

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Chuck Swiger
On Aug 30, 2007, at 6:14 PM, L Goodwin wrote: [ ... ] Should I be calling mail or sendmail, and which mail or sendmail should I invoke if there is more than one of either? Chuck's example calls sendmail in a path that does not exist on my system (my sendmail is in /usr/sbin/). I usually invoke

Re: dummynet lag

2007-08-31 Thread Chuck Swiger
On Aug 31, 2007, at 6:34 AM, [EMAIL PROTECTED] wrote: Is it normal to have +10msec ping times when pinging through dummynet (ipfw pipes)? If yes, why? If not, WTF? If your HZ is 100, then, yes, it's common for the packets to be delayed by 10+ msec. Set HZ to 1000 or higher and you'll have

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Chuck Swiger
On Aug 30, 2007, at 3:12 PM, L Goodwin wrote: I wrote a shell script that backs up the file server. I would like to modify this script to email a notification message to a public email address. Use cron, which will automatically email out the results of your script to any email address you

Re: somehow OT: SMALL named and dhcpd

2007-08-29 Thread Chuck Swiger
On Aug 29, 2007, at 10:56 AM, Wojciech Puchar wrote: anyone here know a SMALL named and dhcpd servers? small i mean no more than say 200kB both (just binaries). the dumbest dhcpd would be enough (automatic assignment to all machines on given interfaces), named just to keep single domain and

Re: Cannot rebuild Sendmail (with sasl2)

2007-08-29 Thread Chuck Swiger
On Aug 29, 2007, at 11:02 AM, brad davison wrote: I have gotten nearly everything configured and running smoothly except for SMTP AUTH. Before I tried to build in the SASL2 stuff, I had done a full src- all update via cvsup, and at that time, I was able to rebuild sendmail, and rebuild the

Re: What is a sane setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-22 Thread Chuck Swiger
On Aug 22, 2007, at 3:53 AM, Dag-Erling Smørgrav wrote: Chuck Swiger [EMAIL PROTECTED] writes: You should configure squid to use no more than about 60 - 70% of the available physical RAM-- ie, set the cache_mem parameter to about 2.5 or 3GB. Better yet, don't run Squid at all

Re: It's top shows wrong load percent?

2007-08-22 Thread Chuck Swiger
On Aug 22, 2007, at 2:34 AM, Nguyen Tam Chinh wrote: Please advice how to debug this overload problem. Thank you very much! -- %top last pid: 12901; load averages: 8.68, 8.65, 8.65up 1 +20:44:06 04:15:12 1438 processes:9 running, 1429 sleeping Look at the

Re: Configuring mailman with web server different from mail server

2007-08-21 Thread Chuck Swiger
On Aug 20, 2007, at 9:51 PM, Olivier Nicole wrote: I am trying to install mailman from the ports. I have different machine for the mail server and the web server and I am trying to figure if this configuration is workable. The MTA is sendmail, where could I find configure example? You can

Re: What is a sane setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-21 Thread Chuck Swiger
On Aug 21, 2007, at 4:54 PM, N. Harrington wrote: I have seen many posts and suggestions to raise it to 1G. However it seems this only applies to i386. By default, on servers I have with 4G of physical memory, and 2X that of swap, I am showing a reported datasize limit of 33554432KB. far in

Re: performance hints (6.2)

2007-08-17 Thread Chuck Swiger
On Aug 17, 2007, at 1:00 PM, Mark Messier wrote: I've got a freebsd 6.2 system, dual 2Ghz 5130 cpu, 4g ram, with raid5 Adaptec 2120s, running not much more than /usr/ports/mail/imap-uw and I'm having performance problems with only 20 IMAP users. I'm not swapping.. cpu is mostly idle, so I

Re: detect ip spoofing attack

2007-08-17 Thread Chuck Swiger
On Aug 17, 2007, at 3:31 PM, Miguel wrote: Hi, i tink im suffering an ip (or mac, im not sure) spoofing attack, my internet link is at 90% and mostly outgoing traffic, im using pf (for nat), so i run pftop and i see a lot of connections from one specific ip address (192.168.206.68), but

Re: Share folder over internet

2007-08-16 Thread Chuck Swiger
On Aug 16, 2007, at 12:37 PM, Laszlo Nagy wrote: You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office.

Re: deinstall all apps installed from ports

2007-08-16 Thread Chuck Swiger
On Aug 16, 2007, at 5:22 PM, vuthecuong wrote: I wonder how can I remove all apps, yes, all apps installed from ports so that only freebsd 6.2 OS remains just by one command. I use portupgrade. man pkg_delete suggests the -a flag: -a Unconditionally delete all currently installed

Re: Amavisd-new + spam assassin tuning?

2007-08-15 Thread Chuck Swiger
On Aug 15, 2007, at 1:19 PM, Olaf Greve wrote: The question(s): I'd like to tune Spam Assassin such that it filters out much more spam, whilst letting (almost) all proper messages through. Thunderbird's spam controls are pretty good at filtering out spam, and I was hoping perhaps Spam

Re: Problem sending pr

2007-08-13 Thread Chuck Swiger
On Aug 13, 2007, at 3:16 PM, Erik Norgaard wrote: Hi: I tried to submit a new port with send-pr as described, but the mail doesn't get delivered: Aug 14 00:05:20 strange postfix/smtp[7310]: A60B82E04D: to=FreeBSD- [EMAIL PROTECTED], relay=mx1.freebsd.org[69.147.83.52]:25, delay=2.1,

Re: Redundant network router setup?

2007-08-13 Thread Chuck Swiger
On Aug 13, 2007, at 4:59 PM, Modulok wrote: QUESTION: Is there a way to setup a redundant router, such that I can offload traffic from the primary router to another machine, without breaking TCP sessions? There are several ways of setting up such redundancy; the common case which Cisco calls

Re: Convince me, please!

2007-08-09 Thread Chuck Swiger
On Aug 9, 2007, at 10:33 AM, Reid Linnemann wrote: Written by David Kelly on 08/09/07 12:30 On Thu, Aug 09, 2007 at 06:54:37PM +0200, Wojciech Puchar wrote: For the best user experience, and Unix too: MacOS X. a very little unix (few tools and kernel) + lots of bulky overhead ... Try it,

Re: What is my disk usage?

2007-08-08 Thread Chuck Swiger
On Aug 8, 2007, at 9:21 AM, Janos Dohanics wrote: du is acting strange on my system: # du /usr/X11R6 4 /usr/X11R6/share/locale 8 /usr/X11R6/share 12 /usr/X11R6 # du -h /usr/X11R6 2.0K/usr/X11R6/share/locale 4.0K/usr/X11R6/share 6.0K/usr/X11R6 # du -k /usr/X11R6 2

Re: No updates needed to update system to 6.2-RELEASE-p7?

2007-08-08 Thread Chuck Swiger
On Aug 8, 2007, at 11:33 AM, Rakhesh Sasidharan wrote: No updates needed to update system to 6.2-RELEASE-p7. $ uname -a FreeBSD asterix 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ GENERIC i386 Is that normal? I mean,

Re: Bizzare routing table entry.

2007-08-07 Thread Chuck Swiger
On Aug 7, 2007, at 12:10 PM, Modulok wrote: I have a bizarre entry in the routing table on one my machines. What is it, and how do I delete it? The output of netstat -rnf inet is shown below: DestinationGatewayFlagsRefs Use Netif Expire 00xc0a80132

Re: Bizzare routing table entry.

2007-08-07 Thread Chuck Swiger
On Aug 7, 2007, at 3:13 PM, Adam J Richardson wrote: Modulok wrote: 00xc0a80132 link#1 UCS 00 bge0 snip 1. The first entry, it's not IPv4, IPv6 or a MAC address that I've ever seen, what format is it? Hi Modulok, It's possible to represent IPv4

Re: UFS and spreading data

2007-08-03 Thread Chuck Swiger
Wojciech Puchar wrote: AFAIK UFS try to spread data quite evenly on disk to different cylinder group - for large files, so small files can get it's space near inodes etc.. Yes, UFS leaves some free space in each cylinder group if it can so that it can grow (especially small) files locally;

Re: LAN failover redundandcy?

2007-08-01 Thread Chuck Swiger
Ewald Jenisch wrote: [ ... ] Shouldn't lagg(4) be in the normal sources for a 6.2 system? It is, but you need to update to 6.2-STABLE, aka RELENG_6, not to RELENG_6_2 (aka the patch release branch or what you probably get from freebsd-update). -- -Chuck

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Chuck Swiger
Jasvinder S. Bahra wrote: Terry, I tried adding the interface line to the dhclient configuration file (and then rebooting), but it had no effect. Entering the sockstat -l4 command showed that local address was still *:68. man dhclient suggests that the interface needs to be specified on the

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Chuck Swiger
Jasvinder S. Bahra wrote: Chuck, I gave this a shot, but this stopped the interface being assigned an IP address at all (i.e... before the change, the interface had a valid IP address assigned by the DHCP server in my cable modem, but after making the change and restarting, the ifconfig command

Re: The output of ls

2007-07-27 Thread Chuck Swiger
On Jul 27, 2007, at 12:57 PM, Andrew Falanga wrote: Right underneath the directory that is being probed at that point is a number, total X. What is X referring to? Is it blocks, bytes, what? It's probably the number of disk blocks occupied by all of the files in the directory. -- -Chuck

Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-23 Thread Chuck Swiger
On Jul 22, 2007, at 9:04 PM, Olivier Nicole wrote: With some delay, several answers together. Very good. :-) For the example I gave, I am of course authoritative. Are you? Depending on which servers I query, I either get an NXDOMAIN, an answer with no authoritative nameservers listed, or

Re: speed of bzip2 versus gzip

2007-07-20 Thread Chuck Swiger
On Jul 20, 2007, at 5:37 PM, Norberto Meijome wrote: Is it normal for bzip2 to be significantly slower than gzip? If not, where can I look for things that might be causing bzip2 --fast to take 50-60 times longer to compress a (sendmail log) file than gzip? i never measured it to see if it is

Re: Ruby Taking FOREVER to compile?

2007-07-19 Thread Chuck Swiger
On Jul 19, 2007, at 11:56 AM, Chris Maness wrote: I am upgrading all of my ports on a slightly slower machine, and ruby+pthreads packge is taking what seems to be an unreasonably long time to compile. Is it possible that it is stuck in a loop? It has been sitting on Generating RI for

Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger
On Jul 18, 2007, at 3:12 PM, Michael Vaughn wrote: Hello everyone, Hi-- I am contacting -performance, -questions, and -hackers in the hope someone helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4 Please don't cross-post between multiple FreeBSD lists; pick the most

Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger
On Jul 18, 2007, at 4:15 PM, Michael Vaughn wrote: Your Apache processes are huge; mine typically stay under 20MB in VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP 5.2.x). I suspect your PHP app(s) are leaking memory or otherwise have some significant problems with the way

Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-16 Thread Chuck Swiger
On Jul 15, 2007, at 11:07 PM, Olivier Nicole wrote: No, nobody else is going to see the results your local nameserver sends since it isn't authoritative for the domains, and the delegation for the IP block isn't going to point to your server but to the actual nameserver. Take a look at what

Re: IMAP Sent Folder and Address Book Question

2007-07-16 Thread Chuck Swiger
On Jul 16, 2007, at 3:04 PM, Sean Murphy wrote: Does the IMAP protocol support storing the sent folder from thunderbird and the local addressbook on the IMAP server? In case a computer fails? I want to use dovecot or UW-IMAP instead of POP to protect my users data and wanted a clearer

Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-13 Thread Chuck Swiger
On Jul 12, 2007, at 10:09 PM, vuthecuong wrote: I just confirm only: I'm using dynamicDNS, so I will able to specify the forward *AND* reverse lookups? No. Reverse lookups are controlled by whoever owns the IP delegation for the netblock in question, and they are not going to configure

Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-13 Thread Chuck Swiger
On Jul 12, 2007, at 10:36 PM, Olivier Nicole wrote: I'm using dynamicDNS, so I will able to specify the forward *AND* reverse lookups? Yes. No, nobody else is going to see the results your local nameserver sends since it isn't authoritative for the domains, and the delegation for the IP

Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-13 Thread Chuck Swiger
On Jul 13, 2007, at 10:44 AM, Dan Casey wrote: I'm using dynamicDNS, so I will able to specify the forward *AND* reverse lookups? No. Reverse lookups are controlled by whoever owns the IP delegation for the netblock in question, and they are not going to configure PTR records for dynamic IPs.

Re: Periodic e-mails

2007-07-13 Thread Chuck Swiger
On Jul 12, 2007, at 4:12 PM, Jasvinder S. Bahra wrote: I examined /var/log/maillog, and saw something unexpected... Jul 12 23:45:13 HOSTNAME sm-mta[580]: l6824ssQ008021: to=[EMAIL PROTECTED], delay=4+20:40:18, xdelay=00:00:00, mailer=esmtp, pri=21733613, relay=sirius.DOMAIN...DOMAIN.ORG.,

Re: named and nfs mounts at boot time

2007-07-13 Thread Chuck Swiger
On Jul 13, 2007, at 3:29 PM, Tim Daneliuk wrote: While we're on the subject of dns ... I have nfs mounts configured in /etc/fstab using the host *name*. When the system boots, it grumbles about the name resolution because named has not yet been started. It works fine because, by the time you

Re: how to start apache22 without ssl

2007-07-11 Thread Chuck Swiger
On Jul 11, 2007, at 11:24 AM, pj wrote: I can't find any clue as to how to start apache22 without SSL. What is httpd -DNOHTTPACCEPT ? Thanks for any help... Use apachectl configtest first to make sure the config is valid, then apachectl start. To make this permanent, add something like:

Re: without SSL

2007-07-11 Thread Chuck Swiger
On Jul 11, 2007, at 10:22 AM, pj wrote: I can access apache from my windows machine: It works But I cannot access http://biggie:1 - message says: try https://... that does bring up the Webmin page. I know apache listens on port 80, but why https to get the Webmin page? Umm, so you

Re: Installation woes with 6.2 release

2007-07-10 Thread Chuck Swiger
On Jul 10, 2007, at 1:15 PM, Fredrik Tolf wrote: Derek Ragona [EMAIL PROTECTED] writes: Clearly you have a disk controller compatibility problem. I do know the Sil chips are terrible, and there is a long history of issues with these chips and FreeBSD! That's interesting to me. Is there

Re: password failure- after mergmaster

2007-07-09 Thread Chuck Swiger
On Jul 9, 2007, at 1:25 PM, Peter Boosten wrote: You let mergemaster clobber the password file. So in single user, mount -a, then use vipw to recreate your accounts in the password database. On exit from vipw use passwd to set the passwords. Having read this I must admit that it's a

Re: password failure- after mergmaster

2007-07-09 Thread Chuck Swiger
On Jul 9, 2007, at 2:44 PM, Jean-Paul Natola wrote: Because sometimes new versions of the OS come with new built-in user accounts, which need to be added to the existing passwd or groups databases somehow? Yes, exactly. Have to *merge* the changes into /etc/master.passwd rather than brute

Re: large pages

2007-07-03 Thread Chuck Swiger
Wojciech Puchar wrote: how can i check in program that the region is mapped using huge pages? I am not entirely sure from within userland, but I believe the kernel boot messages will indicate the status of PAE. i use mmap with address padded to 4M and mlock. Note that there is a separate

Re: MySQL Quotas

2007-07-03 Thread Chuck Swiger
Grant Peel wrote: I am posting this here thinking this may be more of an OS thing than a mysql thing... Since all mysql databases and tables need to be owned by the mysql user, is there, er, has anyone figured out a way to impose disk quotas per database for mysql? Databases tend to lose

Re: Problem installing FreeBSD 5.3

2007-07-03 Thread Chuck Swiger
Hello-- Lisa Casey wrote: I am attempting to install FreeBSD 5.3 (because that's the latest distro I have CD's for) on a brand new system with a 80 G harddrive and 2 G RAM. If you're having problems with 5.3, it might be better to try 6.2 or maybe 5.5 than to spend too much time playing with

Re: freebsd / gateway / parental control

2007-07-02 Thread Chuck Swiger
Norberto Meijome wrote: On Fri, 29 Jun 2007 22:46:10 +0200 Momchil Ivanov [EMAIL PROTECTED] wrote: 4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home net, 1 NIC for the DSL - same as above, just have to tell your box how to connect to your ISP ok, this is

<    2   3   4   5   6   7   8   9   10   11   >