FreeBSD 4.8-RELEASE and Adaptec 2400A Controller

2003-07-03 Thread Jason Sopko
I am having an issue with the Adaptec 2400A controller using the latest 
FreeBSD 4.8-RELEASE code. The server is hanging with this message:

asr0: Blink LED 0x3 resetting adapter

The server doesn't reboot or halt, it just sits there with that error 
message until you manually reboot it with the reset switch. I have tried 
switching the cache RAM with no luck. This happens once every couple of 
days, but it's been known to happen after 1 day, or take as long as 10 
days. There is nothing in /var/log/messages. I'm using four 60GB ATA/100 
disks in a RAID 5 array. Has anyone had a similar issue, and if so what 
was the solution?

///Jason

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SDBUG] Re: Monitor dimming

2003-07-03 Thread Matthew Seaman
On Wed, Jul 02, 2003 at 09:37:46PM -0400, Peter Leftwich wrote:
 On Wed, 2 Jul 2003, Matthew Seaman wrote:

  There's lots of stuff that might go into XF86Config which isn't
  mentioned in the automatically generated config file, produced by
 
 But I meant, in *my* XF86Config there is no mention of the blanktime or
 standby or suspend timings, and yet, after about 5-10 minutes of idle time
 my monitor somehow KNOWS to dim itself.  Where else might I find the cause?

I suspect that XFree86 is just applying its default settings, given
that you haven't told it to do otherwise.

 Is xset the only thing that can make use of DPMS or is there a binary in
 the default / standard / minimum *BSD installation to control it too?

Look at vidcontrol(1) -- specifically the '-t blanktime' option.  You
can go direct to the screen saver on a console screen by hitting
Shift-Pause -- see splash(4).  However whether this involves DPMS
directly or not, I don't know.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ssh keepalives

2003-07-03 Thread Philip J. Koenig

 Date: Wed, 2 Jul 2003 15:04:51 +0200
 From: Christian Stigen Larsen [EMAIL PROTECTED]
 
 Quoting Steve Coile ([EMAIL PROTECTED]):
 | On Tue, 1 Jul 2003, Philip J. Koenig wrote:
 |  I'm having a problem with premature termination of ssh sessions [...]
 | 
 | Is this a common problem with firewalls?  We suffer from this problem
 | here, also, and I've thought it must be a misconfiguration with the
 | firewall or elsewhere in the netwrok.  But since you mentioend it,
 | I'm rethinking my assessment.
 
 As Michal F. Hanula, it might be due to the firewall dropping idle TCP
 connections.


I'm quite sure this is the case, and I know this is a characteristic 
of the stateful firewalls on both sides. (which I administer)

One of those firewalls is quite flexible about protocol state 
timeouts, I can set this on a service-by-service basis. (ie I could 
increase it for SSH and no other service)

Unfortunately the firewall on the other side isn't so accommodating.  
It has a single timeout setting that affects all traffic that 
traverses the firewall, and I'd rather not increase that too high.



 At work I use PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) for
 my outbound ssh sessions, and it supports a useful option:
 
   Sending of null packets to keep session active
 
 Settings this to, say, 60 seconds effectively prevents my sessions from being
 cut off.  Unfortunately I haven't found any similar feature in the OpenSSH
 clients.  Do they support such a feature?


I've used that feature with PuTTY and it's handy.  As far as I can 
tell there is no equivalent in OpenSSH.  The KeepAlive feature 
appears to be used primarily to detect if a connection has died due 
to a broken link. (probably the thing that allows the client to 
report connection reset by peer right away without sitting there 
for a hour before figuring it out)



-- 
Philip J. Koenig   
[EMAIL PROTECTED]
Electric Kahuna Systems -- Computers  Communications for 
the New Millenium


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Staying up to date - easy way?

2003-07-03 Thread Matthew Seaman
On Wed, Jul 02, 2003 at 04:38:52PM -0700, Gary Singleton wrote:

 Here's my question.  Is there a simple way to stay up to date with
 FreeBSD?  The install was great!  But the whole CVSup, rebuild thing
 seems a little much to do for just security updates.  Is it just a huge
 thing the first time you do it and get smaller / faster after that or
 am I just completely missing something else.  Could I make a refuse
 file and refuse everything except what I need?  Am I clueless?

I take it you're tracking one of the release branches --
eg. RELENG_4_8 -- in which case, I don't think there has been any
updates to that branch since 4.8 was released.  If you subscribe to
the [EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications
you'll be notified whenever there's a security problem that needs
attention --- and it usually is just important security patches that
get applied to the release branches. Fixes to make important
functionality work properly might also be made, but these are very
rare.

Given the security advisory, you will be able to run cvsup(1) to grab
the updated sources, and you can usually just recompile only the
affected part of the system according to the instructions in the
advisory.

Managing ports with cvsup(1) is always going to involve a lot more
effort.  That's because there's about 9000 ports each of which could
be updated at any time.  At a very rough count there's something like
20 port updates committed per day.  When you cvsup(1) the ports, that
means you're going to see a lot of output scrolling past.  But
remember, the whole ports tree is only 140Mb or so, and you're
probably not seeing much more than a megabyte of actual changes in a
week.

The thing that makes port management a real dream is using
portupgrade(1) -- this automates all of the tedious chores and
generally is the best thing since sliced bread.
 
 I always used Debian's apt-get update / upgrade stuff before and it was
 a really simple process.  I don't doubt that FreeBSD is very powerful
 but I like to be up to date with patches and stuff but don't want to
 rebuild everything every time.

portupgrade(1) is in my opinion equally as easy to use as apt-get(1).  
There's a difference in philosophy: ports is really all about
downloading and compiling the source code, and the ports system
generally makes that a no-brainer.  However, by giving the '-P' flag
to portupgrade(1) you can download precompiled packages --- for
certain ports like OpenOffice, the compilation is a real monster, so
downloading the package is the way to go.  Other ports --- like the
natie JDKs --- are *only* available if you compile them yourself from
source.

Note that updated packages are generally not available as quickly as
the updates to ports, especially at the moment when the package
building cluster is doing double duty building packages for both 4.x
and 5.x branches.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Staying up to date - easy way?

2003-07-03 Thread Alex de Kruijff
On Wed, Jul 02, 2003 at 04:38:52PM -0700, Gary Singleton wrote:
 Hi everbody, I'm new to FreeBSD and coming back after a long time away
 from UNIX like OSs in the first place.  I decided to try out FreeBSD
 because it seems to be a better controlled product than most of the
 Linux stuff out there and what I'd really want FreeBSD for is servers
 anyway, no X or anything like that.
 
I'm gonna give you a point of view of someone who likes to compile
code, essacialy for server. They have one advange over binairy updates.
They give you control about how to build them. Cutting support for the
i386 process makes the apps go faster. A binairy, on the otherhand, is
faster installed.

 Here's my question.  Is there a simple way to stay up to date with
 FreeBSD?  The install was great!  But the whole CVSup, rebuild thing
 seems a little much to do for just security updates.  Is it just a huge
 thing the first time you do it and get smaller / faster after that or
 am I just completely missing something else.  Could I make a refuse
 file and refuse everything except what I need?  Am I clueless?
 
There usaly are binairies updates when a security update is repored 
comes availble. Usaly the website despribes a way to install them. 
Make sure that you are on the rigth mailinglists. (www.freebsd.org; i 
can't give you the exact link, since i am in a somewhat limet 
enverioment right now. 

The proces you desribe takes a couple of hours and is compicated to 
do the first time. After that it easy. The /etc/make.conf file allow
you control over the build process. This includes some controle about
what not to build.

A build proces normaly looks like this:
mergemaster -p
make buildworld; make buildkernel KERNCONF=GENERIC

This all can run in the background. After that, and there are no 
errors, you can get the machine in single user mode and install it with:
make installkernel KERNCONF=GENERIC
check for errors
make installworld
mergemaster
reboot

It looks more compicated than it is, realy. I usaly run the build pard
on the backgound with the commands:
idprio 30 make buildworld; idprio 30 make buildkernel KERNCONF=GENERIC 

This effectivly makes it give preference to all other processes as much
as posible. I also written a script for my self to make this process 
easier for my self. I included it as an atachement. Its smart not to use
this for the first time you build the world in order to get a feeling 
for the proces.

 I always used Debian's apt-get update / upgrade stuff before and it was
 a really simple process.  I don't doubt that FreeBSD is very powerful
 but I like to be up to date with patches and stuff but don't want to
 rebuild everything every time.

The apt-get system realy is nice. On FreeBSD there is a port availble 
called portupgrade that allows you to update you ports/packages. Only
the last time it wasn't able to update packages if you had security
updates because it didn't parse a system varible the right way.

Again i usaly compile and use an alias set in the /root/.cshrc for that:
alias pi idprio 30 portinstall (for installing)
alias pu idprio 30 portupgrade (for upgrading)
alias pv portversion | grep -v \= (for commandline checking)

 
 Thanks in advance for advising this newbie and I hope I didn't say
 anything offensive, overall I'm falling in love with FreeBSD but this
 one issue bothers me.
 
There's nothing wrong with liking FreeBSD ;)

Alex
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Staying up to date - easy way?

2003-07-03 Thread Alex de Kruijff
On Thu, Jul 03, 2003 at 10:03:21AM +0200, Alex de Kruijff wrote:
 On Wed, Jul 02, 2003 at 04:38:52PM -0700, Gary Singleton wrote:
  Here's my question.  Is there a simple way to stay up to date with
  FreeBSD?  The install was great!  But the whole CVSup, rebuild thing
  seems a little much to do for just security updates.  Is it just a huge
  thing the first time you do it and get smaller / faster after that or
  am I just completely missing something else.  Could I make a refuse
  file and refuse everything except what I need?  Am I clueless?
  
 There usaly are binairies updates when a security update is repored 
 comes availble. Usaly the website despribes a way to install them. 
 Make sure that you are on the rigth mailinglists. (www.freebsd.org; i 
 can't give you the exact link, since i am in a somewhat limet 
 enverioment right now. 
 
 The proces you desribe takes a couple of hours and is compicated to 
 do the first time. After that it easy. The /etc/make.conf file allow
 you control over the build process. This includes some controle about
 what not to build.
 
 A build proces normaly looks like this:
 mergemaster -p
 make buildworld; make buildkernel KERNCONF=GENERIC
 
 This all can run in the background. After that, and there are no 
 errors, you can get the machine in single user mode and install it with:
 make installkernel KERNCONF=GENERIC
 check for errors
 make installworld
 mergemaster
 reboot
 
 It looks more compicated than it is, realy. I usaly run the build pard
 on the backgound with the commands:
 idprio 30 make buildworld; idprio 30 make buildkernel KERNCONF=GENERIC 
 
 This effectivly makes it give preference to all other processes as much
 as posible. I also written a script for my self to make this process 
 easier for my self. I included it as an atachement. Its smart not to use
 this for the first time you build the world in order to get a feeling 
 for the proces.

Oesp here's the atachement.

Alex
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need guidance in choosing mail-client

2003-07-03 Thread Tony Hacche
I would have to agree. I have tried loads of mail clients in my time and mutt
does it for me. I don't go in for bells and whistles so I find gui-based
clients somewhat tiresome. mutt is very flexible and the sort-by-thread
option is brilliant.

It doesn't do html, but then e-mail should be text - if I receive an e-mail
message in html-only I have no qualms about deleting it without reading it ;o)

Try mutt - you won't be disappointed. Unless you crave a gui ;o)

Tony

On Thu, Jul 03, 2003 at 01:21:35AM -0400, parv wrote:
 in message [EMAIL PROTECTED],
 wrote Joachim Dagerot thusly...
 
  I do miss an oportunity to choose sender each time I post
  a message, only way to solve that is to set up multiple
  accounts...
  
  In Evolution it's basically only the sort messages in thread
  that's really useful.
  
  Based on the two criterias above (Possibility to have multiple
  sender addresses on one account, and messages sorted in threads)
  can you give me some hints on good software?
 
 You can do all that and some more w/ mutt.  Mutt can run both in
 X (in xterm) or in console.
 
 (I use -devel port w/ almost all the options, plus some external (to
 port) nifty patches: tag_prefix_cond  threadcomplete.)
 
 
   - Parv
 
 -- 
 A programmer, budding Unix system administrator, and amateur photographer
 ISO employment...
 
   http://www103.pair.com/parv/work/
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

**
* Tony Hacche*
* ULCC   *
* 20 Guilford Street *
* London WC1N 1DZ*
**
* JOD: 0870 850 6672 *
* DDI: 020 7692 1440 *
* FAX: 0870 850 6673 *
* MOB: 07866 623093  *
**

There is nothing which has yet been contrived
by man, by which so much happiness is produced
as by a good tavern or inn.  (Samuel Johnson)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cron executes entries twice

2003-07-03 Thread Dan Welch
Another item to check: Faulty time service might produce
such duplication.  The first cron job would run on the
old time; the time updates; it then runs the job again.
There would not be a 3rd run because the clock is now correct.

On Wed, Jul 02, 2003 at 08:23:30PM -0400, John wrote:
 For quite some time now my system has been executing all entries in the 
 crontab twice, instead of the expected once.  This happens most obviously 
 for the periodic scripts, but also on some scripts that I added for 
 nightly, weekly, or runs at reboot.  This started not long after a 
 buildworld upgrade from one 4.x to another 4.x.  Which upgrade, I don't 
 recall unfortunately.  The executions of the scripts appear to occur within 
 minutes of each other, if not seconds.
 
 I checked /var/cron/tabs/root, and all entries are in there only once.
 
 Cron is also only running as a single process.
 
 The system is running 4.8-RC.
 
 Any thoughts of where to look and what to look for?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vt/ansi codes

2003-07-03 Thread abc
 You don't think you're alone because you've Googled a lot?

heh :)

  namely, i am not happy with the current selection of text editors
  (i find joe(1) to be very good, but it's got some problems and
  is aging without good development),
 136-sec# ls /usr/ports/editors | wc -l
  200

yeah, 200 - great :)  tried all of them ...
i've been using FBSD for almost 10 years, since
version 1.X (1995 or so?).  and the same old rebuttals
continue - with no real advance.  look - 200 editors.
heh (in good humor) :)  more of my favorites are:

