Re: no specifc dhcpd port found

2006-10-05 Thread Jonathan McKeown
On Wednesday 04 October 2006 23:46, Noah wrote:
 Hi there,

 I am unable to find the dhcpd port in /usr/ports

 where should  I be looking?

 # find /usr/ports -name dhcp\*

I find the easiest way to search for ports is

# cd /usr/ports
# make search name=dhcp | grep -A2 '^Port:'

This finds every port whose name includes the string dhcp, and then gives the 
Port: line and the two following it in each response. This drops the 
Maintainer:, B-deps:, R-deps:, and Web: lines, giving you something like:

Port:   dhcp-agent-0.41
Path:   /usr/ports/net/dhcp-agent
Info:   A portable UNIX Dynamic Host Configuration suite
--
Port:   dhcp6-20040903a
Path:   /usr/ports/net/dhcp6
Info:   KAME DHCP6 client and server
--
Port:   dhcpdump-1.7
Path:   /usr/ports/net/dhcpdump
Info:   Decode and diagnose sniffed DHCP packets
--
Port:   dhcping-1.2
Path:   /usr/ports/net/dhcping
Info:   Send DHCP request to DHCP server for monitoring purposes
--
Port:   isc-dhcp3-client-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-client
Info:   The ISC Dynamic Host Configuration Protocol client
--
Port:   isc-dhcp3-devel-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-devel
Info:   The ISC Dynamic Host Configuration Protocol API
--
Port:   isc-dhcp3-relay-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-relay
Info:   The ISC Dynamic Host Configuration Protocol relay
--
Port:   isc-dhcp3-server-3.0.1.r14_6
Path:   /usr/ports/net/isc-dhcp3-server
Info:   The ISC Dynamic Host Configuration Protocol server
--
Port:   wide-dhcp-1.4.0.6_2
Path:   /usr/ports/net-mgmt/wide-dhcp
Info:   Dynamic Host Configuration Protocol, WIDE Implementation

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


Re: Compatibility Between Releases Policy

2006-10-05 Thread Erik Norgaard

Jason C. Wells wrote:

Where is the policy regarding compatibility between releases documented?

I recall reading once upon a time that FreeBSD won't break compatibility 
for the duration of a major point release.  If a third party wrote 
software for 6.0 it would be perfectly compatible with 6.1, 6.2 and on.


The reason I ask is that I am considering the wisdom of running 
portupgraed with each minor point release.


I don't think you can rely on POLA for ports. But for the base system, 
the developers try to stick to the Principle Of Least Astonishment, in 
particular across minor version numbers.


Chears, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
I recently bought a drive caddy for an ATA hard drive. The unit is in two 
parts: a cassette, into which can be fitted a standard ATA hard drive, and a 
carrier permanently fitted into a standard drive bay. The carrier includes a 
power keyswitch for the drive bay.

I installed it, brought the box (running 4.9) back up, and then switched on 
the power to the drive. FreeBSD didn't recognise the drive even after an 
atacontrol reinit of the channel.

I then dropped the box and brought it back up with the keyswitch for the drive 
in the ON position. It now recognises the drive (could this be 
BIOS-related?).

Is it safe to simply switch the power to the drive off using the keyswitch and 
then remove the cassette with the server running but the drive bay powered 
down? Do I need to do anything other than ensure that the drive is unmounted 
at the time?

And having done that, if I replace the drive and then reapply power using the 
keyswitch, would I need to do anything to get FreeBSD to notice the return of 
the device?

I'm reluctant to experiment any more than I have done: the server the drive 
bay has been fitted to is our live fileserver, with 120GB of user data on two 
drives on the other ATA channel.

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


Re: Removing removable ATA hard drives

2006-10-05 Thread Olivier Nicole
Hi, 

 I'm reluctant to experiment any more than I have done: the server
 the drive bay has been fitted to is our live fileserver, with 120GB
 of user data on two drives on the other ATA channel.

I know I would take time to install the drive bay in a test machine,
with an old disk and play with it until I am 100% confident on the way
to mount and dismount your disk... Whatever others can say.

Olivier

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


Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:38, Olivier Nicole wrote:
 Hi,

  I'm reluctant to experiment any more than I have done: the server
  the drive bay has been fitted to is our live fileserver, with 120GB
  of user data on two drives on the other ATA channel.

 I know I would take time to install the drive bay in a test machine,
 with an old disk and play with it until I am 100% confident on the way
 to mount and dismount your disk... Whatever others can say.

Yes, so would I normally but I'm under pressure for a quick fix to this and a 
number of other issues, as you might guess from the OS version on the server: 
I'm trying to impose order on a bunch of inherited and undocumented servers 
running (at least) 4.7-release, 4.9-release, 4.9-stable, 5.2-release, 
5.4-release-p6, plus Red Hat 6.0 and WinNT 4.0 SP6a.

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


Re: Removing removable ATA hard drives

2006-10-05 Thread Olivier Nicole
   I'm reluctant to experiment any more than I have done: the server
   the drive bay has been fitted to is our live fileserver, with 120GB
   of user data on two drives on the other ATA channel.
 
  I know I would take time to install the drive bay in a test machine,
  with an old disk and play with it until I am 100% confident on the way
  to mount and dismount your disk... Whatever others can say.
 
 Yes, so would I normally but I'm under pressure for a quick fix to this and a 
 number of other issues, as you might guess from the OS version on the server: 
 I'm trying to impose order on a bunch of inherited and undocumented servers 
 running (at least) 4.7-release, 4.9-release, 4.9-stable, 5.2-release, 
 5.4-release-p6, plus Red Hat 6.0 and WinNT 4.0 SP6a.

Unless you need to move that disk from one machine to another, fix it
in your server, keep the tray for future testing when you will have
more time... (if we ever have more time in the present life :)

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


Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 11:00, Olivier Nicole wrote:

[Power down a drive bay using its built-in keyswitch and pull the disk without 
dropping the whole box]
 Unless you need to move that disk from one machine to another, fix it
 in your server, keep the tray for future testing when you will have
 more time... (if we ever have more time in the present life :)

I should probably have said: we don't currently have offsite backups (we've 
exceeded the capacity of our tape device and our budget), and the quick-fix 
solution is dumping to this hard drive and then pulling it out and taking it 
home. As such the removability is key to its intended function. I can't keep 
dropping the main fileserver to fiddle with it, and the alternative in terms 
of testing is to set up another box with the particular 4.9-STABLE snapshot 
running on this server (to eliminate OS version-related variable effects).

I'm hoping some kind person here will save me the trouble by saying, from 
experience, either ``yes, you're on the right track but you need to do x, y 
and z before pulling/replacing the drive cassette'', or ``no, run away 
screaming before your server room goes down in flames''.

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


Re: Removing removable ATA hard drives

2006-10-05 Thread Olivier Nicole
 I should probably have said: we don't currently have offsite backups (we've 
 exceeded the capacity of our tape device and our budget), and the quick-fix 
 solution is dumping to this hard drive and then pulling it out and taking it 
 home.

USB box? At least it is known to be hot plugable.

With the drawback that it will be slower and USB has no data integrity
check.

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


tools for network traffic accounting

2006-10-05 Thread Niek Dekker

Dear list,

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.

Can I do this with a built in program of FreeBSD 6.0 or do I need a port?

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


Re: tools for network traffic accounting

2006-10-05 Thread Bachilo Dmitry
В сообщении от Четверг 05 октября 2006 17:17 Niek Dekker написал(a):
 Dear list,

 I would like to configure a monthly report of the incoming and
 outgoing amount of traffic on the network interface of my server, for
 instance in the monthly run output.

 Can I do this with a built in program of FreeBSD 6.0 or do I need a port?

 Niek

I advice you to use NeTAMS ports. It's just perfect. Check out www.netams.com

 ___
 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]

Member of group wheel, but still can't shutdown system?

2006-10-05 Thread thomas
Hi All,

I've just installed FreeBSD 6.1 and listed myself as a member of the wheel 
group during the add users portion of the installation.  For some reason I 
have not put a finger on yet I cannot shutdown the system do not have 
permission to effect the command.  Went back as root on a later session and 
re-entered my name in /etc/group to the wheel account to no avail, anybody 
got an idea as to where I need to look?

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


Re: Member of group wheel, but still can't shutdown system?

2006-10-05 Thread Nick Withers
On Thu, 5 Oct 2006 13:24:14 +0200
[EMAIL PROTECTED] wrote:

 Hi All,
 
 I've just installed FreeBSD 6.1 and listed myself as a member of the wheel 
 group during the add users portion of the installation.  For some reason I 
 have not put a finger on yet I cannot shutdown the system do not have 
 permission to effect the command.

The shutdown(8) binary (/sbin/shutdown) is not owned by the
wheel group (do an ls -l on it), but by the operator
group.

  Went back as root on a later session and 
 re-entered my name in /etc/group to the wheel account to no avail, anybody 
 got an idea as to where I need to look?

I personally set the execute bit on /sbin/shutdown for
others on my desktop machine, as I want anyone using it
(locally, no remote access enabled) to be able to shut it down.

To do this: chmod o+x /sbin/shutdown. Might be a good idea to
understand the setuid concept beforehand, if you don't
already...

 Thanks,
 Tommy2
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Member of group wheel, but still can't shutdown system?

2006-10-05 Thread albi
On Thu, 5 Oct 2006 13:24:14 +0200
[EMAIL PROTECTED] wrote:

 I've just installed FreeBSD 6.1 and listed myself as a member of the
 wheel group during the add users portion of the installation.  For
 some reason I have not put a finger on yet I cannot shutdown the
 system do not have permission to effect the command.  Went back as
 root on a later session and re-entered my name in /etc/group to the
 wheel account to no avail, anybody got an idea as to where I need to
 look?

# ls -la /sbin/shutdown
-r-sr-x---  1 root  operator  431524 May  2 16:40 /sbin/shutdown

what about group operator ? but i personally would use sudo instead of
group wheel etc.

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


tool for checking website

2006-10-05 Thread Martin Schweizer
Hello 

I'm looking for port which checks if a website is online or not. My goal is 
regulary starts a script which do this for me. Any ideas?

-- 

Regards

Martin 
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpIc516DsruJ.pgp
Description: PGP signature


Re: tool for checking website

2006-10-05 Thread David Kelly


On Oct 5, 2006, at 6:40 AM, Martin Schweizer wrote:

I'm looking for port which checks if a website is online or not. My  
goal is

regulary starts a script which do this for me. Any ideas?


Put a fetch command in your crontab. Experiment so that it emails you  
only when it fails.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: tool for checking website

2006-10-05 Thread Martin Schweizer
Hello Mile

... it's what I'm looking for... very simpe but useful. Thank you for the hint.

Am Thu, Oct 05, 2006 at 08:41:10AM -0400 Mike Jeays schrieb:
 On Thu, 2006-10-05 at 13:40 +0200, Martin Schweizer wrote:
  Hello 
  
  I'm looking for port which checks if a website is online or not. My goal is 
  regulary starts a script which do this for me. Any ideas?
  
 
 #/bin/sh
 
 wget http://target.url
 if [ $? -eq 0 ]
 then
   echo Site is up
 else
   echo Site is down
 fi
 
 Or is this too naive and simple?

-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp5vQRH4EEHy.pgp
Description: PGP signature


Re: tool for checking website

2006-10-05 Thread riccardo_diago

depend on what u really wanna check...
1. the web server?
2. the protocol http?
3. or if the web site is just visible(avoid defacement)
etc...

Can u be more specific?

Rik


signature.asc
Description: OpenPGP digital signature


Re: tool for checking website

2006-10-05 Thread Martin Schweizer
Hello Rik

Am Thu, Oct 05, 2006 at 04:04:23PM +0200 riccardo_diago schrieb:
 
 depend on what u really wanna check...
 3. or if the web site is just visible(avoid defacement)

... only if the web sie is just visible


-- 

Regards

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgpozr0DM4KcU.pgp
Description: PGP signature


Re: tool for checking website

2006-10-05 Thread ovidiu ene

riccardo_diago wrote:


depend on what u really wanna check...
1. the web server?
2. the protocol http?
3. or if the web site is just visible(avoid defacement)
etc...

Can u be more specific?

Rik

if you want /need to monitor more services (like http or mysql) nagios 
is a nice tool



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


Re: Removing removable ATA hard drives

2006-10-05 Thread Jonathan McKeown
On Thursday 05 October 2006 10:34, Jonathan McKeown wrote:
 I recently bought a drive caddy for an ATA hard drive. The unit is in two
 parts: a cassette, into which can be fitted a standard ATA hard drive, and
 a carrier permanently fitted into a standard drive bay. The carrier
 includes a power keyswitch for the drive bay.

 I installed it, brought the box (running 4.9) back up, and then switched on
 the power to the drive. FreeBSD didn't recognise the drive even after an
 atacontrol reinit of the channel.

 I then dropped the box and brought it back up with the keyswitch for the
 drive in the ON position. It now recognises the drive (could this be
 BIOS-related?).

OK, having got to this point and with some trepidation, I started fiddling. 
The removable drive is on ATA channel 1 along with a CD writer.

 Is it safe to simply switch the power to the drive off using the keyswitch
 and then remove the cassette with the server running but the drive bay
 powered down? Do I need to do anything other than ensure that the drive is
 unmounted at the time?

 And having done that, if I replace the drive and then reapply power using
 the keyswitch, would I need to do anything to get FreeBSD to notice the
 return of the device?

So far doing an atacontrol detach 1, powering down the drive with the 
keyswitch, removing it and doing an atacontrol attach 1 to get my CD back, 
seems to work without problems. Adding the drive back in, powering it up and 
then doing an atacontrol reinit 1 also seems to work without problems.

Potentially slightly less safe, I guess, simply powering the drive off and 
doing an atacontrol reinit 1 seems to work.

Does anyone have any horror stories or awful warnings before I make this part 
of my backup procedure?

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


Need to Emulate Linux..

2006-10-05 Thread B. Cook

And I'm wondering what is 'lighter/smaller'

linux_base-fc4 or linux_base-suse-9.3

I'm already running the linprocfs and that's not enough..

Its for a program called 'ezproxy' for us here at the library.  We used 
to use the linux_base-debian.. but that seems to have been removed a 
while back..


Thanks

ldd ezproxy
ezproxy:
libpthread.so.0 = /lib/libpthread.so.0 (0x28272000)
libm.so.6 = /lib/libm.so.6 (0x28286000)
libc.so.6 = /lib/libc.so.6 (0x282a8000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x2825e000)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool for checking website

2006-10-05 Thread Derek Ragona

Typically I do:

#!/bin/sh

WGET=/usr/local/bin/wget
DIFF=/usr/bin/diff
MAIL=/usr/bin/mail
CAT=/bin/cat
RM=/bin/rm
MAILFILE=/tmp/site_report
MY_URL=http://www.mydomain.com
MY_PAGE=index.html
MY_REF_PAGE=/usr/local/www/good/index.html


cd /tmp
$WGET $MY_URL/$MY_PAGE
$DIFF $MY_PAGE $MY_REF_PAGE
if [ $? -eq 1 ]
   echo Site is down  $MAILFILE
   echo$MAILFILE
   echo Bad page retrieved:  $MAILFILE
   $CAT $MY_PAGE  $MAILFILE
   echo$MAILFILE
   $MAIL -s Website Problem Report [EMAIL PROTECTED]  $MAILFILE
fi


This will verify the page is being served, and the content is correct.

-Derek


At 06:40 AM 10/5/2006, Martin Schweizer wrote:

Hello

I'm looking for port which checks if a website is online or not. My goal is
regulary starts a script which do this for me. Any ideas?

--

Regards

Martin
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc;
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Member of group wheel, but still can't shutdown system?

2006-10-05 Thread John Nielsen
On Thursday 05 October 2006 07:25, albi wrote:
 On Thu, 5 Oct 2006 13:24:14 +0200

 [EMAIL PROTECTED] wrote:
  I've just installed FreeBSD 6.1 and listed myself as a member of the
  wheel group during the add users portion of the installation.  For
  some reason I have not put a finger on yet I cannot shutdown the
  system do not have permission to effect the command.  Went back as
  root on a later session and re-entered my name in /etc/group to the
  wheel account to no avail, anybody got an idea as to where I need to
  look?

 # ls -la /sbin/shutdown
 -r-sr-x---  1 root  operator  431524 May  2 16:40 /sbin/shutdown

 what about group operator ? but i personally would use sudo instead of
 group wheel etc.

I always assign myself to the operator group for just this reason; shutdown 
works fine without su or sudo.

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


Re: Need to Emulate Linux..

2006-10-05 Thread Boris Samorodov
On Thu, 05 Oct 2006 10:32:23 -0400 B. Cook wrote:

 And I'm wondering what is 'lighter/smaller'

 linux_base-fc4 or linux_base-suse-9.3

Current default (actively maintained by freebsd-emulation@) is
linux_base-fc4. linux_base-suse-9.3 is unmaintained. If you have any
questions there are better chances to get an answer about the former.

 I'm already running the linprocfs and that's not enough..

Try to use linux_base-fc4.

 Its for a program called 'ezproxy' for us here at the library.  We
 used to use the linux_base-debian.. but that seems to have been
 removed a while back..

 ldd ezproxy
 ezproxy:
 libpthread.so.0 = /lib/libpthread.so.0 (0x28272000)
 libm.so.6 = /lib/libm.so.6 (0x28286000)
 libc.so.6 = /lib/libc.so.6 (0x282a8000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x2825e000)

Seems to be OK with linux_base-fc4.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool for checking website

2006-10-05 Thread Derek Ragona

I forgot a few lines, added in below:

At 09:44 AM 10/5/2006, Derek Ragona wrote:

Typically I do:

#!/bin/sh

WGET=/usr/local/bin/wget
DIFF=/usr/bin/diff
MAIL=/usr/bin/mail
CAT=/bin/cat
RM=/bin/rm
MAILFILE=/tmp/site_report
MY_URL=http://www.mydomain.com
MY_PAGE=index.html
MY_REF_PAGE=/usr/local/www/good/index.html


cd /tmp


if [ -f $MY_PAGE ]; then
$RM $MY_PAGE
fi


$WGET $MY_URL/$MY_PAGE
$DIFF $MY_PAGE $MY_REF_PAGE
if [ $? -eq 1 ]
   echo Site is down  $MAILFILE
   echo$MAILFILE
   echo Bad page retrieved:  $MAILFILE
   $CAT $MY_PAGE  $MAILFILE
   echo$MAILFILE
   $MAIL -s Website Problem Report [EMAIL PROTECTED]  $MAILFILE
fi


This will verify the page is being served, and the content is correct.

-Derek


At 06:40 AM 10/5/2006, Martin Schweizer wrote:

Hello

I'm looking for port which checks if a website is online or not. My goal is
regulary starts a script which do this for me. Any ideas?

--

Regards

Martin
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc;
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: tools for network traffic accounting

2006-10-05 Thread Philip Hallstrom

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.

Can I do this with a built in program of FreeBSD 6.0 or do I need a port?


If you just wanted a total count and run ipfw (or any firewall i imagine) 
you could simply add a rule to count all inbound and outbound packets then 
at the end of the month look at them, then zero them.


It could be automated...

Otherwise, there's mrtg, cacti, and tons of others :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compatibility Between Releases Policy

2006-10-05 Thread Jason C. Wells

Erik Norgaard wrote:

Jason C. Wells wrote:

Where is the policy regarding compatibility between releases documented?

I recall reading once upon a time that FreeBSD won't break 
compatibility for the duration of a major point release.  If a third 
party wrote software for 6.0 it would be perfectly compatible with 
6.1, 6.2 and on.


The reason I ask is that I am considering the wisdom of running 
portupgraed with each minor point release.


I don't think you can rely on POLA for ports. But for the base system, 
the developers try to stick to the Principle Of Least Astonishment, in 
particular across minor version numbers.


Chears, Erik
Ports astonish me more often than FreeBSD to be sure.  If one uses a 
port that was built on a 6.0 system, can one trust that no bit rot will 
occur by the time 6.9 rolls around.  Will all of FreeBSDs interfaces and 
features remain backward compatible?  While the developer community 
might employee POLA in this regard, this sure seems like the kind of 
policy issue that would be written into our release engineering 
documents.  (I couldn't find it.)


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


Couldn't open SMTP server 127.0.0.1:25!

2006-10-05 Thread Aziz Manas

I'm running Redhat 9 with OpenWebMail installed. When i try to send email it
got this error message from OpenWebMail
Couldn't open SMTP server 127.0.0.1:25!

I need some assistance on this area since I just recently installed
OpenWebMail for my office intranet server.
Thank You.

This is my postconf -n output

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 450
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot make depend without USB?

2006-10-05 Thread up

Hi:

I'm trying to recompile a 6.2-PRERELEASE kernel without USB support.
After commenting out the USB devices in the kernel config file, and doing
a make cleandepend in the kernel source directory, I get this when
trying to do a make depend:

(excerpt):

rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E CC=cc
xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter
-I../../../contrib/pf -I../../../contrib/dev/ath
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
-I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -ffreestanding
../../../dev/usb/umass.c:119:21: usbdevs.h: No such file or directory
../../../dev/usb/ums.c:70:21: usbdevs.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/i386/compile/NEW_NS1.SMP.

I tried doing a make clean, but that didn't help either...what am I
forgetting?  Please respond directly, as I am not subscribed.

TIA!

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=

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


W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
Hi all... 

I know this isn't necessarily the right group to be asking, but I thought
I'd start here

I have been using CascadeSoft's W3Mail webmail program, and up until last
night everything worked great We had a crash on the server, and
something obviously got corrupted

Now when I try to send a message through W3Mail I get the following error:

Error: Message was not successfully sent.
The SMTP server responded: Can't call method mail on an undefined value at
/var/shc/servers/lizardhill.com/root/webmail/cgi/sendmessage.cgi line 179,
line 4.  

Line 179 is- 
$smtp-mail($replyto);

I tried replacing the Net::SMTP module from Perl, thinking that maybe it was
corrupted, but still it gives the same error.

Any ideas where I should look/check next?

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


Re: tool for checking website

2006-10-05 Thread Ivailo Tanusheff
You may use nagios port :)
It also has web interface.

Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD





Martin Schweizer [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
05.10.2006 14:40
Please respond to
Martin Schweizer [EMAIL PROTECTED]


To
freebsd-questions@freebsd.org
cc

Subject
tool for checking website






Hello 

I'm looking for port which checks if a website is online or not. My goal 
is 
regulary starts a script which do this for me. Any ideas?

-- 

Regards

Martin 
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;




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

Re: Strange cron behavior

2006-10-05 Thread Damian Wiest
On Wed, Oct 04, 2006 at 06:23:39AM -0400, stan wrote:
 On Tue, Oct 03, 2006 at 11:22:29PM -0500, Philip Hallstrom wrote:
  I'm having a hard time getting cron to run a task. I've run crontab -e
  (as root), and added the following line:
  
  12 * * * * /usr/local/bin/mirror_ubuntu
  
  This script runs from teh command line. Now I've seen plenty of
  strange beahviour because of the limited environment cron tasks
  get, but a basic echo test  /tmp/stan isn't even creating
  the file.
  
  Sugestions?
  
  Is the cron daemon running?  What is the output in /var/log/cron?
 
 
 Forgot to mention that. Yhe script does get listed in /var/log/cron
 as having been invoked.
 -- 
 Unix is very simple, but it takes a genius to understand the simplicity.
 (Dennis Ritchie)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Can you run the script with the -x option?

eg.

#!/bin/sh -x

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


make buildworld problem

2006-10-05 Thread Nick Browning

Hello All,

I am trying to update my sources and I get the following error.  I have
included the results of 'uname -a'.  Any help would be greatly
appreciated.

btw: i have done the following
# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir

and I just cvsup'ed my sources.

Thanks,
Nick



tools/../../../../contrib/gcc/genconditions.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengenrtl.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genpreds.c
genrtl.c insn-modes.c min-insn-modes.c gengtype-yacc+%DIKED.c
gengtype-lex.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c
gtype-desc.c
=== gnu/usr.bin/cc/cc_int
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools/genattrtab
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config/i386/i386.md
 insn-attrtab.c
Killed
*** Error code 137

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

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

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

Stop in /usr/src.
bamboolounge# uname -a
FreeBSD bamboolounge.nickbrowning.com 5.3-RELEASE-p31 FreeBSD
5.3-RELEASE-p31 #1: Tue Jul 25 16:53:25 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/BAMBOO  i386



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


Re: Compatibility Between Releases Policy

2006-10-05 Thread Erik Norgaard

Jason C. Wells wrote:

Ports astonish me more often than FreeBSD to be sure.  If one uses a 
port that was built on a 6.0 system, can one trust that no bit rot will 
occur by the time 6.9 rolls around.  Will all of FreeBSDs interfaces and 
features remain backward compatible?  While the developer community 
might employee POLA in this regard, this sure seems like the kind of 
policy issue that would be written into our release engineering 
documents.  (I couldn't find it.)


Looks like you want to read this:

  http://www.freebsd.org/portmgr/policies.html

POLA is an ideal, it may be necessary to violate POLA for example for 
security reasons, and you may have system upgrades that will require 
rebuild of ports too - recently a bug in openssl required a rebuild of 
world - and I assume any ports built against the base' openssl.


I don't understand your concern, if you upgrade the base system wouldn't 
it be time to check your ports too? If you insist just don't update your 
ports tree, that should keep it working with the same versions of ports 
although you may have to rebuild individual ports.


I find it easier to adapt continuously to small astonishments :)

Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Member of group wheel, but still can't shutdown system?

2006-10-05 Thread Jerry Bell
You need to be in the wheel group to be able to SU to root, but that won't
give you permission to run shutdown.  Only root can do that, I believe.

 Hi All,

 I've just installed FreeBSD 6.1 and listed myself as a member of the wheel
 group during the add users portion of the installation.  For some reason I
 have not put a finger on yet I cannot shutdown the system do not have
 permission to effect the command.  Went back as root on a later session
 and
 re-entered my name in /etc/group to the wheel account to no avail, anybody
 got an idea as to where I need to look?

 Thanks,
 Tommy2


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


Re: Compatibility Between Releases Policy

2006-10-05 Thread Robert Huff

Jason C. Wells writes:

  Ports astonish me more often than FreeBSD to be sure.  If one
  uses a port that was built on a 6.0 system, can one trust that no
  bit rot will occur by the time 6.9 rolls around.

If you mean Is it guaranteed a binary built under x.0 will
run, even with remapped libraries, under x.9? then the answer is
Hell, no.
If you mean Will a port that builds sucessfully under both x.0
and x.9 be limited only by changes in the port and not in the OS?
then the answer (as I understand it) is Probably.


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


Re: Couldn't open SMTP server 127.0.0.1:25!

2006-10-05 Thread Alex Zbyslaw

Aziz Manas wrote:

I'm running Redhat 9 with OpenWebMail installed. When i try to send 
email it

got this error message from OpenWebMail
Couldn't open SMTP server 127.0.0.1:25!

This is a FreeBSD mailing list.  FreeBSD has nothing whatsoever to do 
with Redhat, I'm afraid.


Having a wild guess, it looks like postfix is not actually running.  Try 
ps augx | egrep postfix to see that there is actually something 
listening.  If not, then check that you actually have startup scripts 
enabled for postfix.


Try:

   ls /etc/rc.d/rc?.d/S*po*

which should show output like

/etc/rc.d/rc2.d/S80postfix  /etc/rc.d/rc3.d/S80postfix  
/etc/rc.d/rc4.d/S80postfix  /etc/rc.d/rc5.d/S80postfix


If not, the as root

   chkconfig --add postfix

probably does the right thing, but I find the chkconfig man page to be 
obscure and unhelpful so there might be a better way.  After running the 
above ls should show the files as listed above.


To try starting postif now, run as root
   sh /etc/init.d/postfix start

If none of this makes any sense, then I suggest getting a book on Linux 
administration.


--Alex


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


W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
Hi all... 

I know this isn't necessarily the right group to be asking, but I thought
I'd start here

I have been using CascadeSoft's W3Mail webmail program, and up until last
night everything worked great We had a crash on the server, and
something obviously got corrupted

Now when I try to send a message through W3Mail I get the following error:

Error: Message was not successfully sent.
The SMTP server responded: Can't call method mail on an undefined value at
/var/shc/servers/lizardhill.com/root/webmail/cgi/sendmessage.cgi line 179,
line 4.  

Line 179 is- 
$smtp-mail($replyto);

I tried replacing the Net::SMTP module from Perl, thinking that maybe it was
corrupted, but still it gives the same error.

Any ideas where I should look/check next?

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


W3Mail/Perl Mail Module

2006-10-05 Thread Don O'Neil
Hi all... 

I know this isn't necessarily the right group to be asking, but I thought
I'd start here

I have been using CascadeSoft's W3Mail webmail program, and up until last
night everything worked great We had a crash on the server, and
something obviously got corrupted

Now when I try to send a message through W3Mail I get the following error:

Error: Message was not successfully sent.
The SMTP server responded: Can't call method mail on an undefined value at
/var/shc/servers/lizardhill.com/root/webmail/cgi/sendmessage.cgi line 179,
line 4.  

Line 179 is- 
$smtp-mail($replyto);

I tried replacing the Net::SMTP module from Perl, thinking that maybe it was
corrupted, but still it gives the same error.

Any ideas where I should look/check next?

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


Can't get direct rendering with i915

2006-10-05 Thread Alexandre Vieira

Hello folks,

I'm setting up my laptop (Acer 1644WLMi) and I noticed some days ago that I
don't have direct rendering with i915+drm.

Any one knows if it is supposed to be like this?

pciconf:

[EMAIL PROTECTED]:2:0: class=0x03 card=0x008f1025 chip=0x25928086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
device = '82915GM/GMS, 82910GML Integrated Graphics Device'
class = display
subclass = VGA
[EMAIL PROTECTED]:2:1: class=0x038000 card=0x008f1025 chip=0x27928086 rev=0x03
hdr=0x00
vendor = 'Intel Corporation'
device = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller
(??)'
class = display

kldstat:

Id Refs Address Size Name
1 14 0xc040 56c4dc kernel
2 1 0xc096d000 eb68 snd_hda.ko
3 2 0xc097c000 29bb0 sound.ko
4 1 0xc09a6000 641e0 acpi.ko
5 1 0xc5012000 1a000 linux.ko
6 1 0xc51a9000 6000 i915.ko
7 1 0xc51ea000 f000 drm.ko

dmesg:

drmsub0: Intel i915GM: (child of agp_i810.c) on agp0
info: [drm] AGP at 0xb008 0MB
info: [drm] Initialized i915 1.4.0 20060119
agp0: [MPSAFE]

glxinfo:

name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_visual_select_group
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
--
0x23 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x24 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x25 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x26 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x27 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x28 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x29 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x2a 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x2b 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x2c 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x2d 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x2e 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x2f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x30 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 

Re: Cannot make depend without USB?

2006-10-05 Thread up

Please disregard, I was in the wrong source tree :-/

On Thu, 5 Oct 2006 [EMAIL PROTECTED] wrote:


 Hi:

 I'm trying to recompile a 6.2-PRERELEASE kernel without USB support.
 After commenting out the USB devices in the kernel config file, and doing
 a make cleandepend in the kernel source directory, I get this when
 trying to do a make depend:

 (excerpt):

 rm -f .newdep
 make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E CC=cc
 xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
 -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
 -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
 -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
 opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-growth=1000
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
 -mno-sse -mno-sse2 -ffreestanding
 ../../../dev/usb/umass.c:119:21: usbdevs.h: No such file or directory
 ../../../dev/usb/ums.c:70:21: usbdevs.h: No such file or directory
 mkdep: compile failed
 *** Error code 1

 Stop in /usr/src/sys/i386/compile/NEW_NS1.SMP.

 I tried doing a make clean, but that didn't help either...what am I
 forgetting?  Please respond directly, as I am not subscribed.

 TIA!

 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] 
 http://3.am
 =



James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   
http://3.am
=

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


Re: ipw(4) and iwi(4): Intel's Pro Wireless firmware licensing problems

2006-10-05 Thread Chuck Swiger

On Oct 4, 2006, at 7:46 PM, Constantine A. Murenin wrote:

My acquaintance with Unix started with FreeBSD, which I used for quite
a while before discovering OpenBSD. I now mostly use OpenBSD, and I
was wondering of how many FreeBSD users are aware about the licensing
restrictions of Intel Pro Wireless family of wireless adapters?


I would imagine that all FreeBSD users who are using the Intel Pro  
Wireless adaptors are familiar with the license, given that they have  
to agree to the license in order to get the adaptor working.  Even  
someone like me who doesn't have one is aware of the license.



Why are none of the manual pages of FreeBSD say anything about why
Intel Wireless devices do not work by default?

http://www.freebsd.org/cgi/man.cgi?query=ipw
http://www.freebsd.org/cgi/man.cgi?query=iwi


The manpages you've linked to explicitly state:

 This driver requires firmware to be loaded before it will  
work.  You need
 to obtain ipwcontrol(8) from the IPW web page listed below to  
accomplish

 loading the firmware before ifconfig(8) will work.

Is there some part of this which is unclear to you, Constantine?


If you are curious as to why things are the way they are, I suggest
that you check the problems that are described in the misc@openbsd.org
mailing list, and contact Intel people and say what you think about
their user-unfriendly policy in regards to Intel Pro Wireless
firmwares, which are REQUIRED to be loaded from the OS before the
device functions, i.e. the OS developers must be allowed to freely
distribute the firmware in order for the devices to work
out-of-the-box.


There's no need to be curious about the matter; the Intel Pro  
Wireless adaptors, like many other brands of wireless adaptors, use a  
software-controlled radio which is capable of broadcasting at higher  
power levels and/or at frequencies outside of those allocated for  
802.11 connectivity for specific regulatory domains.  The US FCC,  
along with other regulatory agencies in Europe such as ETSI and  
elsewhere, require that end-users not have completely open access to  
these radios to prevent problems from deliberate misuse such as  
interference with other frequency bands.


This isn't a matter of choice on Intel's part; if you want this  
situation to change, you're going to have to obtain changes in the  
radio-frequency laws and policies in the US and a number of other  
countries first.


Again, is there some part of this that is unclear or which you fail  
to understand?



For some recent information about Intel being an Open Source Fraud,
see http://marc.theaimsgroup.com/?l=openbsd- 
miscm=115960734026283w=2.


The firmware license for these devices has never been submitted to  
the OSI board for approval as an Open Source license, and I have  
never seen Intel claim that this license is an Open Source license.


It might suit OpenBSD's advocacy purposes to deliberately  
misrepresent Intel's position, but doing so is unfair and is not  
especially helpful to the FreeBSD community, which does have somewhat  
decent relations with vendors like Intel, Lucent, Aironet, Broadcomm,  
and so forth.


As to the point raised above, the firmware license actually does  
permit an individual user, including an OS developer, to copy and  
redistribute the software to others, so long as the recepient agrees  
to the license terms:


LICENSE. You may copy and use the Software, subject to these  
conditions:
1. This Software is licensed for use only in conjunction with Intel  
component
   products. Use of the Software in conjunction with non-Intel  
component

   products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any  
part of the
   Software except as provided in this Agreement, and you agree to  
prevent

   unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense the Software.
5. The Software may contain the software or other property of third  
party

   suppliers.

[ ... ]
You may transfer the Software only if a copy of this license  
accompanies the

Software and the recipient agrees to be fully bound by these terms.

If a project such as OpenBSD wishes to redistribute the software,  
then it would probably be considered an Independent Software Vendor,  
and again the firmware license grants permission to redistribute the  
Intel Pro Wireless software, under the following terms:


For OEMs, IHVs, and ISVs:

LICENSE. This Software is licensed for use only in conjunction with  
Intel
component products. Use of the Software in conjunction with non-Intel  
component
products is not licensed hereunder. Subject to the terms of this  
Agreement,
Intel grants to you a nonexclusive, nontransferable, worldwide, fully  
paid-up
license under Intel's copyrights to: (i) copy the Software internally  
for your
own development and maintenance purposes; (ii) copy and distribute  
the 

Re: NFS problems!

2006-10-05 Thread Matthew King
Anders Troback [EMAIL PROTECTED] writes:

 Hi,

 I'm having some problems with NFS lately!

 NFS server FreeBSD 6.1-RELESE
 NFS client FreeBSD 6.2-PRERELASE (STABLE)

 I'm using NFS to serve /home via amd but sometimes programs hangs and
 not even kill -9 will work. I have to restart rpc.lockd, rpc.statd and
 nfsd to get rid of the programs! If one program hangs many will follow
 and some will not start. Programs like Citrix Client Manager
 (wfcmgr), konqueror, konsole and gftp are all examples on programs that
 don't start. Sins 6.2-PRERELEASE sometimes wfcmgr don't start even if
 there are no programs hanging!

You're lucky. I can't even get X to load and the whole vfs won't shut
down cleanly once I've tried.

I have yet to try other FreeBSD releases though.

Matthew

-- 
I must take issue with the term a mere child, for it has been my
invariable experience that the company of a mere child is infinitely
preferable to that of a mere adult.
   --  Fran Lebowitz

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


Re: tools for network traffic accounting

2006-10-05 Thread Joe

Niek Dekker wrote:

Dear list,

I would like to configure a monthly report of the incoming and
outgoing amount of traffic on the network interface of my server, for
instance in the monthly run output.


Try argus.

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


Re: Cannot make depend without USB?

2006-10-05 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 Hi:
 
 I'm trying to recompile a 6.2-PRERELEASE kernel without USB support.
 After commenting out the USB devices in the kernel config file, and doing
 a make cleandepend in the kernel source directory, I get this when
 trying to do a make depend:
 
 (excerpt):
 
 rm -f .newdep
 make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP=cc -E CC=cc
 xargs mkdep -a -f .newdep -O -pipe  -Wall -Wredundant-decls
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
 -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
 -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
 -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
 opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-growth=1000
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
 -mno-sse -mno-sse2 -ffreestanding
 ../../../dev/usb/umass.c:119:21: usbdevs.h: No such file or directory
 ../../../dev/usb/ums.c:70:21: usbdevs.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/NEW_NS1.SMP.
 
 I tried doing a make clean, but that didn't help either...what am I
 forgetting?  Please respond directly, as I am not subscribed.
 
 TIA!
 
 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] 
 http://3.am
 =

Try using NO_USB=yes in /etc/make.conf--it's a much better way to go
about removing USB support.

Also, do man make.conf to find out the rest of the support you can
disable on your machine; you really shouldn't go manually editing
makefiles in FreeBSD :(..

- -Garrett

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJUXf6CkrZkzMC68RAibFAJ401+KljNDHxmQLDrY/h3OEd0mcJwCdG6aI
s3jTCCkTQlU5fjl/Dgj4s1I=
=7Lpd
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't get direct rendering with i915

2006-10-05 Thread backyard


--- Alexandre Vieira [EMAIL PROTECTED] wrote:

 Hello folks,
 
 I'm setting up my laptop (Acer 1644WLMi) and I
 noticed some days ago that I
 don't have direct rendering with i915+drm.
 
 Any one knows if it is supposed to be like this?
 

the i915 drm module is still new to Release 6 of
freebsd. I believe it is still in beta and not very
functional. I am in the same boat as yourself with the
i845 chip. I know with linux I could get a full screen
console but I still have yet yo get vidcontrol to
change the screen size for me. 

I believe the linux driver is being used as a basis
for the freebsd one, but it hasn't fully been reverse
engineered yet. Unless your doing OpenGL specific apps
like CAD or games X will still run fine. If your doing
KDE you might want to turn off all the animated and
transparency junk.


-brian 

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


Re: upgrading amavisd-new port fails

2006-10-05 Thread Gábor Kövesdán

jan gestre wrote:

On 10/4/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:


jan gestre wrote:
 hi guys,


 i tried upgrading the amavisd-new port via portmanager and
 portupgrade, both
 methods failed, i had a similar problem before but i forgot how did i
 fix it
 :(  is there a problem with the amavisd-new port?

 TIA
Hi,

could you concretize a bit, please? What kind of error do you get? Could
you attach the output?

this is the error during portupgrade:


Stop in /usr/ports/security/amavisd-new.
*** Error code 1

Stop in /usr/ports/security/amavisd-new.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.80571.23 env PORT_UPGRADE=yes make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! security/amavisd-new (amavisd-new-2.4.3,1)(checksum 
mismatch)

---  Packages processed: 0 done, 23 ignored, 0 skipped and 1 failed


The checksum mismatch reflect that your ports tree is outdated. The 
distfile was rerolled, and the PORTREVISION bumped. Please update your 
ports tree and try again. The current working amavisd-new version in the 
ports tree is 2.4.3_1,1.


--
Cheers,

Gabor

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


Re: Member of group wheel, but still can't shutdown system?

2006-10-05 Thread backyard


--- Jerry Bell [EMAIL PROTECTED] wrote:

 You need to be in the wheel group to be able to SU
 to root, but that won't
 give you permission to run shutdown.  Only root can
 do that, I believe.
 

or members of group operator. having to be root or
su/sudoing is only an affliction of linux. only root
can run reboot however, but the is generally frounded
upon; running shutdown -r ensures a clean reboot. as a
security side note the members of operator also get
raw access to drives and tapes so they can run dumps
of the system...

-brian

  Hi All,
 
  I've just installed FreeBSD 6.1 and listed myself
 as a member of the wheel
  group during the add users portion of the
 installation.  For some reason I
  have not put a finger on yet I cannot shutdown the
 system do not have
  permission to effect the command.  Went back as
 root on a later session
  and
  re-entered my name in /etc/group to the wheel
 account to no avail, anybody
  got an idea as to where I need to look?
 
  Thanks,
  Tommy2
 
 
 ___
 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]


PAE tuning

2006-10-05 Thread Paul Lathrop
Hi all,

I just built a new Intel Xeon FreeBSD 6.1 server with 14Gb of RAM. I
started digging into PAE so that we could actually make use of the high
memory in this box, and I've run into a rather vexing issue. The
handbook says:

Some system tunables determine memory resource usage by the amount of
available physical memory. Such tunables can unnecessarily over-allocate
due to the large memory nature of a PAE system. One such example is the
kern.maxvnodes sysctl, which controls the maximum number of vnodes
allowed in the kernel. It is advised to adjust this and other such
tunables to a reasonable value.

That's really good to know. Unfortunately, nobody seems to have written
down WHICH tunables need to be adjusted besides the one mentioned above,
nor is there any information on what reasonable value means!

Can anyone point me at a resource for more information on this?

Regards,
Paul Lathrop



signature.asc
Description: OpenPGP digital signature


Re: Can't get direct rendering with i915

2006-10-05 Thread backyard


--- Alexandre Vieira [EMAIL PROTECTED] wrote:

 On 10/5/06, backyard [EMAIL PROTECTED]
 wrote:
 
 
 
  --- Alexandre Vieira [EMAIL PROTECTED] wrote:
 
   Hello folks,
  
   I'm setting up my laptop (Acer 1644WLMi) and I
   noticed some days ago that I
   don't have direct rendering with i915+drm.
  
   Any one knows if it is supposed to be like this?
  
 
  the i915 drm module is still new to Release 6 of
  freebsd. I believe it is still in beta and not
 very
  functional. I am in the same boat as yourself with
 the
  i845 chip. I know with linux I could get a full
 screen
  console but I still have yet yo get vidcontrol to
  change the screen size for me.
 
  I believe the linux driver is being used as a
 basis
  for the freebsd one, but it hasn't fully been
 reverse
  engineered yet. Unless your doing OpenGL specific
 apps
  like CAD or games X will still run fine. If your
 doing
  KDE you might want to turn off all the animated
 and
  transparency junk.
 
 
  -brian
 
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 Hello,
 
 I don't know about your problem but I installed
 graphics/dri and everything
 works pretty fine now.
 
 Regards
 

DRI fails to find /dev/agpgart is my problem. The
driver doesn't seem to create the proper devices for
DRI to even utilize. That seems to be my problem
anyway. I haven't done much OpenGL with it anyway, and
with only 8megs of VRAM max I don't plan on doing
anything serious.

-brian


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


Re: PAE tuning

2006-10-05 Thread Chuck Swiger

On Oct 5, 2006, at 11:29 AM, Paul Lathrop wrote:
That's really good to know. Unfortunately, nobody seems to have  
written
down WHICH tunables need to be adjusted besides the one mentioned  
above,

nor is there any information on what reasonable value means!

Can anyone point me at a resource for more information on this?


You're supposed to tune the appropriate values considering the  
workload the machine is going to handle.  man tuning has some  
additional information, but without describing what kind of tasks you  
plan to do with this machine with 14GB of RAM, nobody is going to be  
able to provide you with really specific advice...


--
-Chuck

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


Re: PAE tuning

2006-10-05 Thread Paul Lathrop
Chuck Swiger wrote:
 On Oct 5, 2006, at 11:29 AM, Paul Lathrop wrote:
 That's really good to know. Unfortunately, nobody seems to have written
 down WHICH tunables need to be adjusted besides the one mentioned above,
 nor is there any information on what reasonable value means!

 Can anyone point me at a resource for more information on this?
 
 You're supposed to tune the appropriate values considering the workload
 the machine is going to handle.  man tuning has some additional
 information, but without describing what kind of tasks you plan to do
 with this machine with 14GB of RAM, nobody is going to be able to
 provide you with really specific advice...

Good point. :-)

