Re: souce code for the halt program.

2008-08-26 Thread Chuck Swiger
Hi-- On Aug 26, 2008, at 12:47 PM, Christopher Joyner wrote: How can I get the source code for the /sbin/halt program? When I run that program, it causes my cpu fan to speed up. I want to look at it, because I believe I can fix that problem. halt is a hard link to reboot: % ident

Re: rtprio + su - doesn't work

2008-08-22 Thread Chuck Swiger
On Aug 22, 2008, at 6:28 AM, Wojciech Puchar wrote: tu run (at startup) asterisk PBX as user centrala with realtime priority. asterisk is started, but without realtime priority. Yes, you'd be running the su process with realtime priority. :-) and su forks shell and asterisk - isn't it?

Re: /etc/groups gone

2008-08-21 Thread Chuck Swiger
On Aug 21, 2008, at 9:05 AM, [EMAIL PROTECTED] wrote: Is there any better way of rebuilding /etc/groups than guessing and manually adding one-by-one. Can I somehow list all group IDs used by the file system? You should start with /usr/src/etc/group, which is the original version of the

Re: rtprio + su - doesn't work

2008-08-21 Thread Chuck Swiger
On Aug 21, 2008, at 2:04 PM, Wojciech Puchar wrote: i run such command /usr/sbin/rtprio 31 /usr/bin/su centrala -c \ /usr/local/bin/asterisk -C /centrala/etc/asterisk.conf tu run (at startup) asterisk PBX as user centrala with realtime priority. asterisk is started, but without realtime

Re: Python script for configuring wifi hot spots on FreeBSD

2008-08-20 Thread Chuck Swiger
Hi, Andrew-- On Aug 20, 2008, at 8:44 AM, Andrew Gould wrote: 2. I store data in Python dictionaries. When I display the dictionaries, the numbered options are not in order and I can't figure out how to sort them. This appears to be a cosmetic issue only; but it still bothers me. If

Re: [OT] Evaluate strings in bash

2008-08-20 Thread Chuck Swiger
On Aug 20, 2008, at 9:31 AM, Matias Surdi wrote: I've the following variable: [code] # echo $BINMAKE `if [ -x /usr/obj/usr/src/make.i386/make ]; then echo /usr/obj/usr/ src/make.i386/make; else echo make; fi` -m /usr/src/share/mk # [/code] It's a string wich includes a commmand. How can I

Re: Unable to access certain sites from FreeBSD 6.2

2008-08-20 Thread Chuck Swiger
Hi-- On Aug 20, 2008, at 5:10 PM, [EMAIL PROTECTED] wrote: How do I run an ipfw divert rule to net/tcpmssd process ? Where do I set this rule? The idea is that you have to run tcpmssd on a port, and then do: ipfw add divert _port_ all from any to any via _interface_ If you are already

Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Chuck Swiger
On Aug 19, 2008, at 10:16 AM, Derrick Ryalls wrote: For example, if I was relaying for example.org on port 2345, I would specify example.org:2345 and that is the port it would use to talk to example.org. Now that I have switched to sendmail, I don't see a way to set the destination port on a

Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Chuck Swiger
On Aug 19, 2008, at 12:01 PM, Derrick Ryalls wrote: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown configuration line relay_port_587, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):

Re: ipv6 portsnap servers

2008-08-18 Thread Chuck Swiger
On Aug 17, 2008, at 11:10 PM, R Dicaire wrote: Hi folks, I searched google and this mailing list and could find no specific mention of ipv6 support for portsnap. I also checked for records for the three portsnap mirrors portsnap1, 2, and 4.freebsd.org, no . I have an ipv6 only install,

Re: Looking for this special software?

2008-08-16 Thread Chuck Swiger
On Aug 16, 2008, at 9:22 AM, perikillo wrote: My boss need a software for the company, where everyone could put reports(xls, word, pdf), change information, with user rights, put meetings, and just with a browser everyone could access the company information. I was reading a magazine and

Re: $ORIGIN problem in freebsd 6.2

2008-08-14 Thread Chuck Swiger
Bonjour-- On Aug 14, 2008, at 3:03 PM, Oancea Ionut-Francisc wrote: Is here another solution to set up the search path to the same dir with the executable?...or I must to update my /libexec/ld-elf.so. 1 and my 'ld' utility(the version of ld is 2.15) It's likely that man ldconfig or

Re: Video streaming with freeBSD