Q.  i want to know how to write to the display like i used to in DOS ...
A.  UNIX is not DOS.  what a stupid question.  have a nice day.  goodbye.

heh.  or:

Q.  isn't there an editor for non-gurus to use to set up a system?
A   try vi, you'll like it, it's smarter, better.  if you're too stupid
to use vi, you're too stupid to use this OS (pre-ee days :).

heh.  i have used vi, and i did learn it, and IMHO, it still sucked
because whatever i could do in vi in 10-20 keystrokes of crypto,
i could do in 2-3 mnemonic keystrokes in joe.  plus, i could
do even more stuff in joe that i couldn't do in vi.

of the 200 editors, most are either graphic apps, vi/emacs clones,
or total pieces of garbage - they really need to be weeded out.
and the various language specific stuff should really be in their
own trees.  i would guess people looking for a Korean text editor
don't want to wade thru Japanese editors, and people looking for
plain ascii editors don't want to wade thru gobs of Japanese,
Korean, and graphic editors.

my point is things need to be rethought.  redone.  reworked.
and the failure to do so is crippling OSOS's (Open Source OS's).
and all OS's in general.  my specific point (as an example) was
that if a decent fully functional ANSI escape sequence standard
was adopted by all terminal drivers - cross platform code would
be much more efficient in size and CPU time with less dependencies,
much easier to maintain and port, accessible by ALL programming
languages in the same way, displays would look nicer, much more
useful and interesting code would be developed, and i don't see
or hear an intelligent reason not to do so.

and the same goes for FS hierarchies and many other things,
and all the configure/libtool/automake/pkgconfig stuff.  people say
oh it's great, more stuff to do more stuff on more things.
but after this tree of more stuff grows a while, hello world
becomes a complication where one has to hack termcap, ncurses,
termios and sys/ioctl; and then configure/libtool/automake/pkgconfig,
and then figure out numerous OS packaging schemes.

all opposing arguments are to the effect of what about
using this library, and what about this hack and that hack.
forget it - people only have so much time in life.  a goal
should be to create OS's that allow effective and efficient
and lasting creation - not endless and fundamentally pointless
years of study to climb mountains around bad foundations.  extended
regex's should be standard - things like sed -E and grep -E and
find -E and all this nonsense needs to go.  it's causing more hours
of pain dealing with the nonsense than it would have caused
to simply say starting January 1, 2002, sed/grep/find will all
link with extended regex libraries - please update any scripts.

and further continuation should be shunned.  IMHO, there's too much
consideration given to compatibility with ancient code sitting on
obscure PDP mainframes with VT100 terminals, and far too little
consideration given to the evolution of quality technical product
(i don't know anything about kernel developments, this is only
a engineer with a programming/OS hobby viewpoint).

and that's why in the MS windows arena you find countless more
quality programs and software.  cuz those same programmers in the
UNIX world would quit before completion of any project due to the
endless and pointless overhead and mundane incompatibilities and
nuisances across UNIX platforms.

in UNIX, arguments (more or less) come down to ATT did such and
such in 197X, so therefore ...  bunk.  if ATT (or DEC, et al) did
something lame (compared to todays understandings/technology) in 197X,
it's really not a good reason to continue with it.  it's past time to
do things better than ATT (or DEC et al) did them in 197X.  methods
should evolve more and more on technical merit and less on ancient
history or however SUN/IRIX does it (remaining backwards compatible
when not in danger of creating a real kludge); and driven with the
goal of a more intelligent/higher quality product that evolves
without regard to marketing hype and schedules.  if a programmer is
gonna spend time and work in the open source arena, that should be
(and is) a major justification - what else?  (albeit, many are
driven by socialistic/anti-MS energies).

the open source community as a whole has power to lead and forge standards,
and to continue to follow blindly in the proprietary footsteps of quarter
century old 

how to influence load order of kernel modules

2003-07-03 Thread Stefan Farrenkopf
Hi all,

