Jailed Apache1.3, processes won't die

2005-11-27 Thread markzero
Hi. I'm using a standard install of FreeBSD 6.0-RELEASE. I have a minimal jail, configured in the usual manner (a minimal install into a directory). I installed Apache 1.3 from ports into the jail and all seemed to be well until I tried: # apachectl restart The error log said: [Sun Nov 27

suicidally ambitious compilation?

2005-07-21 Thread markzero
Hello. I'm thinking of setting up a jail specifically to try and compile an OpenBSD release on FreeBSD. No 'cross compiling' will be involved (same target hardware architecture). Has anybody here ever tried, or heard of anybody trying this? I don't expect the journey to be without large

Re: suicidally ambitious compilation?

2005-07-21 Thread markzero
I'm thinking of setting up a jail specifically to try and compile an OpenBSD release on FreeBSD. No 'cross compiling' will be involved (same target hardware architecture). Has anybody here ever tried, or heard of anybody trying this? I don't expect the journey to be without large

Re: suicidally ambitious compilation?

2005-07-21 Thread markzero
I should have explained myself a little better. What I'm actually trying to do is compile a minimal OpenBSD snapshot so that I can distribute binaries to my very slow firewall machine (which also lacks a compiler, for security reasons). The jail is purely there because the OpenBSD

Re: FW: Adding OpenBSD sudo to the FreeBSD base system?

2005-07-21 Thread markzero
On Thu, Jul 21, 2005 at 08:17:57PM -0700, whistles wrote: On 7/21/05, markzero [EMAIL PROTECTED] wrote: On Thu, Jul 21, 2005 at 10:23:56PM -0400, ender wrote: Stephen Major wrote: You are correct; I made a mistake on that one. Sudo should not be forced upon anyone. I do not care

Re: NVIDIA TNT2 woes

2005-07-04 Thread markzero
(WW) The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in (WW) this system is supported through the NVIDIA Legacy (WW) drivers. Please visit (WW) http://www.nvidia.com/object/unix.html for more (WW) information. The 1.0-7667 NVIDIA driver will ignore this (WW)

Re: NVIDIA TNT2 woes

2005-07-03 Thread markzero
On Sun, Jul 03, 2005 at 10:53:43PM -0400, Anthony M. Agelastos wrote: glxgears works for you with the nv driver? I cannot get it to work for me (I have a RIVA TNT as opposed to your RIVA TNT 2). Could you post your xorg.conf? I have the line Load glx in the Module Section. Perhaps the

Re: NVIDIA TNT2 woes

2005-06-30 Thread markzero
Can you use the x.org nv driver instead? I've never really figured out what the binary driver buys you over the standard one, but then all I do is run X with fvwm2, mainly for software development, so I have never needed any fancy features. (I've never had a TNT2, but I believe it's

NVIDIA TNT2 woes

2005-06-29 Thread markzero
Oh the joys of binary drivers. I awake from a peaceful slumber after a portupgrade to find that I suddenly no longer have X. The playful and exciting words dance across my colourless and tormented screen: (WW) The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in (WW) this system is

Re: epoch-calendar date(1) wizardry

2005-05-30 Thread markzero
On Mon, May 30, 2005 at 01:32:37PM +0300, Giorgos Keramidas wrote: On 2005-05-30 03:35, markzero [EMAIL PROTECTED] wrote: Hello, How may one pretty print an epoch timestamp using date(1)? The date manual page gives me a headache. Essentially, I have the timestamp in a file: $ cat t

epoch-calendar date(1) wizardry