2008-08-11 Thread Chuck Swiger
On Aug 11, 2008, at 11:23 AM, Sam Fourman Jr. wrote: Some year back I was meddling around with VLC (videolan) that does a pretty good job of the streaming part. There was issues with threads at the time so I let it rest though. Do you have any Idea, how much bandwidth it takes to stream

Re: KDE4 libssl conflicts

2008-08-11 Thread Chuck Swiger
Hi-- On Aug 11, 2008, at 3:57 PM, Warren Liddell wrote: How do i avoid//overturn this conflict ? You've got a mix of older and newer library versions, which makes me think that you are trying to do a partial upgrade of your ports after upgrading the FreeBSD base system to a newer version.

Re: 7-stable packages on 7.0-release system?

2008-08-09 Thread Chuck Swiger
On Aug 9, 2008, at 8:06 AM, Torgeir Hoffmann wrote: Are packages for 7-stable mostly binary compatible with 7.0-release? Or should I just upgrade to 7-stable? Can 7-stable be trusted to run smoothly in most cases? I saw in one thread on the freebsd-stable list that 7-stable was more like

Re: [dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Chuck Swiger
Hi-- On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote: Hi, If I had hair I'd be pulling it out now. I cannot find adequate help anywhere as yet for this issue. I've installed the ISC dhcpd program from ports and am struggling to get it setup properly. As I mentioned in my other e-mail, I

Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Chuck Swiger
On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote: On freebsd7, How to set quota for a directory? For instance I want to set 100Mbyte quota for a directory. How can I do that ? Quotas are handled per filesystem, not per directory. See man quotaon man quotacheck, or the FreeBSD Handbook.

Re: Remote host replies to SYN+FIN

2008-08-07 Thread Chuck Swiger
On Aug 7, 2008, at 11:33 AM, kalin m wrote: does anybody have any idea how to resolve this? thanks.. kalin m wrote: hi all... after setting up a pf rule set on one of newly installed freebsd 7 i did a scan with nessus 3 on that machine the result i got was like this one:

Re: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library)

2008-08-07 Thread Chuck Swiger
On Aug 7, 2008, at 12:31 PM, Andrea Venturoli wrote: You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have

[OT] Re: apple mac laptop.

2008-08-07 Thread Chuck Swiger
On Aug 7, 2008, at 3:42 PM, Gary Kline wrote: My daughter wants a laptop; the only brand [ AFAIC ] is Apple. amazon.com seems to have a fair price. Her school requires Word, for some reason. {maybe because we're in X-Bill country:} Anyway, if anybody onlist knows of a better place to buy an

Re: When gcc43 is expected to be in base?

2008-08-04 Thread Chuck Swiger
On Aug 4, 2008, at 4:09 PM, Gary Kline wrote: On Mon, Aug 04, 2008 at 04:52:37PM -0400, Gerard wrote: Since it appears to be apparent that newer software might very well be released under the GPLv3 license, it might behoove the FreeBSD team to rethink its ideas or beliefs regarding the

Re: Is it Better to Wait until the 6.3 Upgrade to build bind?

2008-07-25 Thread Chuck Swiger
On Jul 25, 2008, at 11:32 AM, Martin McCormick wrote: Several 6.2 systems are about to be upgraded to FreeBSD6.3. They run bind which also must be upgraded to the new patched version. Should I wait to build the new bind port until after the systems are upgraded or does it

Re: [OT ? ] getting stats out of network capture

2008-07-24 Thread Chuck Swiger
Hi-- On Jul 24, 2008, at 5:12 PM, Norberto Meijome wrote: I'm interested in knowing the application level RTT for a HTTP application - ie, not from SYN , SYN/ACK ... FIN , FIN/ACK , but from the POST (http.request in wireshark) by an app on my side to the response by the server

Re: Spamassasin running as root!

2008-07-24 Thread Chuck Swiger
On Jul 24, 2008, at 7:26 PM, lyd mc wrote: How to create a user for spamd correctly or securely? You should have had a spamd user group created automatically from / usr/ports/mail/p5-Mail-SpamAssassin/pkg-install. If you aren't using ports, well, you should start doing so. Regards, --

Re: system hangs on boot up if no internet available

2008-07-23 Thread Chuck Swiger
On Jul 23, 2008, at 2:25 PM, Dave Abouav wrote: I setup a FreeBSD server (v 6.1) for my company as a simple Samba server. It works fine. Except once in awhile our access to the outside internet goes out (due to our ISP), and when it does the FreeBSD server gets hung up, even after rebooted.

Re: groups, using www as kline

2008-07-21 Thread Chuck Swiger
On Jul 21, 2008, at 10:50 AM, Gary Kline wrote: is there a way of modifing etcgroup to let me edit files chown'd www:kline as kline? after all, i am in the wheel and operator group. Presuming you are in the kline group also, and that the files are group-writable, you

Re: Sendmail rulesets [OFFTOPIC]

2008-07-18 Thread Chuck Swiger
Hola, Efren-- On Jul 18, 2008, at 12:02 PM, Efren Bravo wrote: Someone can tell me where can I find a dedicated book or material of sendmail's rulesets? http://www.sendmail.org/documentation/books The O'Reily _sendmail_ book is the most comprehensive about writing and debugging

Re: Change email header .....

2008-07-14 Thread Chuck Swiger
On Jul 14, 2008, at 4:15 PM, Agus wrote: All i wanna do this time is change the mail from: header to another address... You didn't mention which mail server software you are using, but I'll assume sendmail. Look in /usr/share/sendmail/cf/README for MASQUERADE_AS and entries about

Re: weird restarts when compiling

2008-07-13 Thread Chuck Swiger
On Jul 13, 2008, at 4:38 AM, Aggelidis Nikos wrote: FATAL ERROR: Rounding was 0.5, expected less than 0.4 Hardware failure detected, consult stress.txt file. Torture Test ran 9 minutes - 1 errors, 0 warnings. so maybe it isn't even a psu problem but a cpu one? If it was strictly a problem

Re: Enabling root login without an administrator account

2008-07-10 Thread Chuck Swiger
Hi-- On Jul 10, 2008, at 1:58 PM, Veronica Labarca wrote: I have inherited a FreeBSD server and need to change the apache configuration, but cannot log in to the server. I have the root password (and know how to change it if needed in any case). The problem is that root login is disabled.

Re: ports

2008-07-08 Thread Chuck Swiger
On Jul 8, 2008, at 11:04 AM, Mel wrote: On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote: You can configure named to always send packets using a fixed port number (which can be helpful for firewalling) Purely outof interest, which (useful) firewall/nat rules cannot be made with dest

Re: httpd php dump

2008-07-05 Thread Chuck Swiger
kalin m wrote: [ ... ] i suspect the apache so module.. but not really sure executing php files on the cli is working fine to.. it must be the so... httpd and php are supposed to just work together. that's why core dump without any messages is a bit weired. supposed to is

Re: Default path.

2008-06-25 Thread Chuck Swiger
On Jun 25, 2008, at 2:20 PM, Peter Clark wrote: I have tried adding /usr/local/bin/openssl to path variable in /etc/ login.conf. I logged out and back in but it did not work. You might add /usr/local/bin to the path in /etc/login.conf, but then you need to run: cap_mkdb /etc/login.conf

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger
On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote: 1- I want to fix an ip address for each mac address. But some pc and servers have more than an ip address. How can I map multiple ip addresses for a mac address? Most people use ifconfig, perhaps indirectly via /etc/rc.conf. 2- I want to

Re: how to reject all mac addresses except some mac addresses using ipfw?

2008-06-24 Thread Chuck Swiger
[ ...please don't top-post... ] On Jun 24, 2008, at 11:42 AM, Yavuz Maslak wrote: But I should have asked different my first question. I have meant that how can I restrict to use an ip address which I already assigned to a computer, anyone can use at his pc? There is nothing which can

Re: Sendmail Masquerade Problem

2008-06-24 Thread Chuck Swiger
On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote: I have problem with sendmail that is giving me a headake. I can send mails als long when I give the from adres, but when I leave this out the server enters the localname and my ISP isn't accepting the mail. (i.e. echo 'test' | mail -vs test

Re: Replacing tape changer with USB disk drives.

2008-06-16 Thread Chuck Swiger
On Jun 16, 2008, at 3:59 PM, Christopher Sean Hilton wrote: I run FreeBSD 7.0-STABLE on a file server and until recently used a Tape Changer for backups. I'm considering my options for a new backup solution. I'm actually thinking of ditching tape and using an externally attached USB or

Re: Poor read() performance, and I can't profile it

2008-06-11 Thread Chuck Swiger
On Jun 11, 2008, at 12:42 PM, Kirk Strauser wrote: I'm almost ready to give up on this. I've gone as far as completely rewriting the original C++ program into straightforward C, and still the performance is terrible on FreeBSD versus Linux. On Linux, GNU libc buffers file data much more

Re: Troubleshooting a 3Ware 9550SX under 6.3

2008-06-09 Thread Chuck Swiger
On Jun 9, 2008, at 2:09 PM, Adam Bayless wrote: [ ... ] Unit UnitType Status %Cmpl Stripe Size(GB) Cache AVerify IgnECC -- u0RAID-5OK - 64K 2095.44 OFF OFF OFF

Re: Troubleshooting a 3Ware 9550SX under 6.3

2008-06-09 Thread Chuck Swiger
On Jun 9, 2008, at 3:09 PM, Adam Bayless wrote: Caching is off; that will kill performance especially for small transactions. If you've got battery backup for this system, consider enabling the onboard cache...? Chuck, that made an immediate and huge difference: # tw_cli set cache c0 u0

Re: [EMAIL PROTECTED] - does free distributed computing exist?

2008-05-24 Thread Chuck Swiger
On May 24, 2008, at 1:22 PM, Kelly Jones wrote: Is there a project that lets you donate spare CPU power to anyone who needs it? That is, a pool of CPU power that anyone can tap into for free to run computations that would otherwise take forever? Yes, see: http://boinc.berkeley.edu/

Re: Multiple instances of BIND at startup

2008-05-22 Thread Chuck Swiger
On May 22, 2008, at 1:39 PM, Jonathan Chen wrote: [ ... ] If this were true, the view feature would be broken. I've just tried this with a client-based ACL, and there doesn't appear to any cache-leaking across views. Any counter-examples would be welcome. Well, BIND is up to 28 published

Re: Problem Sending Mail With Postfix

2008-05-20 Thread Chuck Swiger
On May 19, 2008, at 7:03 PM, Paul Schmehl wrote: I'm not sure what the point of that is: Macintosh:~ pauls$ dig +short my.mywebsite.com Because of the way mx1.free.bsd.org was used (indicating that someone is trying to describe an error rather than actually copy it verbatim), I gathered

Re: Shell scripting - suppressing and eliminating error messages

2008-05-20 Thread Chuck Swiger
Hi, Paul-- On May 20, 2008, at 3:36 PM, Paul Schmehl wrote: I'm using the following construction in a pkg-deinstall script for a port I maintain: if ( ${BATCH} ); then [ ... ] Why is this error printing to stdout and how can I suppress it? Or is there a flaw in the logic that, if fixed,

Re: Adding Modules to Apache Port Post Install

2008-05-19 Thread Chuck Swiger
On May 18, 2008, at 8:44 PM, [EMAIL PROTECTED] wrote: I notice that the guide complies Apache with WITH_BERKELEYDB=db42 and WITH_MPM=worker, which I did not do. Any way to add these without recompiling and losing everything? Yes and no. You probably can't change which BDB Apache uses without

Re: Problem Sending Mail With Postfix

2008-05-19 Thread Chuck Swiger
On May 19, 2008, at 4:17 PM, Montag wrote: host mx1.free.bsd.org said: my.mywebsite.com: Helo command rejected: Host not found (in reply to RCPT TO command)) freebsd-questions@freebsd.org Any thoughts? Many mailservers check that the HELO/EHLO response is a valid hostname. You can either

Re: time drift

2008-05-15 Thread Chuck Swiger
On May 15, 2008, at 11:57 AM, Volker Jahns wrote: FreeBSD 6.2 running on X86 hardware (FSC) shows a remarkable time drift running ntpdate every half hour shows that the system looses about 10-14 sec each time. 15 May 10:06:48 ntpdate[7200]: step time server 192.53.103.108 offset

Re: time drift

2008-05-15 Thread Chuck Swiger
On May 15, 2008, at 2:16 PM, Christopher Cowart wrote: We run a large number of FreeBSD servers under vmware. We've seen ntpd silently die, because the drift becomes insane. What do others do in this situation? (We've resorted to croning ntpdate for VMs.) You run ntpd in the parent OS, rather

Re: time drift

2008-05-15 Thread Chuck Swiger
On May 15, 2008, at 12:53 PM, Volker Jahns wrote: While you should run ntpdate -b at system boot, running ntpdate periodically via cron is not the right thing to do-- you should run ntpd instead, and that will figure out the intrinsic correction your chosen system clock needs to keep better time

Re: download source code on Linux

2008-05-14 Thread Chuck Swiger
On May 14, 2008, at 9:38 AM, Onkar wrote: But I am finding no files with extension .c or .h [image: File:]generic.aaftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.1-RELEASE/kernels/generic.aa 1392 [ ... ] what are these ?? They are a .tgz split up into pieces (via

Re: Unexepcted behavior from read and cat

2008-05-12 Thread Chuck Swiger
On May 12, 2008, at 11:59 AM, Paul Schmehl wrote: WTF? Why do these utilities, which usually read all the lines in a file now only work once when run through dig? Is there a way to feed dig a list of IPs and have it return each and every one of them? The dig which comes with BIND 9

Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-12 Thread Chuck Swiger
On May 12, 2008, at 2:27 PM, DAve wrote: On a related note, I met Chuck back in 1999 in Seattle at a SeaFug meeting. I doubt he remembers me but he and John Polstra coached me through changing from a Mac Admin to a BSD admin. I've read Chuck's posts on multiple maillists that we both have,

Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger
On May 9, 2008, at 8:54 AM, DAve wrote: The issue I am seeing is that my server load, under the same traffic load, has increased 4 times or more. Where previously we saw a high load on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade Sendmail has begun to timeout

Re: correct #define in source to specify FBSD vs. linux?

2008-05-09 Thread Chuck Swiger
On May 9, 2008, at 10:56 AM, Steve Franks wrote: On and on I charge porting linux engineering tools. Major pita. I see a bunch of #ifdef __APPLE__ lines to pull in alternate headers; what's the equiv for FreeBSD? __FreeBSD__ You might find the output of touch foo.h ; cpp -dM fooo.h

Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger
On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote: Try 7.0 instead -- it has all of the speed at multi-threaded, multi- core type stuff but has also regained the sort of performance levels you could so 4.11 is fastest? For single-processor systems, FreeBSD 4.11 does very well at a lot of

Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger
On May 9, 2008, at 11:55 AM, DAve wrote: For single-processor systems, FreeBSD 4.11 does very well at a lot of tasks. However, Dave apparently has a 4-CPU system (~8 threads if he enabled hyperthreading), and for real SMP hardware, more recent versions of FreeBSD generally perform better

Re: restrict ssh access

2008-04-25 Thread Chuck Swiger
On Apr 25, 2008, at 6:46 AM, Geert Geurts wrote: I've got a server running a ssh server, I want to enable ssh for the use of sftp by a group of users, and limit their ssh access to just allow running passwd so they can change their default password. What whould be the best/easiest way to

Re: ssh StrictHostKeyChecking=no refuse connection when key changed

2008-04-25 Thread Chuck Swiger
On Apr 25, 2008, at 9:09 AM, Anton Shterenlikht wrote: Is it normal that StrictHostKeyChecking=no in .ssh/config still refuses ssh connection when host ID has changed. I've a setup in which host ids change frequently. How can I setup ssh so that it ignores key change. You'd be better off

Re: ldconfig vs /usr/local/lib/mysql

2008-04-25 Thread Chuck Swiger
On Apr 25, 2008, at 11:03 AM, Robin Becker wrote: One of our FreeBSD 6 servers got rebooted and when it came back we found that /usr/local/lib/mysql was not amongst the directories on the standard ldconfig paths. Can someone gently explain how this is supposed to work. Your mysql binary

Re: Cron question

2008-04-24 Thread Chuck Swiger
On Apr 24, 2008, at 1:26 PM, John Almberg wrote: The trouble comes when I try to run this script with cron. I have something like this in the gs user crontab: SHELL=/usr/local/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/ local/bin:/usr/X11R6/bin:/home/gs/bin

Dell 29x0: DAT tape drive goes missing under 6.3...

2008-04-22 Thread Chuck Swiger
Hi, all-- I've got a number of Dell 2900/2950 machines at various clients, and some of them have Seagate DAT72 drives off the LSILogic PERC 4/Di amr controller identified as: # camcontrol devlist -v scbus0 on amr0 bus 0: PE/PV 1x6 SCSI BP 1.0at scbus0 target 6 lun 0

Re: ClamAV 0.93 on FreeBSD 4.11

2008-04-17 Thread Chuck Swiger
Hi, Juergen-- On Apr 17, 2008, at 9:49 AM, Juergen Fiedler wrote: I am trying to install ClamAV 0.93 on a FreeBSD 4.11 (i386) system. I have downloaded and untarred the port, but when I try to install it, I get an error message indicating that my gcc can't build executables. This diff to the

Re: ClamAV 0.93 on FreeBSD 4.11

2008-04-17 Thread Chuck Swiger
On Apr 17, 2008, at 1:34 PM, Juergen Fiedler wrote: It compiles now, but clamd doesn't work properly: It starts, but doesn't respond to anything. clamdscan just sits around forever trying to communicate with clamd, and when I switch to TCP sockets, I can telnet to port 3310 but even a simple

Re: determining what's in the base system

2008-04-15 Thread Chuck Swiger
On Apr 15, 2008, at 4:14 PM, Chad Perrin wrote: I have two questions. First: Assume you have a FreeBSD system installed that has been running for at least a year, with a bunch of graphical desktop and productivity software installed, and have both installed and uninstalled a lot of

Re: Mail Spool Problems / IMAP

2008-04-08 Thread Chuck Swiger
On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck ___

Re: Mail Spool Problems / IMAP

2008-04-08 Thread Chuck Swiger
On Apr 8, 2008, at 11:42 AM, Chris Maness wrote: It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is

Re: Mail Spool Problems / IMAP

2008-04-07 Thread Chuck Swiger
Hi, Chris-- On Apr 7, 2008, at 8:52 AM, Chris Maness wrote: I am having trouble with my imap account on my FreeBSD box. I am using WU-IMAP, and thuderbird. I have been using this combo for years, and not had any issues. Now, my thuderbird is not displaying messages in the inbox. I can

Re: Mail Spool Problems / IMAP

2008-04-07 Thread Chuck Swiger
binary gunk (see forwarded message below), you're running into the same issue I've seen. Regards, -- -Chuck PS: Since the mail below was written, I have seen this corruption happen with Outlook and Mozilla Tbird, not just with Apple Mail. Begin forwarded message: From: Chuck Swiger [EMAIL

Re: fault tolerance with FreeBSD for old DOS app

2008-03-24 Thread Chuck Swiger
On Mar 24, 2008, at 10:40 AM, Ivailo Bonev wrote: I want advice for old DOS app on Windows PC, that I need to make on 2 PC-s fault tolerant. Any advice for working solution on FreeBSD? Sure. Tell us what the app you want to run does, and we might be able to give you advice on

Re: e-mail processing in C

2008-03-24 Thread Chuck Swiger
On Mar 24, 2008, at 11:32 AM, Robert Huff wrote: I need to write a quick and not-too-dirty C program to process some e-mail. (Including dealing with mbox files.) Is there a standard library to do this? You probably want to invoke formail, which is part of the mail/ procmail

Re: Mac osX drivers

2008-03-24 Thread Chuck Swiger
On Mar 24, 2008, at 1:19 PM, David Kelly wrote: On Mon, Mar 24, 2008 at 02:26:23PM +1000, Da Rock wrote: I know I keep asking about drivers, but what about Mac drivers? I understand that Mac osX is based fairly well on BSD, so would the drivers be portable? Drivers for doing what? This is

Re: DHCP Question

2008-03-20 Thread Chuck Swiger
Hi, Jay-- On Mar 19, 2008, at 7:36 PM, [EMAIL PROTECTED] wrote: I am in the process of moving my phone system DHCP from my Mitel 3300 to a FreeBSD so I can parse the DHCP file. In order to make Mitel's option 125 work correctly, I have to specify some vendor specific options. I believe

Re: /var/named Changes Ownership to Root on Boot

2008-03-20 Thread Chuck Swiger
On Mar 20, 2008, at 4:30 PM, Martin McCormick wrote: I reboot. Soon, I find that bind isn't running. It runs as a low-priority process and is owned by bind so it needs to have write permission in /var/named. When I do ls -ld on /var/named, it's owned by root. /var/named is owned by

Re: smb_iod_recvall: drop resp with mid errors

2008-03-19 Thread Chuck Swiger
Hi, Darren-- On Mar 18, 2008, at 4:33 PM, Darren Spruell wrote: While this host was experiencing these issues a different FreeBSD host also encountered issues with a different share on the same Windows server. I think this points to issues of some sort on the Windows filesystem, but I'd like to

Re: smb_iod_recvall: drop resp with mid errors

2008-03-19 Thread Chuck Swiger
Hi-- On Mar 19, 2008, at 4:01 PM, Darren Spruell wrote: No, nothing to do with samba. This is the native mount_smbfs(8) code in FreeBSD. OK.../usr/src/contrib/smbfs/CREDITS points to the Samba code as a reference implementation, but the listed contact for the FreeBSD implementation is

Re: Low space on /

2008-03-13 Thread Chuck Swiger
Hi, Ghirai-- On Mar 13, 2008, at 1:07 PM, Ghirai wrote: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ I suspect it's since i upgraded from 7.0-rcX couple

Re: Low space on /

2008-03-13 Thread Chuck Swiger
On Mar 13, 2008, at 1:36 PM, Ghirai wrote: Here's the output (removed a couple other 100KiB ): [ ... ] 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... Your kernel tree is huge-- on a 6.x system,

Re: Low space on /

2008-03-13 Thread Chuck Swiger
On Mar 13, 2008, at 1:56 PM, Ghirai wrote: Are there supposed to be .ko.symbols near the .ko files in /boot/ kernel? Those would account for ~80MiB. Also i have a total of 1041 files in /boot/kernel. They're used for debugging, but can be deleted if you aren't doing kernel hacking or

Re: Using Install CD To Prepare Hard Disk

2008-03-13 Thread Chuck Swiger
On Mar 13, 2008, at 3:28 PM, Tim Daneliuk wrote: I would like to use the CD install menus to only prepare the hard disk (Partition, Label, Format) without actually installing anything on the drive. Can this be done? There should be a (W)rite option on the various pages which let you at

Re: UFS2 optimization for many small files

2008-03-12 Thread Chuck Swiger
On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I then proceeded to copy my cyrus-imapd partition from /usr/local/ mail (on /dev/da0s1f) to the new 76GB /mail (/dev/da2s1d). During this copy I noticed the disk usage of the mailboxes (as reported by du(8)) growing about 20% larger in the

Re: UFS2 optimization for many small files

2008-03-12 Thread Chuck Swiger
On Mar 12, 2008, at 12:23 PM, Angelo Turetta wrote: Chuck Swiger wrote: On Mar 12, 2008, at 11:44 AM, Angelo Turetta wrote: I tried understanding where the difference was, but I cannot work- out any cause in the file systems: I believe Cyrus will create hard links if the same email message

Re: FreeBSD 7.0 with BIND 9.4 issue

2008-02-29 Thread Chuck Swiger
On Feb 29, 2008, at 9:21 AM, Abdullah Ibn Hamad Al-Marri wrote: I need to make named do nslookup for any host from outside my network, but I faild to make it work as in older versions of BIND. [17:20]([EMAIL PROTECTED])[~] nslookup www.google.com ns3.wearab.net Server: NS3.WeArab.Net

Re: Freebsd quota sendmail

2008-02-27 Thread Chuck Swiger
On Feb 27, 2008, at 10:29 AM, Ofloo wrote: I'm putting this under freebsd because there is no forum for sendmail, and it does concern freebsd as well. Well, there's comp.mail.sendmail on Usenet. My problem is this, when i set quota in /var/mail directory to each user and this user creates

Re: What periodic process strips executable permissions?

2008-02-25 Thread Chuck Swiger
On Feb 25, 2008, at 1:18 PM, Shawn Barnhart wrote: I wrote a shell script to email me the output of ntpdc -p and put it in my crontab. It works for a week, and at some point over the weekend my script loses its executable permissions for me (user) but not for group or other. Is there a

Re: cp -p

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 10:07 AM, Pietro Cerutti wrote: here's the situation: HostServer exports via NFS /www, which belongs to user:www (uid=1001, gid=80). The directory has the segid flag set: drwsr-xr-x 13 user www 512 Feb 7 00:58 www Umm, that directory you show has the setuid bit set, not

Re: brand-new DVD drives less reliable than crappy old player - fix?

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 10:54 AM, Steve Franks wrote: I have a bunch of disks that will play fine in my laptop and TV, but not in my freebsd system with a new-ish NEC drive. Figured it was the drive, so I got a new pioneer, same issue - scratch somewhere that causes no hiccup on other players makes

Re: brand-new DVD drives less reliable than crappy old player - fix?

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 11:03 AM, Steve Franks wrote: Can I then mount the bin file as if it was the dvd, or how do I retrieve the actual filesystem at that point? Yes, something like: mdconfig -a -t vnode -f _file.bin_ -u 1 mount -t cd9660 /dev/md1 /mnt/cdrom -- -Chuck

Re: cp -p

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 10:42 AM, Pietro Cerutti wrote: From HostClient: ls -al /share/ drwxr-sr-x 4 User www 512 Feb 7 19:23 www touch /share/www/foo ls -l /share/www/foo -rw-r- 1 user www 0 Feb 7 19:39 /share/www/foo (group id works) Right, this is the BSD setgid

Re: OT: Whats wrong with gmail?

2008-02-06 Thread Chuck Swiger
On Feb 6, 2008, at 1:26 PM, Jeremy Gransden wrote: I was prompted by a comment in another thread about gmail; and other than the absolutely annoying way it quotes, what is wrong with gmail? The privacy policy (or perhaps more accurately the policy indicating your lack of privacy):

Re: Help on freeBSD 4.10

2008-02-05 Thread Chuck Swiger
On Feb 4, 2008, at 11:01 PM, Matthew Seaman wrote: As an administrator, how can i disable an account after three consecutive unsuccessful login attempts? As root, you could run: chsh -s /usr/sbin/nologin _user_ Um... I don't think that's quite what the OP meant. He wants to automatically

Re: Help on freeBSD 4.10

2008-02-04 Thread Chuck Swiger
On Feb 4, 2008, at 2:31 PM, Tuan Ho wrote: 1/ As an administrator, how can i disable an account after three consecutive unsuccessful login attempts? As root, you could run: chsh -s /usr/sbin/nologin _user_ 2/ How can I enable logged file to monitor successful and unsuccessful logins

Re: why am i sending mutt mail with my FQDN??

2008-01-26 Thread Chuck Swiger
Gary Kline wrote: On Friday 25 January 2008 17:12:35 you wrote: On Jan 25, 2008, at 4:50 PM, Gary Kline wrote: The problem with t rying to use mutt, even when I reach my mailserver on aristotle.thought.org, is that *somehow* -- I do not understand how -- but for some reason, mutt tacks on the

Re: [FreeBSD] 6.3-R diskhandling

2008-01-26 Thread Chuck Swiger
Alphons Fonz van Werven wrote: Ghirai wrote: This article might help: http://www.clearchain.com/wiki/FreeBSD_%26_Windows_Vista Okay, thanks for the link. I was not aware of that. However, I do think there's more to it than that. After all, Slackware was able to install LILO without any

Re: why am i sending mutt mail with my FQDN??

2008-01-25 Thread Chuck Swiger
On Jan 25, 2008, at 4:50 PM, Gary Kline wrote: The problem with t rying to use mutt, even when I reach my mailserver on aristotle.thought.org, is that *somehow* -- I do not understand how -- but for some reason, mutt tacks on the FDQN rather than simply my domain name. [ ... ] it never

Re: Bizarre TIME_WAIT socket buildup problem

2008-01-25 Thread Chuck Swiger
On Jan 25, 2008, at 9:37 AM, Tge B wrote: On FreeBSD 6.0-RELEASE (GENERIC i386), I am experiencing a rather worrying situation: connections to some ports (namely, 80 and 25) end up in a TIME_WAIT state - normal - but none have been removed in the last 24 hours. My net.inet.tcp.msl was set to

Re: FreeBSD Stable

2008-01-17 Thread Chuck Swiger
On Jan 17, 2008, at 11:08 AM, Sean Hulbert wrote: I am trying to download FreeBSD stable. All I get is a cvsups file. I need to download the ISO to my winbox then burn it to CD. Is there a program or link to the direct ISO that will allow me to download it. See

Re: OT: Greylisting and Yahoo Mailinglists

2008-01-16 Thread Chuck Swiger
On Jan 15, 2008, at 11:23 PM, Heiko Wundram (Beenic) wrote: Am Dienstag, 15. Januar 2008 19:08:39 schrieb Chuck Swiger: You didn't mention which mailserver or greylist software you are using, but the postgrey implementation (for use with Postfix) has this in postgrey_whitelist_clients

Re: Pls help: regarding gdb internals

2008-01-16 Thread Chuck Swiger
On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote: Can anyone write few lines about how does gdb internally works. I went to Gdb internals guide but couldn't find much information specifically which i am looking for. I'm not familiar with the document you mentioned, but the canonical

Re: OT: Greylisting and Yahoo Mailinglists

2008-01-15 Thread Chuck Swiger
On Jan 15, 2008, at 1:13 AM, Heiko Wundram (Beenic) wrote: Additionally, I can't seem to make out a set of subnets from which the messages arrive; I've so far identified at least five subnets that Yahoo uses to send messages out (and I'm hesitant to add five subnets to the whitelist,

Re: sysinstall and bsdlabel/boot

2008-01-15 Thread Chuck Swiger
On Jan 15, 2008, at 10:08 AM, Nikola Lečić wrote: P.S. I hope I'm doing the quoting thing ``properly'', not incorrectly. IMHO there is neither FreeBSD- nor Linux-specific mails, and there shouldn't be such thing. These mails are written in English, so it seems that neither of us is right:

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