Re: reducing size of apache instances

2009-09-11 Thread Chuck Swiger
Hi-- On Sep 11, 2009, at 12:42 PM, John Almberg wrote: My basic problem is at peak usage times (usually in the afternoon), the server starts using swap space, and then response times really bog down. Limit the MaxChildren to the number of Apache httpd's which your machine can actually han

Re: reducing size of apache instances

2009-09-10 Thread Chuck Swiger
On Sep 10, 2009, at 7:58 PM, John Almberg wrote: My Apache 2.2 instances are running about 18 Meg each. I've been thinking about doing something to trim these down, and I think tomorrow is the day to take action. They are getting out of hand. [ ... ] But what about the set that is left after

Re: Using mdconfig for swap space

2009-09-08 Thread Chuck Swiger
Hi, Peter-- On Sep 8, 2009, at 2:51 PM, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chuck Swiger
On Aug 17, 2009, at 7:27 PM, RW wrote: On Mon, 17 Aug 2009 17:41:12 -0500 Andrew Gould wrote: STABLE is what it sounds like. I don't think it is what it sounds like - STABLE branches are development branches with stable binary interfaces. It's the security branches that are intended for product

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chuck Swiger
On Aug 17, 2009, at 3:08 PM, Chris Stankevitz wrote: Chuck Swiger wrote: Ports are not branched-- there is no STABLE or CURRENT for ports. The same ports tree can be used on 6.x, 7.x, and 8-CURRENT. 1. With what is the STABLE/CURRENT tag associated? a) "core operating system version n

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chuck Swiger
On Aug 17, 2009, at 3:39 PM, Chris Stankevitz wrote: Chuck Swiger wrote: If you just want security updates and no other changes, you'd update against RELENG_7_2 instead. Here are you referring only to security updates to the "core OS" and not applications in "po

Re: Packages available for different FreeBSD versions

2009-08-17 Thread Chuck Swiger
On Aug 17, 2009, at 2:22 PM, Chris Stankevitz wrote: When I install FreeBSD, I am installing a "core operating system version number" (your term). Most people install FreeBSD from a release CD; ie, they install 6.4- RELEASE, or 7.2-RELEASE, or similar. Then I may choose to install the "port

Re: ntpd / time synchronization

2009-07-27 Thread Chuck Swiger
Hi-- On Jul 27, 2009, at 4:08 PM, Zbigniew Szalbot wrote: OK. So removing the restrictions should cause the time to be synced? Thank you for your patience and help! Yes, try it and see-- it's most likely to be the cause of problems. If you want to set a default restrict line, you'll want t

Re: ntpd / time synchronization

2009-07-27 Thread Chuck Swiger
On Jul 27, 2009, at 3:44 PM, Zbigniew Szalbot wrote: and here's the details of /etc/ntp.conf file: server 0.pl.pool.ntp.org server 1.pl.pool.ntp.org server 2.pl.pool.ntp.org server 3.pl.pool.ntp.org driftfile /var/db/ntp.drift restrict default nopeer nomodify I used to have server 0.europe.pool

Re: ipf rules question

2009-07-27 Thread Chuck Swiger
On Jul 27, 2009, at 2:27 PM, Jay Hall wrote: [ ... ] If I am looking at everything correctly all traffic coming into the system from the 82.0.0.0/8 network to port 25 on the mail server should be blocked. What am I missing? Maybe they are connecting to the MSP aka 587/tcp rather than port

Re: badly munged system

2009-07-17 Thread Chuck Swiger
On Jul 17, 2009, at 1:55 PM, Eitan Adler wrote: How could I get out of this state without losing data? Start by making a backup of the existing system. Do a clean reinstall, preferably on other disk or system, and then restore your data files onto this other disk/system and test before mak

Re: intermittent failures with sendmail

2009-07-02 Thread Chuck Swiger
Hi-- On Jul 2, 2009, at 8:33 AM, Alex Teslik wrote: Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout writing message to b.mx.mail.yahoo.com.: Broken pipe Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout writing message to e.mx.mail.yahoo.c

Re: OT: C syntax question

2009-06-29 Thread Chuck Swiger
Hi-- On Jun 29, 2009, at 5:41 PM, Robert Huff wrote: and the compiler does not complain. If, however, I try to prototype the function as: extern int plate_shift(struct CONTINENT *[][],int,float); with: CFLAGS = -Wall -std=c99 I get: error: array type has incomplete

Re: Restrict process(es) to single core

2009-06-26 Thread Chuck Swiger
On Jun 26, 2009, at 10:40 AM, Daniel Underwood wrote: Suppose I'm running a multi-threaded program that's utilizing both cores of my CPU. I'm not interested in it's speed, however, and would like to free up another core for general purpose. Is there a way (without altering/recompiling the progra

Re: The short and curlies of vista networking

2009-06-18 Thread Chuck Swiger
On Jun 18, 2009, at 3:14 PM, Glen Barber wrote: A broadcast of 255.255.255.255 is misconfigured (not saying it's not gonna work, I'm saying for your network, it's not configured right). you need broadcast-address 192.168.2.255 That is not 100% correct. By default, dhclient will send an initial

Re: The short and curlies of vista networking

2009-06-18 Thread Chuck Swiger
Hi-- On Jun 18, 2009, at 10:41 AM, Mel Flynn wrote: Does anyone have a how-to or pitfall summary on how to get a vista computer to: - accept DHCP offers from isc-dhcp30-server-3.0.7_4 - connect to WPA-PSK using *any* scheme supported by FreeBSD's hostapd - give debugging information that makes

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
On May 18, 2009, at 5:32 PM, Peter Steele wrote: No, I'm not sending a signal within a signal. The signal handler is this: pthread_mutex_lock(&keep_running_mutex); KEEP_RUNNING = 0; pthread_cond_signal(&keep_running_cond); pthread_mutex_unlock(&keep_running_mutex); This works fine, but at som

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
Hi-- On May 18, 2009, at 2:45 PM, Peter Steele wrote: This is basically what we doing. When the handler is triggered we set a global variable to indicate the system is shutting down. I also signal a condition to wake up a sleeping thread. The lack of log messages indicate that this handler

Re: Why would a kill -2 not work?

2009-05-18 Thread Chuck Swiger
Hi-- On May 18, 2009, at 9:23 AM, Peter Steele wrote: Under what circumstances might a "kill -2 nnn" not work. I have a Python app with a signal handler configured to catch INT signals. It seems to work fine, but we've recently noticed that after the app has run for a while the kill -2 no l

Re: Where am I wasting resources? How to fix this problem?

2009-04-30 Thread Chuck Swiger
Hi, VeeJay-- On Apr 30, 2009, at 12:02 PM, VeeJay wrote: Guys, I am not very good on freebsd, its you guys who help me to keeping my server up... I hope you can spare a few minutes to sort this problem... last pid: 19656; load averages: 1.00, 1.00, 1.00 up 2+05:00:12 19:18:47 3049 proce

Re: Where am I wasting resources? How to fix this problem?

2009-04-30 Thread Chuck Swiger
Hi, VeeJay-- On Apr 30, 2009, at 12:02 PM, VeeJay wrote: Guys, I am not very good on freebsd, its you guys who help me to keeping my server up... I hope you can spare a few minutes to sort this problem... last pid: 19656; load averages: 1.00, 1.00, 1.00 up 2+05:00:12 19:18:47 3049 proce

Re: mysql hiding from top

2009-04-27 Thread Chuck Swiger
On Apr 27, 2009, at 10:33 AM, Zbigniew Szalbot wrote: Ah-- I've heard rumors that top or something doesn't handle accounting for CPU time used by multithreaded processes very well... OK. Well I have never had any problem with that on FreeBSD 7.0- RELEASE. It started misbehaving today right a

Re: mysql hiding from top

2009-04-27 Thread Chuck Swiger
On Apr 27, 2009, at 10:22 AM, Zbigniew Szalbot wrote: PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND [ ... ] 32906 mysql 37 40 76636K 41664K sbwait 1 0:00 0.10% mysqld It does appear at times but it is showing 0:00 TIME. But compare it to the same

Re: mysql hiding from top

2009-04-27 Thread Chuck Swiger
Hi-- On Apr 27, 2009, at 9:49 AM, Zbigniew Szalbot wrote: However, if you grep processes, you can see it should be displayed in the top entries. $ ps ax |grep mysql 32880 p0- I 0:00.00 /bin/sh /usr/local/bin/mysqld_safe... 32906 p0- S 1:33.72 /usr/local/libexec/mysqld... I can liv

Re: strange routing behaviour with openvpn

2009-04-24 Thread Chuck Swiger
Hi, Neo-- On Apr 24, 2009, at 3:26 PM, Neo [GC] wrote: After my router gets a new IP, the openvpn client reconnects to the server and the tunnel is usable from free...@home to free...@external. But: I have one Vista and one OSX at home, both have static routes to the FreeBSD-box. They are abl

Re: MySQL without Innodb

2009-04-23 Thread Chuck Swiger
On Apr 23, 2009, at 7:08 AM, Mark wrote: I'm getting a weird compilation error (see below); hence, I figured I skip as much engines as possible during the compilation process. Done with gcc 2.95.4, btw. Really...why such an old compiler version? I think that even FreeBSD-5.0 shipped with g

Re: Modern FreeBSD Installer?

2009-04-22 Thread Chuck Swiger
On Apr 22, 2009, at 12:27 PM, Fritz wrote: Hi, As a big fan (and paying subscriber) Interesting-- I wasn't aware that the FreeBSD project had a paid subscription model...? ...of FreeBSD it pains me to ask this question: When are you going to build a modern installer for FreeBSD? I loo

Re: "No route to host" when trying to connect to FTP server on the Internet

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 1:35 PM, Redd Vinylene wrote: I think I just got some help on IRC: is it on the local network of your firewall and not this computer? yes! thats why you can't connect to it Suggestions on how to fix this problem using pf would be greatly appreciated though. Many th

Re: "No route to host" when trying to connect to FTP server on the Internet

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 1:25 PM, Redd Vinylene wrote: Yeah, the default route is set. Routing works just fine. In fact, it's been working for years. It's just this one FTP server that it won't connect to. Then it could be a legitimate error being returned by a remote router, also. traceroute/

Re: "No route to host" when trying to connect to FTP server on the Internet

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 11:40 AM, Redd Vinylene wrote: I'm trying to connect to my friend's FTP server but I'm getting a "No route to host" when trying from my NAT workstation. It works just fine when I connect from my NAT server though. Internet -> NAT server (192.168.187.1) -> NAT workstation

Re: Preventing ntpd from adjusting time (backwards)

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 11:57 AM, Mel Flynn wrote: [ ... -x option... ] Hmm, that might work. Thanks! Sure. It should be surprising that your clock would jump by 6 seconds. Do you have adequate upstream timesources (ie, at least 4) configured, is your local HW clock busted somehow, or are you

Re: Preventing ntpd from adjusting time (backwards)

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 11:33 AM, Mel Flynn wrote: On Tuesday 21 April 2009 20:29:18 Chuck Swiger wrote: On Apr 21, 2009, at 11:23 AM, Mel Flynn wrote: Now I'm also wondering how ntpd handles securelevel 2. "man init" suggests that stepping the clock by more than a second is di

Re: Preventing ntpd from adjusting time (backwards)

2009-04-21 Thread Chuck Swiger
On Apr 21, 2009, at 11:23 AM, Mel Flynn wrote: Now I'm also wondering how ntpd handles securelevel 2. "man init" suggests that stepping the clock by more than a second is disallowed: 2 Highly secure mode - same as secure mode, plus disks may not be opened for writing (exce

Re: Preventing ntpd from adjusting time (backwards)

2009-04-21 Thread Chuck Swiger
Hi, Mel-- On Apr 21, 2009, at 2:06 AM, Mel Flynn wrote: Some coarse reading of ntpd(8) and ntp.conf(5) doesn't lead me to believe it's possible to make ntpd *not* adjust the time. With adjust I don't mean the skew operation, but really change the time. Perhaps I've missed it elsewhere in t

Re: make install krb5 conflict with heimdal

2009-04-09 Thread Chuck Swiger
On Apr 9, 2009, at 11:29 AM, Gary Gatten wrote: This actually makes a little sense - thanks for the pointers! G BTW: Is top posting bad? I prefer top posts, but if the list doesn't like it I'll change. I'll find the rules and read them! Top posting is widely considered bad on the FreeBSD li

Re: make install krb5 conflict with heimdal

2009-04-09 Thread Chuck Swiger
On Apr 9, 2009, at 11:21 AM, Gary Gatten wrote: This is a new thread, so not sure what you mean? Maybe my other posts re. new package system? Unintentional hijack - just venting, sorry. I'm aware of the pkg_delete -f; but I don't want to break FreeRADIUS. This will process involves getting Fre

Re: Copying files without scp

2009-04-07 Thread Chuck Swiger
On Apr 7, 2009, at 4:13 PM, Steve Bertrand wrote: I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server within a private datacentre. Can someon

Re: low-level format before install?

2009-04-07 Thread Chuck Swiger
On Apr 7, 2009, at 12:44 PM, John Almberg wrote: That sounds like either a hardware problem (ie CPU overheating or marginal PSU failing under production load), or less likely, some kind of software misconfiguration. System logs would be useful to see whether any signs of trouble are being m

Re: low-level format before install?

2009-04-07 Thread Chuck Swiger
On Apr 7, 2009, at 12:15 PM, John Almberg wrote: Well, I've got real problems with that database server that lost power over the weekend. We reloaded FreeBSD from scratch and then reinstalled mysql, and pf. I loaded up my database and switched over all my customer's websites. The database se

Re: most signals not being delivered to processes

2009-03-26 Thread Chuck Swiger
Hi, Ian-- On Mar 26, 2009, at 12:40 PM, Ian Rose wrote: I'm new to this list so if this question is better directed elsewhere please point me in the right direction. Welcome; this list is a good place. My research group has a server running 7.2-PRERELEASE and an odd problem has cropped up:

Re: Text mode dialog library like TSO

2009-03-19 Thread Chuck Swiger
On Mar 19, 2009, at 4:13 PM, Polytropon wrote: I'm searching for something really strange, maybe some reader will be able to tell me what I'm searching for. :-) For a special application, I need a programmable dialog library that has... well, how to describe it... anyone know SIOS? Or at least T

Re: Formatting a tape?

2009-03-19 Thread Chuck Swiger
On Mar 19, 2009, at 9:15 AM, Jaime wrote: I have a DLT tape drive in a FreeBSD system. With one of the tapes, I can get "tar -cvpf /dev/sa0 -C / ." to work. With all the other tapes, I can't. Is there some kind of formatting process that I need to do? I tried "mt fsf 1" from this page: Wha

Re: Stop all manner of periodic scripts from running

2009-03-17 Thread Chuck Swiger
On Mar 17, 2009, at 5:09 PM, Steve Bertrand wrote: Although SMTP is denied, I just realized that there are numerous messages from periodic scripts that are queued up that can't be sent. Can someone advise how to find out each and every periodic script that tries to send out email (given a standa

Re: TCP congestion avoidance

2009-02-26 Thread Chuck Swiger
On Feb 26, 2009, at 1:41 PM, Ross Cameron wrote: Where can I find more documentation on these types of settings in FreeBSD The FreeBSD Handbook and Google will help for the general case, but for specific details, reading the source is recommended. and How can I choose between more

Re: TCP congestion avoidance

2009-02-26 Thread Chuck Swiger
On Feb 26, 2009, at 1:02 PM, Ross Cameron wrote: Bump,... Sorry guys (semi-urgent question and I really need the help im not a fBSD guru) As a suggestion, you ought to give the FreeBSD mailing lists at least a few hours, or better yet a day or so, before repeating a question due to l

Re: OT: The official stool for FreeBSD users?

2009-02-25 Thread Chuck Swiger
On Feb 25, 2009, at 3:15 PM, Chad Perrin wrote: Please explain to me how blocking Flash makes this site usable: http://www.corazon-design.com/ Considering that they've got 10 errors in 37 lines of HTML per: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.corazon-design.com I'm not conv

Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Chuck Swiger
On Feb 18, 2009, at 12:29 PM, GESBBB wrote: I am a little confused. I believe the problem is with the "if [ ! -t 0 ]" statement. I tried to redirect the error message; however, it still appears in the email sent by CRON. I tried using this statement instead: if ( ! tty -s &> /dev/null ) and

Re: freebsd and freeradius

2009-02-17 Thread Chuck Swiger
On Feb 17, 2009, at 10:44 AM, gahn wrote: No, there is no # in any lines of /etc/passwd. Did you check /etc/master.passwd also? Btw, what is this "src/etc/master.passwd" for? A line like: # $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $ ...indicates the CVS rev

Re: Can't find the Kernel

2009-02-17 Thread Chuck Swiger
Hi-- On Feb 17, 2009, at 10:36 AM, Dixit, Viraj wrote: Got you name from the mailing list, looks like you have good knowledge of BSD, can you tell me how to fix my kernel issue. I had built Free BSD 7.0 system that worked fine for four days then I had to move my system to another place and th

Re: freebsd and freeradius

2009-02-17 Thread Chuck Swiger
Hi-- On Feb 17, 2009, at 10:20 AM, gahn wrote: rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. rlm_unix: GID too long in line: # $FreeBSD: src/etc/master.passwd,v 1.40.18.1 2008/11/25 02:59:29 kensmith Exp $ rlm_unix: [test]: invalid

Re: Old user can't log in

2009-02-13 Thread Chuck Swiger
On Feb 12, 2009, at 10:21 PM, Da Rock wrote: So you're talking in terms of the FS only? Nope. A filesystem might have ACL capability available in it's specification, but without kernel and userland support, that capability isn't accessible or meaningful. I thought you said the kernel wa

Re: Old user can't log in

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 8:52 PM, Da Rock wrote: With reasonable organization, and appropriate use of sudo or setgid binaries for things like people who use SVN or CVS, there generally isn't reason or need for a user to be in so many groups. For the exceptional cases, switching to using a full ACL sy

Re: Old user can't log in

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 8:17 PM, Da Rock wrote: I've been following this thread with interest: are you saying FreeBSD logins cannot handle more than 16 groups? If so, why? Is this mitigated by using other authentication methods (ie kerberos, ldap, etc)? There's a compile-time limit of the releva

Re: Old user can't log in

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 3:14 PM, John Almberg wrote: Just ran into a strange problem... I have a long-standing user account on my FreeBSD box that no longer works. She can't ssh into the box, and I can't even su to her account. $ su jessica Password: su: setusercontext: Invalid argument Does g

Re: accents in file names

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 2:50 PM, Wojciech Puchar wrote: accented letter to my freebsd box, the accented letter simply disappear. UFS supports 8-bit characters except for "/" and "\0", but you also need to run a terminal with UTF8 support and use a correct font to view such things. why? i use

Re: accents in file names

2009-02-12 Thread Chuck Swiger
On Feb 12, 2009, at 1:46 PM, Daniel Leal wrote: is there a way to have a freebsd system with file names with accented words. Like "filé.txt" instead of "file.txt". Now if I copy a file with an accented letter to my freebsd box, the accented letter simply disappear. UFS supports 8-bit chara

Re: Restricting users to their own home directories / not letting users view other users files...?

2009-02-11 Thread Chuck Swiger
On Feb 11, 2009, at 8:22 AM, Keith Palmer wrote: We have a FreeBSD server with multiple users. I would rather each user *not* be able to view other users' files via an SSH or SFTP session. i.e. if I'm logged in as "keith" I should *not* get a list of files when I do "ls /home/shannon" I rea

Re: Laptop battery life on FreeBSD

2009-01-27 Thread Chuck Swiger
On Jan 27, 2009, at 4:49 PM, Shawn Badger wrote: Have you tried reducing HZ to 100 (put kern.hz="100" in /boot/ loader.conf and reboot)? Are you running powerd? Look into "sysctl hw.acpi" and "sysctl debug.cpufreq" Thanks for the ideas Chuck. I lowered kern.hz to 100 as you suggested

Re: Laptop battery life on FreeBSD

2009-01-27 Thread Chuck Swiger
On Jan 27, 2009, at 3:19 PM, Shawn Badger wrote: I'm somewhat of a minimalist and don't use X11. I've disabled the bluetooth adapter, but frequently use my wireless adapter (intel pro/ 2200bg). Does anyone have any suggestions that could potentially extend my battery life? Have you tried

Re: Re[2]: Can not set up two ADSL link to provider

2009-01-27 Thread Chuck Swiger
On Jan 27, 2009, at 11:23 AM, KES wrote: CS> ...talks about "After you configure the LAG bundle, you can route IP CS> traffic over it, create a VLAN over it, or route PPPoE traffic over it." I do not want to aggregate links. I want use them as standalone I had two servers, two lans and two A

Re: Can not set up two ADSL link to provider

2009-01-26 Thread Chuck Swiger
On Jan 26, 2009, at 3:34 PM, KES wrote: I can not setup two ADSL PPPoE Links to same provider. Because of imposibility to setup route for second connection First connection gets: ng0: flags=88d1 metric 0 mtu 1492 inet 92.113.94.215 --> 195.5.5.203 netmask 0x Second can not be e

Re: printf and utf-8

2009-01-26 Thread Chuck Swiger
On Jan 26, 2009, at 3:05 PM, Svein Halvor Halvorsen wrote: Do you have a suggestion to solve the following problem without using printf(1): I have a text file that I want to print in a "box" on a terminal from a shell script. Now I've padded the lines with spaces to a certain length using

Re: printf and utf-8

2009-01-26 Thread Chuck Swiger
On Jan 26, 2009, at 1:58 PM, Svein Halvor Halvorsen wrote: As far as I can see, printf is not calculating strings lengths correctly when using utf-8 encoding. Either that, or I'm using byte count, and can't find the character count :-/ printf(1) explicitly states that it works with ASCII and

Re: Backup program on FreeBSD for DLT drive

2009-01-22 Thread Chuck Swiger
On Jan 22, 2009, at 11:30 AM, bsd wrote: I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. I would need a simple tool that could be configured rapidl at that's stable enough to provide high security for the data. Ideally any good poin

Re: load average + with no visible load ?

2009-01-22 Thread Chuck Swiger
On Jan 22, 2009, at 6:01 AM, Laszlo Nagy wrote: #uptime 9:06AM up 6:14, 12 users, load averages: 25.39, 13.19, 9.55 I would think that CPU is under 100% when load=15.58 . But it is not: See: http://en.wikipedia.org/wiki/Load_average A high load average should have your CPUs running near 10

Re: slices to "dangerously dedicated"

2009-01-20 Thread Chuck Swiger
On Jan 20, 2009, at 11:47 AM, Robert Huff wrote: Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to "dangerously dedicated" without backup-wipe-relabel-restore cycle? Nope. Since you'd only gain a megabyte of disk space (pro

@Scott Aitken, was: disabling queuewarn DSN when mailhub delivers to specific host

2009-01-19 Thread Chuck Swiger
2009 10:17:06 -0800 (PST) Final-Recipient: rfc822; sc...@thismonkey.com Original-Recipient: rfc822;sc...@thismonkey.com Action: failed Status: 5.7.1 Remote-MTA: dns; server-03.thismonkey.com Diagnostic-Code: smtp; 550 5.7.1 ... Relaying denied From: Chuck Swiger Date: January 19, 2009 10:17

Re: disabling queuewarn DSN when mailhub delivers to specific host

2009-01-19 Thread Chuck Swiger
On Jan 18, 2009, at 12:53 AM, Scott Aitken wrote: If my exchange server is down for whatever reason, after confTO_QUEUEWARN expires my mailhub sends the sender a delay DSN. Because I consider this mail to have already been accepted into my network, and has been delivered locally at least, ca

Re: Last commmand showing resolved hostname

2009-01-17 Thread Chuck Swiger
On Jan 17, 2009, at 11:20 AM, Troy wrote: I have a question. Is there a way that you can make the 'last' command display the DNS resolved name of the users that have logged into a machine rather than the IP address. Showing both name and IP address would be even better. The issue is that

Re: kernel configuration

2009-01-15 Thread Chuck Swiger
On Jan 15, 2009, at 11:31 AM, Dan Nelson wrote: Actually, those functions are only enabled if the CPU is truly a 586-class processor. See /sys/i386/isa/npx.c , the npx_attach() function. There is a test for cpu_class==CPUCLASS_586, while most modern CPUs are CPUCLASS_686. Thanks for the addi

Re: kernel configuration

2009-01-14 Thread Chuck Swiger
On Jan 14, 2009, at 12:44 PM, t-u-t wrote: While it is true that you can comment out all but i686 and get a working kernel, you will experience reduced performance. There are a number of low-level assembly routines (cf sys/i386/i386/support.s such as i586_bcopy) that are conditionalized off

Re: Should swap space be mirrored via geom?

2009-01-14 Thread Chuck Swiger
On Jan 14, 2009, at 8:04 AM, Peter Steele wrote: We have been debating whether or we should mirror the swap partitions as well. I set it up not mirrored based on some articles I read on the net, but we're concerned what might happen to a system if a drive died at a time when the its swap part

Re: kernel configuration

2009-01-14 Thread Chuck Swiger
On Jan 14, 2009, at 10:15 AM, Ewald Jenisch wrote: On Wed, Jan 14, 2009 at 04:37:53PM +0100, icemaca wrote: this i386 version has cpu I486_CPU cpu I586_CPU cpu I686_CPU Basically you can comment all but I686_CPU since the others are for earlier x86 archit

Re: receiving mail

2009-01-14 Thread Chuck Swiger
On Jan 13, 2009, at 11:51 PM, Pieter Donche wrote: on host1: $ host -t MX macos.cmi.ua.ac.be returns no answer It is recommended to configure MX records for the domains in DNS, but mail will fall back to using A records if no MX records exist. But, when I try from host1 $ telnet host2.doma

Re: NFS or an alternative?

2009-01-13 Thread Chuck Swiger
On Jan 12, 2009, at 9:56 PM, Jay Hall wrote: I am in the process of redesigning my organization's network. And, since we will be using mostly Macintosh OS X clients, I am considering using NFS. However, I will need the ability to perform user/group authentication since users may not always

Re: FreeBSD Transition Questions.

2009-01-13 Thread Chuck Swiger
On Jan 13, 2009, at 9:54 AM, Grant Peel wrote: A couple of more questions if anyone has the time. 1. I have been searching for a iTunes client. i.e. a player that I can play my iTunes on. Does such a thing exist? Mplayer and xine should understand and be able to play unprotected AAC files.

Re: issue with extra top level domain appened to mail

2009-01-08 Thread Chuck Swiger
On Jan 8, 2009, at 1:48 PM, Matthew Davidson [DATACOM] wrote: [ ... ] SYSTEM IDENTITY (after readcf) (short domain name) $w = MATDAV (canonical domain name) $j = MATDAV.datacom.net.nz (subdomain name) $m = datacom.net.nz (node name) $k = MATDAV

Re: Restore deleted files

2009-01-08 Thread Chuck Swiger
On Jan 8, 2009, at 3:28 PM, Polytropon wrote: I'd like to ask a two-stage question: 1. Is it possible to recover files that have been deleted? 2. Which tools or procedures are suggested for recovery? The preferred method is to recover files from backup. If you don't take backups, you've de

Re: issue with extra top level domain appened to mail

2009-01-08 Thread Chuck Swiger
On Jan 8, 2009, at 1:23 PM, Matthew Davidson [DATACOM] wrote: I have a problem with a vanlia 6.3/6.4 install that any mail generated gets an extra top level domain appended to the domain. This is causing mail delivery failures and much frustration. Run "/usr/libexec/sendmail/sendmail -bt -d 0.

Re: Do UDP broadcasts work in FreeBSD?

2009-01-06 Thread Chuck Swiger
On Jan 6, 2009, at 8:49 AM, Peter Steele wrote: Our efforts so far indicate the answer is no, which baffles us. We want to send a limited broadcast to 255.255.255.255 but the message never arrives. The same code works fine under Linux. Is there a trick for doing this kind of thing under FreeBSD

Re: su qeustion

2008-12-17 Thread Chuck Swiger
On Dec 17, 2008, at 12:12 PM, Jonathan Moore wrote: I just installed FreeBSD with Gnome. And I changed the shell when I was logged ito the terminal as su root. Now when I try to log in to su it asks for a password and I get "su: /usr/bin/csh: No such file or directory" how can I change it

Re: named and ntpd start order in rc.d

2008-12-03 Thread Chuck Swiger
On Dec 3, 2008, at 1:01 PM, Nerius Landys wrote: [ ... ] Does anyone know why I'm getting 2 ntpd processes running after bootup (and ntpd fails to adjust the clock as a result)? Any suggested fix would be appreciated. When ntpd first starts up, it forks a child process to perform DNS resolut

Re: mx1.freebsd.org

2008-12-02 Thread Chuck Swiger
On Dec 1, 2008, at 11:30 PM, Ebbe Hjorth wrote: My postfix mail servers shows to messages in the queue saying (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) But when i do a lookup or a reve

Re: realtime network replication

2008-11-18 Thread Chuck Swiger
On Nov 17, 2008, at 5:32 PM, Ansar Mohammed wrote: Ok, I have /home on one server, I need to REPLICATE /home to another server in realtime. Kinda like a mirror, but over a network. I don't want to use rsync because its not realtime. Yeah, your problem description is clear enough. If you wa

Re: realtime network replication

2008-11-17 Thread Chuck Swiger
On Nov 17, 2008, at 5:25 PM, Ansar Mohammed wrote: I need to replicate /home between two freebsd servers in real time (no scheduled rsyncs) What are my options? Most people use a network file system (ie, NFS, Samba/CIFS, etc) for this sort of thing -- -Chuck __

Re: CARP-Like Solution With Machines On Different Networks?

2008-11-17 Thread Chuck Swiger
On Nov 17, 2008, at 7:57 AM, Alex Kirk wrote: After doing some research on the matter, it looks like CARP would be a winning solution - but only if the backup system was on the same network segment as the primary box. Given that there's no money to colocate a second backup system at the same

Re: Behaviour of su(1)

2008-10-31 Thread Chuck Swiger
Hi-- On Oct 31, 2008, at 11:33 AM, Frédéric Perrin wrote: When I « su - » to root (after being logged in as my normal user), the LOGNAME env variable is still set to my previous user, as in : , | [EMAIL PROTECTED]:~% /usr/bin/su -l | Password: | [EMAIL PROTECTED]:~# echo $USER - $LOGNAME |

Re: Script-friendly (parseble) ps(1) output?

2008-10-29 Thread Chuck Swiger
On Oct 29, 2008, at 3:02 PM, Eduardo Meyer wrote: I need to write a cgi script which will print the output from ps(1) in a table (html), so the average-operator can click on a KILL link and the cgi will send the selected signal. Rather than rolling your own web-based admin tool, why not try s

Re: no reverse dns

2008-10-29 Thread Chuck Swiger
On Oct 29, 2008, at 11:10 AM, Robin Becker wrote: We have just moved offices and our freebsd machine has started complaining in the following terms Oct 29 17:14:39 int kernel: arplookup ww.xx.yy.zz failed: host is not on local network We have an external router connected as a dhcp server a

Re: How can I get the screenshots only under the command-line?

2008-10-28 Thread Chuck Swiger
Hi-- On Oct 28, 2008, at 9:16 AM, zhenghua wang wrote: I wanna get some screenshots of my command-line-only system(8- current),how can I perform this? Thanks a lot,looking forward to your mail. See "man vidcontrol", as in: The following command will capture the contents of the first v

Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-28 Thread Chuck Swiger
On Oct 28, 2008, at 9:49 AM, Francis Dubé wrote: Here's an example of top's output regarding our httpd process : 54326 apache1 960 156M 13108K select 1 0:00 0.15% httpd 54952 apache1 960 156M 12684K select 1 0:00 0.10% httpd 52343 apache1 40

Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-27 Thread Chuck Swiger
On Oct 27, 2008, at 12:38 PM, FreeBSD wrote: You need to keep your MaxClients setting limited to what your system can run under high load; generally the amount of system memory is the governing factor. [1] If you set your MaxClients higher than that, your system will start swapping under th

Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-27 Thread Chuck Swiger
On Oct 27, 2008, at 11:39 AM, Francis Dubé wrote: I've read that this is mainly caused by Apache spawning too many processes. Everyone seems to suggest to decrease the MaxClients directive in Apache(set to 450 at the moment), but here's the problem...i need to increase it ! During peaks all

Re: I've just found a new and interesting spam source - legitimate bounce messages

2008-10-16 Thread Chuck Swiger
On Oct 16, 2008, at 9:38 AM, RW wrote: SPF increases the probability of spam being rejected at the smtp level at MX servers, so my expectation would be that it would exacerbate backscatter not improve it. The main problem resulting in backscatter happens when forged spam from yourdomain.co

Re: [Fwd: Suhosin Segmentation Fault]

2008-10-15 Thread Chuck Swiger
Hi, all-- On Oct 15, 2008, at 12:47 PM, Matt wrote: It's been a while since I've looked at the suhosin options and I can't remember what the differences are between the extension and the core-php patch. If you check the following, they discuss the difference in protection between using just

Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread Chuck Swiger
On Oct 9, 2008, at 2:59 PM, Grant Peel wrote: Problem: I can't stay logged into the Mailman web interface. Each time I submit a form, I am logged out. When I do log in, If I look on my local machine, I cant find a session cookie anywhere. It like is never set. And the Mailman documentation c

Re: facility for mobile DDR RAM

2008-09-26 Thread Chuck Swiger
On Sep 26, 2008, at 6:51 AM, john seth wrote: I want to know whether there is facility for mobile DDR RAM, so that we can switch of a bank(s) without loosing the data in other bank(s).. Swapping RAM without taking down the system is feature or capability of high-end hardware like Sun

Re: quick slice question..

2008-09-23 Thread Chuck Swiger
On Sep 23, 2008, at 12:33 PM, B. Cook wrote: I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? Not safely, no-- you should leave b for swap and c for the whole partition. Speaking of which, if you've got unallocated disk space available, you can create anoth

Re: My unqualified host name

2008-09-23 Thread Chuck Swiger
On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote: I got the following error message on boot: "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for retry" Do you have any idea? Yes, sendmail expects your machine to have working DNS and for the machine to have a va

Re: kill -KILL fails to kill process

2008-09-19 Thread Chuck Swiger
On Sep 19, 2008, at 10:41 AM, Steve Franks wrote: The only way to get rid of it is to reboot. Now, given the behavior, I'd have to suspect something underlying as the true source of the problem, but shouldn't kill kill it anyway - I mean, isn't there some way to kill a process that's stuck waiti

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