2005-05-29 Thread markzero
Hello, How may one pretty print an epoch timestamp using date(1)? The date manual page gives me a headache. Essentially, I have the timestamp in a file: $ cat t 1117417465 ..and I want to print it in a standard UK format, such as: +%H:%M:%S %d/%m/%y Anybody? (before anybody screams Perl

Re: epoch-calendar date(1) wizardry

2005-05-29 Thread markzero
How may one pretty print an epoch timestamp using date(1)? The date manual page gives me a headache. Essentially, I have the timestamp in a file: $ cat t 1117417465 ..and I want to print it in a standard UK format, such as: +%H:%M:%S %d/%m/%y date -r $(cat t)

Re: set http port 80 to a no root user

2005-05-06 Thread markzero
On Thu, 05 May 2005 16:23:38 +0200, in sentex.lists.freebsd.questions hello , i would like to know how can i set a permission to a non root user to use the http public port 80 . portacl is excellent for this purpose. I have been using it for some time and it has never let me down.

Re: discarded oversize frames

2005-04-19 Thread markzero
Have you found a solution to this? I am having the same problems on a machine very recently updated (cvsupped + buildworld on 4/14/2005): kernel.log:Feb 25 13:46:40 trinity kernel: rl0: discard oversize frame (ether type 3db4 flags 3 len 8381 max 1514) kernel.log:Apr 10 14:27:37 trinity

Re: FreeBSD 5.3 and forcible unmounts

2005-04-19 Thread markzero
Plug a USB mass-storage-type still camera, mount it, unplug it, and try to forcibly unmount it using 'umount -f'. The whole system hangs right away. Is it a known bug ? I can confirm this. FreeBSD-5.3-RELEASE-p9. Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9

Lowest common denominator for buildworld/kernel

2005-04-12 Thread markzero
Hello, I would like to set up a machine with which to build world and kernels for an assortment of slightly different machines. The machines are an assortment of Pentium IIs', IIIs' and AMD K6s'. What CPU type should I build for in order to safely accomodate the slight differences? i386? Also, as

Re: Lowest common denominator for buildworld/kernel

2005-04-12 Thread markzero
Hello, I would like to set up a machine with which to build world and kernels for an assortment of slightly different machines. The machines are an assortment of Pentium IIs', IIIs' and AMD K6s'. What CPU type should I build for in order to safely accomodate the slight differences? i386?

Re: Lowest common denominator for buildworld/kernel

2005-04-12 Thread markzero
ssh was the first thing that sprang to mind but it also raised some further questions, like what exactly to copy. /usr/obj would obviously have to go over but what about all the makefiles required for a 'make installworld' etc? I wondered if I would end up just copying over /usr/src

Re: Lowest common denominator for buildworld/kernel

2005-04-12 Thread markzero
On Wed, Apr 13, 2005 at 01:01:23AM +0100, markzero wrote: ssh was the first thing that sprang to mind but it also raised some further questions, like what exactly to copy. /usr/obj would obviously have to go over but what about all the makefiles required for a 'make installworld' etc? I

Re: Any way to log all process launches?

2005-04-08 Thread markzero
If you need more detailed information some patches at garage.freebsd.pl might be interesting - especially lrexec. It may be a bit outdated but it provides you with the information standard utilities don't. Michal Thanks for the interesting link. How much of this is committed to the tree

Re: quick uname question

2005-03-30 Thread markzero
(accidentally didn't CC the list...) That's the counter of how many times you have recompiled the kernel. In this example you are running the default kernel that is installed from cd. Actually, this is a fresh recompilation but it's the first (and hopefully only) one of 5.3p6. Thanks for the

quick uname question

2005-03-30 Thread markzero
$ uname -v FreeBSD 5.3-RELEASE-p6 #0: Thu Mar 31 01:41:53 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/L05 What exactly does the #0 signify? Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1 pgpoQ3y827fBB.pgp Description: PGP signature

openntpd UTC problem

2005-03-28 Thread markzero
Has anybody had any luck with getting OpenNTPD (net/openntpd) to work with anything other than UTC? I'm on GMT and recently we moved into daylight savings. As OpenNTPD has decided that I'm on UTC, I'm now an hour out (which is causing a few problems, as you can probably guess). Any help would be

Re: openntpd UTC problem

2005-03-28 Thread markzero
On 2005-03-29, markzero scribbled these curious markings: Has anybody had any luck with getting OpenNTPD (net/openntpd) to work with anything other than UTC? I'm on GMT and recently we moved into daylight savings. As OpenNTPD has decided that I'm on UTC, I'm now an hour out (which

Re: Why not?

2005-03-15 Thread markzero
I was under the impression that kernel.org was the authoritative source for the Linux kernel. What people are doing on the side was their own project. *shrug* I could be wrong :-) kernel.org is the official source of straight vanilla linux, but no distros use vanilla linux, they

standard math lib question

2005-03-15 Thread markzero
Where on earth is double log(double) actually defined? I'm talking about the one in /usr/include/math.h. Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1 pgpcsW14XlGLf.pgp Description: PGP signature

Re: standard math lib question

2005-03-15 Thread markzero
markzero wrote: Where on earth is double log(double) actually defined? I'm talking about the one in /usr/include/math.h. See /usr/src/lib/msun/src/w_log.c. Or are you asking which library defines that symbol? It'd be in libm.a: 6-sec# nm -g /usr/lib/libm.a | grep log i387_s_logb.o

Re: feedback on a good DNS server

2005-03-10 Thread markzero
Oh, and c) djbdns isn't Free or Open Source by any definition of either phrase. That's not important to some people, but others consider it kind of important. Dan has given explicit permission to read, compile, modify and use the source code of djbdns. The only restriction is that you may

Re: feedback on a good DNS server