first of all about the background of my question:
if I start vmware (version 2 from the ports tree) on my FreeBSD 4.8 system, 
the system reboots :((
I found that if I restart /usr/local/etc/rc.d/vmware.sh (stop, start) the 
kernel module vmmon gets unloaded and loaded again and I get a new order in 
the kldstat list (see below).
I am wondering how I can influence the initial load order of kernel 
modules, because the problem with vmware my disappear if vmmon is always 
loaded after if_tap.ko (which is also part of the vmware.sh script, but 
which does not unload by vmware.sh stop).

Thanks for you help,
Stefan


...
Stefan Farrenkopf - Goettingen State and University Library
Platz der Goettinger Sieben 1
D-37070 Goettingen, Germany
phone: +49(0)551-39-5827  ||  fax: +49(0)551-39-5222
...
PGP Public Key: http://www.gwdg.de/~sfarren/public-key.txt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which server-side programming should i choose.

2003-07-03 Thread Matt Heath


PHP!!  All the way...easiest, free, likely to be more
secure than Perl if used as Apache module than CGI.
More secure, how so?
mod_php runs as the same user as the Web Server, giving file permission 
to look at any file the web server can.
Safe_dirs are turned off by default

I've been hosted on commercial sites where I could easily read the files 
of the other virtually hosted users, able to rip database passwords and 
steal source code.
(reading through some of that code taught me about PHP class semantics 
but that's another story 8)


Beautiful C-like syntax (/usr/src/* might even make
more sense to you after learning it...) great user
community.
beautiful?

the function names alone are a pile of  cruft upon cruft

take a look here :
http://www.php.net/manual/en/ref.array.php
or
http://www.php.net/manual/en/ref.strings.html
PHP reveals what it is - a hotch potch of stuff built one function at a 
time by a hundred monkeys

string *strchr* ( string haystack, string needle)
mixed *str_replace* ( mixed needle, mixed new_needle, mixed haystack)
chop cid:[EMAIL PROTECTED] -- Alias of 
*rtrim()* cid:[EMAIL PROTECTED]

If you want beauty, use python

I'm a professional PHP programmer of 5+ years; secure, elegant and 
beautiful are not words I would instantly think of.

Easy to learn, with a big target painted on your shoes.

Ever seen something like this :

$r = mysql_execute(select * from table_1 where id=$_GET[id];);



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


system info

2003-07-03 Thread Morten
Hi all,

Is there a command line utility that I can use to get info on installed 
ram, CPU etc?



Cheers,



-Morten

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system info

2003-07-03 Thread Luke Kearney
top
(B
(BLK
(B
(B- Original Message -
(BFrom: "Morten" [EMAIL PROTECTED]
(BCc: 
(BSent: Thursday, July 03, 2003 7:00 PM
(BSubject: system info
(B
(B
(B Hi all,
(B
(B
(B Is there a command line utility that I can use to get info on installed
(B ram, CPU etc?
(B
(B
(B
(B Cheers,
(B
(B
(B
(B -Morten
(B
(B ___
(B [EMAIL PROTECTED] mailing list
(B http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B To unsubscribe, send any mail to
(B"[EMAIL PROTECTED]"
(B
(B
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: system info

2003-07-03 Thread Morten
Hi,

Well, yeah, sort of. But it doesn't tell me cpu speed...



Cheers,



-Morten

Luke Kearney wrote:

top

LK

- Original Message -
From: Morten [EMAIL PROTECTED]
Cc: 
Sent: Thursday, July 03, 2003 7:00 PM
Subject: system info


  

Hi all,


Is there a command line utility that I can use to get info on installed
ram, CPU etc?



Cheers,



-Morten

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to


[EMAIL PROTECTED]
  



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system info

2003-07-03 Thread Fox
Le Thu, Jul 03, 2003 at 12:11:29PM +0200, Morten ecrivait:
 Hi,
 
 Well, yeah, sort of. But it doesn't tell me cpu speed...
less /var/run/dmesg.boot


Regards.

-- 
[EMAIL PROTECTED]
Claranet France
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system info

2003-07-03 Thread Matthew Seaman
On Thu, Jul 03, 2003 at 12:00:13PM +0200, Morten wrote:

 Is there a command line utility that I can use to get info on installed 
 ram, CPU etc?

less(1), as in

% less /var/run/dmesg.boot

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: how to influence load order of kernel modules

2003-07-03 Thread Stefan Farrenkopf
Hi again,

I would like to correct the information I send before.

After I rebooted my machine once more (by starting vmware :( ) I had to 
realize, that the vmware.sh stop/start procedure is obviously not always 
sufficient.
Without starting any applications I opened a Terminal window and started 
vmware and it got up without booting my box.

So I suppose the problem is somewhere else. But I would still like to know 
how I can influence the load order of kernel modules, even if it does not 
solve my problem ;)

best wishes,
Stefan
--On Thursday, July 03, 2003 11:34:22 +0200 Stefan Farrenkopf 
[EMAIL PROTECTED] wrote:

Hi all,

first of all about the background of my question:
if I start vmware (version 2 from the ports tree) on my FreeBSD 4.8
system, the system reboots :(( I found that if I restart
/usr/local/etc/rc.d/vmware.sh (stop, start) the kernel module vmmon gets
unloaded and loaded again and I get a new order in the kldstat list (see
below). I am wondering how I can influence the initial load order of
kernel modules, because the problem with vmware my disappear if vmmon is
always loaded after if_tap.ko (which is also part of the vmware.sh
script, but which does not unload by vmware.sh stop).
Thanks for you help,
Stefan


...
Stefan Farrenkopf - Goettingen State and University Library
Platz der Goettinger Sieben 1
D-37070 Goettingen, Germany
phone: +49(0)551-39-5827  ||  fax: +49(0)551-39-5222
...
PGP Public Key: http://www.gwdg.de/~sfarren/public-key.txt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


...
Stefan Farrenkopf - Goettingen State and University Library
Platz der Goettinger Sieben 1
D-37070 Goettingen, Germany
phone: +49(0)551-39-5827  ||  fax: +49(0)551-39-5222
...
PGP Public Key: http://www.gwdg.de/~sfarren/public-key.txt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp 4.8iso 265k transfer to windows 98 box

2003-07-03 Thread Warren Block
On Thu, 3 Jul 2003, DanB wrote:

 I am ftping 4.8iso to a windows 98 box with ftppro then transferring the
 file to a xp box with a cd writer.
 Is there any down falls to this? I notice that Freebsd file size is 265k
 the download size is 271k on the Windows 98 box is somthing being added
 to the transfer?

Possibly; as Joshua mentioned, FTP clients may try to translate line
feeds to CRLF if they think it's a text file.

However, more likely IME is that Windows is just calculating the number
slightly differently.  265 * 1024 = 271360, which might be called 271 by
a program using even thousands instead of 1024.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A softupdates problem?

2003-07-03 Thread Mark
Hello,

Making a daily server backup, using dump (FreeBSD 4.7R), I keep running into
a softupdates problem. That is, prior to backing up a partition (/var), I
move a large file (several gigabytes) off that partition. But because of the
softupdates effect, the size of that large file is added to the dump-file
size, as if it were still on the partition!

I have been able to circumvent that, in the past, by waiting a few minutes
before starting the dump (until df reflects the correct size). This is not
really ideal, though, as I disallow outside connections while in backup (so
as not to change the /var partion with log-files being filled and such). Is
there not a command to force 'softupdates' to write out its cache
immediately?

Much obliged,

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A softupdates problem?

2003-07-03 Thread Konrad Heuer

On Thu, 3 Jul 2003, Mark wrote:

 Making a daily server backup, using dump (FreeBSD 4.7R), I keep running into
 a softupdates problem. That is, prior to backing up a partition (/var), I
 move a large file (several gigabytes) off that partition. But because of the
 softupdates effect, the size of that large file is added to the dump-file
 size, as if it were still on the partition!

 I have been able to circumvent that, in the past, by waiting a few minutes
 before starting the dump (until df reflects the correct size). This is not
 really ideal, though, as I disallow outside connections while in backup (so
 as not to change the /var partion with log-files being filled and such). Is
 there not a command to force 'softupdates' to write out its cache
 immediately?

I didn't try, but `sync' should do the job, shouldn't it?

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A softupdates problem?

2003-07-03 Thread Matthew Seaman
On Thu, Jul 03, 2003 at 11:15:14AM +, Mark wrote:

 Making a daily server backup, using dump (FreeBSD 4.7R), I keep running into
 a softupdates problem. That is, prior to backing up a partition (/var), I
 move a large file (several gigabytes) off that partition. But because of the
 softupdates effect, the size of that large file is added to the dump-file
 size, as if it were still on the partition!
 
 I have been able to circumvent that, in the past, by waiting a few minutes
 before starting the dump (until df reflects the correct size). This is not
 really ideal, though, as I disallow outside connections while in backup (so
 as not to change the /var partion with log-files being filled and such). Is
 there not a command to force 'softupdates' to write out its cache
 immediately?

Hmmm... not an answer to the question you asked, but does not:

# chflags nodump your-very-large-file

in combination with using the '-h 0' flag to dump(8) let you backup the
partition without including the file in question?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: cron executes entries twice

2003-07-03 Thread John
At 04:03 AM 7/3/2003, Andrew Boothman wrote:
On Thursday 03 July 2003 1:23 am, John wrote:
 Hi All,

 For quite some time now my system has been executing all entries in the
 crontab twice, instead of the expected once.  This happens most obviously
 for the periodic scripts, but also on some scripts that I added for
 nightly, weekly, or runs at reboot.  This started not long after a
 buildworld upgrade from one 4.x to another 4.x.  Which upgrade, I don't
 recall unfortunately.  The executions of the scripts appear to occur within
 minutes of each other, if not seconds.
Hmmm - that is strange.

My only thought off-hand would be that someone has managed to install
/etc/crontab as a personal crontab?
Try 'crontab -l' as root and any other possible users to see if they have a
crontab that is similar to the /etc/crontab
Just a thought..

Andrew
Your suggestion was dead on - I'm not sure why I kept overlooking 
this.  For some reason the entire contents of /etc/crontab were duplicated 
in root's crontab.  I got rid of it last night, and lo - only one run of 
the scripts.

Thanks very much for the help!
-John 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: boot hangs after install 4.8

2003-07-03 Thread Toomas Aas
 From:  Rob Lahaye [EMAIL PROTECTED]

 I have just installed FreeBSD 4.8 on a PC. Only FreeBSD, no other OS.
 The installation goes all well; I exit at the end and the PC boots.
 Immediately after the BIOS stuff, I get the first FreeBSD prompt:
 
 
 F1  FreeBSD
 
 Default: F1

Snip...

 FDISK Partition Editor (with A = Use Entire Disk):
   DISK Geometry:  21858 cyls/34 heads/54 sectors = 40131288 sectors (19595MB)
   Offset  Size(ST) End Name  PType   Desc  SubtypeFlags
   0  54 53-  6 unused0
   54   40131234   40131287ad0s1  3freebsd  165C

I suspect you need to set ad0s1 slice bootable (using S key in fdisk screen).
Flags should be CA, not simply C.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* @dress: A garment worn by some people when emailing at home.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cpu

2003-07-03 Thread Toomas Aas
Hi!

 How do I find out if 4.7 saw  is using both of
 my CPU's

One way would be to read /var/run/dmesg.boot. Another way would be to run
top and see if different processes run on different CPUs (the 'C' column).

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If you try to fail, and succeed, which have you done?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DVD Burner (USB or IDE?)

2003-07-03 Thread cp
We need to purchase a DVD drive for backup. 
We are running 5.1 RELEASE. We have USB
IDE and SCSI on this fairly new system. There
are no USB devices being used now and only
a CD Drive and single harddrive on the IDE. 

I read the compatibility notes and searched 
Google for the wide range of devices available.
So far it appears that querying or searching this
list *Before* purchase is the best way to avoid
days of messing around ;-). 

Can anyone offer an opinion as to which type of DVD
burner would present the least possible hassle in
installation? What I'm hoping for, is to install it, 
make a new kernel and simply use it to write
complete CD snapshots to store offsite.

TIA, Chris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Downloading FreeBSD 4.7

2003-07-03 Thread DanB
I have downloaded 4.8ISo and the md5 check sum. Where is the program md5 located?
Can it run onan Window 98 machine to check the check sum number?
Dan

Jerry McAllister wrote:

 
  Thanks for your help. I was able to get in. Will you be able to tell me
  how to get the complete install CD downloaded. I tried to look around
  but could not find any place to download the whole install CD from the web.

 First, something you can do to help make your messages more useful and
 make it easier for many of us to respond:   Please break your lines
 at around 72 characters.   Some Email readers can be configured to
 do that.   If yours cannot, then please hit a RETURN/ENTER (however yours
 is labeled) at around 70 or characters to start a new line.

 Now,  I never use the web interface to get the ISO-s.   I just go in
 with ftp to ftp.freebsd.org.   But, the location will be the same.

 When you get in, you need to cd to pub/FreeBSD/ISO-IMAGES-i386/4.8

 (It is recommended that you start with V-4.8 and not any of the V-5.X)

 In that directory will see 3 ISO files and one CHECKSUM.MD5 file.
 Download the file called  4.8-RELEASE-i386-mini-iso
 Make sure you are using a binary transfer for that file.
 If you are using regular ftp, type the command  'binary'  minus the quotes.
 Then, you can also download the file called CHECKSUM.MD5.
 If you are doing the ftp from a Microsloth system, then that file
 should be downloaded in ASCII text mode (type  'ascii'  while in ftp)
 because it is just a text file with the MD5 checksum numbers to use
 to verify a good download.   If you accidently download the checksum
 file in binary it is no big problem.  It will just have extra CR-s in it.
 But, you mush download the ISO in binary mode or it will be junk.

 If you are where you can run md5 on the ownloaded ISO, then do it and
 compare the number it gives with the one for that file in the checksum
 file.  If they are the same the ISO download should be good.

 Then, burn the ISO directly as is on to a CD.

 If you are using the whole disk for FreeBSD, you can just proceed.  If
 you are trying to dual boot it with Win-something or Linux along with
 the FreeBSD, then you will have to slice the drive.   If it already has
 the Win-something on it, the easiest thing is to use a program that
 will shrink the Win slice and make room for a FreeBSD slice.  I have
 successfully used a utility called Partition Magic.   It is available
 for around $50 in most electronics mass market stores like Best Buy, etc.
 There are freeware ones, but generally they don't work for XP and NTFS
 type file systems, but do just fine with old FAT stuff with Win95-98, etc.

 Although you will see lots of warnings about boot sectors needing to
 be in no higher than a certain cylinder on the disk, most modern BIOSes
 don't have that problem.   But, if you get things all installed and it
 won't boot because it can't find your bootable filesystem, then you
 may have to rethink your disk divisions and put a smaller MS-Win slice
 low, then a FreeBSD slice and then the rest of the space for the
 remainder of your MS stuff, or something.   If you enjoy juggling
 such thing, you will be in paradise, but I prefer to just have a more
 current BIOS.   Some systems have downloadable upgrades available that
 will fix the problem.   This is all below the FreeBSd level and must
 be decided and fixed before installing FreeBSD.

 Of course, the easiest thing is to just blow off the MS-Win stuff and make
 the whole machine a FreeBSD machine.  Then, there is no problem.  Just
 make one FreeBSD slice covering the whole disk.   You can do all that
 during install and choose to make it bootable, etc.

 When you get your disk use issues all settled

 Pop the CD in to the machine where you want to install FreeBSD and boot
 it off the CD.  You may have to tinker with the BIOS boot order to get
 it to boot from the CD.  It must have the CD before the hard disk in
 the boot order list.

 The mini-iso disk is the only one you really need.   It has the entire
 installation stuff and knows how to get the rest via ftp.After you
 finish doing the config stuff and carve up the disk, you just select
 installing via FTP and it will download everything you ever need and
 want.  Of course, if you have a slow connection, it will take a while,
 but not really any longer than downloading those other two ISO-s.

 If your connection is too slow to install over, then you should just
 buy the CD set from BSD Mall or one ot the other contributing vendors
 that package a CD set and sell them for a nonimal cost and contribute
 a bit of the revenue to the FreeBSD foundation.

 jerry

 
  Any help is highly appreciated.
 
  Thanks,
 
  Nowman
 
  Jerry McAllister [EMAIL PROTECTED] wrote:
  
   Hello,
   Will you please let me know any website to download the FreeBSD version 4.7.
   I really appreciate your response. I went to the freebsd.org to download
   but it asks for the password for ftp. I 

Re: ftp 4.8iso 265k transfer to windows 98 box

2003-07-03 Thread Jerry McAllister
 
 I am ftping 4.8iso to a windows 98 box with ftppro then transferring the
 file to a xp box with a cd writer.
 Is there any down falls to this? I notice that Freebsd file size is 265k
 the download size is 271k on the Windows 98 box is somthing being added
 to the transfer?

Most probably you downloaded the file in ASCII mode.  You must use BINARY
mode or ftp will interpret the data and try to convert it to MS style
text.

When the ftp session is established, type the command   binary   to set 
binary mode.   If you are doing it via a web browser, I don't know how 
to set it because I never do that.  (I just use an ftp utility straight up)
But, there must be some way, so check around.   

jerry

 
 Dan
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Marc Wiz
On Thu, Jul 03, 2003 at 05:47:09AM -0700, cp wrote:
 We need to purchase a DVD drive for backup. 
 We are running 5.1 RELEASE. We have USB
 IDE and SCSI on this fairly new system. There
 are no USB devices being used now and only
 a CD Drive and single harddrive on the IDE. 
 

While we're on this topic has anyone used a Firewire DVD burner
yet and to what success?  (This would be for 4.8)

Also any recommended Firewire cards or cards to avoid?

The hardware notes for 4.8 mention chip sets that are supported
but it's not always listed on the specs for the cards :-)

Thanks,
Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD Question

2003-07-03 Thread Peter Elsner
Go here...

http://www.freebsdmall.com/cgi-bin/fm/bsddoll-s?id=pqS7TiPemv_pc=56

Peter

At 06:20 PM 7/2/2003 -0400, you wrote:
Hello,

My place of employment recently purchased your services.  My boss received a
little red devil bean bag beanie toy which he gave to me.  I brought it home
to my son and he just loved it.  He brought it with him every where we go.
Unfortunately, yesterday he forgot it at day camp and was just hysterical 
over
it.  This morning it was gone and both myself and the camp counselor could 
not
find it any where.  Would it please be possible for me to get another one of
these bean bag beanie red devils from your company.  Below is my name and
mailing address.  If there is a charge, please let me know.  Thank you so 
much.  Any
assistance you can offer would be greatly appreciated.

Chris Higens
7813 South Neenah Avenue
Burbank, IL  60459
USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anything below this line, is considered a signature line.
If you do not know what a signature is within an email
STOP here and do not read any further.   Thank you.
_
Peter Elsner [EMAIL PROTECTED]
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say Daddy, where
were you when they took freedom of the press away from the Internet?
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.

System Administration - It's a dirty job, but somebody said I had to do it.

If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.
(NOTE: UCE is Unsolicited Commercial Email also known as
SPAM or junk mail).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem building galeon port on STABLE

2003-07-03 Thread stan
I'm trying to build galeon, using the ports mechanisi8m. This is no a
machine that was cvsup'd about the end of last week.

The build process is dying when regxpcom core dumps.

What can I do to solve this problem?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IDE reboot after power outage problem

2003-07-03 Thread Alex Teslik
Hello,

My system used to be an all SCSI system. After rare power outages the system
would automatically fsck the disks and boot up.
Recently I added an IDE drive to the system. Now, after power outages the
system boots and when it gets to the ide drive it prompts for single user mode
shell. I drop into single user mode, fsck all the disks so they are marked
clean, and reboot.
Why is the system not automatically fsck'ing the disk on boot, and is there
some setting I need to enable to return to the old desired behavior?

Thanks,
Alex

uname -a
FreeBSD ..com 4.8-RELEASE FreeBSD 4.8-RELEASE #4: Tue May  6 00:26:04
PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DUALP3-4_8_0-RELEASE  i386

df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a97M49M40M55%/
/dev/da0s1e   7.7G   3.2G   3.9G45%/usr
/dev/ad0s1e72G42G24G64%/home
procfs4.0K   4.0K 0B   100%/proc


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp 4.8iso 265k transfer to windows 98 box

2003-07-03 Thread Malcolm Kay
On Thu, 3 Jul 2003 13:09, DanB wrote:
 I am ftping 4.8iso to a windows 98 box with ftppro then transferring the
 file to a xp box with a cd writer.
 Is there any down falls to this? I notice that Freebsd file size is 265k
 the download size is 271k on the Windows 98 box is somthing being added
 to the transfer?

 Dan


Before getting too excited have a look at the actual byte count.
'ls' will do this in FreeBSD
and 'dir' at the command prompt will do it in XP
There is some flexibility in in the meaning of k

Other possibility is ftp translating it as a text file-- setb binary mode.

Malcolm
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Bill Moran
cp wrote:
We need to purchase a DVD drive for backup. 
We are running 5.1 RELEASE. We have USB
IDE and SCSI on this fairly new system. There
are no USB devices being used now and only
a CD Drive and single harddrive on the IDE. 

I read the compatibility notes and searched 
Google for the wide range of devices available.
So far it appears that querying or searching this
list *Before* purchase is the best way to avoid
days of messing around ;-). 

Can anyone offer an opinion as to which type of DVD
burner would present the least possible hassle in
installation? What I'm hoping for, is to install it, 
make a new kernel and simply use it to write
complete CD snapshots to store offsite.
Soeren has a Sony DRU500A that we bough him for development, so I would assume
that support for that particular make/model of DVD burner is the best right now
and will continue to be the best.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mozilla stalls

2003-07-03 Thread Jim Allen
I've had a recurring issue with Mozilla and Firebird (was Phoenix):
The browsers will stall in a seemingly non-deterministic fashion.

What tends to happen is that I'll try to load/reload a page, and the
browser will stall indefinitely -- forcing me to kill it.

Strangely, when I run the browser again it has no problems loading the
page that it stalled on previously.

The pages are neither flash nor java embedded.

I'm running STABLE.  Here are some specs:

mozilla-1.3.1,2
mozilla-firebird-0.6
flashplugin-mozilla-0.4.10_2
mozilla-fonts-1.0_1

Thanks for the help.

- Jim

-- 
Jim Allen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Probems building amanda client port

2003-07-03 Thread stan
On a recently cvsup'd achine, building the amanda-client port fails when it
gets to the gtart port as a dependency. It seesm gtar is now part of the
base system.

Shouldn't this be OK?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildworld errors

2003-07-03 Thread quadrant
I did a cvsupit from FreeBSD 4.8 to  current (  =. )
I did a make buildworld 3 times so far with different
errors each time. Between each buildworld, I did the rm -rf /usr/obj
and started over again. It goes for about 4 hours each time,
and this is now the error I received while doing a make buildworld.
What is it that is going wrong here?
Any help would be greatly appreciated...

=== sbin/gbde
cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
cc1: warnings being treated as errors
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c: In function 
`rijndael_padEncrypt':
/usr/src/sys/crypto/rijndael/rijndael-api-fst.c:222: warning: implicit 
declaration of function `panic'
*** Error code 1

Stop in /usr/src/sbin/gbde.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

apex#


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Adding disk space to an FTP directory -- ideas?

2003-07-03 Thread Greg Brooks
I currently use most of /var for a depository of files that move in and
out via FTP. /var runs on a secondary hard drive in the system, along
with a partition called /storage that's currently empty.

Only one user (ftpuser) has login rights to the ftp system, although
it's not jailed with its own /bin directory, etc.

The question: How do I take the available space in /storage and make it
available to the ftpuser? Adding a symlink to /storage within the FTP
area doesn't seem to work.

Any help much appreciated.
G.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bandwidth Question

2003-07-03 Thread Chris
Hello,

I was wondering what is the best way to limit bandwidth to a set of IP 
addresses?  I've read some about dummynet.  Would this be the preffered 
tool to use?  Also, if someone could recommend a program to log how much 
bandwidth a particular IP uses per month etc..., and also display graphs 
about bandwidth usage I would appreciate it.

Thank You
-Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mozilla stalls

2003-07-03 Thread Matt Heath


I've had a recurring issue with Mozilla and Firebird (was Phoenix):
The browsers will stall in a seemingly non-deterministic fashion.
I get that too



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using a RAID-card with FreeBSD

2003-07-03 Thread Micheal Patterson
- Original Message - 
From: Alexander Haderer [EMAIL PROTECTED]
To: Micheal Patterson [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:54 PM
Subject: Re: Using a RAID-card with FreeBSD


 At 12:39 02.07.2003 -0500, Micheal Patterson wrote:

 [...]
 It works equally well with Adaptec hardware raid with 5 SCSI drives in a
 Raid 5 configuration. Gotta love FreeBSD. Although, not everyone needs
raid
 5, but it's nice to know that it works and works well.

 hello Michael,

 please could you tell us which Adaptec hardware you are using at which
 FreeBSD version.

 How do you manage the raid on the running system? Is there a console
 application to do things like configuration, drive-shutdown etc...

 with best regards,

 Alexander


As I recall, that particular system is running an Adaptec 2100S under
FreeBSD 4.8. I've not found any software that can access that particular
raid directly for configuration from within the running OS. The only way to
access it that I'm aware of is with the standard Control A at system startup
to access the on board settings of the card. Here, the raid type can be
configured. I will say that I've had a drive failure on this system with
little effect on the normal operation of the OS. However, since there aren't
any hot swappable bays in this particular system (company didn't want to
spend for them), the system has to be shut down to replace the failed drive.
However, the system will still boot in diminished mode and continue this way
until the new drive has been restored.

--

Micheal Patterson
TSG Network Administration
405-917-0600

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld errors

2003-07-03 Thread Greg J.
On Thu, 3 Jul 2003 11:23:19 -0400
quadrant [EMAIL PROTECTED] wrote:

 I did a cvsupit from FreeBSD 4.8 to  current (  =. )
 I did a make buildworld 3 times so far with different
 errors each time. Between each buildworld, I did the rm -rf /usr/obj
 and started over again. It goes for about 4 hours each time,
 and this is now the error I received while doing a make buildworld.
 What is it that is going wrong here?
 Any help would be greatly appreciated...
 
 === sbin/gbde
 cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
 cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
 cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
 cc -O -pipe -march=pentiumpro -I/usr/src/sbin/gbde/../../sys
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W$
 cc1: warnings being treated as errors
 /usr/src/sys/crypto/rijndael/rijndael-api-fst.c: In function 
 `rijndael_padEncrypt':
 /usr/src/sys/crypto/rijndael/rijndael-api-fst.c:222: warning: implicit 
 declaration of function `panic'
 *** Error code 1
 
 Stop in /usr/src/sbin/gbde.
 *** Error code 1
 
 Stop in /usr/src/sbin.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 apex#

It's not wise going from 4.x to 5.x.. so many changes (gcc, etc).. I'd backup  do a 
clean install of 5.1-RELEASE if I were you. :-)

-- 
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
-- Douglas Adams, The Hitchhiker's Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT Re: mozilla stalls

2003-07-03 Thread Matthew Bettinger
On Thursday 03 July 2003 10:44 am, Matt Heath wrote:
 I've had a recurring issue with Mozilla and Firebird (was Phoenix):
 The browsers will stall in a seemingly non-deterministic fashion.

 I get that too

My mozilla will hang for a few minutes when I enter a url in the 
location bar.  If I fire it up and click on the link that are already 
there it's fine.  The moment I try to type a new URL in the bar it just 
hangs.  I am using the nvidia drivers on bsd 4.8.  Never had a problem 
(that I can recall) until I installed the nvidia drivers..  could be 
wrong tho.  

-- 
Matthew Bettinger
System Administrator
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Drew Tomlinson
About a year or two ago, someone posted his recipe for sorting FreeBSD
lists.  This particular one was nice in that it extracted the list name
from the From line (I think) and then created the appropriate folder
if it didn't exist.  So freebsd-questions list items were put in the
'questions' folder, freebsd-stable in the 'stable' folder, and so on.  I
have search the archives for this post for the past two days but have
been unsuccessful.  I've tried to write it myself but this is not my
area of expertise.  Does anyone have such a recipe they are willing to
share?

Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Christian Stigen Larsen
Quoting Drew Tomlinson ([EMAIL PROTECTED]):
| About a year or two ago, someone posted his recipe for sorting FreeBSD
| lists.  This particular one was nice in that it extracted the list name
| from the From line (I think) and then created the appropriate folder
| if it didn't exist.  

Probably the most appropriate field to match against in the mailheader is
``List-Id'', which for this mailinglist is:

List-Id: User questions freebsd-questions.freebsd.org

I do not have that particular script which you refer to, but I'd just like to
give a note of warning on automatically executing shell commands based on
email data (since an attacker could easily insert hazardous commands).

Why not just have some extra lines in your procmailrc file?  Also, I've
written some notes on sorting incoming mail:

A guide to simple mail filtering on UNIX systems
http://csl.sublevel3.org/docs/mailfiltering.php

-- 
Christian Stigen Larsen -- http://csl.sublevel3.org -- mob: +47 98 22 02 15
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Adding disk space to an FTP directory -- ideas?

2003-07-03 Thread Greg Brooks
I currently use most of /var for a depository of files that move in and
out via FTP. /var runs on a secondary hard drive in the system, along
with a partition called /storage that's currently empty.

Only one user (ftpuser) has login rights to the ftp system, although
it's not jailed with its own /bin directory, etc.

The question: How do I take the available space in /storage and make it
available to the ftpuser? Adding a symlink to /storage within the FTP
area doesn't seem to work.

Any help much appreciated.
G.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Paul Chvostek
On Thu, Jul 03, 2003 at 08:53:30AM -0700, Drew Tomlinson wrote:

 About a year or two ago, someone posted his recipe for sorting FreeBSD
 lists.  This particular one was nice in that it extracted the list name
 from the From line (I think) and then created the appropriate folder
 if it didn't exist.  So freebsd-questions list items were put in the
 'questions' folder, freebsd-stable in the 'stable' folder, and so on.  I
 have search the archives for this post for the past two days but have
 been unsuccessful.  I've tried to write it myself but this is not my
 area of expertise.  Does anyone have such a recipe they are willing to
 share?

Easy enough:

  :0:
  * List-Id:[^]+\/freebsd-[^.]
  $MATCH

This will store each list in a folder prefixed by freebsd-.  If you
want freebsd-questions to be stored in a folder named questions, just
move the \/ (which marks the beginning of the MATCH variable) to after
the freebsd-.

And if you want it to support other RFC2919-compliant lists (that is,
ones which include the List-Id: header), simply remove freebsd- from
the recipe.


-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/
  Free PHP web hosting!http://www.it.ca/web/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Question

2003-07-03 Thread Nucking Futs
  In ports under Net there is IPFM i haven't played with it yet but it is 
supposed to do some of what you are looking for.  Do a google search and you 
can find the homepage of the author.  I would be interested in any 
information you find out on this subject.

Greg


From: Chris [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Bandwidth Question
Date: Thu, 03 Jul 2003 11:45:39 -0400
Hello,

I was wondering what is the best way to limit bandwidth to a set of IP 
addresses?  I've read some about dummynet.  Would this be the preffered 
tool to use?  Also, if someone could recommend a program to log how much 
bandwidth a particular IP uses per month etc..., and also display graphs 
about bandwidth usage I would appreciate it.

Thank You
-Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Paul Chvostek

Woops...

On Thu, Jul 03, 2003 at 12:12:46PM -0400, Paul Chvostek wrote:
 
 Easy enough:
 
   :0:
   * List-Id:[^]+\/freebsd-[^.]
   $MATCH

That should have been:

   :0:
   * ^List-Id:[^]+\/freebsd-[^.]+
   $MATCH

But I'm sure everyone already knew that...  ;)

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/
  Free PHP web hosting!http://www.it.ca/web/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache Security

2003-07-03 Thread Dead Line
Hello Everyone,

Is Apache with fp extention (apache-fp)   not secure to run in a 
machine ?

In the meantime that this machine is made for this purpose, web 
hosting!

im on FreeBSD 4.8-R

Please Advise.

Marwan Sultan

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need guidance in choosing mail-client

2003-07-03 Thread parv
in message [EMAIL PROTECTED], wrote Tony Hacche
thusly...

 It doesn't do html, but then e-mail should be text - if I receive
 an e-mail message in html-only I have no qualms about deleting it
 without reading it ;o)

True.  If somebody does desire to view HTML, add appropriate entries
to mutt configuration  mailcap...

  ~/.mailcap
text/html ; w3m -T text/html %s
text/html ; w3m -dump -T text/html %s ; copiousoutput

  ~/.muttrc
auto_view text/html


...See manual.txt of mutt port for details on the above (section 5
on mime support, in version 1.5.4i) and evrything else.


  - Parv

-- 
A programmer, budding Unix system administrator, and amateur photographer
ISO employment...

  http://www103.pair.com/parv/work/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache Security

2003-07-03 Thread Matt Heath
Dead Line wrote:

Hello Everyone,

Is Apache with fp extention (apache-fp)   not secure to run in a 
machine ? 


it is best to assume that nothing is secure 8)

In the meantime that this machine is made for this purpose, web 
hosting!

im on FreeBSD 4.8-R

Please Advise.
your customers will be irritated when their ActiveX based Frontpage 
components don't work on Unix.

other than that, well done  good luck

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread parv
in message [EMAIL PROTECTED],
wrote Drew Tomlinson thusly...

 About a year or two ago, someone posted his recipe for sorting FreeBSD
 lists.  This particular one was nice in that it extracted the list name
 from the From line (I think) and then created the appropriate folder
 if it didn't exist.  So freebsd-questions list items were put in the
 'questions' folder, freebsd-stable in the 'stable' folder, and so on.  I

I use 'f-list' named folder.  Change the following (part of larger recipes)
as you desire...

  #  get list id
  :0
  * ^List-ID:[]*.*\/[a-z]+.*
  { list_id = $MATCH }

  #  identify other lists on different criteria

  #  based on $list_id, assign $list
  #  
  list=
  #  freebsd lists
  :0
  * list_id  ??  ()\/[a-z]+[-.a-z]+freebsd\.org
  {
#  consider -gnats-submit list same as -bugs, but not -ports-bugs
:0
* list_id  ??  ()(ports-bugs|cvs-ports)
{ list = f-ports }

  :0 E
  * list_id  ??  ()(gnats-submit|bugs)
  { list = f-bugs }

  #  most interesting freebsd mailing lists
  :0 E
  * MATCH  ??  ()\/(stable|ppc|cvs|mobile|questions|ports|java)
  { list = f-${MATCH} }

  #  dafault $list for/from any freebsd list
  :0 E
  { list = f-misc }
  }

  #  do other things

  #  file message
  :0:
  * list  ??  ^^f-[a-z]+^^
  $list



  - Parv

-- 
A programmer, budding Unix system administrator, and amateur photographer
ISO employment...

  http://www103.pair.com/parv/work/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Bill Campbell
On Thu, Jul 03, 2003 at 08:31:10AM -0500, Marc Wiz wrote:
...
While we're on this topic has anyone used a Firewire DVD burner
yet and to what success?  (This would be for 4.8)

Also any recommended Firewire cards or cards to avoid?

I'm using a current Adaptec on FreeBSD 4.8 with good results.

I've used several of the SIIG dual cards (FireWire and USB2 on the same PCI
card) on SuSE 8.2 Linux which of course doesn't address the FreeBSD
question, but I have had excellent results with all the SIIG cards I've
used over the years.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``I don't make jokes, I just watch the Government and report the facts...''
Will Rogers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Marc Wiz
On Thu, Jul 03, 2003 at 09:44:52AM -0700, Bill Campbell wrote:
 On Thu, Jul 03, 2003 at 08:31:10AM -0500, Marc Wiz wrote:
 ...
 While we're on this topic has anyone used a Firewire DVD burner
 yet and to what success?  (This would be for 4.8)
 
 Also any recommended Firewire cards or cards to avoid?
 
 I'm using a current Adaptec on FreeBSD 4.8 with good results.

Is this the dual Adaptec card that has both USB and Firewire?

 
 I've used several of the SIIG dual cards (FireWire and USB2 on the same PCI
 card) on SuSE 8.2 Linux which of course doesn't address the FreeBSD
 question, but I have had excellent results with all the SIIG cards I've
 used over the years.

That's good to hear.  I know that SIIG cards are easy to find.

Thanks!

Marc

-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to encrypt data on backup?

2003-07-03 Thread Joshua Oreman
On Thu, Jul 03, 2003 at 01:35:51AM -0700 or thereabouts, Tak Pui LOU wrote:
 Hi Josh,
 
 Thanks. That may work for me if the GBDE works on tape device. Does it?

I don't know... get a tape and try it!

-- Josh

 
 ---
 Lou
 
 On Wed, 2 Jul 2003, Joshua Oreman wrote:
 
  On Wed, Jul 02, 2003 at 06:56:20PM -0700 or thereabouts, Tak Pui Lou wrote:
   Hello,
  
   Is there any way to encrypt the backup created by dump while it is
   writing to the media? I mean without pipe because I want dump to
   calculate the media length by itself.
 
  I don't know if this will work for you, but have you thought about
  GBDE? Or are you running 4.x?
 
  -- Josh
 
  
   ---
   Lou
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Bill Campbell
On Thu, Jul 03, 2003 at 11:47:58AM -0500, Marc Wiz wrote:
On Thu, Jul 03, 2003 at 09:44:52AM -0700, Bill Campbell wrote:
 On Thu, Jul 03, 2003 at 08:31:10AM -0500, Marc Wiz wrote:
 ...
 While we're on this topic has anyone used a Firewire DVD burner
 yet and to what success?  (This would be for 4.8)
 
 Also any recommended Firewire cards or cards to avoid?
 
 I'm using a current Adaptec on FreeBSD 4.8 with good results.

Is this the dual Adaptec card that has both USB and Firewire?

This is the vanilla firewire only card.

 
 I've used several of the SIIG dual cards (FireWire and USB2 on the same PCI
 card) on SuSE 8.2 Linux which of course doesn't address the FreeBSD
 question, but I have had excellent results with all the SIIG cards I've
 used over the years.

That's good to hear.  I know that SIIG cards are easy to find.

Yup.  CompUSA generally has them (there's been a thread on the
local Linux mailing list with ``hide your wallets'' as the
subject -- we're getting our first Fry's store here shortly :-).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

In Germany they first came for the Communists and I didn't speak up because
I wasn't a Communist.  Then they came for the Jews, and I didn't speak up
because I wasn't a Jew.  Then they came for the trade unionists, and I
didn't speak up because I wasn't a trade unionist.  Then they came for the
Catholics, and I didn't speak up because I was a Protestant.  Then they came
for me -- and by that time no one was left to speak up.
-- Pastor Martin Niemoller
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding disk space to an FTP directory -- ideas?

2003-07-03 Thread Paul Chvostek

On Thu, Jul 03, 2003 at 11:09:28AM -0500, Greg Brooks wrote:
 
 I currently use most of /var for a depository of files that move in and
 out via FTP. /var runs on a secondary hard drive in the system, along
 with a partition called /storage that's currently empty.
 
 Only one user (ftpuser) has login rights to the ftp system, although
 it's not jailed with its own /bin directory, etc.

Do you really mean jailed, or are you talking about the user being
chrooted, as is normally done with ftp users?

 The question: How do I take the available space in /storage and make it
 available to the ftpuser? Adding a symlink to /storage within the FTP
 area doesn't seem to work.

You could try mount_null (or mount_nullfs in 5.x), though the man page
gives warnings about bugs.  Or you could simply mount the filespace in a
directory to which ftpuser has access.  Or you could create another
user with access to /storage.  Or you could use an FTP server that
supports directory aliases.  I don't know of one that does, but perhaps
some searching would find one.

For your reading pleasure, there's discussion of this for proftpd at
http://proftpd.linux.co.uk/localsite/Userguide/linked/chroot-symlinks.html

Lots of options.

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/
  Free PHP web hosting!http://www.it.ca/web/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD Burner (USB or IDE?)

2003-07-03 Thread Joshua Oreman
On Thu, Jul 03, 2003 at 10:45:48AM -0400 or thereabouts, Bill Moran wrote:
 cp wrote:
 We need to purchase a DVD drive for backup. 
 We are running 5.1 RELEASE. We have USB
 IDE and SCSI on this fairly new system. There
 are no USB devices being used now and only
 a CD Drive and single harddrive on the IDE. 
 
 I read the compatibility notes and searched 
 Google for the wide range of devices available.
 So far it appears that querying or searching this
 list *Before* purchase is the best way to avoid
 days of messing around ;-). 
 
 Can anyone offer an opinion as to which type of DVD
 burner would present the least possible hassle in
 installation? What I'm hoping for, is to install it, 
 make a new kernel and simply use it to write
 complete CD snapshots to store offsite.
 
 Soeren has a Sony DRU500A that we bough him for development, so I would 
 assume
 that support for that particular make/model of DVD burner is the best right 
 now
 and will continue to be the best.

I have one too! It's great. You can write +RW with burncd, -R and -RW
with dvdrecord (which I may someday submit a port for; it needs some patches
to install) and +R with... well... why would you use +R anyway? :-) You can
also write CD-R and CD-RW w/cdrecord.  And if you want video DVDs, encode
the MPEG yourself, and there's a program that comes with dvdrecord to generate
the layout.

So get the internal IDE DRU500A, and you won't regret it!

-- Josh

 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SpeedTouch 330 USB ADSL Modem

2003-07-03 Thread Rick Duvall
On your SpeedTouch 330 modem, did you have any problems with the USB port
just shutting off?  I have to reboot to get it back.  I am wondering if I
need to increase a buffer somewhere, or if it is caused by the phone
ringing.
- Original Message - 
From: Daan Vreeken [PA4DAN] [EMAIL PROTECTED]
To: Rick Duvall [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 2:57 PM
Subject: Re: SpeedTouch 330 USB ADSL Modem


On Wednesday 25 June 2003 23:45, you wrote:
 Is your modem the 330, or does it even matter?
Yes, it was the 330.

grtz,
Daan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/local/share/sgml/catalog.ports does not exist

2003-07-03 Thread David Kelly
Installed 5.1-RELEASE clean from CDROM on new HD and new filesystems 
earlier this week. Installed XFree86 and KDE from ports during the 
initial install. Installed /usr/ports and /usr/src later via CVS and 
am up to date as of yesterday.

Attempting to add certain ports that I'm missing got stuck on 
/usr/ports/news/pan. It breaks while installing docbook stuff for lack 
of /usr/local/share/sgml/catalog.ports.

===   docbook-xml-4.2_1 depends on file: /usr/local/bin/xmlcatmgr - found
for file in `unzip -l /usr/ports/distfiles/docbook-xml-4.2.zip|/usr/bin/awk 
'/:[0-9].*[^\/]$/{print $4}'`; do  install  -o root -g wheel -m 444 
/usr/ports/textproc/docbook-xml/work/$file /usr/local/share/xml/docbook/4.2/$file;  
done
===   Generating temporary packing list
xmlcatmgr: catalog /usr/local/share/sgml/catalog.ports does not exist
*** Error code 1

[...]

Stop in /usr/ports/news/pan.
** Command failed [exit code 1]: /usr/bin/script -qa 
/home/dkelly/tmp/portinstall37524.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
! news/pan  (unknown build error)

Attempts to locate whoever creates catalog.ports have failed. 
Searching my old 4.8 installation indicates it didn't exist there 
either. But its mentioned quite often in /usr/ports/textproc/*/Makefile.

So how do I get past this error?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw/natd/divert question

2003-07-03 Thread B Franks
I'd like to come up a ruleset that handles the following example.  Suppose I 
have a daemon listeing on port 2000 and I'd like outside clients to be able 
to communicate with the daemon by addressing traffic to port 2000 or port 
2001.  So,

suppose I have for my natd configuration:
 -redirect_port tcp 1.2.3.4:2000 1.2.3.4:2001
And then in my ipfw ruleset, if I use:
 add 100 divert natd tcp from any to 1.2.3.4 2001 in via rl0
 add 101 divert natd tcp from 1.2.3.4 2000 to any out via rl0
It seems that traffic coming in normally to 1.2.3.4:2000 would enter fine.  
And traffic coming into 1.2.3.4:2001 would be diverted to natd which would 
rewrite the destination port as 1.2.3.4:2000.  So far so good.  But my 
concern is with the 101 ipfw rule...wouldn't it always rewrite traffic 
leaving from 1.2.3.4:2000 as 1.2.3.4:2001?  In which case is there a way to 
distinguish the outbound divert to only take place if the traffic was 
initially diverted on the way in...some sort of divert keep-state?

Thanks for any help or explanations.

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Seting baclground color in fvwm95?

2003-07-03 Thread stan
How can I set the background color for a session using fvwm95? xsetroot
sets the color, but when the window manmager starts up, it overwrites that
change.

I fell certain it's a setting in the .fvwm95rc file, but I cna't find any
docs on the syntax.


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FW: 2 NIC's (one dhcp) and default route issue

2003-07-03 Thread stan

I'm building a machine with 2 nic's. They will be on seperate subnets, and
in the long run both will have fixed addresses.

However at the moment I've set one of these up for dhcp. The fixed addres
NIC should be the one thta has the default route associated with it, and I
have a defaultrouter= statement in /etc/rc.conf. However, when i boot the
machine netstat shows that teh dhcp interface has aquired the default
route.

How can I correct this?

I tried adding supersede routersxxx.xxx.xxx.xx in /etc/dhclient.conf, but
this does not seem to work.

The machine is 4STABLE, if thta matters.

Thanks.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin

- End forwarded message -

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using a RAID-card with FreeBSD

2003-07-03 Thread Chad Leigh -- Shire.Net LLC
On Thursday, Jul 3, 2003, at 09:44 US/Mountain, Micheal Patterson wrote:
As I recall, that particular system is running an Adaptec 2100S under
FreeBSD 4.8. I've not found any software that can access that 
particular
raid directly for configuration from within the running OS.
Actually Adaptec has FreeBSD management software for the 2100S.  I 
had/have two machines running 2100S and FreeBSD 4.7 and on one of them 
I can get the management software to run and on one of them I can't.  
There is no difference in the machines themselves.  But you can 
download and try the software from the adaptec website.

Chad


The only way to
access it that I'm aware of is with the standard Control A at system 
startup
to access the on board settings of the card. Here, the raid type can be
configured. I will say that I've had a drive failure on this system 
with
little effect on the normal operation of the OS. However, since there 
aren't
any hot swappable bays in this particular system (company didn't want 
to
spend for them), the system has to be shut down to replace the failed 
drive.
However, the system will still boot in diminished mode and continue 
this way
until the new drive has been restored.

--

Micheal Patterson
TSG Network Administration
405-917-0600
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVSupping 5

2003-07-03 Thread Ian Barnes
Hi,

Please forgive my stupidity.

What is the cvsup tag for the 5 branch? RELENG_5 doesnt work. I have
searched the archives, the site and I cant find anything that would help me.

I just installed a 5.1 box, and would like to cvsup and rebuild my kernel.

Thanks alot.

Ian

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSupping 5

2003-07-03 Thread Bill Moran
Ian Barnes wrote:
Hi,

Please forgive my stupidity.

What is the cvsup tag for the 5 branch? RELENG_5 doesnt work. I have
searched the archives, the site and I cant find anything that would help me.
I just installed a 5.1 box, and would like to cvsup and rebuild my kernel.
RELENG_5_1 for the 5.1-RELEASE critical updates
. for the bleeding-edge -CURRENT update (yes that's  a '.')
If you look in /usr/share/examples/cvsup there are several example cvsup
files.  The one called 'standard-supfile' should get you -CURRENT.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


archive search broken?

2003-07-03 Thread Will Saxon
I'm fairly certain that there was a thread in -current regarding work on a 'health and 
wellness' type driver for HP ProLiant machines but I can't seem to actually get any 
results for any searches since at least yesterday afternoon. Is this a known issue or 
am I doing something wrong?

-Will
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem adding user (4.8R)

2003-07-03 Thread Johan Paul
Hi,

I just installed FreeBSD 4.8 and tried to add a user to the system using 
'adduser foo'.

I get a few questions and then this:

-- 8 --
Don't worry about mistakes. I will give you the chance later to correct 
any input.
Enter username [foo]:
Please enter a username
Enter username [foo]: foo
Please enter a username
Enter username [foo]:
-- 8 --

...whatever I type in as username, the system rejects it.

I can add users via sysinstall. But this bothers me... what could be wrong?

Regards,

Johan Paul

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


no /usr/src/etc/

2003-07-03 Thread John DeStefano
I was trying a 'mergemaster' as seen here but kept getting the following error:
cp: /usr/src/etc/master.passwd: No such file or directory
  *** FATAL ERROR: Cannot copy files to the temproot environment
I verified that this file indeed does not exist, then realized something else when 
trying to 'cd' to /usr/src/etc/: the entire /usr/src/etc/ directory doesn't exist!
The only subdirectory of /usr/src/ is sys/conf/ .
Have I broken something???
'man' tells me all about 'master.passwd' but not how to regenerate it if it's missing
(including encrypted info).  Is the proper method as simple as the following:
# cp /etc/master.passwd /usr/src/etc/master.passwd
...or should I instead do this recursively:
# cp /etc/ /usr/src/etc/

Thanks,
~John
 
# uname -a
FreeBSD gandalf.istari 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem adding user (4.8R)

2003-07-03 Thread Kevin Kinsey, DaleCo, S.P.
From: Johan Paul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 1:41 PM
Subject: Problem adding user (4.8R)


 Hi,
 
 I just installed FreeBSD 4.8 and tried to add 
 a user to the system using 'adduser foo'.
 
 I get a few questions and then this:
 
 -- 8 --
 Don't worry about mistakes. I will give 
 you the chance later to correct any input.
 Enter username [foo]:
 Please enter a username
 Enter username [foo]: foo
 Please enter a username
 Enter username [foo]:
 -- 8 --
 
 ...whatever I type in as username, the system rejects it.
 

Does 'foo' match the regexp that you entered
or already had setup when you were 'answering
a few questions?'

Kevin Kinsey
DaleCo, S.P.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvs co CVSROOT

2003-07-03 Thread freebsd_deamon
dear list

i just tried to cvs co CVSROOT in order to try out setting up a CVS
repository - the FreeBSD way as described in the article of the same
name in the docs section
but there seem to be a few file missing in the CVSROOT i got
trying modules as access got me an error message that the file disapeard?!

can someone tell me what is going on? 

thanks

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem adding user (4.8R)

2003-07-03 Thread Bill Moran
Johan Paul wrote:
Hi,

I just installed FreeBSD 4.8 and tried to add a user to the system using 
'adduser foo'.

I get a few questions and then this:

-- 8 --
Don't worry about mistakes. I will give you the chance later to correct 
any input.
Enter username [foo]:
Please enter a username
Enter username [foo]: foo
Please enter a username
Enter username [foo]:
-- 8 --

...whatever I type in as username, the system rejects it.

I can add users via sysinstall. But this bothers me... what could be wrong?
I'm guessing that during the startup portion of adduser, you entered foo as
the username regex.  This isn't where you enter a username, but where you
enter a pattern that limits the possible usernames.
Deleting /etc/adduser.conf will get you back to the shipped defaults.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache Security

2003-07-03 Thread Jason Morefield
As I recall Microsoft offered a Unix version of frontpage server extensions
actually.  I do however remember it being a serious pain in the neck that
wasn't worth the time it took to manage it.  But that's just my $0.02.

Jason
- Original Message - 
From: Matt Heath [EMAIL PROTECTED]
To: Dead Line [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 9:36 AM
Subject: Re: Apache Security


 Dead Line wrote:

  Hello Everyone,
 
  Is Apache with fp extention (apache-fp)   not secure to run in a
  machine ?


 it is best to assume that nothing is secure 8)

  In the meantime that this machine is made for this purpose, web
  hosting!
 
  im on FreeBSD 4.8-R
 
  Please Advise.

 your customers will be irritated when their ActiveX based Frontpage
 components don't work on Unix.

 other than that, well done  good luck

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem adding user (4.8R)

2003-07-03 Thread Johan Paul
 I get a few questions and then this:

 -- 8 --
 Don't worry about mistakes. I will give you the chance later to 
correct any input.
 Enter username [foo]:
 Please enter a username
 Enter username [foo]: foo
 Please enter a username
 Enter username [foo]:
 -- 8 --

 ...whatever I type in as username, the system rejects it.

 Does 'foo' match the regexp that you entered
 or already had setup when you were 'answering
 a few questions?'
Well, I think so This is what I did:

-- 8 --
silakka# adduser mats
Use option ``-silent'' if you don't want to see all warnings and questions.
Check /etc/shells
Check /etc/master.passwd
Check /etc/group
Usernames must match regular expression: [kypeli]: mats
Enter your default shell: bash csh date no sh tcsh [bash]:
Your default shell is: bash - /usr/local/bin/bash
Enter your default HOME partition: [/home]:
Copy dotfiles from: /usr/share/skel no [/usr/share/skel]:
Send message from file: /etc/adduser.message no
[/etc/adduser.message]:
Use passwords (y/n) [y]:
Write your changes to /etc/adduser.conf? (y/n) [n]:

Ok, let's go.
Don't worry about mistakes. I will give you the chance later to correct 
any input.
Enter username [mats]:
Please enter a username
Enter username [mats]:
Please enter a username
Enter username [mats]: mats
Please enter a username
Enter username [mats]:
-- 8 --

Did I do something wrong?


 Kevin Kinsey
 DaleCo, S.P.
Best regards,

Johan Paul



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem adding user (4.8R)

2003-07-03 Thread Johan Paul
Stefan Prestele wrote:

I think the problem is, that you have entered a user name when you were
asked for a regex for user names. So restart adduser and read the
questions properly. The question for a regular expression that user
names have to match should be 'a-z0-9_-´ (whithout the quotes). Then
when the question for the user name to add appears you should be able to 
enter every name matching the obove regex.
Thanks - this was the problem! :-) I'm used to the Linux way of adding 
users which doesn't have this setup phase - I just have to remember to 
use the -silent toggle when adding further users.

Thanks! :-)



On Thu, Jul 03, 2003 at 09:41:58PM +0300, Johan Paul wrote:

Hi,

I just installed FreeBSD 4.8 and tried to add a user to the system using 
'adduser foo'.

I get a few questions and then this:

-- 8 --
Don't worry about mistakes. I will give you the chance later to correct 
any input.
Enter username [foo]:
Please enter a username
Enter username [foo]: foo
Please enter a username
Enter username [foo]:
-- 8 --

...whatever I type in as username, the system rejects it.

I can add users via sysinstall. But this bothers me... what could be wrong?

Regards,

Johan Paul

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 NIC's (one dhcp) and default route issue

2003-07-03 Thread Han Hwei Woo
The correct syntax is:
supersede routers 0.0.0.0;
Did you forget the semicolon in the config also? /etc/dhclient.conf is the
way to do this, so make sure everything in the file is correct.

Han Hwei Woo
http://www.argosy.ca/~hhw

- Original Message - 
From: stan [EMAIL PROTECTED]
To: Free BSD Questions list [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 11:00 AM
Subject: FW: 2 NIC's (one dhcp) and default route issue



 I'm building a machine with 2 nic's. They will be on seperate subnets, and
 in the long run both will have fixed addresses.

 However at the moment I've set one of these up for dhcp. The fixed addres
 NIC should be the one thta has the default route associated with it, and I
 have a defaultrouter= statement in /etc/rc.conf. However, when i boot the
 machine netstat shows that teh dhcp interface has aquired the default
 route.

 How can I correct this?

 I tried adding supersede routersxxx.xxx.xxx.xx in /etc/dhclient.conf,
but
 this does not seem to work.

 The machine is 4STABLE, if thta matters.

 Thanks.

 -- 
 They that would give up essential liberty for temporary safety deserve
 neither liberty nor safety.
 -- Benjamin Franklin

 - End forwarded message -

 -- 
 They that would give up essential liberty for temporary safety deserve
 neither liberty nor safety.
 -- Benjamin Franklin
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


list archives not searchable anymore?

2003-07-03 Thread Chad Leigh -- Shire.Net LLC
Hi

Using the page http://www.freebsd.org/search/search.html#mailinglists 
I try and search for any term at all and they all come back with no 
results.

This happens on OS X Safari browser, OS X IE, and Windows XP IE6.  Is 
this broken or am I just doing something wrong?

thanks
Chad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT Re: mozilla stalls

2003-07-03 Thread Matthew Seaman
On Thu, Jul 03, 2003 at 10:50:12AM -0500, Matthew Bettinger wrote:
 On Thursday 03 July 2003 10:44 am, Matt Heath wrote:
  I've had a recurring issue with Mozilla and Firebird (was Phoenix):
  The browsers will stall in a seemingly non-deterministic fashion.
 
  I get that too
 
 My mozilla will hang for a few minutes when I enter a url in the 
 location bar.  If I fire it up and click on the link that are already 
 there it's fine.  The moment I try to type a new URL in the bar it just 
 hangs.  I am using the nvidia drivers on bsd 4.8.  Never had a problem 
 (that I can recall) until I installed the nvidia drivers..  could be 
 wrong tho.  

I you go into Mozilla preferences, under Advanced : Keyboard
Navigation and disable Find As You Type, then you'll avoid the several
minutes of hang the first time you try and type into a text field or
the location bar.  Presumably the same trick would work with Firebird,
but unfortunately there doesn't appear to be a control for disabling
that feature.

I don't think this has anything to do with the video hardware or
drivers you're using -- I guess that was just a coincidence.  You must
have installed or upgraded Mozilla around the same time.  This pausing
thing was introduced around the same time as Mozilla 1.3 was released.
It's not just FreeBSD that suffers either.  There have been bug
reports in Mozilla's Bugzilla DB for some time, but the problem still
persists.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: A softupdates problem?

2003-07-03 Thread Mark
- Original Message - 
From: Matthew Seaman [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 1:23 PM
Subject: Re: A softupdates problem?


 Hmmm... not an answer to the question you asked, but does
 not:

# chflags nodump your-very-large-file

 in combination with using the '-h 0' flag to dump(8) let you backup
 the partition without including the file in question?

Thanks for the suggestion. :) I will use that.

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: list archives not searchable anymore?

2003-07-03 Thread Matthew Seaman
On Thu, Jul 03, 2003 at 01:50:39PM -0600, Chad Leigh -- Shire.Net LLC wrote:

 Using the page http://www.freebsd.org/search/search.html#mailinglists 
 I try and search for any term at all and they all come back with no 
 results.
 
 This happens on OS X Safari browser, OS X IE, and Windows XP IE6.  Is 
 this broken or am I just doing something wrong?

This appears to be problem with the website, perhaps a consequence of
the move of all of the FreeBSD mailing lists from majordomo to Mailman
a few months ago.  You should go to
http://lists.freebsd.org/mailman/listinfo where if you follow the
links to the archives of any particular list, you can then search
within that list -- unfortunately, just one list at a time though.

A handy trick, I find, is to use Googles' site: feature.  Eg, this
search will pick up references to the Adaptec 2100S Raid Controller in
FBSD mailing lists:


http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=site%3Alists.freebsd.org+adaptec+2100SbtnG=Google+Searchmeta=

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Bandwidth Question

2003-07-03 Thread Patrick O'Reilly
From: Chris [EMAIL PROTECTED]

 I was wondering what is the best way to limit bandwidth to a set of IP
 addresses?  I've read some about dummynet.  Would this be the
preffered
 tool to use?

Yes - dummynet must be used in conjunction with ipfw.  ipfw is for
firewalling, but you can use it to select traffic which must be limitted
by dummynet.

'man ipfw' and 'man dummynet'

  Also, if someone could recommend a program to log how much
 bandwidth a particular IP uses per month etc..., and also display
graphs
 about bandwidth usage I would appreciate it.

check out mrtg in the ports collection.


 Thank You
 -Chris

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Transporting RAID-1 image from a 40G to a 80G set

2003-07-03 Thread Mark
Ok, I know this issue has been brought up in many variations in the past,
but I would like to know how to make a disk-image of my RAID-1, in such a
way that I can transport the image from a 40G to a 80G set (FreeBSD 4.7R).

I know I can use dd to copy the data to another blank hard disk. But I
wonder whether a hard disk with such an image can really be used as
'template' for the new 80G array. For one because I suspect the
RAID-controller (the onboard Promise 20276 RAID) actually marks the disks in
its array set (as in: writes to a specific sector, so as to know who is
who), so that I can not just swap it for another disk which, seemingly, has
the same image (made with dd). And for two, of course, because I doubt I can
get the RAID-controller to do the RAID-equivalent of a growfs.

It may just be I have to rebuild a 80G array from scratch. But still then
the same problem exists: how to restore the root-partition onto the new
array? The normal procedure would be to place an extra blank disk, onto
which I would restore a dump-file, after which I cable the extra disk to be
the primary disk again; but that would bring the same issue as above: such
an extra disk cannot take the place of one of the disks in the array (as the
RAID-controller marks those).

So, has anyone any ideas?

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FReeBSD 5.1 and Promise TX4

2003-07-03 Thread Andrew Batson
Hello,

Has nay one gotten FreeBSD 5.1 Release to install on a system that
has both a Promise Ultra 66 and a Promise TX4 controller cards. The Promise
Ultra 66 controller controls one 20GB hard disk drive (which I would like to
be the boot disk) and the Promise TX4 has 4 HD's configured in raid mode 01.


I have try to get the install to work many time but it keeps
failing. The FreeBSD install see the following hard disk drives - ad10,
ad12, ad4, ad6, ad8, ar0. I think the disk drives I want is ad4 but the
install complains that it cannot write to the disk. I have also tried ad10
with the same effect. I would like to install to the hard disk drive that is
control by the Promise Ultra 66.

If I take the Promise TX4 out, the install runs just fine and
install with our problems to the AD4 disk. FreeBSD boots up and running
happy. However, when I then put the Promise TX4 back in and the system would
not boot - I get dump to the following prompt mountdrive or something like
that.

Also, I did have this same setup working just fine under FreeBSD 4.7
Release, so I am download the ISO for 4.8 Release and will try that. 

System is home made, Abit BE6-II motherboard, PIII 600Mhz, 256MB,
Matrox G200 AGP Video card, CDROM (on the motherboard primary controller as
master) Promise Ultra66 controlling one 20GB hard disk drive, and Promise
TX4 with 4 HD's in raid 01 configuration. 

Right now I am learning FreeBSD and so I can blow the system up any
way I like.

Any help would be nice,

Thanks,
Andrew AKA Dyslextic


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Disable PING command

2003-07-03 Thread Nucking Futs
How would I go about disabling users command to ping?  If need be I would be 
willing to just disable the ping command altogether as a last resort.

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable PING command

2003-07-03 Thread Dirk-Willem van Gulik


On Thu, 3 Jul 2003, Nucking Futs wrote:

 How would I go about disabling users command to ping?  If need be I would be
 willing to just disable the ping command altogether as a last resort.

Well - anyone could compile a fresh version; or copy a version from
another machine into his home dir or /tmp; but if you ignore that type of
level of ability in your user a small obstacle would be:

# ls -l /sbin/ping
-r-sr-xr-x  1 root  wheel  421060 Apr 28 15:49 /sbin/ping
# chmod a-rx /sbin/ping

which makes it executable only to the owner and those member of wheel.
Which users generally are not. But ping is not exactly a dangerous command
- so why worry about it ?

Dw

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable PING command

2003-07-03 Thread Drew Tomlinson
- Original Message - 
From: Nucking Futs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 1:43 PM
Subject: Disable PING command


 How would I go about disabling users command to ping?  If need be I
would be
 willing to just disable the ping command altogether as a last resort.

I'm guessing you could set the permissions on the binary file so that
'users' don't have permission?  I don't know for sure but it seems like
that might work.  Others may have better suggestions.

HTH,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GDM and Metacity

2003-07-03 Thread Wayne Pascoe
Hi all,

I'm trying to get GDM and Metacity running on FreeBSD 4.8. 

The first time I ran GDM, I got a message saying no XDMCP running. I
then ran gdmsetup in an X session and set Enable XDMCP. Now I can run
gdm and it exits without errors, but nothing comes up on screen 9. 

I see gdm-binary running in a ps list. I've also tried changing
/etc/ttys entry for xdm to gdm, but it still does nothing.

My other question is with regards to metacity. I have changed my
.xinitrc file to just have metacity on a line by itself, and I think
metacity is running because CTRL-ALT-LEFT and CTRL-ALT-RIGHT appears to
be cycling desktops (window appears in the middle of my screen), but I'm
not getting a taskbar, dock, background or anything else of use. 

If anyone has any advice on these issues, I'd be greatful.

I have checked the archives, but they appear to be down. Any search
term, including FreeBSD returns
The archive freebsd-questions contains the following items relevant to
`freebsd':
and no results.

Regards,

-- 
Wayne Pascoe
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SDBUG] Re: Monitor dimming

2003-07-03 Thread Peter Leftwich
On Thu, 3 Jul 2003, Matthew Seaman wrote:
 I suspect that XFree86 is just applying its default settings, given
 that you haven't told it to do otherwise.

Makes sense.  I'm not complaining.

  Is xset the only thing that can make use of DPMS or is there a binary in
  the default / standard / minimum *BSD installation to control it too?
 Look at vidcontrol(1) -- specifically the '-t blanktime' option.  You
 can go direct to the screen saver on a console screen by hitting
 Shift-Pause -- see splash(4).  However whether this involves DPMS
 directly or not, I don't know.

Good ideas, vidcontrol and splash . . . I just tried the Shift+Pause trick
and it did not work, probably because I have X running elsewhere.

By the way, is there a good write-up somewhere why I cannot run
xscreensaver while logged in as root?  Thanks for entertaining this thread
of mine for so long, Dr. Seaman.

   Cheers,
   Matthew
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


format of /etc/crontab?

2003-07-03 Thread Rich Morin
The cron(8) man page (on my FreeBSD 4.7 system) says:

   Cron searches /var/cron/tabs for crontab files which are named after
   accounts in /etc/passwd; crontabs found are loaded into memory.  Cron
   also searches for /etc/crontab which is in a different format (see
   crontab(5)).
The crontab(5) man page, however, says nothing about any differences in
the file formats.  Instead, it appears to describe only the format that
is used in /var/cron/tabs/* files.
I would like to know precisely how the format of /etc/crontab differs,
but I can't find any man page that addresses this.  Help?
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm- my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FReeBSD 5.1 and Promise TX4

2003-07-03 Thread Joachim Dagerot
On Thu, 2003-07-03 at 22:35, Andrew Batson wrote:
 Hello,
 
   Has nay one gotten FreeBSD 5.1 Release to install on a system that
 has both a Promise Ultra 66 and a Promise TX4 controller cards. The Promise
 Ultra 66 controller controls one 20GB hard disk drive (which I would like to
 be the boot disk) and the Promise TX4 has 4 HD's configured in raid mode 01.

For what it's worth:

I have a similar configuration, (other disks though).

And I dont boot on a disk controlled by Promise, but I do have my /home
and /usr located on a raid-5 system controlled by Promise TX2.

I didn't do anything on the disks controlled by Promise during
installation, instead I installed a software RAID controller and started
to move various mounts to the RAID system.





(Phu, it sounds so simple when I wrote that, believe me if I tell it
wasn't, just because I'm one of those idiots that still think it's best
to try out without the manual first. :-)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable PING command

2003-07-03 Thread Joshua Oreman
On Thu, Jul 03, 2003 at 04:53:17PM -0400 or thereabouts, Mykroft Holmes IV wrote:
 
 
 Nucking Futs wrote:
 
 How would I go about disabling users command to ping?  If need be I 
 would be willing to just disable the ping command altogether as a last 
 resort.
 
 
 chmod 700 /usr/bin/ping (or /bin/ping) can't remember where ping lives.

/sbin/ping

Or you could just chmod u-s it... it needs SU privleges so if its not SUID,
uses can't run it. At all.

-- Josh

 
 Adam
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: format of /etc/crontab?

2003-07-03 Thread Joshua Oreman
On Thu, Jul 03, 2003 at 01:54:36PM -0700 or thereabouts, Rich Morin wrote:
 The cron(8) man page (on my FreeBSD 4.7 system) says:
 
Cron searches /var/cron/tabs for crontab files which are named after
accounts in /etc/passwd; crontabs found are loaded into memory.  Cron
also searches for /etc/crontab which is in a different format (see
crontab(5)).
 
 The crontab(5) man page, however, says nothing about any differences in
 the file formats.  Instead, it appears to describe only the format that
 is used in /var/cron/tabs/* files.
 
 I would like to know precisely how the format of /etc/crontab differs,
 but I can't find any man page that addresses this.  Help?

Normal crontabs have the time fields, and then the command to run.
/etc/crontab has an additional field after the time fields but before
the command -- the user to run the command as (usually root). This
is said in comments in /etc/crontab.

-- Josh

 
 -r
 -- 
 email: [EMAIL PROTECTED]; phone: +1 650-873-7841
 http://www.cfcl.com/rdm- my home page, resume, etc.
 http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
 http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disable PING command

2003-07-03 Thread K Anderson


Nucking Futs wrote:
How would I go about disabling users command to ping?  If need be I 
would be willing to just disable the ping command altogether as a last 
resort.
Adverspam removed
Good luck. All it takes is a user to port, transfere, compile, copy, 
move or hack in a ping command of their own. Any languages could be 
used, PERL, PHP, Python and much more.

Your other option is to administratively block any and all traffic that 
might be created via the ping command so that it just gets dropped by 
the firewall. Of course there might be other ways around that too.

HTH and good luck.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: format of /etc/crontab?

2003-07-03 Thread Brooks Davis
On Thu, Jul 03, 2003 at 01:54:36PM -0700, Rich Morin wrote:
 The cron(8) man page (on my FreeBSD 4.7 system) says:
 
Cron searches /var/cron/tabs for crontab files which are named after
accounts in /etc/passwd; crontabs found are loaded into memory.  Cron
also searches for /etc/crontab which is in a different format (see
crontab(5)).
 
 The crontab(5) man page, however, says nothing about any differences in
 the file formats.  Instead, it appears to describe only the format that
 is used in /var/cron/tabs/* files.
 
 I would like to know precisely how the format of /etc/crontab differs,
 but I can't find any man page that addresses this.  Help?

Hmm, cron(8) mentions that /etc/crontab is in a difference format and
refrences crontab(5), but you seems to be correct that crontab(5)
doesn't mention the differences.  I'm fairly sure the only difference is
the who field between the time and command specifications.  A bit of
digging in the cron code found this comment:

/* this function reads one crontab entry -- the next -- from a file.
 * it skips any leading blank lines, ignores comments, and returns
 * EOF if for any reason the entry can't be read and parsed.
 *
 * the entry is also parsed here.
 *
 * syntax:
 *   user crontab:
 *  minutes hours doms months dows cmd\n
 *   system crontab (/etc/crontab):
 *  minutes hours doms months dows USERNAME cmd\n
 */

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp0.pgp
Description: PGP signature


Re: format of /etc/crontab?

2003-07-03 Thread Paul Chvostek
On Thu, Jul 03, 2003 at 01:54:36PM -0700, Rich Morin wrote:

 The crontab(5) man page, however, says nothing about any differences in
 the file formats.  Instead, it appears to describe only the format that
 is used in /var/cron/tabs/* files.

 I would like to know precisely how the format of /etc/crontab differs,
 but I can't find any man page that addresses this.  Help?

The /etc/crontab is largely self-documenting.  It is similar to the
format of the other crontab files, and includes a comment line:

#minute hourmdaymonth   wdaywho command

What further information do you need?

-- 
  Paul Chvostek [EMAIL PROTECTED]
  Operations / Abuse / Whatever
  it.canada, hosting and development   http://www.it.ca/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Drew Tomlinson
- Original Message - 
From: Paul Chvostek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 10:37 AM


 On Thu, Jul 03, 2003 at 10:12:22AM -0700, Drew Tomlinson wrote:
 
  :0:
  * ^List-Id:[^]+freebsd-\/[^.]+
  Maildir/FreeBSD/$MATCH/new
 
  And I'm getting messages like this in my procmail log:
 
  procmail: Assigning
PATH=/home/drew/bin:/bin:/usr/bin:/usr/local/bin
  procmail: Lock failure on Maildir/FreeBSD/alpha/new.lock
  procmail: Error while writing to Maildir/FreeBSD/alpha/new
 
  OK, I assume the error is because Maildir/FreeBSD/alpha/new does not
  exist.  How can I get procmail to create the directory it needs?

 As you no doubt read on the procmail manpage:

 |  If the mailbox name ends  in  /,  then  this
 |  directory  is presumed to be a maildir folder; i.e., proc-
 |  mail will deliver the message to a file in a  subdirectory
 |  named  tmp  and  rename  it  to be inside a subdirectory
 |  named new.

 Now ... I obviously don't use maildir format, but to me, this would
 imply a format something like:

   :0
   * ^List-Id:[^]+freebsd-\/[^.]+
   FreeBSD/$MATCH/

 I'm assuming that the leading Maildir/ is redundant, as is the
pointer
 to the new folder.

Thanks for pointing out my oversight and all of the help so far.  I've
added the / and now my recipe is:

:0
* ^List-Id:[^]+freebsd-\/[^.]+
/Maildir/FreeBSD/$MATCH/

However I get these messages from the procmail log:

procmail: Matched test
procmail: Match on ^List-Id:[^]+freebsd-\/[^.]+
procmail: Unable to treat as directory /Maildir/FreeBSD/test
procmail: Assigning LASTFOLDER=/Maildir/FreeBSD/test
procmail: Opening /Maildir/FreeBSD/test
procmail: Error while writing to /Maildir/FreeBSD/test

I've tried without the leading /, without the Maildir, and without
/Maildir/ but I keep getting the same type of error.  Maildir is owned
by me and is mode 700.  I tried changing to 777 but that didn't help so
I put it back to 700.  According to the man page, the directory should
be created if it doesn't exist.  From the man page:

If the mailbox is specified  to  be an  MH  folder  or  maildir  folder,
procmail will create the necessary directories if they don't exist,
rather than treat  the  mailbox  as  a non-existent filename.

I feel I am close.  Can anyone enlighten me and point out what I'm
missing?

Thanks,

Drew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


crontab same time execution order

2003-07-03 Thread Dave McCammon
If two entries in the crontab are for the same time,
which entry gets ran first?

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About newsyslog behavior

2003-07-03 Thread Garance A Drosihn
At 12:08 PM +0300 7/2/03, Jim Xochellis wrote:
I suspected  that some processes are confused because
a *new* log file is created and these processes are
making the assumption that their log file will be always
the same and perhaps they open it once and then work with
the FILE pointer.
If a program responds to SIGHUP by re-opening all of it's
files, then it really should re-open the log file.  If
the program does not re-open the logfile when it get a
SIGHUP, then it is more accurate to say it is ignoring
the SIGHUP (as far as that log file is concerned).  Ie,
there is no way that it is correct for the program to
behave in the way you describe, if it is trying to do
the right thing with the log file.
I have confirmed that newsyslog actually creates a new
log file (instead of copying it and then disposing its
contents) by reading the source of the newsyslog.c file
Yes, and that doen because it is the safest and most
reliable way for it to rotate a logfile without any
hitting any race-conditions.
Having the above in mind, isn't it worthwhile to add an
option in newsyslog in order to avoid the creation of a
new log file when it is inconvenient?
This does not seem like a good idea to me.  It might work
okay in the case where you are keeping no backup files,
but it is a really bad idea if you want to rotate the
information to backup files.
Isn't it feasible to dispose the contents of the old log
file instead of creating a new one?  Anything that I am
missing here? (giving the fact that I am not a unix guru,
only a C programmer)
If the program does not have some way to REALLY re-open the
log file, then the file-pointer might also be pointing to a
specific point in the file.  Let's say it is at byte 125000
into the file.  You empty the file.  The next time the
program writes to the log file, it will write to byte 125001
(depending on how the program is written).  Some programs
may work with this strategy, but others will not.
I think you should look at the programs you are having trouble
with, and see if there is some alternate way to get them to
correctly handle the log file that you want to rotate.
disclaimer: I am about to go on holiday/vacation for a few
days, so all of the above comments were just my initial
reaction.  I realize this reply is not very helpful, but
I'll try to write up something more helpful if no one else
comes up with a good solution for you.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Eterm / imlib2 / image loaders.

2003-07-03 Thread lewiz
Hi,

  I've just tried to install Eterm so I can use Esetroot for images,
etc.  However, I was getting messages and decided to try Eterm -- at
which point I get:

Eterm:  Error:  Unable to load image file bar_horizontal_1.png -- No
loader available for that file format

I get quite a few, but they're all the same with different image names.
A bit of Googling helped me locate this to imlib2, which I rebuilt until
I discovered the image handlers were ripped out, or something.  I then
installed graphics/imlib2_loaders, which has extra image loader plugins.
I've rebuilt everything and it still doesn't work.  In
/usr/X11R6/lib/loaders/image I have plenty of .so files (I actually
don't believe that imlib2_loaders provided the ones I required (the
pkg-plist doesn't include jpeg)).

  Anybody with any ideas?  It's getting a bit frustrating now...

-lewiz.

-- 
If God had wanted you to go around nude, He would have given you bigger
hands.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Paul Chvostek
On Thu, Jul 03, 2003 at 02:26:49PM -0700, Drew Tomlinson wrote:
 
:0
* ^List-Id:[^]+freebsd-\/[^.]+
FreeBSD/$MATCH/

 Thanks for pointing out my oversight and all of the help so far.  I've
 added the / and now my recipe is:

 :0
 * ^List-Id:[^]+freebsd-\/[^.]+
 /Maildir/FreeBSD/$MATCH/

You're storing your Maildir in the root directory of the server?

 However I get these messages from the procmail log:

 procmail: Matched test
 procmail: Match on ^List-Id:[^]+freebsd-\/[^.]+
 procmail: Unable to treat as directory /Maildir/FreeBSD/test
 procmail: Assigning LASTFOLDER=/Maildir/FreeBSD/test
 procmail: Opening /Maildir/FreeBSD/test
 procmail: Error while writing to /Maildir/FreeBSD/test

It looks as if procmail doesn't have permissions to create directories
in the root directory of your server.  That's a Good Thing.

 I've tried without the leading /, without the Maildir, and without
 /Maildir/ but I keep getting the same type of error.  Maildir is owned
 by me and is mode 700.

That's the right mode, but think about where the directory is, and where
procmail wants to find out.  Look in the procmail documentation (manpage
for procmailrc) for variables like $DEFAULT, $MAILDIR, $HOME, etc.

 If the mailbox is specified  to  be an  MH  folder  or  maildir  folder,
 procmail will create the necessary directories if they don't exist,
 rather than treat  the  mailbox  as  a non-existent filename.

 I feel I am close.  Can anyone enlighten me and point out what I'm
 missing?

Remember that paths that start with a / are absolute, and all other
paths are relative to $MAILDIR.

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/
  Free PHP web hosting!http://www.it.ca/web/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >