Re: Routed and netmask...

2007-02-05 Thread Nikos Vassiliadis
On Saturday 03 February 2007 22:08, Thiago Esteves de Oliveira wrote:
 Hi,
 
 I'm using FreeBSD 6.2 Stable with routed to connect networks(gateway)
 
 
THE INTERNET
  |
  |
 
 |  eee.eee.eee.0/26  |
 
  |
  |
eee.eee.eee.11/26
ROUTER
iii.iii.iii.1
  |
  |
  
  |  iii.iii.iii.0/24 |  My Network
  
 
 
 The problem...
 
 The system is routing, but only to iii.iii.iii.0/26 .
 
 Look... my rc.conf
 
 ifconfig_em0=inet iii.iii.iii.1 netmask 255.255.255.0
 ifconfig_sk0=inet eee.eee.eee.11 netmask 255.255.255.192
 
 defaultrouter=eee.eee.eee.1
 router_enable=YES
 router_flags=-s
 gateway_enable=YES
 router=/sbin/routed
 

routed uses by default ripv1, which is clasful.
That means that your net/26 surely won't work.
I doubt your other_net/24 is a C class network,
(from 192.0.0.0/24 to 223.255.255.0/24).

Use explicitly ripv2(-P ripv2) and see what's
going on. You can use rtquery to query routed.
Check the neighbour routeds as well. Be sure
to check the in-kernel routing table using
netstat -r.

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


Re: Dumb filesystem idea

2007-02-05 Thread Indigo

On 2/4/07, Indigo [EMAIL PROTECTED] wrote:

Hello Everyone,
  Im about to try a disklayout experiment and I wanted to ask everyone  
if

Im trying things that are pointless or if I should extend the experiment
somehow.

Hardware:
  Highpoint RocketRAID 2320
  2xWD Raptor 74GB
  5xWD Caviar 320GB

Original idea for the setup:
  74GB RAID1 (Raptors)
   /,/var,/usr
  50GB RAID0 (Caviars[10GB from each - maybe less])
   swap,/usr/obj,/tmp,[/var/audit]
  1TB+ RAID5 (Caviars[the rest])
   /home (or just general storage)

The goal is to waste as few fast/reliable space as possible on things  
that

CAN be lost and to generally reorganize the filesystem by file purpose.


It looks to me like you are wasting system drive channels. That is,
IDE can only have two drives per channel, SATA can have one drive per
channel. SCSI is too expensive to waste on 10GB drives. So while you
might be moving low-use data off of a high-use file system you are
losing the ability to have a high-capacicy file system.


Known issue is that I'll need some script to recreate the RAID0
filesystems when they crash.


Shouldn't be a prolem with gvinum. Except that some applications
/will/ crash if /tmp dissipears, and you certainly don't want swap to
dissipear if it's being used either.


Am I onto something here? I feel like running in circles - it's dumb to
put /var/obj on the RAID1 where it just eats valuable space. But it's  
also

dumb to put things on a RAID0 where they will crash a running system in
the event of disk failure. I know my idea won't work but I wanted to ask
if anyone was playing with similar ideas.


The trick is to balance your performance requirements and your fault
tolerance with the data usage and system security requirements. The
fault tolerance of RAID 1 and RAID 5 are nearly the same, each can
survice exactly one drive failure. In your example above, the Raptor's
are fast, but depending on what the system is used for you might need
that speed in /var, swap, or some other mount point, most of the time
IO on / and /usr is pretty low. On the other hard, RAID 5 is fine for
a file server, but if you have a database on that volume you might
want to go with RAID 10.

So no, your idea isn't dumb, you just didn't give enough information
to make a meaningful assessment.



Some more detail then:
The HighPoint card is very decent, it can make the whole setup I described
appear as three SCSI disks (da0-2). Ill make one slice on each and then
partition those slices as I described. So FreeBSD will only see 3 SCSI
disks(74GB,50GB,1TB) it shouldn't see the original SATA disks like it does
with on-board controllers.
da0s1a /
da0s1d /var [mail]
da0s1e /usr [homes,databases,htdocs]
da1s1b swap
da1s1d /usr/obj
da1s1e /tmp
da2s1d /usr/store [public storage/fileserver]

Does anyone know how the system will react to da1 failing?

Thanks,
Vasek


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


Re: READ_DMA48 error interpretation

2007-02-05 Thread perryh
 #1. The drive temperatures seem ridiculously high to this naive
 reader, but what do I know?...
 110 to 190 Celcius?  Yikes...  Or maybe that's normal?
 How hot is too hot?

I'd think if you can't hold onto them with bare hands they are too
hot.  100C is *way* too hot.  It's a wonder they are working at all.

If they are in an enclosure, clean the air filter (if any), make
sure the fan(s) is/are running (and actually moving air); add a fan
if there isn't one.  If they are not in an enclosure, (or if they're
in a big one, like the same box with the rest of the system) add a
fan either blowing on them or drawing air over them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iTunes - once again.

2007-02-05 Thread perryh
  Call me silly, but it seems to me you ought to be lobbying Apple
  for Linux support.
 
  Get a decent Apple-made Linux player, and FreeBSD support via
  the linux emulator would *probably* work, no?

 I agree, getting Apple to support iTunes on Linux is key. I don't
 know if there have been other online petitions ...

Good luck.  My guess is that open-source systems like Linux or *BSD
are considered too easily hackable, and therefore prohibited in
Apple's agreements with the recording industry.  (Even if the iTunes
app itself were distributed as binary-only, having both the input
and output drivers open-source might be perceived as making it too
easy to attack the encryption.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tcp_fin_timeout analogon

2007-02-05 Thread Konrad Heuer


Hello everyone,

is there an analogon to the Linux sysctl variable tcp_fin_timeout in 
FreeBSD to force the system to close still open TCP connections after some 
time?


Any hint would be great.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: phpMyAdmin httpd segmentation fault

2007-02-05 Thread Terry Todd
On Sun, Feb 04, 2007 at 09:36:58AM +, Matthew Seaman wrote:
 Terry Todd wrote:
  I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
  mysql-5.0.27 and apache_1.3.37_1.
  
  php -i now works Ok after I moved recode.so to the top of the list
  of extensions in extensions.ini.  It took a while to figure that
  one out.  Before that php -i would seg fault and core dump.  It
  took some google searching and using gdb on the core file to fix
  it.
  
  A test web page for phpinfo works fine too.  Mysql works OK from
  the command line.
  
  However I can't get phpMyAdmin to work.  It seg faults in reading 
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
  There is no core dump produced.
 
 Hmmm... very strange.  We have just built a RELENG_6_2 server with
 apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.
 
 Did you modify the CFLAGS or otherwise change the level of
 optimization used by the compiler?

No CFLAGS were changed or anything else.  It's a very standard install.

 
  I ran ktrace httpd -X
  
  Then when I try to open the phpMyAdmin/index.php page in a browser
  httpd seg faults.
  
  Here is the tail of kdump from the ktrace.out from the above ktrace.
  
  
1372 httpdCALL  gettimeofday(0xbfbf7158,0)
1372 httpdRET   gettimeofday 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www/phpMyAdmin
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www/phpMyAdmin/libraries
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
1372 httpdRET   lstat 0
1372 httpdCALL  open(0x845eda8,0,0x1b6)
1372 httpdNAMI  
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
1372 httpdRET   open 4
1372 httpdCALL  fstat(0x4,0x8102748)
1372 httpdRET   fstat 0
1372 httpdCALL  lseek(0x4,0,0,0,0x1)
1372 httpdRET   lseek 0
1372 httpdCALL  read(0x4,0x82e3028,0x2000)
1372 httpdGIO   fd 4 read 4096 bytes
 ?php
  /* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 lem9 
  Exp $ */
  // vim: expandtab sw=4 ts=4 sts=4:
  
  
  /**
   * URL/hidden inputs generating.
   */
  
  
  /**
   * Generates text with hidden inputs.
   *
   * @see PMA_generate_common_url()
   * @param   string   optional database name
   * @param   string   optional table name
   * @param   int  indenting level
   *
   * @return  string   string with input fields
   *
   * @global  string   the current language
   * @global  string   the current conversion charset
   * @global  string   the current connection collation
   * @global  string   the current server
   * @global  arraythe configuration array
   * @global  boolean  whether recoding is allowed or not
   *
   *
   * @access  public
   *
   * @author  nijel
   */
  function PMA_generate_common_hidden_inputs($db = '', $table = '', 
  $indent = 0, $skip = array())
  {
  if (is_array($db)) {
  $params  = $db;
  $_indent = empty($table) ? $indent : $table;
  $_skip   = empty($indent) ? $skip : $indent;
  $indent  = $_indent;
  $skip= $_skip;
  } else {
  $params = array();
  if (isset($db)  strlen($db)) {
  $params['db'] = $db;
  }
  if (isset($table)  strlen($table)) {
  $params['table'] = $table;
  }
  }
  
  if (! empty($GLOBALS['server'])
$GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
  $params['server'] = $GLOBALS['server'];
  }
  if (empty($_COOKIE['pma_lang'])
   ! empty($GLOBALS['lang'])) {
  $params['lang'] = $GLOBALS['lang'];
  }
  if (empty($_COOKIE['pma_charset'])
   ! empty($GLOBALS['convcharset'])) {
  $params['convcharset'] = $GLOBALS['convcharset'];
  }
  if (empty($_COOKIE['pma_collation_connection'])
   ! empty($GLOBALS['collation_connection'])) {
  

Unable to locate Net-SMTP-SSL-1.01 perl module in ports

2007-02-05 Thread Gerard Seibert
I am looking for the Net-SMTP-SSL perl module in the ports system. So
far I have not been able to locate it.. If I cannot locate it, I will
have to use CPAN to install it; which is something I would rather not do.

Does anyone know if it exists under a different name perhaps?

Thanks!

-- 
Gerard

Ruth rode upon my motor bike
directly in back of me.
I hit a bump at 95
and rode on Ruthlessly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FILE RECOVERY

2007-02-05 Thread Ron Guilmet
Hey all,
   
  I have a question that maybe someone can help me with.
   
  I setup FreeBSD on one of my spare pcs, and I am interested in file recovery.
   
  I have an used HDD that I want to install as a secondary (which I know how to 
do), but can someone point me in the right direction as to what I need to learn 
about FreeBSD to examine this spare drive for files?
   
  I have software that will do it in my windows pc, but I'm not really 
interested in what's on the drive as much as I am interested in how to work 
with this.
   
  thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NVidia troubls with AMD64..

2007-02-05 Thread Jim Stapleton

OK, my main question is this:
I originally had an x86-64 config set up, and I ran Xorg -configure,
which generated an nv driver based xorg.conf file. It placed the card
at PCI 1:0:0 if I remember correctly. When I tried to start X it
complained that it couldn't find my card at PCI 1:0:0. I went back to
i386, and got to this point, and there was no problem. The driver
configs appeared identical, including the PCI 1:0:0.

System:
6.2-i386/6.2-AMD64
ASUS A8N-E motherboard, BIOS 1.13
Athlon64 3000+
512MB memory
GeForce 7300GT video card (BFG).

Any idea why I would see that problem? I would like to stick to
x86-64, but for some reason it doesn't want to find my video card.


Also, anyone know the state of the kernel in relation to nVidia's
requested updates (mentioned June 06 in -hackers)? I could ask
FBSD-hackers, but it's not really an important questions, and I don't
want to take their time away from keeping this great OS great. (Don't
bother searching if you don't know, just asking if anyone reading this
knows off the top of their heads):

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


Re: tcp_fin_timeout analogon

2007-02-05 Thread Karol Kwiatkowski
Konrad Heuer wrote:
 
 Hello everyone,
 
 is there an analogon to the Linux sysctl variable tcp_fin_timeout in
 FreeBSD to force the system to close still open TCP connections after
 some time?
 
 Any hint would be great.

If I understand correctly, 'tcp_fin_timeout' on Linux sets timeout on a
connection in FIN_WAIT_2 state. You could do that with pf(4) and it's
'set timeout tcp.closing' option.

I'm not sure if it's possible with sysctl, cc'ing @freebsd-net.

HTH,

Karol

 Best regards
 
 Konrad Heuer

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: iTunes - once again.

2007-02-05 Thread Garrett Cooper

[EMAIL PROTECTED] wrote:

Call me silly, but it seems to me you ought to be lobbying Apple
for Linux support.

Get a decent Apple-made Linux player, and FreeBSD support via
the linux emulator would *probably* work, no?

I agree, getting Apple to support iTunes on Linux is key. I don't
know if there have been other online petitions ...


Good luck.  My guess is that open-source systems like Linux or *BSD
are considered too easily hackable, and therefore prohibited in
Apple's agreements with the recording industry.  (Even if the iTunes
app itself were distributed as binary-only, having both the input
and output drivers open-source might be perceived as making it too
easy to attack the encryption.)


It's not just that.

	Given Apple's stance in the marketplace, they (rightly) prefer to do 
things when it suits their vested interests. So, considering the 
following points, Apple won't support iTunes on any platform other than 
OSX and Windows:


-DRM doesn't exist on *BSD, Solaris or Linux, which means that Apple 
would have to do the system from scratch or adapt the system to meet the 
requirements of the installation platform.
-The cost of development, security risks, and probable loss of IP would 
be much higher since they'd be spreading out their resources pretty thin 
by developing DRM/iTunes for other platforms.
-Plus, the number of PCs owners that do have iTunes protected files is 
probably much smaller than the market share that own Mac or Windows 
machines and use iTunes.
-Many times writing binary applications for Unix requires a common 
denominator for all applications. Considering that there isn't 
necessarily a common denominator in Unix (shells are different, kernels 
are different, not all clients have the same WMs, DEs, etc), finding and 
establishing that common denominator would take a lot of time.


Therefore, with that thinking in mind I highly doubt that anything will 
come about in the near future where iTunes is supported on another 
platform than Windows or OSX, unless everyone will start using Linux or 
*BSD because of Vista ^_^.


-Garrett

PS Have you tried Crossoffice yet? It's a packaged suite for wine that 
supposedly supported iTunes (as well as Office XP) back in the day (~1 
year ago). You'll have to pay for it though.

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


Re: phpMyAdmin httpd segmentation fault

2007-02-05 Thread Garrett Cooper

Terry Todd wrote:

On Sun, Feb 04, 2007 at 09:36:58AM +, Matthew Seaman wrote:

Terry Todd wrote:

I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
mysql-5.0.27 and apache_1.3.37_1.

php -i now works Ok after I moved recode.so to the top of the list
of extensions in extensions.ini.  It took a while to figure that
one out.  Before that php -i would seg fault and core dump.  It
took some google searching and using gdb on the core file to fix
it.

A test web page for phpinfo works fine too.  Mysql works OK from
the command line.

However I can't get phpMyAdmin to work.  It seg faults in reading 
/usr/local/www/phpMyAdmin/libraries/url_generating.lib.php

There is no core dump produced.

Hmmm... very strange.  We have just built a RELENG_6_2 server with
apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.

Did you modify the CFLAGS or otherwise change the level of
optimization used by the compiler?


No CFLAGS were changed or anything else.  It's a very standard install.


I ran ktrace httpd -X

Then when I try to open the phpMyAdmin/index.php page in a browser
httpd seg faults.

Here is the tail of kdump from the ktrace.out from the above ktrace.


  1372 httpdCALL  gettimeofday(0xbfbf7158,0)
  1372 httpdRET   gettimeofday 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  /usr
  1372 httpdRET   lstat 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  /usr/local
  1372 httpdRET   lstat 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  /usr/local/www
  1372 httpdRET   lstat 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  /usr/local/www/phpMyAdmin
  1372 httpdRET   lstat 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  /usr/local/www/phpMyAdmin/libraries
  1372 httpdRET   lstat 0
  1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
  1372 httpdNAMI  
/usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
  1372 httpdRET   lstat 0
  1372 httpdCALL  open(0x845eda8,0,0x1b6)
  1372 httpdNAMI  
/usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
  1372 httpdRET   open 4
  1372 httpdCALL  fstat(0x4,0x8102748)
  1372 httpdRET   fstat 0
  1372 httpdCALL  lseek(0x4,0,0,0,0x1)
  1372 httpdRET   lseek 0
  1372 httpdCALL  read(0x4,0x82e3028,0x2000)
  1372 httpdGIO   fd 4 read 4096 bytes
   ?php
/* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 lem9 Exp 
$ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * URL/hidden inputs generating.
 */


/**
 * Generates text with hidden inputs.
 *
 * @see PMA_generate_common_url()
 * @param   string   optional database name
 * @param   string   optional table name
 * @param   int  indenting level
 *
 * @return  string   string with input fields
 *
 * @global  string   the current language
 * @global  string   the current conversion charset
 * @global  string   the current connection collation
 * @global  string   the current server
 * @global  arraythe configuration array
 * @global  boolean  whether recoding is allowed or not
 *
 *
 * @access  public
 *
 * @author  nijel
 */
function PMA_generate_common_hidden_inputs($db = '', $table = '', 
$indent = 0, $skip = array())
{
if (is_array($db)) {
$params  = $db;
$_indent = empty($table) ? $indent : $table;
$_skip   = empty($indent) ? $skip : $indent;
$indent  = $_indent;
$skip= $_skip;
} else {
$params = array();
if (isset($db)  strlen($db)) {
$params['db'] = $db;
}
if (isset($table)  strlen($table)) {
$params['table'] = $table;
}
}

if (! empty($GLOBALS['server'])
  $GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
$params['server'] = $GLOBALS['server'];
}
if (empty($_COOKIE['pma_lang'])
 ! empty($GLOBALS['lang'])) {
$params['lang'] = $GLOBALS['lang'];
}
if (empty($_COOKIE['pma_charset'])
 ! empty($GLOBALS['convcharset'])) {
$params['convcharset'] = $GLOBALS['convcharset'];
}
if (empty($_COOKIE['pma_collation_connection'])
 ! empty($GLOBALS['collation_connection'])) {
$params['collation_connection'] = 
$GLOBALS['collation_connection'];
}

$params['token'] = $_SESSION[' PMA_token '];

if (! is_array($skip)) {
if (isset($params[$skip])) {
  

missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Noah

Hi,

Any clues how to clean up a reported missing key: categories: Cannot 
read the portsdb!


some more from the build logs:

cd: can't cd to /usr/ports/sysutils/portupgrade
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 331 packages 
found (-0 +1) . done]
[missing key: categories] [Updating the portsdb format:bdb_btree in 
/usr/ports ... - 16436 port entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
. done]

missing key: categories: Cannot read the portsdb!
database file error
---  Installing 'gallery2-2.1.2' from a port (www/gallery2)
---  Building '/usr/ports/www/gallery2'
===  Cleaning for php5-5.2.0

cheers,

Noah

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


attmepting to build application but fails

2007-02-05 Thread Noah

Hi there,

FreeBSD-6.2

I am attempting to build gallery2
but the build fails because a dependency php5-session-5.2.0 is already 
built.  okay fine.  how do I get around that


here is the original command:

portinstall www/gallery2

here are snippets from the output:

 snip ---

--
Libraries have been installed in:
  /usr/ports/www/php5-session/work/php-5.2.0/ext/session/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

===  Installing for php5-session-5.2.0
===   php5-session-5.2.0 depends on file: 
/usr/local/include/php/main/php.h - found

===   Generating temporary packing list
===  Checking if www/php5-session already installed
===   php5-session-5.2.0 is already installed
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of www/php5-session
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/www/php5-session.
*** Error code 1

Stop in /usr/ports/www/php5-session.
*** Error code 1

Stop in /usr/ports/www/gallery2.
*** Error code 1

Stop in /usr/ports/www/gallery2.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.59197.0 env make reinstall

** Fix the installation problem and try again.
cd: can't cd to /usr/ports/sysutils/portupgrade
** Listing the failed packages (*:skipped / !:failed)
   ! www/gallery2  (install error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

 snip ---

cheers,

Noah

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


HP C-class Blade / Broadcom ethernet / SerDes controllers not supported

2007-02-05 Thread Ewald Jenisch
Hi,

I'm trying to install FreeBSD 6.2 (AMD64-version) on a HP C-Class
Blade system with the following specs:

Proliant BL465c 2x AMD Opteron 2.4GHz, 16GB RAM, 2x146 GB HDs in
Raid1-config. During installation the NICs are not recognized. After
reboot I get an error message in /var/log/messages like this:

bce0:  SerDes controllers are not supported!

These NICs are listed as HP NC 370i in the blade configuration,
internally they are Broadcom NetXtreme II BCM5706s (at least this is
what FreeBSD 6.2 tells me upon booting).

Has anybody out there got these NICs running under FreeBSD 6.2?

Thanks much in advance for any clue,
-ewald


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


Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Karol Kwiatkowski
Noah wrote:
 Hi,
 
 Any clues how to clean up a reported missing key: categories: Cannot
 read the portsdb!

See entry from 20070102 in ports/UPDATING or
http://lists.freebsd.org/pipermail/freebsd-ports/2007-February/038432.html

Cheers,

Karol

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


question about BSD time

2007-02-05 Thread Alaa Alomari
Dear sir;
  I have a Unix BSD server, and i want to adjust the time of the server so i 
have used the following command:
  $ sudo date 0702050402
  and the output is:
  Mon Feb 5 04:02:00 EET 2007
  and when typing date command again, i have got the following output:
  Mon Feb 5 09:38::51 EET 2007
  so would you please, tell me how can i fix the time (note: i am using the 
root)
  Thank you for your attention.


  
-

Alaa M. Al-Omari 
Jordan University of Science and Technology (JUST) 
[EMAIL PROTECTED] 
Tel/Fax: +962 2 7040031
  Mobile: +962 77 7966918






 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap file vs swap partition

2007-02-05 Thread Jerry McAllister
On Sun, Feb 04, 2007 at 03:24:39PM -0800, Aloha Guy wrote:

 What I actually meant was, I know in the old days, if you had 128MB, you 
 want a 256MB swap but with 2GB RAM, isn't 4GB going to be overkill for a 
 swap or are you saying that a 2GB swap will work?  I'm still lost on the 
 ratio since I thought the 2x was only if you had like small amounts of RAM.

It really depends on what you are doing with the system.  
The system also pages to swap space.  Now, you really want enough
ram so that you are not depending on paging while something is
running, but if you have lots of processes with many kind of resting
until something comes up, the system may gradually use up their
in-core space for other stuff, even though the process is not 
actually swapped out.   Then, if some of those processes have to
run again, they don't half to be built up again.   The system just
pulls back in the pages it needs - not necessarily the whole thing.
It is, then good to have enough space for that.   It would take 
some observation on how your system is used to decide just how
important your swap size is.   If you are running a big enough
system that 4 GB of ram is needed, then 4 GB or even 8 GB swap 
is not so comparatively large.   You would probably be running
disk sizes in 70-160 GB size and maybe more than one, so what's 4 GB!

Anyway, you want to have enough swap to cover a crash-dump - not
that it is a frequent occurance unless you are doing development.
After all, this is FreeBSD, not MS.  But, still, it is good to have.

jerry

ps.  Please learn to break your text lines at about 70 characters.
 It makes responding much easier.
/jrm

 
 John
 
 
 - Original Message 
 From: Scott Long [EMAIL PROTECTED]
 To: Aloha Guy [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Sunday, February 4, 2007 2:28:47 PM
 Subject: Re: swap file vs swap partition
 
 
 Aloha Guy wrote:
  Thanks for the input.  You do have good points.  The only issue with 
  swap partitions is that it seems like you need to increase it everytime 
  you increase the physical memory.  Is there a swap partition size limit 
  that pretty much will handle anything and setting a number larger than 
  that will really not offer anything?
   
  John
 
 
 Processors and memory have vastly outpaced the speed of disks; any
 amount of swapping is going to be percieved as being very slow and
 something that should be avoided.  Since RAM is also very cheap now,
 most people just load enough RAM into their system to handle their load,
 and then configure enough swap to hold a crashdump of that RAM.  You
 always want swap so that you can handle unexpected spikes in load
 without crashing, but it's less of an integral piece of normal system
 operation these days.
 
 Scott
 
 
  
 
 It's here! Your new message!  
 Get new email alerts with the free Yahoo! Toolbar.
 http://tools.search.yahoo.com/toolbar/features/mail/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about BSD time

2007-02-05 Thread Bill Moran
In response to Alaa Alomari [EMAIL PROTECTED]:

[Please wrap your lines around 72 characters or so]

 Dear sir;
   I have a Unix BSD server, and i want to adjust the time of the server
 so i have used the following command:
   $ sudo date 0702050402
   and the output is:
   Mon Feb 5 04:02:00 EET 2007
   and when typing date command again, i have got the following output:
   Mon Feb 5 09:38::51 EET 2007
   so would you please, tell me how can i fix the time (note: i am using
 the root)
   Thank you for your attention.

You are doing it correctly.  Is it possible that you have something running
that is changing the time?  (ntp, perhaps).

What happened between the time you set the time and when it reset itself?

Also, check your system's securelevel setting, which will prevent manual
time changes (or limit them to 1s).  See the man page for date and
securelevel.

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


Re: HP C-class Blade / Broadcom ethernet / SerDes controllers not supported

2007-02-05 Thread Christoph Schug
On Mon, Feb 05, 2007, Ewald Jenisch wrote:

 I'm trying to install FreeBSD 6.2 (AMD64-version) on a HP C-Class
 Blade system with the following specs:
 
 Proliant BL465c 2x AMD Opteron 2.4GHz, 16GB RAM, 2x146 GB HDs in
 Raid1-config. During installation the NICs are not recognized. After
 reboot I get an error message in /var/log/messages like this:
 
 bce0:  SerDes controllers are not supported!

SerDes code isn't implemented in FreeBSD 6.2, but there has been a
commit in HEAD some days ago which should add this functionality to the
bce(4) driver [1].

Maybe you can give it a try and check whether a current FreeBSD 7 works
right and report back the result to the list. Unfortunately all of
my BL460c blades are in production right now (under Debian/GNU Linux
4/amd64 *sigh*), so I cannot verify it on my own at the moment. I guess
the chipsets of BL460c and BL465c are rather similar, despite the fact
that the ones in the BL460c are of BCM5708S type.

Output of one of my Linux blades regarding its ethernet NICs (the last
two lines are the NICs on the Mezzanine board):
| # lspci -nn | fgrep '[0200]'
| 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM5708S Gigabit Ethernet [14e4:16ac] (rev 11)
| 07:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM5708S Gigabit Ethernet [14e4:16ac] (rev 11)
| 11:04.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme 5715S 
Gigabit Ethernet [14e4:1679] (rev a3)
| 11:04.1 Ethernet controller [0200]: Broadcom Corporation NetXtreme 5715S 
Gigabit Ethernet [14e4:1679] (rev a3)

[1] 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bce/if_bce.c.diff?r1=1.26r2=1.27

 These NICs are listed as HP NC 370i in the blade configuration,
 internally they are Broadcom NetXtreme II BCM5706s (at least this is
 what FreeBSD 6.2 tells me upon booting).

Another lesson to be learned: one should generally distrust any
marketing names like NC 370i. For example, both the QuickSpecs of the
DL380 G5 [2] and BL460c [3] quote an NC373i Multifunction Gigabit
ethernet adapter. Nevertheless they are completely different by design
and while the one in the DL380 G5 works under FreeBSD 6.2, the one in
the BL460c doesn't. In the past I knew such confusing names just from
companies like Dell, but obviously HP adopted this bad habit recently
unless it is just a typo in the specs.

[2] http://h18004.www1.hp.com/products/quickspecs/12477_div/12477_div.html
[3] http://h18004.www1.hp.com/products/quickspecs/12518_div/12518_div.html

Hope this helps (although it's got rather off-topic in the end ;)
-cs

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


CVS (freebsd /src) confusion

2007-02-05 Thread Dan Casey
Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2.

I've been noticing something strange, and I'm wondering if I'm thinking
too much into it.

I've modified mergemaster so that instead of using diff, it would just
append to a text the files that need to be diffed.  This way i can do it
with vimdiff instead.


I would think that the RELENG_6_2 would have more recent files then
6_1.  Here are a few examples.
I'm looking at cvsweb, which seems to confirm that that the versions of
these files are correct.


/etc/defaults/devfs.rules
version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1
2006/04/26 18:39:17
version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1
2006/04/26 18:38:43

/etc/defaults/periodic.conf
version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1
2006/03/08 23:01:18
version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2
2006/09/28 01:59:29



Did freebsd tag older versions a some files, or am I going nuts?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tab competion working partially.

2007-02-05 Thread Firas Kraiem



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


Portmanager - not working after ports change

2007-02-05 Thread White Hat
There was a change in the ports system -
/usr/ports/UPDATING 20070205 - which now renders
portmanager unable to run correctly. While it is
possible to update a single port; i.e., portmanager
/path/to-port/, if I attempt to do a general ports
update; i.e., portmanager -u, I receive the
following error message:

percentDone-=0 = 100 - ( 100 * ( oldPortsDbQTY-=6 /
oldPortsDbTOTALIZER-=6 ))
cd: can't cd to /usr/ports/sysutils/portmanager
rBsdPortMkPatch 0.4.1_7 error: bsd.port.mk
/usr/ports/Mk unable to restored from back up   cp
/usr/local/share/portmanager/bsd.port.mk-BACKUP
/usr/ports/Mk/bsd.port.mk

I tried deinstalling portmanager and then installing
it from its new port directory; however, that failed
to alleviate the problem.

Has anyone else experienced this problem, and perhaps
have a solution?

Thanks!

-- 

White Hat 
[EMAIL PROTECTED]


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tab completion working partially

2007-02-05 Thread Firas Kraiem

(Sorry for the double-posting, the last message wasn't sent properly)

Hi

I have problems with the tab-completion in my shell (bash). When there  
is only one choice possible, it works fine (e.g. cd /usr/portab il  
complete correctly to /usr/ports). However, when there is multiple  
choices (e.g. cd /usr/ltab) and bash usually shows a list of all  
possible options, it just exits the shell (Konsole or xterm windo is  
closed and I get thrown back to a login prompt when using a tty). In  
sh or csh, it's even worse : completion doesn't work at all. I'm  
running 6.2-STABLE, any ideas about this ?


Firas

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


Re: CVS (freebsd /src) confusion

2007-02-05 Thread N.J. Mann
On Monday,  5 February, 2007 at 12:17:18 -0500, Dan Casey wrote:
 Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2.
 
 I've been noticing something strange, and I'm wondering if I'm thinking
 too much into it.
 
 I've modified mergemaster so that instead of using diff, it would just
 append to a text the files that need to be diffed.  This way i can do it
 with vimdiff instead.
 
 
 I would think that the RELENG_6_2 would have more recent files then
 6_1.  Here are a few examples.
 I'm looking at cvsweb, which seems to confirm that that the versions of
 these files are correct.
 
 
 /etc/defaults/devfs.rules
 version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1
 2006/04/26 18:39:17
 version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1
 2006/04/26 18:38:43
 
 /etc/defaults/periodic.conf
 version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1
 2006/03/08 23:01:18
 version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2
 2006/09/28 01:59:29

I just checked in the CVS repository using the web interface at
http://www.freebsd.org/cgi/cvsweb.cgi
and it appears you have the correct versions of the files.  As to why
the devfs.rules is (an apparently) earlier version, I don't know.  You
could try browsing the CVS repository if you really want to know.  :-)


Cheers,
   Nick.
-- 
Please do not CC me on replies, I read the list and don't need the dupes.

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


Re: Tab completion working partially

2007-02-05 Thread youshi10

On Mon, 5 Feb 2007, Firas Kraiem wrote:


(Sorry for the double-posting, the last message wasn't sent properly)

Hi

I have problems with the tab-completion in my shell (bash). When there is only 
one choice possible, it works fine (e.g. cd /usr/portab il complete 
correctly to /usr/ports). However, when there is multiple choices (e.g. cd 
/usr/ltab) and bash usually shows a list of all possible options, it just 
exits the shell (Konsole or xterm windo is closed and I get thrown back to a 
login prompt when using a tty). In sh or csh, it's even worse : completion 
doesn't work at all. I'm running 6.2-STABLE, any ideas about this ?


Firas


What version of bash are you using (2 or 3)?

Try opening up sh, open up bash, tabcomplete something, and see if bash segment 
faults or something back to sh.
-Garrett


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


Re: Portmanager - not working after ports change

2007-02-05 Thread Eric

White Hat wrote:

There was a change in the ports system -
/usr/ports/UPDATING 20070205 - which now renders
portmanager unable to run correctly. While it is
possible to update a single port; i.e., portmanager
/path/to-port/, if I attempt to do a general ports
update; i.e., portmanager -u, I receive the
following error message:

percentDone-=0 = 100 - ( 100 * ( oldPortsDbQTY-=6 /
oldPortsDbTOTALIZER-=6 ))
cd: can't cd to /usr/ports/sysutils/portmanager
rBsdPortMkPatch 0.4.1_7 error: bsd.port.mk
/usr/ports/Mk unable to restored from back up   cp
/usr/local/share/portmanager/bsd.port.mk-BACKUP
/usr/ports/Mk/bsd.port.mk

I tried deinstalling portmanager and then installing
it from its new port directory; however, that failed
to alleviate the problem.

Has anyone else experienced this problem, and perhaps
have a solution?

Thanks!

  
i recommend switching to portmaster. its actively maintained and a lot 
better than portmanager

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


Re: CVS (freebsd /src) confusion

2007-02-05 Thread Dan Casey
Were it gets even more confusing is files like freebsd.submit.cf where
there are multiple version numbers.

The version in my temproot is
$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.12.2 2006/08/23
$Id: proto.m4,v 8.719 2006/03/30 20:50:13

And on my system I have:
$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.16.1 2006/04/13
$Id: proto.m4,v 8.718 2005/08/24 18:07:23


Now each file is newer and older then the other :)

Basically I just want to make sure i'm merging in the right direction. 
I don't want to accidentally break something.





N.J. Mann wrote:
 On Monday,  5 February, 2007 at 12:17:18 -0500, Dan Casey wrote:
   
 Using cvsup I am upgrading my boxes from RELENG_6_1, to RELENG_6_2.

 I've been noticing something strange, and I'm wondering if I'm thinking
 too much into it.

 I've modified mergemaster so that instead of using diff, it would just
 append to a text the files that need to be diffed.  This way i can do it
 with vimdiff instead.


 I would think that the RELENG_6_2 would have more recent files then
 6_1.  Here are a few examples.
 I'm looking at cvsweb, which seems to confirm that that the versions of
 these files are correct.


 /etc/defaults/devfs.rules
 version in 6.1 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.12.1
 2006/04/26 18:39:17
 version in 6.2 - $FreeBSD: src/etc/defaults/devfs.rules,v 1.3.8.1
 2006/04/26 18:38:43

 /etc/defaults/periodic.conf
 version in 6.1 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.1
 2006/03/08 23:01:18
 version in 6.2 - $FreeBSD: src/etc/defaults/periodic.conf,v 1.33.2.2
 2006/09/28 01:59:29
 

 I just checked in the CVS repository using the web interface at
 http://www.freebsd.org/cgi/cvsweb.cgi
 and it appears you have the correct versions of the files.  As to why
 the devfs.rules is (an apparently) earlier version, I don't know.  You
 could try browsing the CVS repository if you really want to know.  :-)


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


Re: temporary IP addition to firewall rules

2007-02-05 Thread Erik Norgaard

Noah wrote:


Erik Norgaard wrote:

Noah wrote:

the servers and clients are not on the same LAN segment.  capturing 
MAC has nothing to do with this scenario.
You haven't exactly told a lot about the network you want to setup. 
The logic thing is to authenticate against the firewall connected to 
the same subnet - and that will know the mac address. The same setup 
is assumed in the scenario using pfauth (or is it authpf).


alot of assumptions that are incorrect.  the fireware is running as part 
of freeBSD there is no edge firewall device to the LAN segment.  your 
ideas will not work for my scenario.


Unless you are willing to spend some time explaining your setup, what 
you have and what you try to achieve, not many people are going to spend 
time trying to help you solve your problem.


- I'm out, good luck.
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Tab completion working partially

2007-02-05 Thread Firas Kraiem

Quoting Rong-en Fan [EMAIL PROTECTED]:


On 2/6/07, Firas Kraiem [EMAIL PROTECTED] wrote:

(Sorry for the double-posting, the last message wasn't sent properly)

Hi

I have problems with the tab-completion in my shell (bash). When there
is only one choice possible, it works fine (e.g. cd /usr/portab il
complete correctly to /usr/ports). However, when there is multiple
choices (e.g. cd /usr/ltab) and bash usually shows a list of all
possible options, it just exits the shell (Konsole or xterm windo is
closed and I get thrown back to a login prompt when using a tty). In
sh or csh, it's even worse : completion doesn't work at all. I'm
running 6.2-STABLE, any ideas about this ?


Are you using bash-completion ?


Yeah, actually it was working before but all of a sudden it started  
behaving like this. Problem solved by reinstalling bash with  
portupgrade -f bash.


--
()  ascii ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments

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


Re: Portmanager - not working after ports change

2007-02-05 Thread Gerard Seibert
On Monday February 05, 2007 at 01:33:25 (PM) Eric wrote:


 i recommend switching to portmaster. its actively maintained and a lot 
 better than portmanager

I tried portmaster once, and found it slower and not as through as
portmanager at fully updating a system.

I just discovered the same problem as the OP reported. I filled a PR on
it immediately as well as notifying the port maintainer.

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


Re: Portmanager - not working after ports change

2007-02-05 Thread Eric

Gerard Seibert wrote:

On Monday February 05, 2007 at 01:33:25 (PM) Eric wrote:


  
i recommend switching to portmaster. its actively maintained and a lot 
better than portmanager



I tried portmaster once, and found it slower and not as through as
portmanager at fully updating a system.

I just discovered the same problem as the OP reported. I filled a PR on
it immediately as well as notifying the port maintainer.

  

when was the last time you used it? its had several great updates recently.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portaudit problem

2007-02-05 Thread khaled Hussein

Hi All

i am trying to run portaudit -F to fetch new database on FreeBSD 
6.1-RELEASE but i cannot fetch the new database and it gives me


[EMAIL PROTECTED]:/var/db/portaudit] # portaudit -F
auditfile.tbz 100% of   39 kB 2516 kBps
portaudit: Database too old.
Old database restored.
portaudit: Download failed.


any idea about this ??

--
Best regards,


Khaled J. Hussein
System Administrator
Hadara Technologies Group
[EMAIL PROTECTED]
http://www.palnet.com
Tel. +972 2-240-3434
Fax. +972 2-240-3430


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


Re: Determining daylight savings changes on BSD

2007-02-05 Thread Bill Moran
In response to John Nielsen [EMAIL PROTECTED]:

 On Friday 02 February 2007 17:35, Dan Nelson wrote:
  In the last episode (Feb 02), Robert Fitzpatrick said:
[snip]
  Upgrading to 5.5 or 6.2 will get you the new tables as a side-effect of
  the upgrade :)  If you don't want to upgrade, just install the
  misc/zoneinfo port and rerun tzsetup.
 
 The last bit (rerunning tzsetup(8)) is good advice for anyone who hasn't run 
 it in a while. Upgrading from earlier versions of FreeBSD will install the 
 new tzdata files but it will not touch /etc/localtime.

Is there a good reason why FreeBSD copies the file instead of making a
symlink?  Doesn't seem like the best idea to me.

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


Re: Tab completion working partially

2007-02-05 Thread Doug Barton
This message really isn't on topic for -stable, so please restrict 
responses to -questions.


Thanks,

Doug

--

This .signature sanitized for your protection

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


Re: Determining daylight savings changes on BSD

2007-02-05 Thread Roland Smith
On Mon, Feb 05, 2007 at 02:38:54PM -0500, Bill Moran wrote:
 In response to John Nielsen [EMAIL PROTECTED]:
 
  On Friday 02 February 2007 17:35, Dan Nelson wrote:
   In the last episode (Feb 02), Robert Fitzpatrick said:
 [snip]
   Upgrading to 5.5 or 6.2 will get you the new tables as a side-effect of
   the upgrade :)  If you don't want to upgrade, just install the
   misc/zoneinfo port and rerun tzsetup.
  
  The last bit (rerunning tzsetup(8)) is good advice for anyone who hasn't 
  run 
  it in a while. Upgrading from earlier versions of FreeBSD will install the 
  new tzdata files but it will not touch /etc/localtime.
 
 Is there a good reason why FreeBSD copies the file instead of making a
 symlink?  Doesn't seem like the best idea to me.

One reason I can think of is that /usr might be on a separate partition,
which isn't automatically mounted in single user mode.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpgPatl5KWfj.pgp
Description: PGP signature


6.x, 4.x ipfw/dummynet pf/altq - network performance issues

2007-02-05 Thread Justin Robertson



 So, this may be the wrong list to post to, but it seemed the most 
appropriate. If someone could suggest a better location to move/cross 
post to let me know.


I've been running some tests with using FreeBSD to filter and rate 
limit traffic. My first thoughts were to goto the latest stable release, 
which was 6.1 at the time. I've since done the same test under 6.2 and 
haven't seen any difference. I later migrated to running 4.11 to get 
away from these issues, but have discovered others.


I've tested on an AMD 3200+ system with dual Intel 1000 series NICs, an 
AMD Opteron 165 with the same, and a Xeon 2.8 with the same. I've used 
both stock and intel drivers.


6.x;
Normal traffic isn't a problem. The second you get into the realm of 
abusive traffic, such a DoS/DDoS (over 100mbps) UDP floods the machine 
falls over. Little packets with ip lengths of 28-29 bytes seem to do the 
most damage. I've tried playing with various sysctl values and have seen 
no difference at all. By falls over I mean stops sending all traffic 
in any direction. TCP syn packets have the same effect, tho not quite 
as rapidly (200~230mbps). I then tried moving filtering off to a 
transparent bridge. This improved the situation somewhat, but an extra 
30-40mbps of UDP data and it would ultimately crumble. Overall the 
machine would be able to move between 300k-600k PPS before becoming a 
cripple, depending on packet length, protocol, and any flags. Without a 
specific pf or ipfw rule to deal with a packet the box would fall over, 
with specific block rules it would manage an extra 30-40mbps and then 
fall over.


4.11;
Again, normal traffic isn't a problem. When routing  filtering on the 
same system some of the problems found in 6.x are still apparent, but to 
a lesser degree. Splitting the task into a transparent filtering bridge 
with a separate routing box appears to clear it up entirely. UDP floods 
are much better handled - an ipfw block rule for the packet type and the 
machine responds as if there were no flood at all (until total bandwidth 
saturation or PPS limits of the hardware, which in this case was around 
950Mbps). TCP syn attacks are also better handled, again a block rule 
makes it seem as if there were no attack at all. The system also appears 
to be able to move 800-900k PPS of any one protocol at a time. However, 
the second you try and queue abusive traffic the machine will fall over. 
Inbound floods appear to cause ALL inbound traffic to lag horrifically 
(while rate limiting/piping), which inherently causes a lot of outbound 
loss due to broken TCP. Now, I'm not sure if this is something to do 
with dummynet being horribly inefficient, or if there's some sysctl 
value to deal with inbound that I'm missing.


I suppose my concerns are two-fold. Why is 6.x collapsing under traffic 
that 4.11 could easily block and run merrily along with, and is there a 
queueing mechanism in place that doesn't tie up the box so much on 
inbound flows that it ignores all other relevant traffic?


(as a note, all tests were done with device polling enabled. Without it 
systems fall over pretty quickly. I also tried tests using 3com cards 
and had the same results)



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


Question:encryption tool

2007-02-05 Thread Dak Ghatikachalam

Hi freebsd ers

I am looking for any suggestion on using the right tool  that I can use to
perform the   encryption/decryption for flat files.

We have a requirement to encrypt 15 flat files and be dumped on tape and be
stored in remote site  facility for later business resumption.

or in the crash/fire/emergency situation for the recovery purposes.

For consistency I am planning to use the same tool across our Solaris, Linux
and Freebsd OS oracle database environments.

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


Re: Question:encryption tool

2007-02-05 Thread Bill Moran
In response to Dak Ghatikachalam [EMAIL PROTECTED]:

 Hi freebsd ers
 
 I am looking for any suggestion on using the right tool  that I can use to
 perform the   encryption/decryption for flat files.
 
 We have a requirement to encrypt 15 flat files and be dumped on tape and be
 stored in remote site  facility for later business resumption.
 
 or in the crash/fire/emergency situation for the recovery purposes.
 
 For consistency I am planning to use the same tool across our Solaris, Linux
 and Freebsd OS oracle database environments.

If you deploy Bacula as your backup system, it includes support for
encrypted backups:
http://www.bacula.org

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


port: security/denyhosts

2007-02-05 Thread Richard Lynch
I thought the security/denyhosts port looked good, even if just to
slim down that report I get every day about the hundreds of SSH
attempts...

And, hey, reporting back to denyhosts HQ and letting them notify the
sysadmins of hacked boxen is a lot better than me doing it by hand.

Only problem is, I'm stuck at Step 1:

cd /usr/ports/security/denyhosts
[EMAIL PROTECTED] make clean
===  Cleaning for python-2.4.1_3
===  Cleaning for denyhosts-2.6
[EMAIL PROTECTED] make
===  Vulnerability check disabled, database not found
===  Extracting for denyhosts-2.6
= Checksum OK for DenyHosts-2.6.tar.gz.
===  Patching for denyhosts-2.6
===  Applying FreeBSD patches for denyhosts-2.6
-e:No such file or directory
*** Error code 1

Stop in /usr/ports/security/denyhosts.

I thought maybe I was missing Python, but I went and installed that,
and it's in pkg_info

Actually, I should also point out that I had to do portsnap fetch and
portsnap extract just to get security/denyhosts to show up...

Maybe I wasn't supposed to do that?...

Or is there another package it relies on that I'm missing?

I tried reading the Makefile and there's a PYDISTUTILS requirement...

Couldn't find anything obvious with 'locate' and variations on that
theme, nor with ports make search key=pydistutils

I also tried looking at the work/DenyHosts-2.6/daemon-control-dist.*
files, as a second attempt to make (without a make clean) complained:
===  Applying FreeBSD patches for denyhosts-2.6
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to daemon-control-dist.rej
= Patch patch-daemon-control-dist failed to apply cleanly.
*** Error code 1

But make clean fixed that, so it's probably a red herring.  Nothing
in the files I looked at seemed horribly wrong, but I can't claim to
know what should be there in the first place.

I've Googled some for this, but mostly find tutorials the seem to
think the make is just gonna work.

I guess I could just compile from source, but I do prefer to use ports
whenever possible.

So is this port just borked, or is it just me, or...?

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


Re: Question:encryption tool

2007-02-05 Thread Dak Ghatikachalam

On 2/5/07, Bill Moran [EMAIL PROTECTED] wrote:


In response to Dak Ghatikachalam [EMAIL PROTECTED]:

 Hi freebsd ers

 I am looking for any suggestion on using the right tool  that I can use
to
 perform the   encryption/decryption for flat files.

 We have a requirement to encrypt 15 flat files and be dumped on tape and
be
 stored in remote site  facility for later business resumption.

 or in the crash/fire/emergency situation for the recovery purposes.

 For consistency I am planning to use the same tool across our Solaris,
Linux
 and Freebsd OS oracle database environments.

If you deploy Bacula as your backup system, it includes support for
encrypted backups:
http://www.bacula.org



Thanks a lot, Our current backup system is veritas netbackup,  and changing
that to entire bacula is best thing for me,

But the making the decision about switching to bacula was above my pay
grade. I hardly see that happen  anytime soon.

so they wanted me encrypt these files,  that is on the backup location
before the netbackup scheduler picks up these files.

Database is getting backed up to a disk location and from there netbackup
agent picks up and writes it into the tape , but we have these 13 flat files
that go into offsite which really needs encryption and decryption logic in
place upon   after restore back to disk .

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


VMware equivalent?

2007-02-05 Thread Chris Maness

Is there an open source equivalent to vmware?

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: VMware equivalent?

2007-02-05 Thread Daniel Marsh

On 2/6/07, Chris Maness [EMAIL PROTECTED] wrote:


Is there an open source equivalent to vmware?

--


Bochs, Qemu, and there's another really cool one that I can't think of! :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VMware equivalent?

2007-02-05 Thread Martin Tournoij
On Mon, Feb 05, 2007 at 04:11:19PM -0800, Chris Maness wrote:
 Is there an open source equivalent to vmware?
 
 -- 
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

qemu is the best open-source virtual machine at the moment, bochs is
also an alternative.

You can find them in the ports collection:
emulators/qemu
emulators/bochs

A short qemu guide:
http://www.freebsdforums.org/forums/showthread.php?t=46399highlight=qemu

And some qemu performance tests:
http://www.freebsdforums.org/forums/showthread.php?t=44204highlight=qemu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VMware equivalent?

2007-02-05 Thread Kurt Buff

Xen?

On 2/5/07, Daniel Marsh [EMAIL PROTECTED] wrote:

On 2/6/07, Chris Maness [EMAIL PROTECTED] wrote:

 Is there an open source equivalent to vmware?

 --

Bochs, Qemu, and there's another really cool one that I can't think of! :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: VMware equivalent?

2007-02-05 Thread Chris Maness

Kurt Buff wrote:

Xen?

On 2/5/07, Daniel Marsh [EMAIL PROTECTED] wrote:

On 2/6/07, Chris Maness [EMAIL PROTECTED] wrote:

 Is there an open source equivalent to vmware?

 --

Bochs, Qemu, and there's another really cool one that I can't think 
of! :(

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



Thanks guys.  Which one seems to be the best / most refined?

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: 6.x, 4.x ipfw/dummynet pf/altq - network performance issues

2007-02-05 Thread Mike Tancsa
On Mon, 05 Feb 2007 14:03:41 -0800, in sentex.lists.freebsd.questions
you wrote:


 I suppose my concerns are two-fold. Why is 6.x collapsing under traffic 
that 4.11 could easily block and run merrily along with, and is there a 
queueing mechanism in place that doesn't tie up the box so much on 
inbound flows that it ignores all other relevant traffic?

(as a note, all tests were done with device polling enabled. Without it 
systems fall over pretty quickly. I also tried tests using 3com cards 
and had the same results)


On the 6.x box, try enabling adding to /etc/sysctl.conf

kern.polling.enable=1
net.inet.ip.fastforwarding=1
kern.polling.idle_poll=1
kern.random.sys.harvest.ethernet=0

and in /boot/loader.conf, add

kern.hz=2000 

Also removing 

options ADAPTIVE_GIANT  # Giant mutex is adaptive.

from the kernel helps a bit as well.

with 
kern.polling.idle_poll=1

your load avg will be messed up but it should help performance a bit.

As for firewall rules, things really seem to fall down performance
wise, as compared to RELENG_4.  I havent found a way to improve that
performance However, on the plus side, an extra core does seem to
help a bit with the box remaining responsive.  For NICs, stay with em
or bge nics for now in RELENG_6

I have some misc test results at http://www.tancsa.com/blast.html

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question:encryption tool

2007-02-05 Thread Mike Tancsa
On Mon, 5 Feb 2007 18:21:18 -0500, in sentex.lists.freebsd.questions
you wrote:

Thanks a lot, Our current backup system is veritas netbackup,  and changing
that to entire bacula is best thing for me,

But the making the decision about switching to bacula was above my pay
grade. I hardly see that happen  anytime soon.

so they wanted me encrypt these files,  that is on the backup location
before the netbackup scheduler picks up these files.

If you just want to encrypt the files with a password, openssl works
well and can be found pretty well on any platform.

[cage]% echo this is a test | openssl enc -aes-128-cbc -base64 -k
pass
U2FsdGVkX1+gkWRJo5W7PGBLpilZmlEx3+cKML+32to=
[cage]%
[cage]%
[cage]% echo U2FsdGVkX1+gkWRJo5W7PGBLpilZmlEx3+cKML+32to= | openssl
aes-128-cbc -d -base64 -k pass
this is a test
[cage]%

But you really want to take a look at /usr/ports/security/gnupg.  It
seems all a bit confusing at first, but its a much better way to
encrypt data and manage who has access to decode files without having
to use a common passphrase.

It as well will work across multiple platforms 

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Memory test

2007-02-05 Thread Y Sidhu

I need to checkout memory on a remote machine. I see there is memtest and
memtest86 out there. Which one is appropriate for my situation?: CPU is a
dual cpu, dual core SMP Intel Xeon. Can I run either program while the
machine is performing other tasks?**


--
Yudhvir Singh Sidhu
408 375 3134 cell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Memory test

2007-02-05 Thread Wood, Russell
 -Original Message-
 Subject: Memory test
 
 I need to checkout memory on a remote machine. I see there is memtest
and
 memtest86 out there. Which one is appropriate for my situation?: CPU
is a
 dual cpu, dual core SMP Intel Xeon. Can I run either program while the
 machine is performing other tasks?**
 
 
 --
 Yudhvir Singh Sidhu

No, Memtest must be ran from the CD (e.g. boot of the CD) so that is not
a good solution for a remote test. I don't know of any that can be run
remotely.

Regards,
Russell Wood


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: unexpected result from sh script with `date`

2007-02-05 Thread [EMAIL PROTECTED]
On  Fri, 2 Feb 2007 22:11:56 +1100,  Tigger [EMAIL PROTECTED]  wrote
 Hello, the following simply sh script is outputting unexpected results.
 Any idea why?
 --script--
 #!/bin/sh
 started=`date`
 echo Started at: $started
 echo Finished  : `date`
 exit
 --output--
 Started at: Fri Feb  2 22:13:51 EST 2007
 Finished  : Fri Feb 2 22:13:51 EST 2007
 --problem--
 Between 'Feb' and '2', there is two spaces on the 'Started at' line,
 however the 'Finished' one only has 1 space.
 I know this sounds picky, but I was not expecting this at all.
 It is not a problem with  date , it did the same thing both times.  The  echo  
command coalesces consecutive blank space characters down to one blank unless 
they are quoted.  If you change the line
 echo Finished  : `date`
to be
  echo Finished  : `date`
it will do what you expect.
[snip]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VMware equivalent?

2007-02-05 Thread Matt Donovan

 Kurt Buff wrote:
 Xen?

 On 2/5/07, Daniel Marsh [EMAIL PROTECTED] wrote:
 On 2/6/07, Chris Maness [EMAIL PROTECTED] wrote:
 
  Is there an open source equivalent to vmware?
 
  --
 
 Bochs, Qemu, and there's another really cool one that I can't think
 of! :(
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 Thanks guys.  Which one seems to be the best / most refined?

 --
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

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



-- 
 your probably thinking of virtualbox

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


Re: 6.x, 4.x ipfw/dummynet pf/altq - network performance issues

2007-02-05 Thread Justin Robertson


I've actually already done everything you've suggested with little or no 
impact at all. One point where we have different results is with 
ADAPTIVE_GIANT, I actually noticed a drop of about 50kpps thruput when 
disabling it.



Mike Tancsa wrote:

On Mon, 05 Feb 2007 14:03:41 -0800, in sentex.lists.freebsd.questions
you wrote:

  
I suppose my concerns are two-fold. Why is 6.x collapsing under traffic 
that 4.11 could easily block and run merrily along with, and is there a 
queueing mechanism in place that doesn't tie up the box so much on 
inbound flows that it ignores all other relevant traffic?


(as a note, all tests were done with device polling enabled. Without it 
systems fall over pretty quickly. I also tried tests using 3com cards 
and had the same results)




On the 6.x box, try enabling adding to /etc/sysctl.conf

kern.polling.enable=1
net.inet.ip.fastforwarding=1
kern.polling.idle_poll=1
kern.random.sys.harvest.ethernet=0

and in /boot/loader.conf, add

kern.hz=2000 

Also removing 


options ADAPTIVE_GIANT  # Giant mutex is adaptive.

from the kernel helps a bit as well.

with 
kern.polling.idle_poll=1


your load avg will be messed up but it should help performance a bit.

As for firewall rules, things really seem to fall down performance
wise, as compared to RELENG_4.  I havent found a way to improve that
performance However, on the plus side, an extra core does seem to
help a bit with the box remaining responsive.  For NICs, stay with em
or bge nics for now in RELENG_6

I have some misc test results at http://www.tancsa.com/blast.html

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)

  


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


Re: 6.x, 4.x ipfw/dummynet pf/altq - network performance issues

2007-02-05 Thread Mike Tancsa

At 09:53 PM 2/5/2007, Justin Robertson wrote:

I've actually already done everything you've suggested with little 
or no impact at all.


Are you sure you had kern.polling.idle_poll=1 enabled ? It makes a 
big difference in RELENG_6 with it on or off in my tests.


---Mike

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


partition/cd recognition problem hal GNOME 2.16 FreeBSD RELEASE 6.2

2007-02-05 Thread Charles Schaum
Kudos to the GNOME FreeBSD team for continuing
improvements.

Problem: Hal no longer recognizes all vfat partitions.
Two vfat partitions at ad0s1 and ad1s2 exist. Only
ad0s1 now appears.

CD burning now proceeds better via Nautilus. Before
portsnap / portmaster that failed altogether. Now CD-R
burning succeeds, whilst CD-RW burning can still hang
the machine altogether. Gnomebaker, however, has
worked consistently.

Once burned, if not ejected, the CD is not recognized
any more in the burning drive and in the auxiliary
drive. Mac OS X can, however, recognize the CD.

Indeed after burning a CD and closing the dialog
(without ejecting) no CD or DVD of any kind was
recognized any more, nor was any console error output
generated. The devices simply ceased to communicate.


System:

FreeBSD elbereth.gateway.2wire.net 6.2-RELEASE FreeBSD
6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ELBERETH
 i386

Environment

SSH_AGENT_PID=975
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/usr/local/bin/bash
GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/charles/.gtkrc-1.2-gnome2
WINDOWID=39845945
USER=charles
ENV=/home/charles/.shrc
GNOME_KEYRING_SOCKET=/var/tmp/keyring-2KqN8Y/socket
SSH_AUTH_SOCK=/tmp/ssh-ylD4KtDk05/agent.957
SESSION_MANAGER=local/elbereth.gateway.2wire.net:/tmp/.ICE-unix/957
USERNAME=charles
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/charles/bin
DESKTOP_SESSION=gnome
MAIL=/var/mail/charles
BLOCKSIZE=K
GDM_XSERVER_LOCATION=local
PWD=/home/charles
EDITOR=vi
GDMSESSION=gnome
SHLVL=1
HOME=/home/charles
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=charles
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-MnUbvMsO9r,guid=3be5a4c376163957c4b32c0045c7b947
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/charles/.Xauthority
_=/usr/bin/env

System changes: Custom kernel compiled to include
ATAPICAM, sound and VESA; unused NIC's commented out.
Generally retain options from GENERIC.
System has not been updated from the releace CD's.
Only the ports tree has changed (via portsnap).

This dmesg was obtained after recovering from a total
locup following an attempt to write to a CD-RW. I then
burned a CD-R successfully and then lost all mounting
ability.

FreeBSD elbereth.gateway.2wire.net 6.2-RELEASE FreeBSD
6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ELBERETH
 i386
[EMAIL PROTECTED] ~]$ env
SSH_AGENT_PID=975
TERM=xterm
DESKTOP_STARTUP_ID=
SHELL=/usr/local/bin/bash
GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/charles/.gtkrc-1.2-gnome2
WINDOWID=39845945
USER=charles
ENV=/home/charles/.shrc
GNOME_KEYRING_SOCKET=/var/tmp/keyring-2KqN8Y/socket
SSH_AUTH_SOCK=/tmp/ssh-ylD4KtDk05/agent.957
SESSION_MANAGER=local/elbereth.gateway.2wire.net:/tmp/.ICE-unix/957
USERNAME=charles
PAGER=more
FTP_PASSIVE_MODE=YES
PATH=/sbin:/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/charles/bin
DESKTOP_SESSION=gnome
MAIL=/var/mail/charles
BLOCKSIZE=K
GDM_XSERVER_LOCATION=local
PWD=/home/charles
EDITOR=vi
GDMSESSION=gnome
SHLVL=1
HOME=/home/charles
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=charles
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-MnUbvMsO9r,guid=3be5a4c376163957c4b32c0045c7b947
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/charles/.Xauthority
_=/usr/bin/env
[EMAIL PROTECTED] ~]$ dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
The Regents of the University of California.
All rights reserved.
FreeBSD is a registered trademark of The FreeBSD
Foundation.
FreeBSD 6.2-RELEASE #0: Thu Jan 18 02:38:23 CST 2007
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ELBERETH
module_register: module vesa already exists!
Module vesa failed to register: 17
ACPI APIC Table: INTEL  D845GLVA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2399.74-MHz
686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNTX-ID,b14
real memory  = 527695872 (503 MB)
avail memory = 506363904 (482 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: INTEL D845GLVA on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality
1000
acpi_timer0: 24-bit timer at 3.579545MHz port
0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845G (845G GMCH) SVGA controller mem
0xf000-0xf7ff,0xffa8-0xffaf irq 16 at
device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: Intel 82801DB (ICH4) USB controller USB-A
port 0xe800-0xe81f irq 16 at device 29.0 on pci0
uhci0: 

Can I use an HP printer

2007-02-05 Thread Bob

   Hello
   I recently purchased a Hewlett Packard Color LaserJet 2600n printer.
   It works perfectly under Windows XP but I cannot get it to work under
   FreeBSD 6.2.
   I have set it up as a network printer on a LAN and it has it's own
   permanent IP. I can ping the IP  but that is all I can do.
   Can this printer actually be made to work or am I wasting my (and
   your) time even trying?
   Thanks
   Bob Willson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I use an HP printer

2007-02-05 Thread Chris Hill

On Tue, 6 Feb 2007, Bob wrote:


  I recently purchased a Hewlett Packard Color LaserJet 2600n printer.
  It works perfectly under Windows XP but I cannot get it to work under
  FreeBSD 6.2.
  I have set it up as a network printer on a LAN and it has it's own
  permanent IP. I can ping the IP  but that is all I can do.


I have been using HP printers under FreeBSD for years now. Since your 
printer has an IP, I presume it has a JetDirect card.



  Can this printer actually be made to work or am I wasting my (and
  your) time even trying?


You may need to set up some things in /etc/printcap. Here is the 
relevant portion of mine:


# HP color laser
lp|snow|snowball|lj|ps|HP ColorLaserJet 4550N:\
:sh:\
:sd=/var/spool/output/lpd:\
:mx#0:\
:lp=:rm=snowball:rp=auto:

I'm using lpr, so I had to enable that in /etc/rc.conf. I also had to 
manually create the directory /var/spool/output/lpd. The snowball part 
is a hostname for the printer, which you can set up in /etc/hosts or a 
split DNS. (My printers are named after Devo songs.)


HTH.

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


Re: phpMyAdmin httpd segmentation fault

2007-02-05 Thread Terry Todd
On Mon, Feb 05, 2007 at 07:07:25AM -0800, Garrett Cooper wrote:
 Terry Todd wrote:
  On Sun, Feb 04, 2007 at 09:36:58AM +, Matthew Seaman wrote:
  Terry Todd wrote:
  I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
  mysql-5.0.27 and apache_1.3.37_1.
 
  php -i now works Ok after I moved recode.so to the top of the list
  of extensions in extensions.ini.  It took a while to figure that
  one out.  Before that php -i would seg fault and core dump.  It
  took some google searching and using gdb on the core file to fix
  it.
 
  A test web page for phpinfo works fine too.  Mysql works OK from
  the command line.
 
  However I can't get phpMyAdmin to work.  It seg faults in reading 
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
  There is no core dump produced.
  Hmmm... very strange.  We have just built a RELENG_6_2 server with
  apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.
 
  Did you modify the CFLAGS or otherwise change the level of
  optimization used by the compiler?
  
  No CFLAGS were changed or anything else.  It's a very standard install.
  
  I ran ktrace httpd -X
 
  Then when I try to open the phpMyAdmin/index.php page in a browser
  httpd seg faults.
 
  Here is the tail of kdump from the ktrace.out from the above ktrace.
 
  
1372 httpdCALL  gettimeofday(0xbfbf7158,0)
1372 httpdRET   gettimeofday 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www/phpMyAdmin
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  /usr/local/www/phpMyAdmin/libraries
1372 httpdRET   lstat 0
1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
1372 httpdNAMI  
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
1372 httpdRET   lstat 0
1372 httpdCALL  open(0x845eda8,0,0x1b6)
1372 httpdNAMI  
  /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
1372 httpdRET   open 4
1372 httpdCALL  fstat(0x4,0x8102748)
1372 httpdRET   fstat 0
1372 httpdCALL  lseek(0x4,0,0,0,0x1)
1372 httpdRET   lseek 0
1372 httpdCALL  read(0x4,0x82e3028,0x2000)
1372 httpdGIO   fd 4 read 4096 bytes
 ?php
  /* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 
  lem9 Exp $ */
  // vim: expandtab sw=4 ts=4 sts=4:
 
 
  /**
   * URL/hidden inputs generating.
   */
 
 
  /**
   * Generates text with hidden inputs.
   *
   * @see PMA_generate_common_url()
   * @param   string   optional database name
   * @param   string   optional table name
   * @param   int  indenting level
   *
   * @return  string   string with input fields
   *
   * @global  string   the current language
   * @global  string   the current conversion charset
   * @global  string   the current connection collation
   * @global  string   the current server
   * @global  arraythe configuration array
   * @global  boolean  whether recoding is allowed or not
   *
   *
   * @access  public
   *
   * @author  nijel
   */
  function PMA_generate_common_hidden_inputs($db = '', $table = '', 
  $indent = 0, $skip = array())
  {
  if (is_array($db)) {
  $params  = $db;
  $_indent = empty($table) ? $indent : $table;
  $_skip   = empty($indent) ? $skip : $indent;
  $indent  = $_indent;
  $skip= $_skip;
  } else {
  $params = array();
  if (isset($db)  strlen($db)) {
  $params['db'] = $db;
  }
  if (isset($table)  strlen($table)) {
  $params['table'] = $table;
  }
  }
 
  if (! empty($GLOBALS['server'])
$GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
  $params['server'] = $GLOBALS['server'];
  }
  if (empty($_COOKIE['pma_lang'])
   ! empty($GLOBALS['lang'])) {
  $params['lang'] = $GLOBALS['lang'];
  }
  if (empty($_COOKIE['pma_charset'])
   ! empty($GLOBALS['convcharset'])) {
  $params['convcharset'] = $GLOBALS['convcharset'];
  }
  if (empty($_COOKIE['pma_collation_connection'])
 

memory above 4Gb ignored

2007-02-05 Thread Jim Pazarena

I do not see any reference to resolving the
786432K of memory above 4Gb ignored anywhere in Google or otherwise.

I see references to it for FreeBSD 4.XX, but I am running 6.2, and have
the same problem.

Is there any easy solution? For a hoot, I installed SuSe 10.2 on my machine
and it recognized the full 4Gb; FreeBSD does not.

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


User Monitoring

2007-02-05 Thread David Schulz

Hello all,

i would like to provide a SSH Login for selected people on a  
dedicated Machine, to be a little bit of a playground to some who  
dont have any Unix experience and so on.


Without a doubt i will get the one or the other trying to do  
something nasty to the Box, so my question is how to keep track of  
what Users are doing? Using process accounting as described http:// 
www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security- 
accounting.html in the handbook?


Can you share some easy to implement tricks to keep the worst from  
happening to my Machine?


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


Re: memory above 4Gb ignored

2007-02-05 Thread Josh Carroll

I do not see any reference to resolving the
786432K of memory above 4Gb ignored anywhere in Google or otherwise.


Are you running the i386 version of 6.2-RELEASE? If so, you will need
to enable PAE (recompile the kernel with options PAE), or install the
amd64 version of 6.2 instead. Note that there is a performance hit
with PAE and other downsides, so you should probably go for the amd64
version for optimal performance.

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


Re: port: security/denyhosts

2007-02-05 Thread Matthew Seaman
Richard Lynch wrote:
 I thought the security/denyhosts port looked good, even if just to
 slim down that report I get every day about the hundreds of SSH
 attempts...
 
 And, hey, reporting back to denyhosts HQ and letting them notify the
 sysadmins of hacked boxen is a lot better than me doing it by hand.
 
 Only problem is, I'm stuck at Step 1:
 
 cd /usr/ports/security/denyhosts
 [EMAIL PROTECTED] make clean
 ===  Cleaning for python-2.4.1_3
 ===  Cleaning for denyhosts-2.6
 [EMAIL PROTECTED] make
 ===  Vulnerability check disabled, database not found
 ===  Extracting for denyhosts-2.6
 = Checksum OK for DenyHosts-2.6.tar.gz.
 ===  Patching for denyhosts-2.6
 ===  Applying FreeBSD patches for denyhosts-2.6
 -e:No such file or directory
 *** Error code 1
 
 Stop in /usr/ports/security/denyhosts.
 
 I thought maybe I was missing Python, but I went and installed that,
 and it's in pkg_info
 
 Actually, I should also point out that I had to do portsnap fetch and
 portsnap extract just to get security/denyhosts to show up...
 
 Maybe I wasn't supposed to do that?...
 
 Or is there another package it relies on that I'm missing?

The command that is failing is:

happy-idiot-talk:...ports/security/denyhosts:% grep '.-e' Makefile 
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \

where ${REINPLACE_CMD} should expand thusly:

happy-idiot-talk:...ports/security/denyhosts:% make -V REINPLACE_CMD 
/usr/bin/sed -i.bak

You should find the definition of that variable around line 2087 of
bsd.port.mk

If this does not work for you then either you're missing chunks out
of /usr/ports/Mk or you've got rogue entries in /etc/make.conf that
break that command or you're running on a version of the OS too old
to support sed -i.

Cheers,

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


missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Noah

Hi,

Any clues how to clean up a reported missing key: categories: Cannot
read the portsdb!

some more from the build logs:

cd: can't cd to /usr/ports/sysutils/portupgrade
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 331 packages
found (-0 +1) . done]
[missing key: categories] [Updating the portsdb format:bdb_btree in
/usr/ports ... - 16436 port entries found
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 


. done]
missing key: categories: Cannot read the portsdb!
database file error
---  Installing 'gallery2-2.1.2' from a port (www/gallery2)
---  Building '/usr/ports/www/gallery2'
===  Cleaning for php5-5.2.0

cheers,

Noah


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


php5-session-5.2.0 is already installed

2007-02-05 Thread Noah

Hi there,

FreeBSD-6.2

I am attempting to build gallery2
but the build fails because a dependency php5-session-5.2.0 is already
built.  okay fine.  how do I get around that

here is the original command:

portinstall www/gallery2

here are snippets from the output:

 snip ---

--
Libraries have been installed in:
  /usr/ports/www/php5-session/work/php-5.2.0/ext/session/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
  - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
  - add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
  - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

===  Installing for php5-session-5.2.0
===   php5-session-5.2.0 depends on file:
/usr/local/include/php/main/php.h - found
===   Generating temporary packing list
===  Checking if www/php5-session already installed
===   php5-session-5.2.0 is already installed
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of www/php5-session
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/www/php5-session.
*** Error code 1

Stop in /usr/ports/www/php5-session.
*** Error code 1

Stop in /usr/ports/www/gallery2.
*** Error code 1

Stop in /usr/ports/www/gallery2.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall.59197.0 env make reinstall
** Fix the installation problem and try again.
cd: can't cd to /usr/ports/sysutils/portupgrade
** Listing the failed packages (*:skipped / !:failed)
   ! www/gallery2  (install error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

 snip ---

cheers,

Noah


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


Re: Question:encryption tool

2007-02-05 Thread Roland Smith
On Mon, Feb 05, 2007 at 06:00:14PM -0500, Dak Ghatikachalam wrote:
 Hi freebsd ers
 
 I am looking for any suggestion on using the right tool  that I can use to
 perform the   encryption/decryption for flat files.
 
You can encrypt files with AES using ccrypt. http://ccrypt.sourceforge.net/

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpA8eFKXkjoW.pgp
Description: PGP signature


Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Josh Carroll

cd: can't cd to /usr/ports/sysutils/portupgrade
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 331 packages
found (-0 +1) . done]
[missing key: categories] [Updating the portsdb format:bdb_btree in


portupgrade moved from /usr/ports/sysutils/portupgrade to
/usr/ports/ports-mgmt/portupgrade, one way to fix this is:

cd /usr/ports/ports-mgmt/portupgrade
make clean all install

Or I think portupgrade -f portupgrade might do.

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


Error upgrading Azureus

2007-02-05 Thread Warren Liddell
Running FreeBSD 6.2-STABLE
==

[javac] symbol  : method setSortColumn(org.eclipse.swt.widgets.TableColumn)
[javac] location: class org.eclipse.swt.widgets.Table
[javac] 
table.setSortColumn(tc);
[javac]  ^

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java:409:
 
cannot find symbol
[javac] symbol  : method setSortDirection(int)
[javac] location: class org.eclipse.swt.widgets.Table
[javac] 
table.setSortDirection(ascending ? SWT.UP : SWT.DOWN);
[javac]  ^

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/file/FileInfoView.java:394:
 
cannot find symbol
[javac] symbol  : method getMinHeight()
[javac] location: class org.eclipse.swt.custom.ScrolledComposite
[javac] if (sc.getMinHeight() != iNeededHeight) {
[javac]   ^

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/ui/swt/views/peer/PeerInfoView.java:400:
 
cannot find symbol
[javac] symbol  : method getMinHeight()
[javac] location: class org.eclipse.swt.custom.ScrolledComposite
[javac] if (sc.getMinHeight() != iNeededHeight) {
[javac]   ^

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/platform/macosx/NativeInvocationBridge.java:46:
 
warning: non-varargs call of varargs method with inexact argument type for 
last parameter;
[javac] cast to java.lang.Class for a varargs call
[javac] cast to java.lang.Class[] for a non-varargs call and to suppress 
this warning
[javac] Object newInstance = 
Class.forName(org.gudy.azureus2.platform.macosx.access.cocoa.CocoaJavaBridge).getConstructor(null).newInstance(null);
[javac] 

^

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/platform/macosx/NativeInvocationBridge.java:46:
 
warning: non-varargs call of varargs method with inexact argument type for 
last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress 
this warning
[javac] Object newInstance = 
Class.forName(org.gudy.azureus2.platform.macosx.access.cocoa.CocoaJavaBridge).getConstructor(null).newInstance(null);
[javac] 
  
^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 36 errors
[javac] 2 warnings

BUILD FAILED
/usr/ports/net-p2p/azureus/work/build.xml:22: Compile failed; see the compiler 
error output for details.

Total time: 40 seconds
*** Error code 1

Stop in /usr/ports/net-p2p/azureus.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.63107.6 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=azureus-2.5.0.0 
UPGRADE_PORT_VER=2.5.0.0 make DEPENDS_TARGET=package
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I use an HP printer

2007-02-05 Thread Roland Smith
On Tue, Feb 06, 2007 at 01:38:14PM +1000, Bob wrote:
 
Hello
I recently purchased a Hewlett Packard Color LaserJet 2600n printer.
It works perfectly under Windows XP but I cannot get it to work under
FreeBSD 6.2.

According to the HP pages, it only supports host-based printer
languages. I.e. it's a win-printer. You can get it to mostly work using
foo2hp: http://foo2hp.rkkda.com/

For printer questions in general have a look at this page:
http://www.linuxprinting.org/printer_list.cgi 


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpWlDJwkLf5K.pgp
Description: PGP signature


Re: phpMyAdmin httpd segmentation fault

2007-02-05 Thread Matthew Seaman
Terry Todd wrote:
 On Mon, Feb 05, 2007 at 07:07:25AM -0800, Garrett Cooper wrote:
 Terry Todd wrote:
 On Sun, Feb 04, 2007 at 09:36:58AM +, Matthew Seaman wrote:
 Terry Todd wrote:
 I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
 mysql-5.0.27 and apache_1.3.37_1.

 php -i now works Ok after I moved recode.so to the top of the list
 of extensions in extensions.ini.  It took a while to figure that
 one out.  Before that php -i would seg fault and core dump.  It
 took some google searching and using gdb on the core file to fix
 it.

 A test web page for phpinfo works fine too.  Mysql works OK from
 the command line.

 However I can't get phpMyAdmin to work.  It seg faults in reading 
 /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
 There is no core dump produced.
 Hmmm... very strange.  We have just built a RELENG_6_2 server with
 apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.

 Did you modify the CFLAGS or otherwise change the level of
 optimization used by the compiler?
 No CFLAGS were changed or anything else.  It's a very standard install.

 I ran ktrace httpd -X

 Then when I try to open the phpMyAdmin/index.php page in a browser
 httpd seg faults.

 Here is the tail of kdump from the ktrace.out from the above ktrace.

 
   1372 httpdCALL  gettimeofday(0xbfbf7158,0)
   1372 httpdRET   gettimeofday 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  /usr
   1372 httpdRET   lstat 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  /usr/local
   1372 httpdRET   lstat 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  /usr/local/www
   1372 httpdRET   lstat 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  /usr/local/www/phpMyAdmin
   1372 httpdRET   lstat 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  /usr/local/www/phpMyAdmin/libraries
   1372 httpdRET   lstat 0
   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
   1372 httpdNAMI  
 /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
   1372 httpdRET   lstat 0
   1372 httpdCALL  open(0x845eda8,0,0x1b6)
   1372 httpdNAMI  
 /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
   1372 httpdRET   open 4
   1372 httpdCALL  fstat(0x4,0x8102748)
   1372 httpdRET   fstat 0
   1372 httpdCALL  lseek(0x4,0,0,0,0x1)
   1372 httpdRET   lseek 0
   1372 httpdCALL  read(0x4,0x82e3028,0x2000)
   1372 httpdGIO   fd 4 read 4096 bytes
?php
 /* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 
 lem9 Exp $ */
 // vim: expandtab sw=4 ts=4 sts=4:


 /**
  * URL/hidden inputs generating.
  */


 /**
  * Generates text with hidden inputs.
  *
  * @see PMA_generate_common_url()
  * @param   string   optional database name
  * @param   string   optional table name
  * @param   int  indenting level
  *
  * @return  string   string with input fields
  *
  * @global  string   the current language
  * @global  string   the current conversion charset
  * @global  string   the current connection collation
  * @global  string   the current server
  * @global  arraythe configuration array
  * @global  boolean  whether recoding is allowed or not
  *
  *
  * @access  public
  *
  * @author  nijel
  */
 function PMA_generate_common_hidden_inputs($db = '', $table = '', 
 $indent = 0, $skip = array())
 {
 if (is_array($db)) {
 $params  = $db;
 $_indent = empty($table) ? $indent : $table;
 $_skip   = empty($indent) ? $skip : $indent;
 $indent  = $_indent;
 $skip= $_skip;
 } else {
 $params = array();
 if (isset($db)  strlen($db)) {
 $params['db'] = $db;
 }
 if (isset($table)  strlen($table)) {
 $params['table'] = $table;
 }
 }

 if (! empty($GLOBALS['server'])
   $GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
 $params['server'] = $GLOBALS['server'];
 }
 if (empty($_COOKIE['pma_lang'])
  ! empty($GLOBALS['lang'])) {
 $params['lang'] = $GLOBALS['lang'];
 }
 if (empty($_COOKIE['pma_charset'])
  ! empty($GLOBALS['convcharset'])) {
 $params['convcharset'] = $GLOBALS['convcharset'];
 }
 if (empty($_COOKIE['pma_collation_connection'])
  ! empty($GLOBALS['collation_connection'])) {
 $params['collation_connection'] = 
 

Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Matthew Seaman
Josh Carroll wrote:
 cd: can't cd to /usr/ports/sysutils/portupgrade
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 331 packages
 found (-0 +1) . done]
 [missing key: categories] [Updating the portsdb format:bdb_btree in
 
 portupgrade moved from /usr/ports/sysutils/portupgrade to
 /usr/ports/ports-mgmt/portupgrade, one way to fix this is:
 
 cd /usr/ports/ports-mgmt/portupgrade
 make clean all install

make clean deinstall install

 Or I think portupgrade -f portupgrade might do.

Uh, nope.  Given that portupgrade is what the OP was trying to run in
the first place...

Cheers,

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: php5-session-5.2.0 is already installed

2007-02-05 Thread Henrik Hudson
On Tuesday 06 February 2007 00:43, Noah [EMAIL PROTECTED] sent a missive 
stating: 
 Hi there,

 FreeBSD-6.2

 I am attempting to build gallery2
 but the build fails because a dependency php5-session-5.2.0 is already
 built.  okay fine.  how do I get around that

 here is the original command:

 portinstall www/gallery2

 here are snippets from the output:


I would do as the error suggested and make deinstall the php5-session and then 
either do a portinstall again or just let the portinstall gallery dependancy 
handle the install of the session.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Website Feedback

2007-02-05 Thread Laurie Cooper


Hi 

I browsed through your website and found it useful. I would like to
make a contribution by suggesting some websites for addition to your
web links collection.



1) Your section,
- The FreeBSD Project - Gallery - Non-profit - 
http://www.krinc.ru/FreeBSD/gallery/npgallery.html
- FreeBSD - Links - 
http://www.krinc.ru/FreeBSD/ru/gallery/npgallery.html
- FreeBSD - Links - 
http://linux.inhk.net/mirror/freebsd-www/data/ru/gallery/npgallery.html
 

My suggestion,
- http://www.healthopedia.com/myasthenia-gravis/ 

2) Your section,
- FreeBSD - Galerie - Commercial - 
http://www.freebsd.org/fr/gallery/cgallery.html
- The FreeBSD Project - Gallery - Commercial - 
http://mirror.kr.freebsd.org/gallery/cgallery.html
- FreeBSD - Links - 
http://www.krinc.ru/FreeBSD/ru/gallery/cgallery.html
 
 
 
 
 
 
 
 
 

You could add corresponding relevant links from,
- http://www.healthopedia.com/

I am positive that these resources might prove useful to your website
visitors.
 
Thanks for your valuable time and have a nice day.
 
Laurie Cooper
Librarian
Reference Daily

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


Re: question about BSD time

2007-02-05 Thread Henrik Hudson
On Monday 05 February 2007 08:11, Alaa Alomari [EMAIL PROTECTED] sent a 
missive stating: 
 Dear sir;
   I have a Unix BSD server, and i want to adjust the time of the server so
 i have used the following command: $ sudo date 0702050402
   and the output is:
   Mon Feb 5 04:02:00 EET 2007
   and when typing date command again, i have got the following output:
   Mon Feb 5 09:38::51 EET 2007
   so would you please, tell me how can i fix the time (note: i am using the
 root) Thank you for your attention.


Is it really off by 30 some minutes as well? or did you just run date 30 
minutes later?

As the other poster mentioned you either have a faulty time server in your 
network and the NTP daemon is picking it or your hardware clock is really 
messed up in which case you may wish to install NTP and have it auto-set your 
clock for you.

Henrik

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Henrik Hudson
On Tuesday 06 February 2007 00:43, Noah [EMAIL PROTECTED] sent a missive 
stating: 
 Hi,

 Any clues how to clean up a reported missing key: categories: Cannot
 read the portsdb!


portupgrade portupgrade fixes things.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]