2005-03-10 Thread markzero
Dan has given explicit permission to read, compile, modify and use the source code of djbdns. From http://www.qmail.org/not-open-source.html: For a program to be open source, you must be able to, among other things, change the source and redistribute it. DJB prohibits

Re: Installation instructions for Firefox somewhere?

2005-02-26 Thread markzero
I'm currently struggling with the Xfce environment and I'd like to install Firefox, but neither the Firefox site nor anywhere else I've looked thus far has comprehensive installation instructions for the product on FreeBSD (or any flavor of UNIX, apparently). Is there a page somewhere that

Re: DSL modem recommendation

2005-02-23 Thread markzero
What is your DSL provider, what telephone company are they using? Are you running bridged or ppp mode DSL? DSL modems all use proprietary implementations of the DMT protocol, while many will interoperate with different DSL providers and DSLAMS, not all will. Ted Hi Ted, the relevant

Re: DSL modem recommendation

2005-02-23 Thread markzero
This is a really good universal combination. Many DSL modems will work fine. But there's 1 modem that I would strongly recommend in this instance over any other modem: Westell C90-36R516-01 Why? Here's why: 1) These are dumb bridged modems so they aren't interfereing with your BSD

Re: Different OS's? Marketshare

2005-02-23 Thread markzero
Is it possible to install multiple X servers on the same machine so that one can fire up whichever one strikes one's fancy at a given time? I don't see why not, although it'd probably be more common to simply kill one wm session and start another to save resources. Maybe it's possible. I

Re: Different OS's? Marketshare

2005-02-23 Thread markzero
This is certainly possible. You need to start X via something other than startx as you must manually set DISPLAY vars. I have run two X servers on my machine many times - one running a local desktop environment and the other running a WM from a remote box over SSH (for no particular reason

DSL modem recommendation

2005-02-22 Thread markzero
Hello, Could anybody recommend a good, solid DSL modem that is supported nicely by FreeBSD? An internal modem would be preferred but I would consider otherwise. My main requirements are stability and a lack of any kind of external management (I want my box to be solely in control, not a

Re: ssh key authentication

2005-02-18 Thread markzero
On Sat, Feb 19, 2005 at 11:27:03AM +1000, Timothy Smith wrote: i've followed the howto exactly and it still doesn't work. i don't know wtf i'm doing wrong. here is the output i get in verbose mode the files i have in the remote host ls -l total 4 -rw-r--r-- 1 timothy wheel 241 Feb 18

Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread markzero
* Erik Trulsson [2005-02-05 23:55 +0100] Also keep in mind that if you leave the computer running all the time it will show up on your electricity bill, so if you wish to save power you should shut down your computer over night. Given that your house needs to be warmed up (a

Re: Electricity bill [was: Re: Leaving a Computer Running ?]

2005-02-07 Thread markzero
Since the computers are necessary for both work and play, I consider running them to be electricity wisely used. I do turn the monitors off when I'm not home, but since they are all flat panels now, that represents only a trivial amount of electricity. That reminds me: Please also

Re: favor

2005-02-04 Thread markzero
In that case, this email is absolutely copyrighted by me (along with ... my recipie for coffee) Hah! Bad move kiddo! *slurp* *twitch* I'll make a fortune! Hahaha... Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1 pgpnnQq0NmTBB.pgp

Re: favor

2005-02-04 Thread markzero
Actually, I have a question. I'm in the middle of upgrading my dataserver, and I'm building ports on ttyv2,35. I have xdm running on ttyv8. I just finished installing wdm (on ttyv4) and I edited /etc/ttys to run wdm on ttyv8 instead of xdm. Is there a way to reset ttyv8 so that it

Re: LAN chat server?

2005-01-31 Thread markzero
Timothy Luoma wrote: If not Jabber, what else? You could give 'silc' a try. It's in the ports tree: http://www.freebsd.org/cgi/url.cgi?ports/net/silc-server/pkg-descr There are clients for most operating systems, both graphical and not. --Tim Erlin I once used an IRC server for this

Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread markzero
what's the output of ulimit -d? What's the trick to running ulimit? command not found yet whereis sez it is a shell builtin command. Jack What about limits? -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1 pgpXZZaTvjCl5.pgp

Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread markzero
This is the output of my ulimit: #ulimit -a | grep data data seg size (kbytes, -d) 524288 # So what is next? Is it possible to embed that information in the kernel? Or, how is this information set by default? Is there any specific .conf file I should edit? Thank you all!

Re: BSD

2005-01-28 Thread markzero
but what about: **BSD is a registered trademark of Berkeley Software Design, Inc. ? taken from www.bsd.org I have also heard 'Berkeley Systems Derivative' but that doesn't make it correct... :) Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA

Xdm Securelevels revisited

2005-01-27 Thread markzero
Some time ago, I mused upon the possibility of running Xorg in a securelevel 0 environment (and I forgot to thank Lowell Gilbert for his advice, sorry!). http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/069141.html I actually tried it on a test machine about five minutes ago

Re: Xdm Securelevels revisited

2005-01-27 Thread markzero
securelevel is raised before xdm can start which causes fireworks. just a thought: if you raise the securelevel after xdm has started and it dies, would you get fireworks again? I'm leaving the text consoles open for that very reason. If xdm dies, tries to restart (it will try every 30

Re: OpenGL + TNT2 + NVIDIA binary drivers

2005-01-27 Thread markzero
This is more of a followup for completeness than anything. I reinstalled the driver but this time from ports. This fixed the GLX problem but brought up the new error: agp.ko detected, aborting setup of nvagp Luckily, this was documented and it was a simple matter of recompiling the kernel

Re: One-line global string replace in all files with sed (or awk?)

2005-01-27 Thread markzero
My thanks to all who replied. I ended up using this form (I don't recall who suggested it): find . -type f | xargs sed -i '' -e 's/foo/bar/g' One problem, though: It appears that sed touches every file, resetting the last modification time, even if it didn't actually change anything.

Re: One-line global string replace in all files with sed (or awk?)

2005-01-27 Thread markzero
Hmm ... maybe I found it: grep -R -l xxx /www/htdocs | xargs sed -i '' -e 's/xxx/yyy/g' Does that look okay? Seems to work in my test. -- Anthony Looks good! Mark -- PGP: http://www.darklogik.org/pub/pgp/pgp.txt B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1

Re: One-line global string replace in all files with sed (or awk?)

2005-01-27 Thread markzero
find . -type f | xargs grep -l 'foo' | \ xargs sed -i '' -e 's/foo/bar/g' When passed the -l option (this is a lowercase 'EL'), it will not print the matched lines. Only the name of the files that *do* match. Then, once you have a list of files that really do match with

OpenGL + TNT2 + NVIDIA binary drivers

2005-01-26 Thread markzero
Hi, I've scoured the mailing lists and Google and can't seem to find a solution to this little problem. I'm using the binary nvidia drivers on my old 32mb TNT Riva 64 and from the framerates I'm getting from xscreensaver, I think it's safe to assume that I'm not getting any acceleration! I

Re: OpenGL + TNT2 + NVIDIA binary drivers

2005-01-26 Thread markzero
What about in Section Module - Load glx like: Section Module Load dbe Load dri Load extmod Load glx Load record Load xtrap Load freetype Load type1 EndSection Yes, I already have that... Section Module

Re: Any way to get an audio representation of packet flow?

2005-01-25 Thread markzero
D'oh...should be: tcpdump -nl icmp |perl -e '$|=1;while(){print \a;}' -Stephen Great stuff. I can see some exciting things emerging upon piping this into pure data! http://www-crca.ucsd.edu/~msp/software.html Perhaps it's time to dig out my soundcard and put it in my desktop machine.

Re: Cheap, reliable mass storage

2005-01-24 Thread markzero
To clarify, I'm looking for long-term reliability, low cost and large space rather than high performance. I have a budget of around $600-900 to spend but I would not have to buy a PC as I have plenty of old machines (average spec: Intel P3 700mhz) laying around that would=20 probably be

Cheap, reliable mass storage

2005-01-23 Thread markzero
Hi, this is possibly the most open question posted here to date. :) I'm looking to build/buy a large, low-access, long term storage solution for my home. I'm a musician primarily so my files mostly consist of lumps of audio. Ideally, I would like to be able to rsync files to it, so I think I'd

Re: 300GIG SATA drives

2005-01-22 Thread markzero
These Maxtor drives may well be flaky, but they are very widely available and frequently installed in commodity machines. Maxtor drives are flaky? Oh dear. How flaky? Mine is starting to get a bit noisy. Mark pgpvnwXSK9tOO.pgp Description: PGP signature

Re: Formal question.

2005-01-18 Thread markzero
Hello! Good evening! My name is Tadeusz Polak and I from Poland. I'm studying the Informatics at www.pjwstk.edu.pl and I'm interested in publishing of the informations and advices about FreeBSD Operational System as a website. I'd like to ask about the publishing rights of the logo of

Re: Mac/FreeBSD shared drive, which filesystem to choose

2005-01-12 Thread markzero
I have an external firewire drive that I would like to use both with my Powerbook (Mac OS X 10.3.7) and FreeBSD 5.3. Ideally I would like read/write access from both machines. Both OSs support UFS. Mac OS X gives you the option to format your drive as UFS on installation but recommends