I intend to deploy this system as a database server running Postgresql
8.1. The database is huge (30-40Gb) and can easily grow (it has gone as
high as 100Gb). I expect as many as 1000 concurrent database connections
now, and a potential need for scaling this up later.

I'm aware of the SystemV memory tuning issues related to running
Postgres on FreeBSD and I'll address those as soon as I can get the
system to see the RAM.

I tried just installing the stock PAE kernel, but the system still
doesn't even acknowledge the RAM above 4Gb. Is this because I have not
yet performed the tuning?

Thanks for your help!

--Paul



signature.asc
Description: OpenPGP digital signature


Re: PAE tuning

2006-10-05 Thread Chuck Swiger

On Oct 5, 2006, at 12:13 PM, Paul Lathrop wrote:
You're supposed to tune the appropriate values considering the  
workload

the machine is going to handle.  man tuning has some additional
information, but without describing what kind of tasks you plan to do
with this machine with 14GB of RAM, nobody is going to be able to
provide you with really specific advice...


Good point. :-)

I intend to deploy this system as a database server running Postgresql
8.1. The database is huge (30-40Gb) and can easily grow (it has  
gone as
high as 100Gb). I expect as many as 1000 concurrent database  
connections

now, and a potential need for scaling this up later.


You should tune the network stack settings towards LAN use (shorter  
timeouts, larger send  receive buffers); you should probably tune  
down the # of vnodes, adjust SysV shared memory as Postgres recommends:



I'm aware of the SystemV memory tuning issues related to running
Postgres on FreeBSD and I'll address those as soon as I can get the
system to see the RAM.

I tried just installing the stock PAE kernel, but the system still
doesn't even acknowledge the RAM above 4Gb. Is this because I have not
yet performed the tuning?


Update your BIOS and then check the settings; there may be an option  
explicitly for PAE, or you might find that tweaking something like  
PCI memory reservation, 4GB memory hole, or MTRR mapping  
between the options will help make the extra memory appear.


--
-Chuck

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


Re: PAE tuning

2006-10-05 Thread Chuck Swiger

On Oct 5, 2006, at 12:13 PM, Paul Lathrop wrote:

I intend to deploy this system as a database server running Postgresql
8.1. The database is huge (30-40Gb) and can easily grow (it has  
gone as

high as 100Gb).


Oh, yes, one more thought-- your specific application, i.e. a large  
database, is one where running in 64-bit mode is highly likely to  
result in improved performance compared with running the OS in 32-bit  
mode.  If you've got a AMD64 or EM64T capable CPU, consider  
installing the 64-bit version of FreeBSD instead of the normal 32-bit  
x86 version.


--
-Chuck




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


Re: PAE tuning

2006-10-05 Thread Richard Cotrina

Have you thought in using 6.1/amd64 instead of 6.1/i386 + PAE ? Your Xeon
processor is supported under the amd64 port, using EM64T for addressing
more than 4GB.

I had some stability troubles in the past running mysql server with PAE
enabled, for a 6GB RAM server.

Regards

On Thu, 5 Oct 2006, Paul Lathrop wrote:

 Chuck Swiger wrote:
  On Oct 5, 2006, at 11:29 AM, Paul Lathrop wrote:
  That's really good to know. Unfortunately, nobody seems to have written
  down WHICH tunables need to be adjusted besides the one mentioned above,
  nor is there any information on what reasonable value means!
 
  Can anyone point me at a resource for more information on this?
 
  You're supposed to tune the appropriate values considering the workload
  the machine is going to handle.  man tuning has some additional
  information, but without describing what kind of tasks you plan to do
  with this machine with 14GB of RAM, nobody is going to be able to
  provide you with really specific advice...

 Good point. :-)

 I intend to deploy this system as a database server running Postgresql
 8.1. The database is huge (30-40Gb) and can easily grow (it has gone as
 high as 100Gb). I expect as many as 1000 concurrent database connections
 now, and a potential need for scaling this up later.

 I'm aware of the SystemV memory tuning issues related to running
 Postgres on FreeBSD and I'll address those as soon as I can get the
 system to see the RAM.

 I tried just installing the stock PAE kernel, but the system still
 doesn't even acknowledge the RAM above 4Gb. Is this because I have not
 yet performed the tuning?

 Thanks for your help!

 --Paul


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


Re: PAE tuning

2006-10-05 Thread Paul Lathrop
Chuck Swiger wrote:
 On Oct 5, 2006, at 12:13 PM, Paul Lathrop wrote:
 You should tune the network stack settings towards LAN use (shorter
 timeouts, larger send  receive buffers); you should probably tune down
 the # of vnodes, adjust SysV shared memory as Postgres recommends:
 Update your BIOS and then check the settings; there may be an option
 explicitly for PAE, or you might find that tweaking something like PCI
 memory reservation, 4GB memory hole, or MTRR mapping between the
 options will help make the extra memory appear.

Chuck,

Many thanks for your advice. Is this information gleaned from experience
or is there an information resource out there that I might utilize in
the future when I deploy other applications?

Regards,
Paul Lathrop



signature.asc
Description: OpenPGP digital signature


Re: PAE tuning

2006-10-05 Thread Peter A. Giessel
On 2006/10/05 10:29, Paul Lathrop seems to have typed:
 I just built a new Intel Xeon FreeBSD 6.1 server with 14Gb of RAM. I
 started digging into PAE so that we could actually make use of the high
 memory in this box

The other thing you might consider is that if that Xeon system is 64bit
(and if its a new system, its likely the Woodcrest Xeon which are 64bit),
you could use the AMD64 version and make use of the memory in that way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange X problem

2006-10-05 Thread Paul Schmehl
I just got done setting up 6.1 RELEASE on my laptop.  Cvsup'd all the 
ports, updated xorg, etc. and installed kde.  For some odd reason, I can't 
get X to start up from boot.


On my workstation, I have this in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

When I installed kde on the laptop, it edited /etc/ttys and added the 
*exact* same information.  Yet, X will not start unless I login as root and 
type kdm at the commandline.


What did I miss?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


unattended installation

2006-10-05 Thread Carlos Ramirez
Hi, how I do an unattended installation?

 

I  want to create an installation CD of a FreeBSD and run some scripts
automatically after..

 

Some ideas?

 

REGARDS

 

 

 

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


Re: PAE tuning

2006-10-05 Thread Chuck Swiger

On Oct 5, 2006, at 12:34 PM, Paul Lathrop wrote:

Many thanks for your advice.


Well, you are most welcome.


Is this information gleaned from experience
or is there an information resource out there that I might utilize in
the future when I deploy other applications?


Yes, this information is gleaned from experience (why, yes, I have  
installed 12GB of RAM into an 8-CPU Sun E4500 myself :-), but also,  
yes, there are some good resources available.


O'Reilly publishes a book called System Performance Tuning, ISBN:  
059600284X which is a decent read, although it is somewhat oriented  
towards classic Solaris, AIX,  other SysV-derived Unices more than  
BSD or Linux.


Some of the online websites like Anandtech  Tom's Hardware used to  
have some excellent discussions of BIOS settings, memory  
configuration and timing, etc, although nowadays those sites are  
putting so many ads and intrusive Javascript/Flash-based annoyances  
in the way that their useful content is much harder to find or read  
than it used to be.  (I've stopped going to both sites a few years  
ago, when the proportion of content to ads dropped below my  
acceptable signal-to-noise ratio...)


--
-Chuck

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


Re: no serial port: configured irq 3 not in bitmap of probed irqs

2006-10-05 Thread cifra747

Dear Peter,

I had the same problem. COM1 is not connected on the mainboard only the COM2
so you have to use the 2F8 and IRQ3 in BIOS settings.

The you have to see:

sio0: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 flags 0x10 on
acpi0
sio0: type 16550A 

If you ...not in bitmap of probed irqs... it will NOT work.

Best regards,
Andre van Amerongen





Peter Matulis wrote:
 
 I cannot get FreeBSD 6.0 to recognize my serial port.  I am using the
 ASUS K8V-X SE motherboard[1].  It only has serial port but dmesg
 suggests there are two:
 
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
 acpi0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 
 
 
 In the end I have no port:
 
 $ ls -lh /dev/cua*
 crw-rw  1 uucp  dialer0,  42 Mar 13 03:59 /dev/cuad0
 crw-rw  1 uucp  dialer0,  43 Mar 13 03:59 /dev/cuad0.init
 crw-rw  1 uucp  dialer0,  44 Mar 13 03:59 /dev/cuad0.lock
 
 I have searched around and found similar problems but no solution is
 apparent.  Any suggestions?
 
 [1]
 http://www.asus.com/products4.aspx?modelmenu=2model=790l1=3l2=14l3=0
 
 __
 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]
 
 

-- 
View this message in context: 
http://www.nabble.com/no-serial-port%3A-%22configured-irq-3-not-in-bitmap-of-probed-irqs%22-tf1273981.html#a6667307
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: sshd stalling upon login

2006-10-05 Thread Matthew Seaman
Noah wrote:
 Philip Hallstrom wrote:
 I just built some new FreeBSD servers, and I am trying to log into
 one of them via sshd.  I am finding that the is  a lag between the
 connection and receiving a prompt.  most likely this is because the
 IP address I am coming from does not resolve.  But I am able to log into
 other servers via sshd from the same host that does not have IP
 inverse resolution.

 So I copied the /etc/ssh/sshd_config and /etc/resolv.conf from the
 host that does not stall me to the server that was stalling.  that
 did not clear up the Problem.

 what other configuration files need to be augmented to get rid of
 this stall? clues please?

 In /etc/ssh/sshd_config add:

 UseDNS no
 
 I put that in there and that did not work.  there is still a stall.  any
 other clues?

/etc/hosts

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: sshd stalling upon login [solved]

2006-10-05 Thread Noah

Girish Venkatachalam wrote:

On Wed, Oct 04, 2006 at 02:31:30PM -0700, Noah wrote:
  




Try this. It might help.

#cd /usr/ports/security/openssl
#make deinstall
#make reinstall

Restart sshd and test.

Best,
Girish
  


Girish,

you are the winner!!!   that worked!  please claim your prize!

cheers,

Noah



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


port 110 connection refused FreeBSD 6.2 server

2006-10-05 Thread [EMAIL PROTECTED]

Aloha,

Installed  FreeBSD 6.2 beta, postfix and qpopper also on a mail server 
and  captured all stalled  emails into the hdkmail account I created for 
this purpose that were on another  failed server. I can read the mail by 
running mail from the command line. OK.


Remotely I can telnet into port 25 and get OK status.
Remotely I telnet into port 110  and it is refused.
Cyrus-sasl2 is on the server but the two lines that should report back 
for Authentication as per the how to  about AUTH NTML LOGIN PLAIN  
...(etc) ... are not there. I don't know whether this has to do with 
mail reading.
I would like to capture these emails off with mozilla or another reader 
remotely , but the connection to 110 qpopper is always refused from a 
remote box.


I read that there are issues with the auth in some setups, but no 
solutions offered.


Any ideas ?

 Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com --
-- http://internetohana.org -- http://freeBSDinfo.org --
+ Supporting open source computing - FreeBSD 6.* +

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


Re: port 110 connection refused FreeBSD 6.2 server

2006-10-05 Thread Derek Ragona

Check /etc/hosts.allow

-Derek


At 04:04 PM 10/5/2006, [EMAIL PROTECTED] wrote:

Aloha,

Installed  FreeBSD 6.2 beta, postfix and qpopper also on a mail server 
and  captured all stalled  emails into the hdkmail account I created for 
this purpose that were on another  failed server. I can read the mail by 
running mail from the command line. OK.


Remotely I can telnet into port 25 and get OK status.
Remotely I telnet into port 110  and it is refused.
Cyrus-sasl2 is on the server but the two lines that should report back for 
Authentication as per the how to  about AUTH NTML LOGIN PLAIN
...(etc) ... are not there. I don't know whether this has to do with mail 
reading.
I would like to capture these emails off with mozilla or another reader 
remotely , but the connection to 110 qpopper is always refused from a 
remote box.


I read that there are issues with the auth in some setups, but no 
solutions offered.


Any ideas ?

 Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com --
-- http://internetohana.org -- http://freeBSDinfo.org --
+ Supporting open source computing - FreeBSD 6.* +

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: W3Mail/Perl Mail Module

2006-10-05 Thread Karol Kwiatkowski
[resending - my email bounced due to my old IP (ADSL) was listed in
spam dbl; running your own mail server is becoming less fun everyday
:( sorry for the confusion]

On 05/10/2006 20:54, Don O'Neil wrote:
 -Original Message-
 From: Karol Kwiatkowski [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 05, 2006 11:05 AM
 To: Don O'Neil
 Cc: freebsd-questions@freebsd.org
 Subject: Re: W3Mail/Perl Mail Module
 
 On 05/10/2006 19:29, Don O'Neil wrote:
 Hi all... 

 I know this isn't necessarily the right group to be asking, but I 
 thought I'd start here

 I have been using CascadeSoft's W3Mail webmail program, and up until 
 last night everything worked great We had a crash on the server, 
 and something obviously got corrupted

 Now when I try to send a message through W3Mail I get the following error:

 Error: Message was not successfully sent.
 The SMTP server responded: Can't call method mail on an undefined 
 value at 
 /var/shc/servers/lizardhill.com/root/webmail/cgi/sendmessage.cgi line 179,
 line 4.
 Line 179 is-
 $smtp-mail($replyto);

 I tried replacing the Net::SMTP module from Perl, thinking that maybe 
 it was corrupted, but still it gives the same error.

 Any ideas where I should look/check next?
 
 Hi Don,
 
 you're probably in a hurry, but please don't send more messages, we got all
 three of them :)
 
 If you're unsure if a message got through you can check the archives here:
  http://lists.freebsd.org/pipermail/freebsd-questions/
 
 As for your problem with W3Mail - I don't know anything about that. If you
 won't get any replies here try to contact W3Mail users/developers.
 
 Regards,
 
 Karol

 Karol,
   Thanks for your reply. I was trying to send the message to different
 groups and accidentally sent it 2x to the freebsd list... I didn't realize
 it went there 3x.
 
 My problem is that CascadeSoft seems to be out of business, and I can't find
 a support group for them anywhere. Any suggestions on where to look or post
 a question would be appreciated.
 
 Don 

Sorry, I can't help you. Maybe someone else can - cc'ing @questions.

Best luck,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc





signature.asc
Description: OpenPGP digital signature


FreeBSD and 2 ADSL links

2006-10-05 Thread Thiago Rocha

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.

My system is thus:
==
rl0  IP=192.168.2.254/24 / GW for machines in this net is
192.168.2.254- (this is localnet NIC)
rl1  IP= 10.0.0.2/30 / GW for this net is 10.0.0.1 -  (adsl1)
sis0 -- IP= 10.0.1.2/30 / GW for fhis net is 10.0.1.1 -  (adsl2)
#

I have two NATD process, see below:
===

318  ??  Ss 0:00.39 /sbin/natd -f /etc/natd.conf -p 8668 -n rl1
1815  ??  Ss 0:00.65 /sbin/natd -f /etc/natd1.conf -p 8669 -n sis0
#

And my firewall :


ipfw add 10 divert 8668 all from any to 10.0.0.2 via rl1
ipfw add 11 divert 8669 all from any to 10.0.1.2 in via sis0
ipfw add 12 prob 0.5 divert 8668 all from any to any out via rl1
ipfw add 13 divert 8669 all from any to any out via rl1

ipfw add 30 fwd 10.0.0.1 all from 10.0.0.2 to any
ipfw add 30 fwd 10.0.1.1 all from 10.0.1.2 to any
#
and my default route is: 10.0.0.1, I need to make the balancing between
these interfaces.

when I apply these rules nothing I function. I I followed a manual in the
Internet (
http://wiki.luizgustavo.pro.br/doku.php?id=artigos_freebsd:balancelinks),
but without success.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unattended installation

2006-10-05 Thread pete wright

On 10/5/06, Carlos Ramirez [EMAIL PROTECTED] wrote:

Hi, how I do an unattended installation?



I  want to create an installation CD of a FreeBSD and run some scripts
automatically after..



Some ideas?


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/extensibility.html

see section on scripting sysinstall.  you will most likely want to
merge this with a pxeboot environment.

-pete



--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and 2 ADSL links

2006-10-05 Thread Peter A. Giessel


On 2006/10/05 13:59, Thiago Rocha seems to have typed:
 hi!
 
 Brazilian I and do not say English, I forgive for any error!
 
 I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
 balance the load between them, e also case one stops the other keeps the
 connection.

I don't believe that you will be able to load balance two connections
without assistance from your ISP.  You could split the traffic between
two interfaces, but you can't truly load balance.  One of the many
threads on this topic can be found here:
http://lists.freebsd.org/pipermail/freebsd-isp/2004-June/002219.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing removable ATA hard drives

2006-10-05 Thread Antony Mawer

On 5/10/2006 7:31 PM, Jonathan McKeown wrote:
I should probably have said: we don't currently have offsite backups (we've 
exceeded the capacity of our tape device and our budget), and the quick-fix 
solution is dumping to this hard drive and then pulling it out and taking it 
home. As such the removability is key to its intended function. I can't keep 
dropping the main fileserver to fiddle with it, and the alternative in terms 
of testing is to set up another box with the particular 4.9-STABLE snapshot 
running on this server (to eliminate OS version-related variable effects).


I looked into these options, and in the end opted for an external 
firewire hard drive for *ONE* of my offsite backup systems. I initially 
looked at USB, but found it to be somewhat flakey and didn't feel 
comfortable relying on it.


I installed a firewire add-in card in the backup server, and am then 
using GELI to encrypt the data on the drive. I have a script which 
automates the attaching to the geli volume, mounting the filesystem, 
rsyncing from various sources, and then unmounting the filesystem... 
after which I can turn off the drive and take it offsite with me.


This is on FreeBSD 6.1, so I don't know what, if any, firewire support 
is available on 4.x...


ATA hotswap, from what I gather, is only possible with specific 
hardware support, and even then is not something that it was originally 
designed for (as far as I am aware)...


Hope you or others find some of this helpful!

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


RE: tool for checking website

2006-10-05 Thread Murray Taylor
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Ivailo Tanusheff
 Sent: Thursday, 5 October 2006 11:26 PM
 To: Martin Schweizer
 Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
 Subject: Re: tool for checking website
 
 You may use nagios port :)
 It also has web interface.
 
 Ivailo Tanusheff
 Deputy Head of IT Department
 ProCredit Bank (Bulgaria) AD
 
 Subject
 tool for checking website
 

 Hello 
 
 I'm looking for port which checks if a website is online or 
 not. My goal 
 is 
 regulary starts a script which do this for me. Any ideas?
 
 -- 
 
 Regards
 
 Martin 
 [EMAIL PROTECTED]


Hi Martin,

I use the attached ruby script ( based on one i googled, and probably
not the best ruby
as it was my intro to the language...)
and a crontab line like this

0 */3 * * * $HOME/bin/webcheck.rb -v -m [EMAIL PROTECTED]
http://www.example.com

command line is

-v  send emails for an OK test also, otherwise only
send on website failure
-m email_addr   who to send the notification email to (has a default in
the code, typ used for testing)
URL the URL of the site / page being tested.

This was written to monitor a friends business page when he was having
'issues' 
with the windows noddies who bought the isp... they deleted the DNS
configs in the first week
and sites 'just vanished' as the caches dried up  and in the second
week 
'Whats a shell server' and it shutdown  (the saga continued) 

Murray Taylor

Special Projects Engineer
Bytecraft Systems

--

Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction.
--Albert Einstein 

 

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###


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

Re: FreeBSD and 2 ADSL links

2006-10-05 Thread J65nko

On 10/5/06, Thiago Rocha [EMAIL PROTECTED] wrote:

hi!

Brazilian I and do not say English, I forgive for any error!

I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to
balance the load between them, e also case one stops the other keeps the
connection.



You can do this with pf, see
http://openbsd.org/faq/pf/pools.html#outgoing and
http://openbsd.org/faq/pf/carp.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading amavisd-new port fails

2006-10-05 Thread jan gestre

On 10/6/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:


jan gestre wrote:
 On 10/4/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:

 jan gestre wrote:
  hi guys,
 
 
  i tried upgrading the amavisd-new port via portmanager and
  portupgrade, both
  methods failed, i had a similar problem before but i forgot how did i
  fix it
  :(  is there a problem with the amavisd-new port?
 
  TIA
 Hi,

 could you concretize a bit, please? What kind of error do you get?
Could
 you attach the output?

 this is the error during portupgrade:

 Stop in /usr/ports/security/amavisd-new.
 *** Error code 1

 Stop in /usr/ports/security/amavisd-new.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade.80571.23 env PORT_UPGRADE=yes make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
! security/amavisd-new (amavisd-new-2.4.3,1)(checksum
 mismatch)
 ---  Packages processed: 0 done, 23 ignored, 0 skipped and 1 failed


The checksum mismatch reflect that your ports tree is outdated. The
distfile was rerolled, and the PORTREVISION bumped. Please update your
ports tree and try again. The current working amavisd-new version in the
ports tree is 2.4.3_1,1.



i always update my ports tree everyday using cvsup, all the other ports gets
updated except amavisd-new, is there another way to resolve this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading amavisd-new port fails

2006-10-05 Thread jan gestre

On 10/6/06, jan gestre [EMAIL PROTECTED] wrote:




On 10/6/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:

 jan gestre wrote:
  On 10/4/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:
 
  jan gestre wrote:
   hi guys,
  
  
   i tried upgrading the amavisd-new port via portmanager and
   portupgrade, both
   methods failed, i had a similar problem before but i forgot how did
 i
   fix it
   :(  is there a problem with the amavisd-new port?
  
   TIA
  Hi,
 
  could you concretize a bit, please? What kind of error do you get?
 Could
  you attach the output?
 
  this is the error during portupgrade:
 
  Stop in /usr/ports/security/amavisd-new.
  *** Error code 1
 
  Stop in /usr/ports/security/amavisd-new.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade.80571.23 env PORT_UPGRADE=yes make
  ** Fix the problem and try again.
  ** Listing the failed packages (*:skipped / !:failed)
 ! security/amavisd-new (amavisd-new-2.4.3,1)(checksum
  mismatch)
  ---  Packages processed: 0 done, 23 ignored, 0 skipped and 1 failed
 
 
 The checksum mismatch reflect that your ports tree is outdated. The
 distfile was rerolled, and the PORTREVISION bumped. Please update your
 ports tree and try again. The current working amavisd-new version in the
 ports tree is 2.4.3_1,1.


i always update my ports tree everyday using cvsup, all the other ports
gets updated except amavisd-new, is there another way to resolve this?



i also tried this:

# make deinstall
# make reinstall --- this one failed :(

now i don't have amavis :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


checksum mismatch

2006-10-05 Thread jan gestre

guys,

i'm having problems with the amavisd-new port, portupgrade reports that
there is a mismatch so amavisd-new won't update, i tried

# make deinstall
and
# make reinstall

i was able to deinstall it but i can't reinstall it :( i also tried:

# make install clean

with the same result, i have no idea how to fix this. anybody knows how to
fix this?

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


Re: ipw(4) and iwi(4): Intel's Pro Wireless firmware licensing problems

2006-10-05 Thread Constantine A. Murenin

On 05/10/06, Chuck Swiger [EMAIL PROTECTED] wrote:

On Oct 4, 2006, at 7:46 PM, Constantine A. Murenin wrote:
 Why are none of the manual pages of FreeBSD say anything about why
 Intel Wireless devices do not work by default?

 http://www.freebsd.org/cgi/man.cgi?query=ipw
 http://www.freebsd.org/cgi/man.cgi?query=iwi

The manpages you've linked to explicitly state:

  This driver requires firmware to be loaded before it will
work.  You need
  to obtain ipwcontrol(8) from the IPW web page listed below to
accomplish
  loading the firmware before ifconfig(8) will work.

Is there some part of this which is unclear to you, Constantine?


Yes, Chuck, some part is indeed unclear to me, precisely the part that
explains why does one have to go into that much trouble to have a
working system.


 If you are curious as to why things are the way they are, I suggest
 that you check the problems that are described in the misc@openbsd.org
 mailing list, and contact Intel people and say what you think about
 their user-unfriendly policy in regards to Intel Pro Wireless
 firmwares, which are REQUIRED to be loaded from the OS before the
 device functions, i.e. the OS developers must be allowed to freely
 distribute the firmware in order for the devices to work
 out-of-the-box.

There's no need to be curious about the matter; the Intel Pro
Wireless adaptors, like many other brands of wireless adaptors, use a
software-controlled radio which is capable of broadcasting at higher
power levels and/or at frequencies outside of those allocated for
802.11 connectivity for specific regulatory domains.  The US FCC,
along with other regulatory agencies in Europe such as ETSI and
elsewhere, require that end-users not have completely open access to
these radios to prevent problems from deliberate misuse such as
interference with other frequency bands.


Yes, regulatory bodies, of cause, table specific requirements that
must be satisfied by systems that utilise RF, i.e. the manufacturer
must make reasonable attempt to prevent users from using non-permitted
frequencies.

Not permitting the firmware to be redistributed has nothing to do with
the FCC, however.


This isn't a matter of choice on Intel's part; if you want this
situation to change, you're going to have to obtain changes in the
radio-frequency laws and policies in the US and a number of other
countries first.


No, firmware redistribution is ENTIRELY up to Intel. I want the
firmware to be available under a BSD or ISC licence, just as with
Ralink. Intel's firmware is already available, but under a different
licence. Where does the FCC say that Intel must distribute firmware
under a non-OSS-friendly licence?


Again, is there some part of this that is unclear or which you fail
to understand?


Yes, precicely, I don't understand why you think FCC requires Intel to
not release the firmware under a BSD-like licence.


 For some recent information about Intel being an Open Source Fraud,
 see http://marc.theaimsgroup.com/?l=openbsd-
 miscm=115960734026283w=2.

The firmware license for these devices has never been submitted to
the OSI board for approval as an Open Source license, and I have
never seen Intel claim that this license is an Open Source license.

It might suit OpenBSD's advocacy purposes to deliberately
misrepresent Intel's position, but doing so is unfair and is not
especially helpful to the FreeBSD community, which does have somewhat
decent relations with vendors like Intel, Lucent, Aironet, Broadcomm,
and so forth.

As to the point raised above, the firmware license actually does
permit an individual user, including an OS developer, to copy and
redistribute the software to others, so long as the recepient agrees
to the license terms:

LICENSE. You may copy and use the Software, subject to these
conditions:
1. This Software is licensed for use only in conjunction with Intel
component
products. Use of the Software in conjunction with non-Intel
component
products is not licensed hereunder.


So if I don't have an Intel Wireless in the system, is it still legal
to have the firmware in my system files?


2. You may not copy, modify, rent, sell, distribute or transfer any
part of the
Software except as provided in this Agreement, and you agree to
prevent
unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.


What's exactly the purpose of this term, if reverse engineering is
permitted under many jurisdictions? Is it just to scare potentional
reverse-engineers?


4. You may not sublicense the Software.
5. The Software may contain the software or other property of third
party
suppliers.

[ ... ]
You may transfer the Software only if a copy of this license
accompanies the
Software and the recipient agrees to be fully bound by these terms.

If a project such as OpenBSD wishes to redistribute the software,
then it would probably be considered an Independent Software Vendor,
and again the 

Re: ipw(4) and iwi(4): Intel's Pro Wireless firmware licensingproblems

2006-10-05 Thread Matt Emmerton
 On 05/10/06, Chuck Swiger [EMAIL PROTECTED] wrote:
  On Oct 4, 2006, at 7:46 PM, Constantine A. Murenin wrote:
   Why are none of the manual pages of FreeBSD say anything about why
   Intel Wireless devices do not work by default?
  
   http://www.freebsd.org/cgi/man.cgi?query=ipw
   http://www.freebsd.org/cgi/man.cgi?query=iwi
 
  The manpages you've linked to explicitly state:
 
This driver requires firmware to be loaded before it will
  work.  You need
to obtain ipwcontrol(8) from the IPW web page listed below to
  accomplish
loading the firmware before ifconfig(8) will work.
 
  Is there some part of this which is unclear to you, Constantine?

 Yes, Chuck, some part is indeed unclear to me, precisely the part that
 explains why does one have to go into that much trouble to have a
 working system.

It's required by Intel's choice of licence for the firmware for that
wireless NIC.

 Not permitting the firmware to be redistributed has nothing to do with
 the FCC, however.

 No, firmware redistribution is ENTIRELY up to Intel. I want the
 firmware to be available under a BSD or ISC licence, just as with
 Ralink. Intel's firmware is already available, but under a different
 licence. Where does the FCC say that Intel must distribute firmware
 under a non-OSS-friendly licence?

It doesn't.  However, most licences allow derivative works to be created
outside of Intel's control.  If one of these derivative work allows the
device to be used in a manner that violates FCC rules and regulations, Intel
remains liable because they a) the provider of the hardware device in
question and b) the provider of the initial software (that spawned the
derivative work)

There is nothing stopping Intel from releasing the firmware, except for the
legal fear that the FCC will hold them accountable for illegal acts
performed with their device.

  As to the point raised above, the firmware license actually does
  permit an individual user, including an OS developer, to copy and
  redistribute the software to others, so long as the recepient agrees
  to the license terms:
 
  LICENSE. You may copy and use the Software, subject to these
  conditions:
  1. This Software is licensed for use only in conjunction with Intel
  component
  products. Use of the Software in conjunction with non-Intel
  component
  products is not licensed hereunder.

 So if I don't have an Intel Wireless in the system, is it still legal
 to have the firmware in my system files?

