Re: route entries after ICMP redirect

2005-04-10 Thread Uwe Doering
g the relevant patch manually to your kernel sources ought to solve the problem. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ freebsd-questions@freebsd.org mailing list ht

Re: Fast and reliable /tmp partition.

2005-03-12 Thread Uwe Doering
rd disk drive or a PCI card, but these are usually pretty expensive. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ freebsd-questions@freebsd.org mailing list http:/

Re: Help Renaming Multple Files

2005-03-07 Thread Uwe Doering
how I can do this. Thanks. You may want to take a look at the 'mmv' package (ports/misc/mmv). Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ freebsd-questions@f

Re: FreeBSD 4.9 - clearing local DNS cache

2005-02-22 Thread Uwe Doering
message. That should do the trick. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: Good rentable servers?

2005-02-21 Thread Uwe Doering
-- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Unexpected resolver behavior

2005-02-18 Thread Uwe Doering
lications (MTAs come to mind) that have their own DNS query code because they need DNS information that is not available through system library functions. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net _

Re: log viewer

2005-02-12 Thread Uwe Doering
, you may want to take a look at 'multitail'. It's a curses application, but with 'xterm' you can use it on a GUI as well. Regards, Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] |

Re: identifying and fixing server I/O slowdowns

2004-08-06 Thread Uwe Doering
would have to force that disk into failed mode and would then replace it. The exact details depend on your raid controller. Of course, your mileage may vary, but I've experienced disk failures like these several times in the past, with the effect you've described. Uwe -- Uwe Doerin

Re: FreeBSD Hosting

2004-07-17 Thread Uwe Doering
ly handle these issues for us. While I can't tell from your posting what exactly you would like to do with the server, going by your general requirements you may be interested in what we (EscapeBox) do. Please consider following the link in my signature. Uwe -- Uwe Doering | Es

Re: UsersFiles and Quota

2004-05-25 Thread Uwe Doering
epquota -u /path/to/filesystem | sort -rn +2 -3 That's less taxing on the system than using 'find', and it also takes into account files that a user might have deleted but still holds open and therefore allocated. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX

Re: Security run question

2004-05-25 Thread Uwe Doering
eir original source, that is, not from the FreeBSD ports/packages collection? Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists

Re: How To Copy A Group of Files To Different Name?

2004-05-18 Thread Uwe Doering
would use the 'mcp' variant: mcp -v 'bacula*' 'bacula=1.old' It automatically preserves permissions and modification time. For a test run in order to verify in advance what would happen, use the '-n' option. Great too

Re: advice sought on tape backups with cyrus-imap

2004-04-24 Thread Uwe Doering
t data from the actual message files. So backup/restore induced inconsistencies are normally no problem. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] ma

Re: SOLVED: Re: openssl port not over-writing the base

2004-04-14 Thread Uwe Doering
he correct syntax for assigning a value to a make variable would be make OPENSSL_OVERWRITE_BASE=yes install This can be important in cases where just defining the variable with '-D' is not enough. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL

Re: FreeBSD router: Can my internet provider detect my home network?

2004-04-11 Thread Uwe Doering
ery service. IMHO, quite an effort for probably just a couple of bucks saved. Larger companies do this, but for security reasons and also to control what their employees do on the Internet. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] |

Re: changing directory permissions recursively

2004-04-09 Thread Uwe Doering
Cory Petkovsek wrote: On Fri, Apr 09, 2004 at 08:47:07AM +0200, Uwe Doering wrote: cd $topdir find . -type d | xargs chmod 755 In case (potentially) untrusted users have had write permission in this directory tree in the past, a safer alternative would be find /path/to/tree/root -type d

Re: How to get memory usage for process?

2004-04-09 Thread Uwe Doering
memory segments that indicate memory sharing etc. Try this: cat /proc//map '' is of course to be replaced by the PID of the process you want to examine. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.esc

Re: enabling S.M.A.R.T on drives attached to Adaptec 2400A RAID controller

2004-04-09 Thread Uwe Doering
mber correctly), and it was selected by default in all cases I've seen. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.free

Re: changing directory permissions recursively

2004-04-08 Thread Uwe Doering
mod 755 Better safe than sorry. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To un

Re: Problem with ncurses install

2004-03-27 Thread Uwe Doering
', like so: (clean up /usr/obj) make obj && make depend && make make install (clean up /usr/obj) That's how it is in FreeBSD 4.x at least. Can't tell, though, whether the path names are still the same in 5.x. Hope it works for you, too. Uwe -- Uwe Doering

Re: Simple file count question

2004-03-15 Thread Uwe Doering
, since 'find' will traverse them by default as well. If you want to count files only in the directory level of '/path/to/dir' you may want to add '-maxdepth 1', like so: find /path/to/dir -type f -name db\* -maxdepth 1 -print | wc -l Uwe -- Uwe Doering |

Re: Kernel Questions

2004-03-11 Thread Uwe Doering
Loren M. Lang wrote: On Thu, Mar 11, 2004 at 11:59:44AM +0100, Uwe Doering wrote: Loren M. Lang wrote: [...] 3. The handbook seems to suggest to use the config, make, make install procedure for installing the kernel if you have no other reason for not using it, what is the reason for this? (The

Re: writing to specific block address

2004-03-11 Thread Uwe Doering
system. Offset and length would be set with 'seek=' and 'count='. However, make sure that you understand their interaction with 'bs=' (block size), or you may be very sorry afterwards ... Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Serv

Re: Kernel Questions

2004-03-11 Thread Uwe Doering
27; from being deleted or clobbered by accident. You would have to do all these things by hand if you didn't use the recommended sequence. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___

Re: apache log files rotation

2004-03-05 Thread Uwe Doering
-access.log', resulting in 'BZ'. This will omit the 'logfile turned over due to ...' lines generated by 'newsyslog', which the statistics program may otherwise complain about. Uwe -- Uwe Doering | EscapeBox - Managed On-

Re: mysql in a jail

2004-03-05 Thread Uwe Doering
that each jail runs on its own, unique IP address? If not, port binding conflicts are to be expected. You cannot have multiple MySQL daemons on the same IP address/port combination, regardless of whether they run inside jails or not. Uwe -- Uwe Doering | EscapeBox - Managed On-D

Re: MySQL and FreeBSD 4.x.. problems, problems with server

2004-03-02 Thread Uwe Doering
'uthread_write.c': http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c?sortby=date&only_with_tag=RELENG_4 BTW, a potentially serious problem with signals in 'uthread_join.c' has been fixed recently, too. Hope it helps in your case. Uwe -- Uwe

Re: portsdb: Warning: Duplicate INDEX entry

2004-02-26 Thread Uwe Doering
Bernard El-Hagin wrote: Uwe Doering wrote: Bernard El-Hagin wrote: Kris Kennaway <[EMAIL PROTECTED]> wrote: [...] I think there's something in one of the included makefiles that relies on a change to make(1) that happened after 5.1-RELEASE. Note that only the most recent release is s

Re: portsdb: Warning: Duplicate INDEX entry

2004-02-24 Thread Uwe Doering
recently did this for our 4.5 based systems. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: a sysctl machdep.tsc_freq problem

2004-02-21 Thread Uwe Doering
;-) > I think the difference is the P4-1.6G machine enable APM-BIOS, if so, how can I get > the CPU speed? > Because the CPU speed info in the 'kern.msgbuf' will be rushed after the machine run > a long time and a lot of kernel msg. Did you consider parsing '/var/run

Re: a sysctl machdep.tsc_freq problem

2004-02-21 Thread Uwe Doering
processor systems, for technical reasons I understand. So in this case 'machdep.tsc.freq' is omitted from the kernel and therefore cannot be queried. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECT

Re: quick mozilla question

2004-02-20 Thread Uwe Doering
it's fresh and apparently not updated yet, just wait a couple of days and download again. The problem will eventually go away by itself. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___

Re: startup daemon as unpriviliged user

2004-02-14 Thread Uwe Doering
su username -c "command" ;; stop) ;; esac cut here Also, keep in mind that the script's name requires a suffix of '.sh', or else the system won't execute it automatically.

Re: Determining free memory on FreeBSD 4.8-REL

2004-02-13 Thread Uwe Doering
of a preemptive strategy in order to have enough clean pages available without delay when you need them. Hope to have shed some light on the subject. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___

Re: Out of memory and inactive memory

2004-02-10 Thread Uwe Doering
mkdb /etc/login.conf' in order to re-generate the corresponding database file. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists

Re: Out of memory and inactive memory

2004-02-10 Thread Uwe Doering
is needed again and should be given to a process needing it. So why does Zope fail here? Do you happen to have a per-process data size limit? What does ulimit -a or limit show? The former is for sh or bash, the latter for csh or tcsh. Uwe -- Uwe Doering | EscapeBox - Managed

Re: documentation on FreeBSD kernel

2004-02-06 Thread Uwe Doering
of the various BSD development teams. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: tcp blackhole and ident

2004-02-05 Thread Uwe Doering
but at the same time leaks as little information as possible for an application level solution. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://

Re: Unexpected soft update inconsistency

2004-01-20 Thread Uwe Doering
of turning back the clock by a couple of seconds, from the file system's point of view, until it gets into the time range again where all files were still consistent (payload and meta data). Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED

Re: Other ways than quotas to limit mail files size ??

2004-01-12 Thread Uwe Doering
IMAP, which is a complete IMAP4/POP3 email storage subsystem with file system independent quotas. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list

Re: Can't traceroute to my box

2003-12-27 Thread Uwe Doering
lated variable for TCP as well (net.inet.tcp.blackhole). Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: group members can't modify files even though 775 set

2003-12-24 Thread Uwe Doering
l's startup files and comment it out, or if this behaviour is the default, try to override it with 'set +o noclobber'. Hope this helps. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net

Re: bash bug or something else?

2003-12-16 Thread Uwe Doering
this you need to remove the trailing ampersands from all the lines. And if you have to run this in background, send the whole script into background where you call it. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net __

Re: cpu load

2003-12-13 Thread Uwe Doering
x27;systat -v 1' complain that the stat clock died? We had this problem once when a lead of the tiny RTC quartz came loose (due to bad soldering) and the chip stopped working. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand

Re: Strange errors "swap..."

2003-12-12 Thread Uwe Doering
in conjunction with a dying hard disk which was fortunately part of a raid array, so it was sufficiently easy to replace the disk. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___

Re: sync delay and consitency

2003-11-27 Thread Uwe Doering
30-29-28 (the 1 differece between) sequence ? It gives a FS w/soft-updates its crash resilience, by ensuring the order of disk updates for these three data types. Meta data first, then directory data, and finally the actual file contents. Uwe -- Uwe Doering | EscapeBox - Managed On

Re: Multiple CPU Performance

2003-11-27 Thread Uwe Doering
. Just wondering A single instance of PHP would use only one CPU. However, if your web server spreads multiple parallel requests over multiple processes (Apache 1.x, for instance) you would indeed benefit from the second CPU. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX

Re: mysql can't finf shared library

2003-11-17 Thread Uwe Doering
y other reason why scripts under '/usr/local/etc/rc.d' don't get executed on your system? Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] ma

Re: md5/des ?

2003-11-13 Thread Uwe Doering
case you're running FreeBSD 4.x, please see the attached patch. I pulled it from the Internet some time ago and subsequently improved it slightly, as far as I recall. With this patch applied 'adduser' honors the 'passwd_format' parameter in '/etc/

Re: kernel error

2003-11-11 Thread Uwe Doering
infrequently. At least that's my experience. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: Virtual Sound Channels

2003-11-08 Thread Uwe Doering
-- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[

Re: Linking disk utilization to a process

2003-11-07 Thread Uwe Doering
r the respective process terminated. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questio

Re: Process priority

2003-10-27 Thread Uwe Doering
look at the idprio(1) command. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubs

Re: Choosing A Stripe-Size (RAID5 Array)

2003-10-27 Thread Uwe Doering
ead to a performance degradation. The FreeBSD kernel is optimized for 16kB blocks. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebox.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.

Re: Best way to cleanly uninstall packages?

2003-10-22 Thread Uwe Doering
ependency tree recursively. I recommend to make a sketch of the relevant parts of the tree on old-fashioned paper in order to not get confused. When you're done with that, delete the candidates top down with 'pkg_delete'. If anyone else knows a more automated way, with the base s

Re: idle process status

2003-08-27 Thread Uwe Doering
(lost interrupt, hanging controller etc.) that blocks the intended demise of the process. But without further debugging it is impossible to tell what it is exactly. Uwe -- Uwe Doering | EscapeBox - Managed On-Demand UNIX Servers [EMAIL PROTECTED] | http://www.escapebo

Re: Using pw adduser to set password in a script

2003-07-01 Thread Uwe Doering
omating account creation is to first store the password (generated or given) in a file (with secure permissions, of course) and then feed 'pw' from that file: pw useradd -q -h 0 -n user -g group -s shell -d /home/user \ -c 'comment' -m < /path/to/file rm -f /path/

Re: Strange formatting error with pkg_info after using portupgrade

2003-06-21 Thread Uwe Doering
nt to take a look at FreeBSD's CVS repository (src/usr.sbin/pkg_install/info/show.c) in order to build and install a fixed 'pkg_info'. Or if it doesn't happen often you could just as well edit the respective '+COMMENT' file in the '/var/db/pkg' hierarchy. The p

Re: resolver problem

2003-06-11 Thread Uwe Doering
exclusively, so there doesn't have to be any directive in the system telling them to do so. Most programs, however, use gethostbyname() etc. and need the 'bind' entry in host.conf, which you just removed by deleting this file. If you restore the file DNS lookups will work. Uwe

Re: Booting using serial console

2003-06-11 Thread Uwe Doering
baud rate to use on the com1 port, assuming it is properly listening there? I'm guessing the baud rates of the machine and the terminal are mismatched. 'sio0' in the kernel config needs a 'flags 0x10' directive in order to make COM1 a (potential) console port. De