No.  In this case it is not being used in conjunction with Intel component
products as it stands alone.

 Chuck, if the licence is as good as you make it sound, would you tell
 me why FreeBSD, OpenBSD, Debian GNU/Linux and a lot of other systems
 do not include the firmware in the base system?

 If you think downloading firmwares and accepting tonnes of EUAs is
 completely normal, then why is fxp(4) firmware/microcode/whatever it's
 called in fxp(4) is included in every OpenBSD and FreeBSD release?

Because fxp is not a wireless device, and thus does not fall under the FCC's
control for RADIO devices.  (The normal Class A/B rules for device emissions
still apply, but since the device is a hardwire device, there's nary a way
to change the firmware to be in violation of these rules.)

--
Matt Emmerton

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


Re: upgrading amavisd-new port fails

2006-10-05 Thread jan gestre

On 10/6/06, jan gestre [EMAIL PROTECTED] wrote:




On 10/6/06, jan gestre [EMAIL PROTECTED] wrote:



 On 10/6/06, Gábor Kövesdán  [EMAIL PROTECTED] wrote:
 
  jan gestre wrote:
   On 10/4/06, Gábor Kövesdán [EMAIL PROTECTED] wrote:
  
   jan gestre wrote:
hi guys,
   
   
i tried upgrading the amavisd-new port via portmanager and
portupgrade, both
methods failed, i had a similar problem before but i forgot how
  did i
fix it
:(  is there a problem with the amavisd-new port?
   
TIA
   Hi,
  
   could you concretize a bit, please? What kind of error do you get?
  Could
   you attach the output?
  
   this is the error during portupgrade:
  
   Stop in /usr/ports/security/amavisd-new.
   *** Error code 1
  
   Stop in /usr/ports/security/amavisd-new.
   ** Command failed [exit code 1]: /usr/bin/script -qa
   /tmp/portupgrade.80571.23 env PORT_UPGRADE=yes make
   ** Fix the problem and try again.
   ** Listing the failed packages (*:skipped / !:failed)
  ! security/amavisd-new (amavisd-new-2.4.3,1)(checksum
   mismatch)
   ---  Packages processed: 0 done, 23 ignored, 0 skipped and 1 failed
  
  
  The checksum mismatch reflect that your ports tree is outdated. The
  distfile was rerolled, and the PORTREVISION bumped. Please update your
  ports tree and try again. The current working amavisd-new version in
  the
  ports tree is 2.4.3_1,1.
 
 
 i always update my ports tree everyday using cvsup, all the other ports
 gets updated except amavisd-new, is there another way to resolve this?


i also tried this:

# make deinstall
# make reinstall --- this one failed :(

now i don't have amavis :(



finally! i found a solution :D it seems that there is a checksum mismatch as
you've mentioned so i tried to change the md5sum in the distinfo but this
also failed, so i downloaded
amavisd-new-2.4.3.tar.gzhttp://www.ijs.si/software/amavisd/amavisd-new-2.4.3.tar.gzand
copied it to /usr/ports/distfiles and i did a make reinstall, whoala
it's working already :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: checksum mismatch

2006-10-05 Thread jan gestre

On 10/6/06, jan gestre [EMAIL PROTECTED] wrote:


guys,

i'm having problems with the amavisd-new port, portupgrade reports that
there is a mismatch so amavisd-new won't update, i tried

# make deinstall
and
# make reinstall

i was able to deinstall it but i can't reinstall it :( i also tried:

# make install clean

with the same result, i have no idea how to fix this. anybody knows how to
fix this?

TIA



i was able to fix it :D please ignore the thread :)

solution:

the checksum mismatch is causing a problem, the update from cvsup doesn't
match the checksum from the mirrors, tried changing the md5 of distinfo to
match the correct checksum but to no avail, so i downloaded
amavisd-new-2.4.3.tar.gzhttp://www.ijs.si/software/amavisd/amavisd-new-2.4.3.tar.gzand
copied it to /usr/ports/distfiles and i did a make reinstall, whoala
it's working already :D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port php5 - what I am supposed to do here?

2006-10-05 Thread Alain Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello List,

Portuadit telles my about the open_basedir Race Condition
Vulnerability, OK.

By reading the advisory on
http://www.hardened-php.net/advisory_082006.132.html I can safely say
this does not apply to our environment, we don't use open_basedir or
safe_mode and Suhosin is planned anyway (after test).

With a portsnap fetch update I get a new version php5-5.1.6_1 in my
portstree, OK.

But portmanager -u or even manually with make install clean
everything fails with the following message:

===  php5-5.1.6_1 has known vulnerabilities:
= php -- open_basedir Race Condition Vulnerability.
   Reference:
http://www.FreeBSD.org/ports/portaudit/edabe438-542f-11db-a5ae-00508d6a62df.html
= Please update your ports tree and try again.
*** Error code 1

So what to do now?
There are quite a lot if dependencies which i can't update too now.

Also installing/enabling Suhosin seems not possible anymore now.

Any suggestions are welcome.

Greetings fomr Switzerland

Alain Wolf
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJcsDV5MZZmyxvGgRAn4oAKDBqaGjcOflahgH4XRp6WCg0T6qLQCg3uni
vk77USw9+yElWvFCJBcDHxs=
=4wj4
-END PGP SIGNATURE-

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


Re: port php5 - what I am supposed to do here?

2006-10-05 Thread Matt Emmerton
 Hello List,

 Portuadit telles my about the open_basedir Race Condition
 Vulnerability, OK.

 By reading the advisory on
 http://www.hardened-php.net/advisory_082006.132.html I can safely say
 this does not apply to our environment, we don't use open_basedir or
 safe_mode and Suhosin is planned anyway (after test).

 With a portsnap fetch update I get a new version php5-5.1.6_1 in my
 portstree, OK.

 But portmanager -u or even manually with make install clean
 everything fails with the following message:

 ===  php5-5.1.6_1 has known vulnerabilities:
 = php -- open_basedir Race Condition Vulnerability.
Reference:

http://www.FreeBSD.org/ports/portaudit/edabe438-542f-11db-a5ae-00508d6a62df
.html
 = Please update your ports tree and try again.
 *** Error code 1

 So what to do now?

You've established that the security issue doesn't apply to your
environment.

1) Add DISABLE_VULNERABILITIES=yes to /etc/make.conf
2) Run portupgrade -u or make install clean

Regards,
--
Matt Emmerton

___
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 HighPoint rr232x driver FreeBSD 6.1 amd64

2006-10-05 Thread Klaus Friis Østergaard
I went into the BIOS of the radi cintroller again, removed the drives, disabled 
the staggered spin up function, and reinitialized the drives, made a new raid 5 
array with background initialization.
 
In /etc/rc.conf I put rr232x_enable=YES
 
Rebooted the system and the drives did not fil to start channel.
 
/Klaus
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange X problem

2006-10-05 Thread Bob
On Thursday 05 October 2006 15:36, Paul Schmehl wrote:


 What did I miss?


Don't know exactly, as I am quite new to FreeBSD; but I can tell you what I 
did.

After the installation of X11, I created a file in my home directory 
called .xinitrc in that file I have the single line exec startkde.

I log into my account, and when I want Xwindows I simply 
execute /usr/X11R6/bin/startx.

Here is what my .xinitrc file looks like:
#/usr/X11R6/bin/startxfce4
#exec gnome-session
#/usr/X11R6/bin/afterstep
exec startkde

I can edit it and use another window manager if I want... I have used all the 
ones listed.
 
Hope some of this helps.
 
Bob
 


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


Re: Strange X problem

2006-10-05 Thread Paul Schmehl

--On October 6, 2006 12:52:12 AM -0400 Bob [EMAIL PROTECTED] wrote:


On Thursday 05 October 2006 15:36, Paul Schmehl wrote:



What did I miss?



Don't know exactly, as I am quite new to FreeBSD; but I can tell you
what I  did.

After the installation of X11, I created a file in my home directory
called .xinitrc in that file I have the single line exec startkde.

I log into my account, and when I want Xwindows I simply
execute /usr/X11R6/bin/startx.

Here is what my .xinitrc file looks like:
# /usr/X11R6/bin/startxfce4
# exec gnome-session
# /usr/X11R6/bin/afterstep
exec startkde

I can edit it and use another window manager if I want... I have used
all the  ones listed.

Hope some of this helps.

Not really.  I want X to start *without* requiring a console login and 
prompt me for a login in the gui, just like my workstation does.


I can type starx or gdm after logging in as root, but that's not what I 
want.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: port php5 - what I am supposed to do here?

2006-10-05 Thread Alain Wolf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.10.2006 05:53, * Matt Emmerton wrote:
 
 You've established that the security issue doesn't apply to your
 environment.
 
 1) Add DISABLE_VULNERABILITIES=yes to /etc/make.conf
 2) Run portupgrade -u or make install clean
 
 Regards,
 --
 Matt Emmerton
 

Thanks Matt, that did it. I knew it there was a way. :-)

But then ...
As everything was in sync again, I wanted to install the suhosin-patch

And see what happens:

===  Patching for php5-5.1.6_1
===  Applying distribution patches for php5-5.1.6_1
===  Applying FreeBSD patches for php5-5.1.6_1
1 out of 1 hunks failed--saving rejects to Zend/zend_alloc.c.rej
= Patch patch-Zend_zend_alloc.c failed to apply cleanly.
= Patch(es) patch-TSRM_threads.m4 patch-Zend::zend.h applied cleanly.
*** Error code 1

Stop in /usr/ports/lang/php5.


:-(

I found this stange as I read just before about the neweset patch in the
cvs.ports list :

On 05.10.2006 22:59, * Alex Dupre wrote:
 ale 2006-10-05 20:59:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
 lang/php5Makefile 
   Added files:
 lang/php5/files  patch-Zend_zend_alloc.c 
   Log:
   Added safety checks against integer overflow.
   Bump PORTREVISION.
   While I'm here, I suggest all php users to use the suhosin patch
   and suhosin extension to harden the php installation.
   
   Submitted by:   simon
   Obtained from:  PHP CVS repo.
   
   Revision  ChangesPath
   1.102 +1 -1  ports/lang/php5/Makefile
   1.1   +21 -0 ports/lang/php5/files/patch-Zend_zend_alloc.c (new)
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-ports

He suggests the suhosin patch but in my expirience it only builds
without it.

Anybody else got this kind of problems?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFJe7oV5MZZmyxvGgRAjZoAJ0SyNSh/fcW9lK276dEEEDwRhqK3gCgnQof
mYeAV7bs8vFG4r8Cf3NxEU0=
=WUVL
-END PGP SIGNATURE-

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


NMI ISA 34, EISA ff

2006-10-05 Thread beastie
dear All.

My new IBM-X Series 336 always booting periodicaly after this kernel message
NMI ISA 34, EISA ff at FreeBSD-6.1 Stable #0.
Is there any way to solved this problem. ??

please help

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