Re: BSDstats Project v2.0 ...

2006-08-08 Thread Antony Mawer

On 8/08/2006 1:56 PM, David Schulz wrote:
Ok i love the Idea of this, and will have all my machines running that 
in no time. Just make the Site look more sleek :)
I will be hopefully the first one representing China on that list as 
well (brag :-)


I'm working on it -- unfortunately have been very busy the past few days 
but hope to have something ready within the next couple of days. 
Patience... :-)


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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Girish Venkatachalam


--- Andreas Wider�e Andersen [EMAIL PROTECTED]
wrote:

 Hi,
 I recently upgraded one of my production servers to
 FreeBSD 4.11 p19 and
 then upgraded all ports. I'm now running Apache
 1.3.36 mod_ssl and Php 4.4.2
 .
 
 I had Squirrelmail running on https and now I can't
 start Apache with ssl.
 Every time it coredumps. I've tried snakeoil and my
 own cert. Same thing
 happens.
 
 This is the error message I can see from my
 httpd-error.log:
 
 [Mon Aug  7 20:20:03 2006] [notice] caught SIGTERM,
 shutting down
 
 ssl-engine log:
 
 [07/Aug/2006 20:29:01 16880] [info]  Server:
 Apache/1.3.36, Interface:
 mod_ssl/2.8.27, Library: OpenSSL/0.9.8b
 [07/Aug/2006 20:29:01 16880] [info]  Init: 1st
 startup round (still not
 detached)
 [07/Aug/2006 20:29:01 16880] [info]  Init:
 Initializing OpenSSL library
 [07/Aug/2006 20:29:01 16880] [info]  Init: Loading
 certificate  private key
 of SSL-aware server my.domain.com:443
 [07/Aug/2006 20:29:01 16880] [info]  Init: Seeding
 PRNG with 136 bytes of
 entropy
 [07/Aug/2006 20:29:01 16880] [info]  Init:
 Generating temporary RSA private
 keys (512/1024 bits)
 
 from messages:
 
 Aug  7 20:34:52 server /kernel: pid 17041 (httpd),
 uid 0: exited on signal
 11 (core dumped)
 
 That's it. I can't find any other logs and I can't
 tell what's wrong.
 
 What could it be and what can I do? I have checked
 the httpd.conf file and
 compared the previous version with the new dist.
 Same directives related to
 ssl virtualhost as far as I can see.
 
 Hope to get some input.
Looks like ur random seeding is not happening
properly. check whether /dev/random and /dev/urandom
work properly. You can verify it with the command

$openssl rand  512

HTH,
Girish
 Thanks  Best regards,
 Andreas W. Andersen
 ___
 freebsd-questions@freebsd.org mailing list

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


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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Matthew Seaman
Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Matthew Seaman wrote:
 
 I think it would help uptake if when the bsdstats job is first run, it
 issues you with a 'registered system number' -- then all of the folks
 with low numbered systems get bragging rights...
 
 Actually, there is no registered system number, as there is no
 registration process ... that was the key requirement for doing this,
 was that it was as hands off as possible, and having to go to a web
 site to register each and every host was just too onerous of a task ...

Yeah.  You've leapt on the word 'register' there, and not addressed the
salient point.  'Register' as in 'become cognisant of', and distinguished
from 'signed up to.'  Even though the process is simplified and automatic,
you're still registering systems.

Having some sort of return from the central stats machine when the periodic
script runs, (rather than nothing at all, as at the moment) would be a good
idea.  Giving each system an index number shouldn't cost too much.

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: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, Girish Venkatachalam [EMAIL PROTECTED] wrote:




--- Andreas Wider�e Andersen [EMAIL PROTECTED]
wrote:

 Hi,
 I recently upgraded one of my production servers to
 FreeBSD 4.11 p19 and
 then upgraded all ports. I'm now running Apache
 1.3.36 mod_ssl and Php 4.4.2
 .

 I had Squirrelmail running on https and now I can't
 start Apache with ssl.
 Every time it coredumps. I've tried snakeoil and my
 own cert. Same thing
 happens.

 This is the error message I can see from my
 httpd-error.log:

 [Mon Aug  7 20:20:03 2006] [notice] caught SIGTERM,
 shutting down

 ssl-engine log:

 [07/Aug/2006 20:29:01 16880] [info]  Server:
 Apache/1.3.36, Interface:
 mod_ssl/2.8.27, Library: OpenSSL/0.9.8b
 [07/Aug/2006 20:29:01 16880] [info]  Init: 1st
 startup round (still not
 detached)
 [07/Aug/2006 20:29:01 16880] [info]  Init:
 Initializing OpenSSL library
 [07/Aug/2006 20:29:01 16880] [info]  Init: Loading
 certificate  private key
 of SSL-aware server my.domain.com:443
 [07/Aug/2006 20:29:01 16880] [info]  Init: Seeding
 PRNG with 136 bytes of
 entropy
 [07/Aug/2006 20:29:01 16880] [info]  Init:
 Generating temporary RSA private
 keys (512/1024 bits)

 from messages:

 Aug  7 20:34:52 server /kernel: pid 17041 (httpd),
 uid 0: exited on signal
 11 (core dumped)

 That's it. I can't find any other logs and I can't
 tell what's wrong.

 What could it be and what can I do? I have checked
 the httpd.conf file and
 compared the previous version with the new dist.
 Same directives related to
 ssl virtualhost as far as I can see.

 Hope to get some input.
Looks like ur random seeding is not happening
properly. check whether /dev/random and /dev/urandom
work properly. You can verify it with the command

$openssl rand  512

HTH,
Girish



Thanks for your reply. This just gave me a lot of garbage on the screen.
Ie, like this:

¿Ð3•Éšï¼–|¥¾WpŒÞÐàvC~
jþ‚vzü¼ùµÒ¼}$(c)swüg;€ñ¿gé¶ïa°(c)éå4|C—(c)\Î
}™v=Ãñ5Î×%âÔÙZ`,BÜÃT‰‹þBŒv´ýh£ÙlõKkòä2ZüìÊg{åVµ±ü3`BɁ¦Á(›¤2çyõû12ÿNº9Å—ùèkÒ™ºß…¼'—ú

...

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

Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Girish Venkatachalam


--- Andreas Wider�e Andersen [EMAIL PROTECTED]
wrote:

 On 8/8/06, Girish Venkatachalam
 [EMAIL PROTECTED] wrote:
 
 
 
  --- Andreas Wider�e Andersen [EMAIL PROTECTED]
  wrote:
 
   Hi,
   I recently upgraded one of my production servers
 to
   FreeBSD 4.11 p19 and
   then upgraded all ports. I'm now running Apache
   1.3.36 mod_ssl and Php 4.4.2
   .
  
   I had Squirrelmail running on https and now I
 can't
   start Apache with ssl.
   Every time it coredumps. I've tried snakeoil and
 my
   own cert. Same thing
   happens.
  
   This is the error message I can see from my
   httpd-error.log:
  
   [Mon Aug  7 20:20:03 2006] [notice] caught
 SIGTERM,
   shutting down
  
   ssl-engine log:
  
   [07/Aug/2006 20:29:01 16880] [info]  Server:
   Apache/1.3.36, Interface:
   mod_ssl/2.8.27, Library: OpenSSL/0.9.8b
   [07/Aug/2006 20:29:01 16880] [info]  Init: 1st
   startup round (still not
   detached)
   [07/Aug/2006 20:29:01 16880] [info]  Init:
   Initializing OpenSSL library
   [07/Aug/2006 20:29:01 16880] [info]  Init:
 Loading
   certificate  private key
   of SSL-aware server my.domain.com:443
   [07/Aug/2006 20:29:01 16880] [info]  Init:
 Seeding
   PRNG with 136 bytes of
   entropy
   [07/Aug/2006 20:29:01 16880] [info]  Init:
   Generating temporary RSA private
   keys (512/1024 bits)
  
   from messages:
  
   Aug  7 20:34:52 server /kernel: pid 17041
 (httpd),
   uid 0: exited on signal
   11 (core dumped)
  
   That's it. I can't find any other logs and I
 can't
   tell what's wrong.
  
   What could it be and what can I do? I have
 checked
   the httpd.conf file and
   compared the previous version with the new dist.
   Same directives related to
   ssl virtualhost as far as I can see.
  
   Hope to get some input.
  Looks like ur random seeding is not happening
  properly. check whether /dev/random and
 /dev/urandom
  work properly. You can verify it with the command
 
  $openssl rand  512
 
  HTH,
  Girish
 
 
 Thanks for your reply. This just gave me a lot of
 garbage on the screen.
 Ie, like this:
 
 ¿Ð3•Éšï¼–|¥¾WpŒÞÐàvC~
 

jþ‚vzü¼ùµÒ¼}$(c)swüg;€ñ¿gé¶ïa°(c)éå4|C—(c)\Î

}™v=Ãñ5Î×%âÔÙZ`,BÜÃT‰‹þBŒv´ýh£ÙlõKkòä2ZüìÊg{åVµ±ü3`BɁ¦Á(›¤2çyõû12ÿNº9Å—ùèkÒ™ºß…¼'—ú
 
 ...

Then that is working properly. I think you can try
this then. Which might also work and I am out  of
ideas. :-(

$ openssl genrsa 1024
 
 Rgds,
 Andreas
 


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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread cknipe
Quoting Girish Venkatachalam [EMAIL PROTECTED]:
Hope to get some input.
   Looks like ur random seeding is not happening
   properly. check whether /dev/random and
  /dev/urandom
   work properly. You can verify it with the command
  
   $openssl rand  512
  


Why not just run httpd under gdb, and see WHY it is crashing?

gdb httpd httpd.core

run -X

once cored, just back trace, step, and it should tell you exactly why it is
crashing... 


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


Re: Thin terminals for FreeBSD

2006-08-08 Thread Erik Norgaard

Nagy László wrote:


 Hello,

I need to setup an environment where some users (10 to 20 employees) 
will use terminals to run programs. They need to run a few popular 
programs: thunderbird, firefox, adobe acrobat, openoffice and gaim. This 
site will be a customer service. We decided to reduce the costs by using 
Open Source software and cheap terminal computers. This is a good 
solution because most of the users will read messages and images on the 
screen and they can share the same processor and memory easily. I know 
that I can setup cheap computers and use its X server as a terminal for 
another central computer. This solution still requires new (or used) 
computers. I would like to reduce the costs to the minimum. Here are 
some key questions that I could not answer:


- Is there a more cost-effective solution? (Something that I did not 
think of)
- How much RAM will I need? Will FireFox Thunderbird and OpenOffice load 
shared objects and reduce the overall memory usage? Or should I reserve 
256MB of memory for each client?
- Do I need to use gigabit ethernet? Or is it enough to use a normal 100 
Mbps wired network? I heard that there can be bandwidth problems when 
using many terminals, but I do not have experience.

- Are there any pitfalls that I need to be aware of?

It would be perfect to provide links to some articles or manuals - I do 
not need anyone to write detailed instuctions and do my job. I'm asking 
for help because the handbook was not very useful in this case. I only 
found this:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/term.html#TERM-X

It does not help too much, and there is no know-how. I really need to 
know what hardware I need to buy.


Remember that the main cost is maintenance, not the hardware.

I think that the way to do it is not dumb terminals in the old sense, 
but rather sharing disks, while each terminal runs processes separately 
and have lot's of RAM - 1GB.


100Mbps network should be ok, just make sure it's switched (which all 
are nowadays), it's only loading the applications that is slow - once 
up, there is not much on the network when applications run on the client 
and there is plenty of RAM. I would think that more RAM gives better 
user experience than faster network.


Some recommends booting off a flashrom, but the disadvantage is 
upgrading the base system has to be done on each client.


For example: Buy some mini-itx MB's with 1GB ram. For desktop use, 
processor is not important, RAM is. So get some fanless MB's. I have 
found that VIA MB's are easy to work with, support pxeboot, see this 
site: www.mini-itx.com.


Then you need one file server to allow NFS mount of everything. I sat 
down and wrote about it, but I never got through to have a working 
diskless with all the bells and whistles, see this article:


   www.daemonsecurity.com/pub/pxeboot/

Other sources are the pxe and diskless articles in

   www.freebsd.org/doc/en_US.ISO8859-1/articles/

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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen


[snip]

Then that is working properly. I think you can try
this then. Which might also work and I am out  of
ideas. :-(

$ openssl genrsa 1024



# openssl genrsa 1024
Generating RSA private key, 1024 bit long modulus
...++
...++
e is 65537 (0x10001)
-BEGIN RSA PRIVATE KEY-
[deleted]
-END RSA PRIVATE KEY-

Seems fine to me. It generates the key just like it should I think.

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Chris wrote:
 
 Just my .02 worth - that Sparc64 listing  Is mine Wheee!
 
 There are two Sparc64 listings ... both yours?
 
 The 8 in Panama are all mine :)


Where's Chile? I just added 4 boxes and they're not listed.

Excellent job Marc!


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Quoting Girish Venkatachalam [EMAIL PROTECTED]:
Hope to get some input.
   Looks like ur random seeding is not happening
   properly. check whether /dev/random and
  /dev/urandom
   work properly. You can verify it with the command
  
   $openssl rand  512
  


Why not just run httpd under gdb, and see WHY it is crashing?

gdb httpd httpd.core

run -X

once cored, just back trace, step, and it should tell you exactly why it
is
crashing...



Thanks!
How do I start httpd with ssl support from this command? (I do apachectl
startssl when Apache crashes. apachectl start works fine though.)

Apache runs fine when ssl is NOT started.

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread David Schulz

Hello,

i have started to run this script , but for some reason i dont show  
up in the list. or maybe i do, but at least not the country from  
which i am submitting, china, has still zero entries. how can this  
be? my ip does resolve to a host in china when using some geoip  
lookup service...


Thanks

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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread cknipe
Quoting Andreas Widerøe Andersen [EMAIL PROTECTED]:

 On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Quoting Girish Venkatachalam [EMAIL PROTECTED]:
  Hope to get some input.
 Looks like ur random seeding is not happening
 properly. check whether /dev/random and
/dev/urandom
 work properly. You can verify it with the command

 $openssl rand  512

 
 
  Why not just run httpd under gdb, and see WHY it is crashing?
 
  gdb httpd httpd.core
 
  run -X
 
  once cored, just back trace, step, and it should tell you exactly why it
  is
  crashing...
 
 
 Thanks!
 How do I start httpd with ssl support from this command? (I do apachectl
 startssl when Apache crashes. apachectl start works fine though.)
 
 Apache runs fine when ssl is NOT started.

run -X -DSSL


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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Mikhail Goriachev wrote:


Marc G. Fournier wrote:

On Mon, 7 Aug 2006, Chris wrote:


Just my .02 worth - that Sparc64 listing  Is mine Wheee!


There are two Sparc64 listings ... both yours?

The 8 in Panama are all mine :)



Where's Chile? I just added 4 boxes and they're not listed.


You are now :)


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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, David Schulz wrote:


Hello,

i have started to run this script , but for some reason i dont show up in the 
list. or maybe i do, but at least not the country from which i am submitting, 
china, has still zero entries. how can this be? my ip does resolve to a host 
in china when using some geoip lookup service...


I see China - 1 listed ... is that you? :)


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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Quoting Andreas Widerøe Andersen [EMAIL PROTECTED]:

 On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Quoting Girish Venkatachalam [EMAIL PROTECTED]:
  Hope to get some input.
 Looks like ur random seeding is not happening
 properly. check whether /dev/random and
/dev/urandom
 work properly. You can verify it with the command

 $openssl rand  512

 
 
  Why not just run httpd under gdb, and see WHY it is crashing?
 
  gdb httpd httpd.core
 
  run -X
 
  once cored, just back trace, step, and it should tell you exactly why
it
  is
  crashing...


 Thanks!
 How do I start httpd with ssl support from this command? (I do apachectl
 startssl when Apache crashes. apachectl start works fine though.)

 Apache runs fine when ssl is NOT started.

run -X -DSSL



Here's the output:

# gdb httpd httpd.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...(no debugging symbols
found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libmm.so.14...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_access.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_digest.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libproxy.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_expires.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_headers.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_log_forensic.so...(no
debugging symbols found)...done.
Reading symbols from 

Re: Large File System?

2006-08-08 Thread Freminlins

On 08/08/06, Atom Powers [EMAIL PROTECTED] wrote:



Thanks. I found my problem. (Sysinstall, aka fdisk, won't do more that
1.2TB.)
BTW, anybody have any good advice on how to manage a large file system?



Unfortunately I have to say consider Solaris or Linux as they have
journalling file systems.

Although I have a couple of big file systems on FreeBSD, it is not a pretty
sight if there is some sort of problem. Recently our colo lost power. The
two boxes that needed manually fixing were the two big file system boxes.
Background fsck did not fix them. To compare, we have one almost identical
box running Linux. It came straight back up courtesy of ext3.

Ignoring all the suggestions to get UPS (the colo had generator backed UPS
which failed), etc, problems can/do happen. And when they do, journalling
for big file systems is very useful.

The single most important thing missing for me in FreeBSD is a journalling
file system as I would use it on every box.

You don't need to do anything more to manage big file systems per se. How
big a file system are you going to create? What are you going to use it for?
That might help with suggestions.

--Atom Powers--





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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread cknipe
Quoting Andreas Widerøe Andersen [EMAIL PROTECTED]:

 (no debugging symbols found)...(no debugging symbols found)...(no debugging
 symbols found)...
 Program received signal SIGPIPE, Broken pipe.
 0x2810b1e8 in writev () from /usr/lib/libc.so.4
 (gdb)

And there's your problem.  Some library did not link to libc properly.  Do a
backtrace and a step, it will tell you which module is failing.

I've had numerous problems like this in the past (mostly with mod_php though),
recompiling the modules that gave errors sorted them out.

I doubt this is a mod_ssl issue.  

--
C

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread David Schulz
cool yes, now i see it also, but it wasn't there before right after i  
executed my script. is there maybe some sort of delay before the data  
appears?


On Aug 8, 2006, at 4:01 PM, Marc G. Fournier wrote:


On Tue, 8 Aug 2006, David Schulz wrote:


Hello,

i have started to run this script , but for some reason i dont  
show up in the list. or maybe i do, but at least not the country  
from which i am submitting, china, has still zero entries. how can  
this be? my ip does resolve to a host in china when using some  
geoip lookup service...


I see China - 1 listed ... is that you? :)


Marc G. Fournier   Hub.Org Networking Services (http:// 
www.hub.org)
Email . [EMAIL PROTECTED]  MSN .  
[EMAIL PROTECTED]

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


!DSPAM:1,44d8464a6298743259228!





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


Re: Sendmail Question; unable to send mail as normal user

2006-08-08 Thread Frank Staals

Greg Groth wrote:

Hmm I guess that sould be the problem then:

[EMAIL PROTECTED] telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.eu.org
Escape character is '^]'.
220 Fstaals.net ESMTP Sendmail 8.13.3/8.13.3; Mon, 7 Aug 2006 
20:31:30 +0200 (CE

ST)
EHLO localhost
250-Fstaals.net Hello localhost.eu.org [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP

I compiled sendmail with the following options:

[EMAIL PROTECTED] cat /etc/make.conf
# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL
# added by use.perl 2006-03-02 22:35:07
PERL_VER=5.8.8
PERL_VERSION=5.8.8

What should I do fix this ? Appart from those lines in /etc/make.conf 
I didn't change anything regarding to the build of sendmail


Regards,



Need more info.  How did you recompile Sendmail?  For instance, I did 
a minimal install, updated my ports, installed cvsup-without-gui  
fastest-cvsup, cvsupped my sources, ran a buildworld to get the base 
system up to date, then added the following to make.conf:




snip Example


In the instances I had a screwup in which I could not resolve, I've 
made the following bonehead moves:


1. Ran make installworld without dropping to single-user mode
2. cvsupped to the wrong source tree due to my ignorance of the tags 
in the cvsup file.


My latest misadventures with getting PLAIN LOGIN working were on 
systems where I did everything correctly, but installed a number of 
ports prior to messing with the MTA.  This included Apache, PHP, 
MySQL, Squirrelmail, XOrg, KDE-lite, and whatever dependencies were 
needed. The same issue occured with trying to get PLAIN AUTH working 
with Postfix, and on a second box with Sendmail.  I ended up 
reinstalling, and focused on getting the MTA and SASL2 working 
immediately after getting the system up to date, and had no issues.


IMHO, worry about getting PLAIN LOGIN working before messing with 
compiling SSL support into Sendmail.  In my experience, configuring 
SSL can be a pain, making sure everything is where it's supposed to be.


Best regards,
Greg Groth



Basically it would be the following:

Installed FreeBSD 5.3-RELEASE, minimal install ; manually added the 
extra stuff I wanted. Installed a lot of the usual stuff: Apache, php, 
smnmpd. Then some time ago I decided I also wanted to run a mailserver 
so Installed imap-uw and cyrus-sasl2-saslauthd. Added:


# SASL (cyrus-sasl v2) sendmail build flags...
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
# Adding to enable alternate port (smtps) for sendmail...
SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL

to /etc/make.conf rebuild world and updated to 5.4-STABLE, manually 
rebuild sendmail :


cd /usr/src/usr.sbin/sendmail

make clean
make depend
make
make install

Made SSL certificates:

mkdir /etc/mail/certs
cd /etc/mail/certs
openssl dsaparam 1024 -out dsa1024.pem
openssl req -x509 -nodes -newkey dsa:dsa1024.pem -out mycert.pem -keyout 
mykey.pem

rm dsa1024.pem
chmod -R 600 /etc/mail/certs/*

Checked if 'pwcheck_method: saslauthd' was in my 
/usr/local/lib/sasl2/Sendmail.conf


then:

cd /etc/mail/
make all

added the following to HOSTNAME.mc :

define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')dnl

define(`CERT_DIR', `/etc/mail/certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

ran a  :

make all install restart

Then basically my mailserver thingy stopped for a while ( not enough 
time etc ) without realy finishing it up. When I continued last week I 
tested what worked; I found out I could send mail as root ( with mail 
e-mail-address ) but not as user. I decided I also wanted spamassasin 
and that it would probably be best if I did that immediately so I 
Installed spamassasin ( spamass-milter ) and made sure both spamassasin 
and spamd started at boot. Manually started both daemons. Then added the 
following to /etc/mail/HOSTNAME.mc



INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')


define(`confINPUT_MAIL_FILTERS', `spamassassin')

I also fixed a syntax error in my HOSTNAME.mc file ( something went 
wrong with the ` ) then ran a


make all install restart
/etc/rc.d/sendmail restart

tested if sasl was working ( which worked fine ) :

testsaslauthd -u user -p password

At this point I was able to send mail from localhost ( by using mail 

Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, Andreas Widerøe Andersen [EMAIL PROTECTED] wrote:




On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Quoting Andreas Widerøe Andersen [EMAIL PROTECTED] :

  (no debugging symbols found)...(no debugging symbols found)...(no
 debugging
  symbols found)...
  Program received signal SIGPIPE, Broken pipe.
  0x2810b1e8 in writev () from /usr/lib/libc.so.4
  (gdb)

 And there's your problem.  Some library did not link to libc
 properly.  Do a
 backtrace and a step, it will tell you which module is failing.

 I've had numerous problems like this in the past (mostly with mod_php
 though),
 recompiling the modules that gave errors sorted them out.

 I doubt this is a mod_ssl issue.



Thanks. How do I find out which module is creating these problems? and can I
just recompile? I mean, what if it's a system module...

Sorry for all these questions, but this is a little above my head. :-)

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


Re: Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Quoting Andreas Widerøe Andersen [EMAIL PROTECTED]:

 On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Quoting Andreas Widerøe Andersen [EMAIL PROTECTED]:
 
   (no debugging symbols found)...(no debugging symbols found)...(no
  debugging
   symbols found)...
   Program received signal SIGPIPE, Broken pipe.
   0x2810b1e8 in writev () from /usr/lib/libc.so.4
   (gdb)
 
  And there's your problem.  Some library did not link to libc
properly.  Do
  a
  backtrace and a step, it will tell you which module is failing.
 
  I've had numerous problems like this in the past (mostly with mod_php
  though),
  recompiling the modules that gave errors sorted them out.
 
  I doubt this is a mod_ssl issue.


 Thanks. How do I find out which module is creating these problems? and
can I
 just recompile? I mean, what if it's a system module...

As I said,  use a backtrace

gdb httpd httpd.core
run -X -DSSL
bt
step

It should show you right up to the very line of code in the module that is
causing the crash...



This is what I get now:

(gdb) bt
#0  0x283d1d61 in bn_mul_add_words () from /usr/local/lib/libcrypto.so.4
#1  0x8 in ?? ()
Error accessing memory address 0x55b7d3a2: Bad address.
(gdb) step
Single stepping until exit from function bn_mul_add_words,
which has no line number information.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) bt
No stack.

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Mikhail Goriachev
Marc G. Fournier wrote:
 On Tue, 8 Aug 2006, Mikhail Goriachev wrote:
 
 Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Chris wrote:

 Just my .02 worth - that Sparc64 listing  Is mine Wheee!
 There are two Sparc64 listings ... both yours?

 The 8 in Panama are all mine :)

 Where's Chile? I just added 4 boxes and they're not listed.
 
 You are now :)


Awesome! Thanks for that.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Igor Robul

Hello,

I think there is at least one error in country naming:
 should be Kazakhstan instead of Kazakstan. Our friends from Kazakhstan
of course can correct me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Gerhard Schmidt
On Mon, Aug 07, 2006 at 12:42:27AM -0300, Marc G. Fournier wrote:
 
 I've now committed v2.0 of the 300.statistics periodic script ... this one 
 adds the device reporting that we'd talked about previously, and the 
 summary reports now reflect the driver(s) in use for those deciding to 
 report ...
 
 This Phase of the script is optional, and not enabled by default ... I 
 can't think of any reason why you wouldn't want to report it, but just in 
 case someone feels it poses a problem, its an opt-in report ...
 
 pkg-message updated to reflect the extra line you need to add to 
 /etc/periodic.conf:
 
 monthly_statistics_report_devices=yes
 
 I've written it to report driver + chip= information from pciconf -l, 
 since even pciconf -lv doesn't seem to use card= ... the summary report 
 will be extended next to show both vendor and chip statistics ...

Only out of curiosity. What kind of webserver have you. If only a part of 
the FreeBSD Users install your script and it got executed at the same time, 
this will get an awfull lot of load for your server. 

Bye 
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpGFZhFEDFkK.pgp
Description: PGP signature


Re: Large File System?

2006-08-08 Thread Martin Hepworth

Well ext3 can have problems too - I've had numerous problems with that, and
had to revert back to ext2 to get the filesystem to mount. XFS is much
better.

And I've had no problems with UFS/softupdates on FreeBSD, but YMMV as they
say.

But yes, when ZFS gets ported to FreeBSD we will all very happy.

--
Martin

On 8/8/06, Freminlins [EMAIL PROTECTED] wrote:


On 08/08/06, Atom Powers [EMAIL PROTECTED] wrote:


 Thanks. I found my problem. (Sysinstall, aka fdisk, won't do more that
 1.2TB.)
 BTW, anybody have any good advice on how to manage a large file system?


Unfortunately I have to say consider Solaris or Linux as they have
journalling file systems.

Although I have a couple of big file systems on FreeBSD, it is not a
pretty
sight if there is some sort of problem. Recently our colo lost power. The
two boxes that needed manually fixing were the two big file system boxes.
Background fsck did not fix them. To compare, we have one almost identical
box running Linux. It came straight back up courtesy of ext3.

Ignoring all the suggestions to get UPS (the colo had generator backed UPS
which failed), etc, problems can/do happen. And when they do, journalling
for big file systems is very useful.

The single most important thing missing for me in FreeBSD is a journalling
file system as I would use it on every box.

You don't need to do anything more to manage big file systems per se. How
big a file system are you going to create? What are you going to use it
for?
That might help with suggestions.

--Atom Powers--



Frem.
___
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: BSDstats Project v2.0 ...

2006-08-08 Thread Gerard Seibert
On Tuesday 08 August 2006 04:22, David Schulz wrote:
 cool yes, now i see it also, but it wasn't there before right after i
 executed my script. is there maybe some sort of delay before the data
 appears?

 On Aug 8, 2006, at 4:01 PM, Marc G. Fournier wrote:
  On Tue, 8 Aug 2006, David Schulz wrote:
  Hello,
 
  i have started to run this script , but for some reason i dont
  show up in the list. or maybe i do, but at least not the country
  from which i am submitting, china, has still zero entries. how can
  this be? my ip does resolve to a host in china when using some
  geoip lookup service...
 
  I see China - 1 listed ... is that you? :)
 
  
  Marc G. Fournier

Undoubtedly there is going to be some time lag between the time the data is 
submitted and the time of its display. How log did you wait before checking 
to see if the site had been updated with your submission?

By the way, please don't top post. It makes it hard to follow the thread.

-- 
Gerard Seibert
[EMAIL PROTECTED]

Hofstadter's Law:

It always takes longer than you expect, even when you take Hofstadter's Law 
into account.


pgpXMM8SObJyT.pgp
Description: PGP signature


Portsnap CVSup

2006-08-08 Thread Anthony Agelastos

Hello all,

I am wondering how well Portsnap plays with CVSup. As an example,  
let's say that I accidentally deleted a Port folder (/usr/ports/print/ 
hplip as an example), I assume the best way of bringing it back would  
be CVSup and not Portsnap. Is this thinking correct? After using  
CVSup, is there anything that I need to do to for Portsnap to know  
what else has been updated? Any information on this is greatly  
appreciated. Thank you.


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


Re: default boot option in dual-boot mode

2006-08-08 Thread Daniel Bye
On Mon, Aug 07, 2006 at 05:48:26PM -0700, gahn wrote:
 hi:
 
 how could i fix the default boot option in dual-boot
 mode?
 
 i have a machine with both windows xp and freebsd 6.1.
 it works fine with freebsd boot manager (wiht optios
 of f1 for xp and f2 for freebsd when it starts). but i
 would like to fix the default mode for freebsd; ie, if
 i don't make a choice on either f1 or f2 keys, then
 system automatically boots up as freebsd machine.

AFAIK, the FreeBSD loader sets the boot flag on the selected partition,
so that becomes the default at next boot.  I don't think it can do what
you want.  However, you might try grub or any of the other boot managers
in the ports, or simply use the WinXP loader.  It's easy enough to set
up.

If both WinXP and FreeBSD are installed on the same disk, copy
/boot/boot1 to, say, C:\BOOTSECT.BSD.  If they're on different devices,
then you'll need to copy /boot/boot0 instead, BUT DON'T GET THIS WRONG!
Then change the default line to read

default=C:\BOOTSECT.BSD

and add this to the [operating systems] section:

C:\BOOTSECT.BSD=FreeBSD

And you're set.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpiFKZSETrhK.pgp
Description: PGP signature


Re: Portsnap CVSup

2006-08-08 Thread Daniel Bye
On Tue, Aug 08, 2006 at 07:22:11AM -0400, Anthony Agelastos wrote:
 Hello all,
 
 I am wondering how well Portsnap plays with CVSup. As an example,  
 let's say that I accidentally deleted a Port folder (/usr/ports/print/ 
 hplip as an example), I assume the best way of bringing it back would  
 be CVSup and not Portsnap. Is this thinking correct? After using  
 CVSup, is there anything that I need to do to for Portsnap to know  
 what else has been updated? Any information on this is greatly  
 appreciated. Thank you.

Probably the easiest way out of this is to

 # portsnap extract print/hplip

and not use cvsup at all.  

HTH

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpjawd9Hj2mX.pgp
Description: PGP signature


Re: FYI: USB wireless on FreeBSD 6.1 Release via ural driver

2006-08-08 Thread Jonathan Fosburgh
On Monday 07 August 2006 13:35, Andrew Gould wrote:
 Given the occasional question regarding wireless
 adapters on this list, and that I didn't see this in
 the hardware notes, I thought I'd post a message:

 The D-Link DWL-G122 version B1 is compatible with
 FreeBSD 6.1 Release on the i386 architecture.  This is
 a USB, 802.11g adapter.  Please note that the hardware
 version number is important as some manufacturers like
 to change chipsets without changing model numbers.

 This adapter uses the ural driver.  When I plugged the
 adapter into the USB port, it was identified correctly
 as ural0.  Network configuration using ifconfig was
 standard, except that the wlan_wep module had to be
 loaded manually before the adapter could be configured
 with a WEP code.

 You can find a list of compatible, adapters in the
 ural man page.  Remember to pay close attention to
 hardware version numbers.

FYI, when I get around to it, I will be submitting patches to usbdevs to 
support the Nova Tech NV902W Unwire USB 802.11b/g adapter.  It also uses the 
ural driver and works great with two caveats.  One is that (along with all 
ural NICs, it seems) is unstable with wpa so I had to go back to wep.  The 
other caveat is that the link light does not come on, but it does when run 
under Windows.  The activity light does work.  I get good signal, either full 
speed or down to 48mbps.
-- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX


pgpG46XqpaIeE.pgp
Description: PGP signature


Best POP daemon to use with Postfix

2006-08-08 Thread Philip Radford

Hi All,

I have an issue which is starting to get annoying.

I am currently running Postfix 2.3.2 under FreeBSD 5.4.

Which POP3 daemons are people using to provide remote access to mail folders 
via POP3.


I have just installed qpopper via ports which all seemed to go well until 
actually acessing the server via a windows mail client (Outlook Express). 
The client connects and just sits there.


Examing /var/log/messages returns a EOF or I/O error.

Anyone know why this is happening or what I can do to identify further.

Regards
Phil.


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


cairo-xlib.h error when installing gtk

2006-08-08 Thread Alan Curtis

When doing a portupgrade, I ran into this error. Any ideas?

gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory
gdkdrawable-x11.c: In function `_gdk_x11_drawable_update_size':
gdkdrawable-x11.c:264: warning: implicit declaration of function
`cairo_xlib_surface_set_size'
gdkdrawable-x11.c: In function `gdk_x11_ref_cairo_surface':
gdkdrawable-x11.c:1479: warning: implicit declaration of function
`cairo_xlib_surface_create'
gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer
without a cast
gdkdrawable-x11.c:1484: warning: implicit declaration of function
`cairo_xlib_surface_create_for_bitmap'
gdkdrawable-x11.c:1487: warning: assignment makes pointer from integer
without a cast
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk/x11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best POP daemon to use with Postfix

2006-08-08 Thread albi
On Tue, 8 Aug 2006 13:52:13 +0100
Philip Radford [EMAIL PROTECTED] wrote:

 I am currently running Postfix 2.3.2 under FreeBSD 5.4.
 
 Which POP3 daemons are people using to provide remote access to mail
 folders via POP3.

dovecot for pop3 and imap, it's in the ports and.. it's awesome

http://www.dovecot.org
http://wiki.dovecot.org

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


Downgrading a package?

2006-08-08 Thread Yousef Raffah
How can I downgrade a package in freebsd? I'm having a server (luckily
not a production one) running postfix+amavisd-new+clamav and after the
portupgrade -a amavis is failing saying:

run_command: child process [4331]: Error closing main::stdin: Bad file
descriptor at /usr/local/sbin/amavisd line 1872.\n
TROUBLE in check_mail: parts_decode_ext FAILED: parsing file(1) results
- missing last 1 results at (eval 62) line 154.

googling for the error, it seems like it is an issue with Net::Server
http://www.freespamfilter.org/forum/viewtopic.php?t=236

What is the normal way of downgrading packages in FreeBSD?

-- 

Sincerely,

Yousef Adnan Raffah
The Savola Group

---
Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: OpenPGP digital signature


RE: Best POP daemon to use with Postfix

2006-08-08 Thread fbsd
I use qpopper with windows office outlook  outlook express without
any problems.
My guess is you don't have outlook configured correctly.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philip
Radford
Sent: Tuesday, August 08, 2006 8:52 AM
To: freebsd-questions@freebsd.org
Subject: Best POP daemon to use with Postfix


Hi All,

I have an issue which is starting to get annoying.

I am currently running Postfix 2.3.2 under FreeBSD 5.4.

Which POP3 daemons are people using to provide remote access to mail
folders
via POP3.

I have just installed qpopper via ports which all seemed to go well
until
actually acessing the server via a windows mail client (Outlook
Express).
The client connects and just sits there.

Examing /var/log/messages returns a EOF or I/O error.

Anyone know why this is happening or what I can do to identify
further.

Regards
Phil.


___
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: Downgrading a package?

2006-08-08 Thread Daniel Bye
On Tue, Aug 08, 2006 at 04:37:17PM +0300, Yousef Raffah wrote:
 How can I downgrade a package in freebsd? I'm having a server (luckily
 not a production one) running postfix+amavisd-new+clamav and after the
 portupgrade -a amavis is failing saying:
 
 run_command: child process [4331]: Error closing main::stdin: Bad file
 descriptor at /usr/local/sbin/amavisd line 1872.\n
 TROUBLE in check_mail: parts_decode_ext FAILED: parsing file(1) results
 - missing last 1 results at (eval 62) line 154.
 
 googling for the error, it seems like it is an issue with Net::Server
 http://www.freespamfilter.org/forum/viewtopic.php?t=236
 
 What is the normal way of downgrading packages in FreeBSD?

Believe it or not, the port you want is sysutils/portdowngrade, and it
does a fine job.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpjs5WrmyuEY.pgp
Description: PGP signature


Re: Best POP daemon to use with Postfix

2006-08-08 Thread Gerard Seibert
Philip Radford wrote:

 Hi All,
 
 I have an issue which is starting to get annoying.
 
 I am currently running Postfix 2.3.2 under FreeBSD 5.4.
 
 Which POP3 daemons are people using to provide remote access to mail folders 
 via POP3.
 
 I have just installed qpopper via ports which all seemed to go well until 
 actually acessing the server via a windows mail client (Outlook Express). 
 The client connects and just sits there.
 
 Examing /var/log/messages returns a EOF or I/O error.
 
 Anyone know why this is happening or what I can do to identify further.
 
 Regards
 Phil.

I had nothing but problems with qpopper and large mboxes. I finally
dumped it in favor of 'dovecot' and never looked back.

Dovecot will shortly be coming out with a new version, I believe they
are at something like RC-7 or so right now. You might want to wait until
the new version is in the ports. Your choice!

-- 
Gerard Seibert
[EMAIL PROTECTED]


 Have you heard about the new *lesbian architecture* homes? 

 No studs ­ all tongue and groove.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SOLVED] Need help! Apache core dumps when running startssl

2006-08-08 Thread Andreas Widerøe Andersen

On 8/8/06, Andreas Widerøe Andersen [EMAIL PROTECTED] wrote:




On 8/8/06, Girish Venkatachalam [EMAIL PROTECTED] wrote:



 --- Andreas Wider�e Andersen [EMAIL PROTECTED]
 wrote:

  On 8/8/06, [EMAIL PROTECTED]
   [EMAIL PROTECTED] wrote:
  
   Quoting Andreas Wider�e Andersen
  [EMAIL PROTECTED]:
  
On 8/8/06, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:

 Quoting Andreas Wider�e Andersen
   [EMAIL PROTECTED]:

  (no debugging symbols found)...(no debugging
  symbols found)...(no
 debugging
  symbols found)...
  Program received signal SIGPIPE, Broken
  pipe.
  0x2810b1e8 in writev () from
  /usr/lib/libc.so.4
  (gdb)

 And there's your problem.  Some library did
  not link to libc
   properly.  Do
 a
 backtrace and a step, it will tell you which
  module is failing.

 I've had numerous problems like this in the
  past (mostly with mod_php
 though),
 recompiling the modules that gave errors
  sorted them out.

 I doubt this is a mod_ssl issue.
   
   
Thanks. How do I find out which module is
  creating these problems? and
   can I
just recompile? I mean, what if it's a system
  module...
  
   As I said,  use a backtrace
  
   gdb httpd httpd.core
   run -X -DSSL
   bt
   step
  
   It should show you right up to the very line of
  code in the module that is
   causing the crash...
 
 
  This is what I get now:
 
  (gdb) bt
  #0  0x283d1d61 in bn_mul_add_words () from
  /usr/local/lib/libcrypto.so.4
  #1  0x8 in ?? ()
  Error accessing memory address 0x55b7d3a2: Bad
  address.
  (gdb) step
  Single stepping until exit from function
  bn_mul_add_words,
  which has no line number information.
 
  Program terminated with signal SIGSEGV, Segmentation
  fault.
  The program no longer exists.
  (gdb) bt
  No stack.

 OpenSSL shared libraries are the culprit. Try
 installing some other version of openssl and please
 remember to build shared objects, IIRC it is
 ./config --enable-shared
 or something.

 That shud take care of ur problem.

 Best,
 Girish



I went into /usr/ports/security/openssl and did a make deinstall and then
make reinstall and it worked! Now things are back normal again.

Thanks a lot for all your help. Very much appreciated!!!

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

Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Matthew Seaman wrote:


Marc G. Fournier wrote:

On Mon, 7 Aug 2006, Matthew Seaman wrote:


I think it would help uptake if when the bsdstats job is first run, it
issues you with a 'registered system number' -- then all of the folks
with low numbered systems get bragging rights...


Actually, there is no registered system number, as there is no
registration process ... that was the key requirement for doing this,
was that it was as hands off as possible, and having to go to a web
site to register each and every host was just too onerous of a task ...


Yeah.  You've leapt on the word 'register' there, and not addressed the
salient point.  'Register' as in 'become cognisant of', and distinguished
from 'signed up to.'  Even though the process is simplified and automatic,
you're still registering systems.

Having some sort of return from the central stats machine when the periodic
script runs, (rather than nothing at all, as at the moment) would be a good
idea.  Giving each system an index number shouldn't cost too much.


But, there is no such ting as an 'index number' ... when everyone reports 
in next month, for instance, there is no 'number' that will be re-used for 
them that matches something used this month ...



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, David Schulz wrote:

cool yes, now i see it also, but it wasn't there before right after i 
executed my script. is there maybe some sort of delay before the data 
appears?


Yup, but only as the database grows ... I'm using the pear GeoIP module to 
determine country, of course, but am only storying the 2 char value in the 
main table ... that links up with a second 'full name' table that I have a 
script that I run periodically to populate ...




 

On Aug 8, 2006, at 4:01 PM, Marc G. Fournier wrote:


On Tue, 8 Aug 2006, David Schulz wrote:


Hello,

i have started to run this script , but for some reason i dont show up in 
the list. or maybe i do, but at least not the country from which i am 
submitting, china, has still zero entries. how can this be? my ip does 
resolve to a host in china when using some geoip lookup service...


I see China - 1 listed ... is that you? :)


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


!DSPAM:1,44d8464a6298743259228!





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



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


Postfix SASL Authentication

2006-08-08 Thread Gerard Seibert
FreeBSD 6.1 STABLE

I have SASL and Postfix installed and for the most part they seem to
work all right together. However, there is one small problem.

When attempting to send a message from one of the PC's on the network,
actually any PC on the network except for the one with Postfix installed
on it, this error message is inserted into the maillog file.

Aug  8 10:11:32 scorpio postfix/smtpd[1310]: connect from 
boss.seibercom.net[192.168.0.4]
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: warning: SASL authentication 
failure: no user in db
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: 859B9BD6C: 
client=boss.seibercom.net[192.168.0.4], sasl_method=LOGIN, [EMAIL PROTECTED]

All of the users are authenticated. Exactly what is it referring to and how do 
I correct it? The mail does get relayed however, so it is not a fatal warning.


-- 
Gerard Seibert
[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: Downgrading a package?

2006-08-08 Thread Ivailo Tanusheff
You may use portdowngrade from /usr/ports/sysutil/portdowngrade and 
possibaly use -s switch to choose the proper cvs server for the downgrade 
data.

But I would suggest you to just fix the problem. I suppose it's a cpan 
update you need, so just update your perl extentions :)
Just update the p5-Net-Server port or use cpan.

Regards,

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD




Yousef Raffah [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08.08.2006 16:37
Please respond to
[EMAIL PROTECTED]


To
freebsd-questions freebsd-questions@freebsd.org
cc

Subject
Downgrading a package?






How can I downgrade a package in freebsd? I'm having a server (luckily
not a production one) running postfix+amavisd-new+clamav and after the
portupgrade -a amavis is failing saying:

run_command: child process [4331]: Error closing main::stdin: Bad file
descriptor at /usr/local/sbin/amavisd line 1872.\n
TROUBLE in check_mail: parts_decode_ext FAILED: parsing file(1) results
- missing last 1 results at (eval 62) line 154.

googling for the error, it seems like it is an issue with Net::Server
http://www.freespamfilter.org/forum/viewtopic.php?t=236

What is the normal way of downgrading packages in FreeBSD?

-- 

Sincerely,

Yousef Adnan Raffah
The Savola Group

---
Aren't you using Firefox? Get it at http://www.getfirefox.com





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

Re: Postfix SASL Authentication

2006-08-08 Thread Greg Groth

On 8/8/2006 9:20 AM, Gerard Seibert wrote:

FreeBSD 6.1 STABLE

I have SASL and Postfix installed and for the most part they seem to
work all right together. However, there is one small problem.

When attempting to send a message from one of the PC's on the network,
actually any PC on the network except for the one with Postfix installed
on it, this error message is inserted into the maillog file.

Aug  8 10:11:32 scorpio postfix/smtpd[1310]: connect from 
boss.seibercom.net[192.168.0.4]
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: warning: SASL authentication 
failure: no user in db
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: 859B9BD6C: 
client=boss.seibercom.net[192.168.0.4], sasl_method=LOGIN, [EMAIL PROTECTED]

All of the users are authenticated. Exactly what is it referring to and how do 
I correct it? The mail does get relayed however, so it is not a fatal warning.



Which version of SASL?  v1 or v2?

The following is based on ym experience with v2, and I don't know if it 
applies to v1 or not.


As far as the message in you log file, it's attempting to authenticate, 
but it's not connecting to the user database to verify the user.  More 
than likely it's allowing you to send mail from the local server because 
you have Postfix configured to allow it to relay mail from localhost, 
and that this is allowing you to send the email even though 
authentication is failing.


To determine which authentication methods Postfix will accept, telnet to 
localhost on port 25 and issue a EHLO:


mail# telnet localhost 25
Trying ::1...
Connected to localhost.domain.com.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix

EHLO localhost

250-mail.domain.com
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-AUTH NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

In this instance, the AUTH line dictates which authentication mechanisms 
Postfix will accept.  In this case: NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 
CRAM-MD5


Check your /usr/local/lib/sasl2/smtpd.conf file and make sure that you 
have the correct auth mechanism listed.  For plain text login that's 
verified against your existing users, your smtpd.conf file would read as 
follows:


pwcheck_method: saslauthd

This will verify against your existing user accounts.  There are other 
methods, such as pwcheck_method:  sasldb, that will verify against 
SASL's own password database, which I've never used.


Make sure that you have saslauthd running (which it appears you do).

Issue the following:

# /usr/local/sbin/testsaslauthd -u username -p password
0: OK Success.

If saslauthd is operating correctly, you'll recieve the OK Success. 
If not, your problem is with saslauthd.


If your AUTH line does not list the right AUTH mechanism, the problem is 
with Postfix.  For instance, if you're trying to use SMTP-AUTH from a 
client on your network, and have pwcheck_method: saslauthd defined in 
your smtpd.conf file, you have to have PLAIN LOGIN appear in the AUTH 
line when telnetting.


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


ext usb2 drive and fbsd6

2006-08-08 Thread dick hoogendijk
Maybe I should not ask this here but I take my chances. I love fbsd but it
/is/ pickier on some hardware than windows and I don't want to use that
software, so..

I'm planning an external hardrive. NAS (network attached storage) drive
are very expensive. So I will buy an usb2 drive, I think.

As always, money's short ;-)

Do you have suggestions on *good* working and not to expensive usb2
harddisks for FreeBSD-6.1?

They should be reliable and easy to mount on my server.

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheap terminals for FreeBSD

2006-08-08 Thread Nagy László Zsolt

Sorry for multiple postings.
The first e-mail did not come through for hours becasue I wrote it from 
the wrong e-mail address.


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


Re: Postfix SASL Authentication

2006-08-08 Thread Paul Schmehl

Gerard Seibert wrote:

FreeBSD 6.1 STABLE

I have SASL and Postfix installed and for the most part they seem to
work all right together. However, there is one small problem.

When attempting to send a message from one of the PC's on the network,
actually any PC on the network except for the one with Postfix installed
on it, this error message is inserted into the maillog file.

Aug  8 10:11:32 scorpio postfix/smtpd[1310]: connect from 
boss.seibercom.net[192.168.0.4]
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: warning: SASL authentication 
failure: no user in db
Aug  8 10:11:32 scorpio postfix/smtpd[1310]: 859B9BD6C: 
client=boss.seibercom.net[192.168.0.4], sasl_method=LOGIN, [EMAIL PROTECTED]

All of the users are authenticated. Exactly what is it referring to and how do 
I correct it? The mail does get relayed however, so it is not a fatal warning.


Sasl is attempting to use sasldb2 *before* it uses /etc/passwd (or pam, 
as the case may be.)  It's harmless in any case.  What do you have in 
the smtpd.conf file?  (/usr/local/lib/sasl2/smtpd.conf)


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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Karol Kwiatkowski
On 07/08/2006 05:42, Marc G. Fournier wrote:
 
 I've now committed v2.0 of the 300.statistics periodic script ... this
 one adds the device reporting that we'd talked about previously, and the
 summary reports now reflect the driver(s) in use for those deciding to
 report ...
 
 This Phase of the script is optional, and not enabled by default ... I
 can't think of any reason why you wouldn't want to report it, but just
 in case someone feels it poses a problem, its an opt-in report ...
 
 pkg-message updated to reflect the extra line you need to add to
 /etc/periodic.conf:
 
 monthly_statistics_report_devices=yes
 
 I've written it to report driver + chip= information from pciconf -l,
 since even pciconf -lv doesn't seem to use card= ... the summary report
 will be extended next to show both vendor and chip statistics ...
 
 Let me know of any problems ...


Hi Marc,

thank you for your work!

Is it considered 'stable' or still in development/testing? Should we
go and tell others or is it too early yet?

Best regards,

Karol

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



signature.asc
Description: OpenPGP digital signature


Booting more than 4 OSes from a hard disk?

2006-08-08 Thread Girish Venkatachalam
Dear all,

I was wondering if the 4 primary parition booting
limit still exists. Is it possible to have 

Windoze
Linux
FreeBSD
OpenBSD
NetBSD

on the same box in such a way that we can boot into
any of them?

I am particularly interested in the x86 arch with IDE
disks. I think this is possible on other archs with
SCSI.

What boot manager am I supposed to use? Does it
require setting something on the BIOS? Does FreeBSD
support booting from a point way off the first sector?

Thanks.

regards,
Girish

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


Re: How to filter the contents of two text files.

2006-08-08 Thread David Robillard

Some little help is needed here ...

I have two text files, each has just a single column of data

FileA has 2798 entries, while FileB has 4242 entries; There are
entries in FileA that are also in FileB...

I'd like to filter against the two files, so I only get those entries
in FileB that don't occur only in FileA 


There are a couple of commands to do exactly what you want.

comm(1) -- select or reject lines common to two files
http://www.freebsd.org/cgi/man.cgi?query=commapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

diff(1) -- find differences between two files
http://www.freebsd.org/cgi/man.cgi?query=diffapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

sort(1) -- sort lines of text files
http://www.freebsd.org/cgi/man.cgi?query=sortapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html

Enjoy!

DA+
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large File System?

2006-08-08 Thread Atom Powers

On 8/8/06, Freminlins [EMAIL PROTECTED] wrote:


On 08/08/06, Atom Powers [EMAIL PROTECTED] wrote:

 Thanks. I found my problem. (Sysinstall, aka fdisk, won't do more that
1.2TB.)
 BTW, anybody have any good advice on how to manage a large file system?

...

The single most important thing missing for me in FreeBSD is a journalling
file system as I would use it on every box.


What exactly does a journaling file system give you? As I understand
it, it doesn't prevent corruption and it doesn't help you fix the
corruption when it occurs.


You don't need to do anything more to manage big file systems per se. How
big a file system are you going to create? What are you going to use it for?
That might help with suggestions.


File server. It's a Promise VTrak M300p, SCSI attached storage.
Frankly I'm more worried about the system crashing than the storage
device ( UPS, battery pack for the RAID controller, redundant power
supplies ).

2.5TB file system, used mostly for archival storage. Of the initial
2.0TB of data, I expect only about 2-3% to change on a weekly basis.

I have another 1.5TB Fiber Channel cabinet that I plan on using to
store roaming profiles ( for MS Win uers) and home drives (for *nix
users).

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix SASL Authentication

2006-08-08 Thread Gerard Seibert
Paul Schmehl wrote:

 Sasl is attempting to use sasldb2 *before* it uses /etc/passwd (or pam, 
 as the case may be.)  It's harmless in any case.  What do you have in 
 the smtpd.conf file?  (/usr/local/lib/sasl2/smtpd.conf)

This is the contents:

##  Global Values
pwcheck_method: auxprop
auxprop_plugin: sasldb
log_level: 7
mech_list: PLAIN LOGIN


-- 
Gerard Seibert
[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: Postfix SASL Authentication

2006-08-08 Thread Gerard Seibert
Greg Groth wrote:

 On 8/8/2006 9:20 AM, Gerard Seibert wrote:
  FreeBSD 6.1 STABLE
  
  I have SASL and Postfix installed and for the most part they seem to
  work all right together. However, there is one small problem.
  
  When attempting to send a message from one of the PC's on the network,
  actually any PC on the network except for the one with Postfix installed
  on it, this error message is inserted into the maillog file.
  
  Aug  8 10:11:32 scorpio postfix/smtpd[1310]: connect from 
  boss.seibercom.net[192.168.0.4]
  Aug  8 10:11:32 scorpio postfix/smtpd[1310]: warning: SASL authentication 
  failure: no user in db
  Aug  8 10:11:32 scorpio postfix/smtpd[1310]: 859B9BD6C: 
  client=boss.seibercom.net[192.168.0.4], sasl_method=LOGIN, [EMAIL PROTECTED]
  
  All of the users are authenticated. Exactly what is it referring to and how 
  do I correct it? The mail does get relayed however, so it is not a fatal 
  warning.
  
  
 Which version of SASL?  v1 or v2?
 
 The following is based on ym experience with v2, and I don't know if it 
 applies to v1 or not.
 
 As far as the message in you log file, it's attempting to authenticate, 
 but it's not connecting to the user database to verify the user.  More 
 than likely it's allowing you to send mail from the local server because 
 you have Postfix configured to allow it to relay mail from localhost, 
 and that this is allowing you to send the email even though 
 authentication is failing.
 
 To determine which authentication methods Postfix will accept, telnet to 
 localhost on port 25 and issue a EHLO:
 
 mail# telnet localhost 25
 Trying ::1...
 Connected to localhost.domain.com.
 Escape character is '^]'.
 220 mail.domain.com ESMTP Postfix
 
 EHLO localhost
 
 250-mail.domain.com
 250-PIPELINING
 250-SIZE 1024
 250-VRFY
 250-ETRN
 250-AUTH NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
 250-AUTH=NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 CRAM-MD5
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250 DSN
 
 In this instance, the AUTH line dictates which authentication mechanisms 
 Postfix will accept.  In this case: NTLM LOGIN PLAIN GSSAPI DIGEST-MD5 
 CRAM-MD5

This is the output of mine:

$ telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 scorpio.seibercom.net ESMTP Postfix (2.4-20060727)
ehlo localhost
250-scorpio.seibercom.net
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

I noticed that the first attempt is refused. Why I wonder.

 
 Check your /usr/local/lib/sasl2/smtpd.conf file and make sure that you 
 have the correct auth mechanism listed.  For plain text login that's 
 verified against your existing users, your smtpd.conf file would read as 
 follows:
 
 pwcheck_method: saslauthd
 
 This will verify against your existing user accounts.  There are other 
 methods, such as pwcheck_method:  sasldb, that will verify against 
 SASL's own password database, which I've never used.
 
 Make sure that you have saslauthd running (which it appears you do).
 
 Issue the following:
 
 # /usr/local/sbin/testsaslauthd -u username -p password
 0: OK Success.
 
 If saslauthd is operating correctly, you'll recieve the OK Success. 
 If not, your problem is with saslauthd.
 
 If your AUTH line does not list the right AUTH mechanism, the problem is 
 with Postfix.  For instance, if you're trying to use SMTP-AUTH from a 
 client on your network, and have pwcheck_method: saslauthd defined in 
 your smtpd.conf file, you have to have PLAIN LOGIN appear in the AUTH 
 line when telnetting.

This is the contents of the smtpd.conf file:

##  Global Values
pwcheck_method: auxprop
auxprop_plugin: sasldb
log_level: 7
mech_list: PLAIN LOGIN


-- 
Gerard Seibert
[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: Booting more than 4 OSes from a hard disk?

2006-08-08 Thread backyard
Windows 2000+ can boot on an extended partition as can
linux, the BSDs, I think OS/2 warp+ can as well. So
you can still only have 4 primary partitions, but you
probably only need one that has a bootloader like GRUB
on it marked active and the OSs installed all on
extended partitions. I've even supprisingly confirmed
if GRUB is installed windows won't install it's own
bootloader. At least with Win2000sp4 this was the case
the one time I tried...

I would use GRUB cause its simple, fits on a floppy
and is easy to install from that booting floppy. It
shouldn't require any special booting options other
then boot from harddrive. 

I would guess BSD doesn't care where it boots from in
terms of sectors on the HD, but making a bootloader do
this is something I wouldn't be able to answer.
Although I know Grub allows you to chainload an
arbritary number of sectors from the bootsector so I
would look into that for exotic boots as you allude
too.

-brian

--- Girish Venkatachalam [EMAIL PROTECTED] wrote:

 Dear all,
 
 I was wondering if the 4 primary parition booting
 limit still exists. Is it possible to have 
 
 Windoze
 Linux
 FreeBSD
 OpenBSD
 NetBSD
 
 on the same box in such a way that we can boot into
 any of them?
 
 I am particularly interested in the x86 arch with
 IDE
 disks. I think this is possible on other archs with
 SCSI.
 
 What boot manager am I supposed to use? Does it
 require setting something on the BIOS? Does FreeBSD
 support booting from a point way off the first
 sector?
 
 Thanks.
 
 regards,
 Girish
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list

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

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


Re: Booting more than 4 OSes from a hard disk?

2006-08-08 Thread Derek Ragona
Master boot records are limited to four which is where the limit comes 
from.  It is theoretically possible to have the MBR point to a new disk 
location where you could have a boot manager that supports unlimited boot 
partitions.  But that requires all the booting is in software and outside 
the BIOS.


A simple solution is to use 2 disks.  Each with four partitions.  The 
FreeBSD bootmanager will offer to boot from disk2.  On disk 2 you can have 
your remaining OS's.


-Derek


At 10:40 AM 8/8/2006, Girish Venkatachalam wrote:

Dear all,

I was wondering if the 4 primary parition booting
limit still exists. Is it possible to have

Windoze
Linux
FreeBSD
OpenBSD
NetBSD

on the same box in such a way that we can boot into
any of them?

I am particularly interested in the x86 arch with IDE
disks. I think this is possible on other archs with
SCSI.

What boot manager am I supposed to use? Does it
require setting something on the BIOS? Does FreeBSD
support booting from a point way off the first sector?

Thanks.

regards,
Girish

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

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


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

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


Re: Cheap terminals for FreeBSD

2006-08-08 Thread Sergio Lenzi
Em Ter, 2006-08-08 às 00:18 +0200, Nagy László Zsolt escreveu:
Hello

Here I have several units running FreeBSD 6.1 with diskless
using a big server and several clients (20-30) thin clients...

it is very fast..  (the openoffice starts in 5 seconds...)...

I recomend:

1) server AMD64 socket 939 with 2Gb of memory, network adapter Gigabit
ethernet.
200Gb hd,  gnome 2.14 or 2.15 installed packages: gnome2,
gnome2-fifht-toe, gnome2-power-tools,
linux-flashplugin7, java jdk1.4, mplayer-plugin, xine.azureus,
openoffice.org-2.0.2

2) thin clients:  any machine with 64Mb of memory 100mbits ethernet,
sound, usb. 
video of 1024x768 16 bits...  

3) switch with a gigabit port  any (planet, encore...)   I do not
see any difference from a 3com...

4) FreeBSD 6.1 on the server with a kernel prepared to boot on PXE.
(see the manual...)

it is cheap (here the server is about 600 dollars for 40 clients -
about 15$ for client...
I bought the peaces and mount it... asus MB... sata
there is no mouse/keyboard/monitor on the server... and is incredible
fast...
the main trick is to index the icons for the gnome-desktop on server
startup... it works
great using epiphany, gimp, evolution, ekiga(runnin on the client...),
gaim, openoffice, azureus...
about 640 packages installed..  the server runs about 1200 tasks, with
idle of 80-90 %.

Now I am considering using thin clients from http://en.xynetsoft.com

for you to have an idea check a desktop screenshot  at:
http://www.k1.com.br/screens/tela1.jpg
this is the result of a screenshot in the thin-client...   The language
used is  portuguese, but you
can have an idea of...

Sergio.

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


Re: Postfix SASL Authentication

2006-08-08 Thread Greg Groth

  This is the contents of the smtpd.conf file:


##  Global Values
pwcheck_method: auxprop
auxprop_plugin: sasldb
log_level: 7
mech_list: PLAIN LOGIN


From postfix.org:
This will use the Cyrus SASL password file (default: /etc/sasldb in 
version 1.5.5, or /etc/sasldb2 in version 2.1.1), which is maintained 
with the saslpasswd or saslpasswd2 command (part of the Cyrus SASL 
software). On some poorly-supported systems the saslpasswd command needs 
to be run multiple times before it stops complaining. The Postfix SMTP 
server needs read access to the sasldb file - you may have to play games 
with group access permissions. With the OTP authentication mechanism, 
the SMTP server also needs WRITE access to /etc/sasldb2 or /etc/sasldb 
(or the back end SQL database, if used). 


Have you set up the SASL password file?  If not, that's why you're 
getting the error.  If you have, what happens when you test saslauthd on 
it's own?


# /usr/local/sbin/testsaslauthd -u username -p password

It should return:

status 0: OK Success.

If you'd rather authenticate against the exisiting system usernames  
passwords, change your smtpd.conf file to the following:


pwcheck_method: saslauthd

and delete the rest.

You might have to restart both services if you update the smtpd.conf file:

# /usr/local/etc/rc.d/saslauthd restart
# postfix reload

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


Re: Booting more than 4 OSes from a hard disk?

2006-08-08 Thread Mark Cullen

Girish Venkatachalam wrote:

Dear all,

I was wondering if the 4 primary parition booting
limit still exists. Is it possible to have 


Windoze
Linux
FreeBSD
OpenBSD
NetBSD

on the same box in such a way that we can boot into
any of them?

I am particularly interested in the x86 arch with IDE
disks. I think this is possible on other archs with
SCSI.

What boot manager am I supposed to use? Does it
require setting something on the BIOS? Does FreeBSD
support booting from a point way off the first sector?

Thanks.

regards,
Girish

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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



I *think* GAG can do this, though I have never actually personally tried 
it. If I ever use a boot loader though, GAG is my first choice. It's 
incredibly simple to install and configure.


http://gag.sourceforge.net/

--
Mark Cullen [EMAIL PROTECTED]
BSc (Hons), Computer Science
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large File System?

2006-08-08 Thread Dan Nelson
In the last episode (Aug 08), Atom Powers said:
 On 8/8/06, Freminlins [EMAIL PROTECTED] wrote:
 On 08/08/06, Atom Powers [EMAIL PROTECTED] wrote:
 
  Thanks. I found my problem. (Sysinstall, aka fdisk, won't do more
  that 1.2TB.) BTW, anybody have any good advice on how to manage a
  large file system?
 ...
 The single most important thing missing for me in FreeBSD is a
 journalling file system as I would use it on every box.
 
 What exactly does a journaling file system give you? As I understand
 it, it doesn't prevent corruption and it doesn't help you fix the
 corruption when it occurs.

Journalling lets you roll back/forward a partially-commited filesystem
change, so a full filesytem check isn't required to mark it clean after
an unintended system reset.

-- 
Dan Nelson
[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: Postfix SASL Authentication

2006-08-08 Thread Paul Schmehl

Gerard Seibert wrote:

Paul Schmehl wrote:

Sasl is attempting to use sasldb2 *before* it uses /etc/passwd (or pam, 
as the case may be.)  It's harmless in any case.  What do you have in 
the smtpd.conf file?  (/usr/local/lib/sasl2/smtpd.conf)


This is the contents:

##  Global Values
pwcheck_method: auxprop
auxprop_plugin: sasldb
log_level: 7
mech_list: PLAIN LOGIN


Apparently you're using the sasldb2 database for logins?  If so, the 
sasldb2 database needs to be readable by postfix, and it has to be 
populated with the [EMAIL PROTECTED] that you need.  Have you populated 
the db?


You would probably be better off using saslauthd as your pwcheck_method. 
 Then start saslauthd with the -a sasldb flag.  (See man 8 saslauthd.) 
 Auxprop is an older method that wasn't very dependable.


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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Matthew Seaman
Marc G. Fournier wrote:
 On Tue, 8 Aug 2006, Matthew Seaman wrote:
 
 Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Matthew Seaman wrote:

 I think it would help uptake if when the bsdstats job is first run, it
 issues you with a 'registered system number' -- then all of the folks
 with low numbered systems get bragging rights...

 Actually, there is no registered system number, as there is no
 registration process ... that was the key requirement for doing this,
 was that it was as hands off as possible, and having to go to a web
 site to register each and every host was just too onerous of a task ...

 Yeah.  You've leapt on the word 'register' there, and not addressed the
 salient point.  'Register' as in 'become cognisant of', and distinguished
 from 'signed up to.'  Even though the process is simplified and
 automatic,
 you're still registering systems.

 Having some sort of return from the central stats machine when the
 periodic
 script runs, (rather than nothing at all, as at the moment) would be a
 good
 idea.  Giving each system an index number shouldn't cost too much.
 
 But, there is no such ting as an 'index number' ... when everyone
 reports in next month, for instance, there is no 'number' that will be
 re-used for them that matches something used this month ...

You use the hostname as the identifying key for the data that's sent to you.
Presumably you've got to add that hostname to a table somewhere, so that
re-running the 300.statistics script doesn't spam the database with multiples
of the same set of data.  i.e. it's the key to a unique index.  Suggests that
row number in that table of host names is your unique index number...

Anyhow, how about the following little enhancement.  This lists the CPUs on the
system pretending they are CPU0, CPU1, ... devices.  The URI escape stuff should
be automatically decoded by PHP without any extra coding required.

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
--- /usr/ports/sysutils/bsdstats/files/300.statistics   Tue Aug  8 09:21:34 2006
+++ 300.statistics  Tue Aug  8 19:30:08 2006
@@ -14,25 +14,57 @@
 oldmask=$(umask)
 umask 066
 
+# RFC 2396
+uri_escape () {
+echo [EMAIL PROTECTED] | sed -e '
+s/%/%25/g
+s/;/%3b/g
+s,/,%2f,g
+s/?/%3f/g
+s/:/%3a/g
+s/@/%40/g
+s//%26/g
+s/=/%3d/g
+s/+/%2b/g
+s/\$/%24/g
+s/,/%2c/g
+s/ /%20/g
+'
+}
+
+do_fetch () {
+/usr/bin/fetch -qo /dev/null http://bsdstats.hub.org/scripts/$1;
+}
+
 case $monthly_statistics_enable in
 [Yy][Ee][Ss])
   HN=`/bin/hostname`
   SYS=`/usr/bin/uname -r`
   ARCH=`/usr/bin/uname -m`
   OS=`/usr/bin/uname -s`
-  /usr/bin/fetch -qo /dev/null 
http://bsdstats.hub.org/scripts/getid.php?hn=$HN\sys=$SYS\arch=$ARCH\opsys=$OS
+  do_fetch getid.php?hn=$HN\sys=$SYS\arch=$ARCH\opsys=$OS
   case $monthly_statistics_report_devices in
  [Yy][Ee][Ss])
 IFS=
 

-/usr/bin/fetch -qo /dev/null 
http://bsdstats.hub.org/scripts/clear_devices.php?hn=$HN
+do_fetch clear_devices.php?hn=$HN
 for line in `/usr/sbin/pciconf -l | /usr/bin/grep -v none`
 do
 DRIVER=`echo $line | awk -F\@ '{print $1}'`
 VEN=`echo $line | awk '{print $4}' | cut -c12-15`
 DEV=`echo $line | awk '{print $4}' | cut -c8-11`
-/usr/bin/fetch -qo /dev/null 
http://bsdstats.hub.org/scripts/report_device.php?driver=$DRIVER\vendor=$VEN\device=$DEV\hn=$HN
+do_fetch 
report_device.php?driver=$DRIVER\vendor=$VEN\device=$DEV\hn=$HN
+done
+line=$( sysctl -n hw.model )
+VEN=$( echo $line | cut -d ' ' -f 1 )
+DEV=$( uri_escape $( echo $line | cut -d ' ' -f 2- ) )
+n=0
+count=$( sysctl -n hw.ncpu )
+while [ $n -lt $count ]
+do
+do_fetch 
report_device.php?driver=CPU$n\vendor=$VEN\device=$DEV\hn=$HN
+n=$(( $n + 1 ))
 done
  ;;
  esac


signature.asc
Description: OpenPGP digital signature


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Karol Kwiatkowski wrote:


On 07/08/2006 05:42, Marc G. Fournier wrote:


I've now committed v2.0 of the 300.statistics periodic script ... this
one adds the device reporting that we'd talked about previously, and the
summary reports now reflect the driver(s) in use for those deciding to
report ...

This Phase of the script is optional, and not enabled by default ... I
can't think of any reason why you wouldn't want to report it, but just
in case someone feels it poses a problem, its an opt-in report ...

pkg-message updated to reflect the extra line you need to add to
/etc/periodic.conf:

monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf -l,
since even pciconf -lv doesn't seem to use card= ... the summary report
will be extended next to show both vendor and chip statistics ...

Let me know of any problems ...



Hi Marc,

thank you for your work!

Is it considered 'stable' or still in development/testing? Should we
go and tell others or is it too early yet?


Its was considered stable as soon as the uname output was sent out :)  Any 
additions done are done in such a way that it shouldn't break the previous 
ones, and are add-ons, not core ... so even someone still running an *old* 
(now!) v1.0 script won't have any problems, it just means devices reports 
are sent out for them yet until they upgrade to v2.0 ...


So, yes, defintely ... tell anyone and everyone that is running a *BSD 
system ... I'm having talks with Matt @ DragonflyBSD for one addition he'd 
like to see added to make sure that the script checks for network 
connectivity before trying to send its reports, after which he's planning 
on adding it to Dragonfly's base system install ... but, again, that won't 
affect older versions ...



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Gerhard Schmidt wrote:


On Mon, Aug 07, 2006 at 12:42:27AM -0300, Marc G. Fournier wrote:


I've now committed v2.0 of the 300.statistics periodic script ... this one
adds the device reporting that we'd talked about previously, and the
summary reports now reflect the driver(s) in use for those deciding to
report ...

This Phase of the script is optional, and not enabled by default ... I
can't think of any reason why you wouldn't want to report it, but just in
case someone feels it poses a problem, its an opt-in report ...

pkg-message updated to reflect the extra line you need to add to
/etc/periodic.conf:

monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf -l,
since even pciconf -lv doesn't seem to use card= ... the summary report
will be extended next to show both vendor and chip statistics ...


Only out of curiosity. What kind of webserver have you. If only a part 
of the FreeBSD Users install your script and it got executed at the same 
time, this will get an awfull lot of load for your server.


I'm running Apache 2 + PHP 5.x ... with a PostgreSQL 8.1.4 database 
backedn to it ... I have a new Dual-CPU HP Proliant server on its way, 
upon which I'll put a second Apache 2 server and setup RR DNS so that 
both servers will answer and accept reports ...


I've got 8 servers in place if things can't keep up, and more being added 
... I'm not too worried about either server(s) or bandwidth ... and even 
less worried seeing that ppl have actually responded well to the whole 
thing ...



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


Re: Large File System?

2006-08-08 Thread Martin Hepworth

On 8/8/06, Freminlins [EMAIL PROTECTED] wrote:


snip
The single most important thing missing for me in FreeBSD is a journalling
file system as I would use it on every box.

snip




Softupdates are the FreeBSD equivalent. From my point of view they perform
better than a traditional journaling FS (do a google search for the original
usenix papers on these).

I also find they speed up I/O quite alot, esp for fast changing filesystems
like mail spools.


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


Port Not Available

2006-08-08 Thread Gerard Seibert
I have not been able to get printing working on this PC. By accident. I 
noticed that the ::1 port does not seem to be available. I tried this 
command:


~ $ telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 scorpio.seibercom.net ESMTP Postfix (2.4-20060727)
quit
221 2.0.0 Bye
Connection closed by foreign host.

As you can see, it says that the connection was refused. Is this normal? I 
thought that ::1 and localhost were always available.


--
Gerard Seibert
[EMAIL PROTECTED]

I think the world is run by C students.

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


Re: Large File System?

2006-08-08 Thread Freminlins

On 08/08/06, Atom Powers [EMAIL PROTECTED] wrote:


What exactly does a journaling file system give you? As I understand
it, it doesn't prevent corruption and it doesn't help you fix the
corruption when it occurs.



As answered by Dan Nelson. It saves time (sometimes a lot) in the event of
an unclean shutdown/

File server. It's a Promise VTrak M300p, SCSI attached storage.

Frankly I'm more worried about the system crashing than the storage
device ( UPS, battery pack for the RAID controller, redundant power
supplies ).



Yes, I had all that. It is of absolutely no use in the event of an unclean
shutdown (on FreeBSD). If the file system itself is dirty, it will need to
fsckd. The bigger the file system, the longer it takes (generall). That is
what journalling saves you.

To give you some indication of what this means in real life, I'll refer
(again, sorry) to a power outage we suffered in our colo. This is FreeBSD on
modern hardware:

Jul 23 17:52:05 weeble kernel: WARNING: /var was not properly dismounted
Jul 23 17:55:52 weeble fsck: /dev/aacd0s1f: 1352 files, 956469 used,
13988364 free (1484 frags, 1748360
blocks, 0.0% fragmentation)

I've snipped out the logs in between. But that's nearly 4 minutes to get
itself sorted out. That file system has only 1.9GB of data. Our Solaris
boxes came up straight away.


2.5TB file system, used mostly for archival storage. Of the initial

2.0TB of data, I expect only about 2-3% to change on a weekly basis.

I have another 1.5TB Fiber Channel cabinet that I plan on using to
store roaming profiles ( for MS Win uers) and home drives (for *nix
users).



Depending on the size of the files, you may wish to use a different block
size.  Also I've found that on large file systems you may wish to change is
the minfree setting. You can do this either when running newfs, or tunefs.
The default setting is 8%. On 2.5TB file systems that's a lot. If you don't
know what this means check out the man pages.

That is about the only management you will need to do.

Perfection is just a word I use occasionally with mustard.

--Atom Powers--




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


Re: Large File System?

2006-08-08 Thread Chad Leigh -- Shire.Net LLC


On Aug 8, 2006, at 1:01 PM, Freminlins wrote:

Yes, I had all that. It is of absolutely no use in the event of an  
unclean
shutdown (on FreeBSD). If the file system itself is dirty, it will  
need to
fsckd. The bigger the file system, the longer it takes (generall).  
That is

what journalling saves you.

To give you some indication of what this means in real life, I'll  
refer
(again, sorry) to a power outage we suffered in our colo. This is  
FreeBSD on

modern hardware:

Jul 23 17:52:05 weeble kernel: WARNING: /var was not properly  
dismounted

Jul 23 17:55:52 weeble fsck: /dev/aacd0s1f: 1352 files, 956469 used,
13988364 free (1484 frags, 1748360
blocks, 0.0% fragmentation)

I've snipped out the logs in between. But that's nearly 4 minutes  
to get
itself sorted out. That file system has only 1.9GB of data. Our  
Solaris

boxes came up straight away.


Right now, if no fsck is really really important to you for your data  
store, then get an OpenSolaris system and put ZFS on it.  Never fsck  
again as it is ALWAYS (they claim) in a coherent state.  Or wait for  
ZFS to show up on FreeBSD


Not just for the above reasons, I am implementing a Solaris server  
with 1.7TB on ZFS and sharing it to a bunch of FreeBSD machines over  
nfs on dedicated gigabit with jumbo frames on separate interfaces  
from the standard default interface.  (My main reason was to not have  
storage tied to an individual worker server)


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: Cheap terminals for FreeBSD

2006-08-08 Thread Nagy László Zsolt


 Hello Sergio,

You are the guy that I was waiting for. :-) Now I know for sure that it 
will work.
I only have one question. How do you setup the sound card? The programs 
are running on the server, right? Then how can use use the sound card?
Is it that 'noisy' programs are running from the diskless machines? Or 
do you use TCP/IP based sound servers?

Thanks,

  Laszlo

Em Ter, 2006-08-08 às 00:18 +0200, Nagy László Zsolt escreveu:
Hello

Here I have several units running FreeBSD 6.1 with diskless
using a big server and several clients (20-30) thin clients...

it is very fast..  (the openoffice starts in 5 seconds...)...

I recomend:

1) server AMD64 socket 939 with 2Gb of memory, network adapter Gigabit 
ethernet.
200Gb hd,  gnome 2.14 or 2.15 installed packages: gnome2, 
gnome2-fifht-toe, gnome2-power-tools,
linux-flashplugin7, java jdk1.4, mplayer-plugin, xine.azureus, 
openoffice.org-2.0.2


2) thin clients:  any machine with 64Mb of memory 100mbits ethernet, 
sound, usb.
video of 1024x768 16 bits... 

3) switch with a gigabit port  any (planet, encore...)   I do not 
see any difference from a 3com...


4) FreeBSD 6.1 on the server with a kernel prepared to boot on PXE.  
(see the manual...)


it is cheap (here the server is about 600 dollars for 40 clients - 
about 15$ for client...

I bought the peaces and mount it... asus MB... sata
there is no mouse/keyboard/monitor on the server... and is incredible 
fast...
the main trick is to index the icons for the gnome-desktop on server 
startup... it works
great using epiphany, gimp, evolution, ekiga(runnin on the client...), 
gaim, openoffice, azureus...
about 640 packages installed..  the server runs about 1200 tasks, with 
idle of 80-90 %.


Now I am considering using thin clients from http://en.xynetsoft.com

for you to have an idea check a desktop screenshot  at: 
http://www.k1.com.br/screens/tela1.jpg
this is the result of a screenshot in the thin-client...   The 
language used is  portuguese, but you

can have an idea of...

Sergio.



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


Re: Port Not Available

2006-08-08 Thread Giorgos Keramidas
On 2006-08-08 14:59, Gerard Seibert [EMAIL PROTECTED] wrote:
 I have not been able to get printing working on this PC. By accident. I 
 noticed that the ::1 port does not seem to be available. I tried this 
 command:

 ~ $ telnet localhost 25
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 scorpio.seibercom.net ESMTP Postfix (2.4-20060727)
 quit
 221 2.0.0 Bye
 Connection closed by foreign host.

 As you can see, it says that the connection was refused. Is this
 normal? I thought that ::1 and localhost were always available.

Ehm, that's not a port number, but an IPv6 address of `localhost':

$ grep ::1 /usr/src/etc/hosts
::1 localhost localhost.my.domain
$


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


Re: Port Not Available

2006-08-08 Thread Matthew Seaman
Gerard Seibert wrote:
 I have not been able to get printing working on this PC. By accident. I
 noticed that the ::1 port does not seem to be available. I tried this
 command:
 
 ~ $ telnet localhost 25
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 scorpio.seibercom.net ESMTP Postfix (2.4-20060727)
 quit
 221 2.0.0 Bye
 Connection closed by foreign host.
 
 As you can see, it says that the connection was refused. Is this normal?
 I thought that ::1 and localhost were always available.
 

Only if you enable IPv6.  ie. you put:

ipv6_enable=YES

into /etc/rc.conf.  That will cause each of your interfaces to have at least
a link-local IPv6 address configured, and lo0 will get the ::1 address applied
to it.  See /etc/rc.d/ip6addrctl /etc/rc.d/network_ipv6 for the gory details.

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: Port Not Available

2006-08-08 Thread Gerard Seibert
Matthew Seaman wrote:

 Only if you enable IPv6.  ie. you put:
 
 ipv6_enable=YES
 
 into /etc/rc.conf.  That will cause each of your interfaces to have at least
 a link-local IPv6 address configured, and lo0 will get the ::1 address applied
 to it.  See /etc/rc.d/ip6addrctl /etc/rc.d/network_ipv6 for the gory details.
 
   Cheers,
 
   Matthew

That notation is in my rc.conf file. It was put there by sysinstall when
I first installed the system.

So, shouldn't it resolve to something or is it working the way it is
designed too?


-- 
Gerard Seibert
[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: BSDstats Project v2.0 ...

2006-08-08 Thread Paul Schmehl

Marc, I have a couple of questions.

You use hostname and IP as a unique identifier for each host.  For that 
reason, I have not submitted any of our systems.  We use FreeBSD for 
sensitive security-related tasks, and we're loath to reveal that 
information.  (When I submit or update ports, I always alter the uname 
information to hostname.utdallas.edu for that reason.)


Can you tell me exactly what you do with those two pieces of data?  Is 
there any way that information would be accessible from the internet?


Finally, it looks like your number one problem is going to be 
maintainence.  Right now you're showing a .x and a F.x release.  Not 
sure if that's tampering or what, but it's obviously not legit.  You 
also have a sudden influx of hosts from Armenia.  Again, don't know if 
they're legit or not, but keeping up with that stuff is going to require 
eyes-on type manual labor.  I hope you've planned for that.


Pending your (statisfactory) answer to the hostname-IP questions above, 
I'll submit our stuff.


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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Port Not Available

2006-08-08 Thread Matthew Seaman
Gerard Seibert wrote:
 Matthew Seaman wrote:
 
 Only if you enable IPv6.  ie. you put:

 ipv6_enable=YES

 into /etc/rc.conf.  That will cause each of your interfaces to have at least
 a link-local IPv6 address configured, and lo0 will get the ::1 address 
 applied
 to it.  See /etc/rc.d/ip6addrctl /etc/rc.d/network_ipv6 for the gory details.

 That notation is in my rc.conf file. It was put there by sysinstall when
 I first installed the system.
 
 So, shouldn't it resolve to something or is it working the way it is
 designed too?

Hmmm... what does:

ifconfig lo0

return? You should actually see two IPv6 addresses configured, like so:

happy-idiot-talk:~:% ifconfig lo0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
inet 127.0.0.1 netmask 0xff00 

Also your original test was connecting to a SMTP server on the
loopback.  What does:

sockstat | grep :25

return?  Seeing ::1:25 in the output would be good.  However, it is
entirely possible that your MTA isn't binding to IPv6 addresses.

If you're trying to make lpd(8) work, you should be looking for stuff
listening on port 515.

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


Changing root's shell

2006-08-08 Thread ross
so it seems changed root login's shell to /usr/bin/bash which doesn't  
exist. now I can't login to root at all. Oh yes, sudo isn't installed. How  
would you grand masters of FreeBSD fix my embarrasing mistake.


Thanks!

--
What time is it?

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


Re: Changing root's shell

2006-08-08 Thread Philip Hallstrom
so it seems changed root login's shell to /usr/bin/bash which doesn't exist. 
now I can't login to root at all. Oh yes, sudo isn't installed. How would you 
grand masters of FreeBSD fix my embarrasing mistake.


Boot into single user mode, then vipw the password file and change it 
back.

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


Re: Changing root's shell

2006-08-08 Thread albi
On Tue, 08 Aug 2006 13:01:28 -0700
ross [EMAIL PROTECTED] wrote:

 so it seems changed root login's shell to /usr/bin/bash which
 doesn't exist. now I can't login to root at all. Oh yes, sudo isn't
 installed. How would you grand masters of FreeBSD fix my embarrasing
 mistake.

i'd boot from a live-cd e.g. LiveBSD and then use the commands chroot
and chsh

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


Re: Port Not Available

2006-08-08 Thread Eric Schuele

On 08/08/06 14:46, Gerard Seibert wrote:

Matthew Seaman wrote:


Only if you enable IPv6.  ie. you put:

ipv6_enable=YES

into /etc/rc.conf.  That will cause each of your interfaces to have at least
a link-local IPv6 address configured, and lo0 will get the ::1 address applied
to it.  See /etc/rc.d/ip6addrctl /etc/rc.d/network_ipv6 for the gory details.

Cheers,

Matthew


That notation is in my rc.conf file. It was put there by sysinstall when
I first installed the system.

So, shouldn't it resolve to something or is it working the way it is
designed too?




Might you have removed IPv6 from your kernel config file?

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Vahan Yerkanian

Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be 
maintainence.  Right now you're showing a .x and a F.x release.  Not 
sure if that's tampering or what, but it's obviously not legit.  You 
also have a sudden influx of hosts from Armenia.  Again, don't know if 
they're legit or not, but keeping up with that stuff is going to require 
eyes-on type manual labor.  I hope you've planned for that.


sudden influx of hosts from Armenia - I installed BSDstats on my FreeBSD 
6.1 servers :) Any problem with that?


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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Vahan Yerkanian

Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be 
maintainence.  Right now you're showing a .x and a F.x release.  Not 
sure if that's tampering or what, but it's obviously not legit.  You 
also have a sudden influx of hosts from Armenia.  Again, don't know if 
they're legit or not, but keeping up with that stuff is going to require 
eyes-on type manual labor.  I hope you've planned for that.


Ehm, actually something's really wrong :)

Armenia 331 28.24%

shouldn't be that much, I think I installed it on 4 servers :)

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Paul Schmehl

Vahan Yerkanian wrote:

Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be 
maintainence.  Right now you're showing a .x and a F.x release.  
Not sure if that's tampering or what, but it's obviously not legit.  
You also have a sudden influx of hosts from Armenia.  Again, don't 
know if they're legit or not, but keeping up with that stuff is going 
to require eyes-on type manual labor.  I hope you've planned for that.


sudden influx of hosts from Armenia - I installed BSDstats on my FreeBSD 
6.1 servers :) Any problem with that?



Not from where I sit.  :-)

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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Paul Schmehl

Vahan Yerkanian wrote:

Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be 
maintainence.  Right now you're showing a .x and a F.x release.  
Not sure if that's tampering or what, but it's obviously not legit.  
You also have a sudden influx of hosts from Armenia.  Again, don't 
know if they're legit or not, but keeping up with that stuff is going 
to require eyes-on type manual labor.  I hope you've planned for that.


Ehm, actually something's really wrong :)

Armenia  331  28.24%

shouldn't be that much, I think I installed it on 4 servers :)


Watch for the sequel of Servers Gone Wild. ;-)

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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Changing root's shell

2006-08-08 Thread Garrett Cooper

Philip Hallstrom wrote:
so it seems changed root login's shell to /usr/bin/bash which doesn't 
exist. now I can't login to root at all. Oh yes, sudo isn't 
installed. How would you grand masters of FreeBSD fix my embarrasing 
mistake.


Boot into single user mode, then vipw the password file and change it 
back.
Just as a note of warning, if you have any issues with your ports or 
libraries, you have a high probability of having issues with bash in the 
future as a shell.
For example, I used to set my root shell to bash, before I had an issue 
with some missing libraries after an upgrade--which caused a great deal 
of grief, in particular when I went into safe mode as it couldn't load 
the shell properly. From then on I have used csh as the default shell, 
and then switch to bash when needed.

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


Re: default boot option in dual-boot mode

2006-08-08 Thread Daniel Bye
On Tuesday 08 August 2006 13:04, Daniel Bye wrote:
 On Mon, Aug 07, 2006 at 05:48:26PM -0700, gahn wrote:
  hi:
 
  how could i fix the default boot option in dual-boot
  mode?
 
  i have a machine with both windows xp and freebsd 6.1.
  it works fine with freebsd boot manager (wiht optios
  of f1 for xp and f2 for freebsd when it starts). but i
  would like to fix the default mode for freebsd; ie, if
  i don't make a choice on either f1 or f2 keys, then
  system automatically boots up as freebsd machine.

 AFAIK, the FreeBSD loader sets the boot flag on the selected partition,
 so that becomes the default at next boot.  I don't think it can do what
 you want.  However, you might try grub or any of the other boot managers
 in the ports, or simply use the WinXP loader.  It's easy enough to set
 up.

 If both WinXP and FreeBSD are installed on the same disk, copy
 /boot/boot1 to, say, C:\BOOTSECT.BSD.  If they're on different devices,
 then you'll need to copy /boot/boot0 instead, BUT DON'T GET THIS WRONG!
 Then change the default line to read

 default=C:\BOOTSECT.BSD

 and add this to the [operating systems] section:

 C:\BOOTSECT.BSD=FreeBSD

 And you're set.

Gibbering nit alert! You're not set at all...

Sorry - you need to make those two changes in the C:\BOOT.INI file.  And you 
will also need to restore your MBR.  The state I'm in, I won't offer any 
advice on doing that - I'm sure to guide you wrong!

Dan, just waking up...

-- 
Daniel Bye
Local Host Services
http://localhostservices.co.uk


pgpPiGzHAokr1.pgp
Description: PGP signature


Make error in /usr/etc while make distribution

2006-08-08 Thread Nagy László

I was following the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html

I got this:

messias# pwd
/usr/src/etc
messias# make distribution DESTDIR=/usr/local/diskless
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf 
auth.conf  crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf  
dhclient.conf disktab fbtab ftpusers gettytab group  hosts hosts.allow 
hosts.equiv hosts.lpd  inetd.conf login.access login.conf  mac.conf motd 
netconfig network.subr networks newsyslog.conf  portsnap.conf pf.conf 
pf.os phones profile protocols  rc rc.bsdextended rc.firewall 
rc.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  rc.subr remote 
rpc services shells  snmpd.config sysctl.conf syslog.conf usbd.conf  
etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc printcap 
/usr/local/diskless/etc;  cap_mkdb -l 
/usr/local/diskless/etc/login.conf;  install -o root -g wheel -m 755  
netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc;  
install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess 
/usr/local/diskless/etc;  pwd_mkdb -L -i -p -d /usr/local/diskless/etc  
/usr/local/diskless/etc/master.passwd

install: wrong number or types of arguments
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
  [-o owner] file1 file2
  install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
  [-o owner] file1 ... fileN directory
  install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /usr/src/etc.
messias#


What am I doing wrong here?

Thanks,

  Laszlo

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


make distribution fails

2006-08-08 Thread Nagy László Zsolt

I was following the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html 



I got this:

messias# pwd
/usr/src/etc
messias# make distribution DESTDIR=/usr/local/diskless
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf 
auth.conf  crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf  
dhclient.conf disktab fbtab ftpusers gettytab group  hosts hosts.allow 
hosts.equiv hosts.lpd  inetd.conf login.access login.conf  mac.conf motd 
netconfig network.subr networks newsyslog.conf  portsnap.conf pf.conf 
pf.os phones profile protocols  rc rc.bsdextended rc.firewall 
rc.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  rc.subr remote 
rpc services shells  snmpd.config sysctl.conf syslog.conf usbd.conf  
etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc printcap 
/usr/local/diskless/etc;  cap_mkdb -l 
/usr/local/diskless/etc/login.conf;  install -o root -g wheel -m 755  
netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc;  
install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess 
/usr/local/diskless/etc;  pwd_mkdb -L -i -p -d /usr/local/diskless/etc  
/usr/local/diskless/etc/master.passwd

install: wrong number or types of arguments
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 [-o owner] file1 file2
 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 [-o owner] file1 ... fileN directory
 install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

Stop in /usr/src/etc.
messias#

I found the same problem here:

http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018001.html

but the PR database is busy, I cannot read the details.

What am I doing wrong?

Thanks,

 Laszlo

 
___

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


Re: make distribution fails

2006-08-08 Thread Erik Nørgaard
Nagy László Zsolt wrote:
 I got this:
 
 messias# pwd
 /usr/src/etc
 messias# make distribution DESTDIR=/usr/local/diskless
 cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf
 auth.conf  crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf 
 dhclient.conf disktab fbtab ftpusers gettytab group  hosts hosts.allow
 hosts.equiv hosts.lpd  inetd.conf login.access login.conf  mac.conf motd
 netconfig network.subr networks newsyslog.conf  portsnap.conf pf.conf
 pf.os phones profile protocols  rc rc.bsdextended rc.firewall
 rc.firewall6 rc.initdiskless  rc.sendmail rc.shutdown  rc.subr remote
 rpc services shells  snmpd.config sysctl.conf syslog.conf usbd.conf 
 etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config 
 /usr/src/etc/../usr.bin/mail/misc/mail.rc 
 /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap
 /usr/local/diskless/etc;  cap_mkdb -l
 /usr/local/diskless/etc/login.conf;  install -o root -g wheel -m 755 
 netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc; 
 install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess
 /usr/local/diskless/etc;  pwd_mkdb -L -i -p -d /usr/local/diskless/etc 
 /usr/local/diskless/etc/master.passwd
 install: wrong number or types of arguments
 usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
  [-o owner] file1 file2
  install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
  [-o owner] file1 ... fileN directory
  install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 *** Error code 64
 
 Stop in /usr/src/etc.
 messias#
 
 I found the same problem here:
 
 http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018001.html
 
 but the PR database is busy, I cannot read the details.
 
 What am I doing wrong?

What version are you trying to install? On 5.X you gotta be in
/usr/src/etc, but on 6.X this changed to /usr/src.

Cheers, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Mount Point permissions

2006-08-08 Thread Stefan Bethke

Am 07.08.2006 um 23:55 schrieb Bob Richards:


The permissions on mount-point /home/bob/floppy are 770 with bob:bob

After the mount operation I see:

ls -al floppy
drwxr-xr-x 3 root wheel 512 Aug 7 11:22 .

And of course, bob can only read, but not write.


The root directory of the filesystem mounted determines the ownership  
and access rights on it.  By default, newfs will assign is to root  
and set the rights to 0755.  You'll need to chown the directory to  
the desired user.



Stefan

--
Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346 0140


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


3ware 9550SX RAID Card Problems w/ FreeBSD 5.5

2006-08-08 Thread Ramsey Tantawi

Hi,

I have a Dell Poweredge 1800, and was previously using FreeBSD 5.4
booted from a LSI MegaRAID SATA card.  Things worked fine.  However,
this machine is going into production as a email server, so I
purchased a 3ware 9550SX-4LP card to use instead of the LSI.

I installed the 3ware card and configured it w/ the BIOS utility:
default options, with 2 x 250GB drives set up in a RAID 1, with one
hot spare. Then came to install FreeBSD 5.5 on it.  The install CD saw
the drive fine, and I set up partitions and such, but when it came
time to write settings and perform the installation, I got a Error:
Cannot write to disk da0, and install failed.

The 3ware page says that for 5.4 and 6.0 a kernel module must be
loaded separately (or the kernel recompiled), but as 5.5 includes the
updated twa driver I didn't think this was necessary.

Any thoughts would be much appreciated!

Thanks,

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


Re: default boot option in dual-boot mode

2006-08-08 Thread Stefan Bethke


Am 08.08.2006 um 02:48 schrieb gahn:


hi:

how could i fix the default boot option in dual-boot
mode?

i have a machine with both windows xp and freebsd 6.1.
it works fine with freebsd boot manager (wiht optios
of f1 for xp and f2 for freebsd when it starts). but i
would like to fix the default mode for freebsd; ie, if
i don't make a choice on either f1 or f2 keys, then
system automatically boots up as freebsd machine.


boot0 will boot into the same OS as the last time automatically, so  
you don't need to do anything to boot into FreeBSD, if you had booted  
into FreeBSD the last time.


If you want to *always* boot into FreeBSD, irrespective of the choice  
you made the last time, you can use the boot0cfg(8) utility to stop  
boot0 from remembering the last choice and stick to the stored  
default. Untested:


# boot0cfg -o noupdate -s2


Stefan

--
Stefan Bethke [EMAIL PROTECTED]   Fon +49 170 346 0140


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


Re: Re: /etc/fstab error and I can't start the system normally

2006-08-08 Thread micman
  On  Aug  7,  2006,  at  1:26  PM,  micman  wrote:

  Hello.

  PROBLEM
  I  tried  and  configured  FreeBSD  6.1  for  many  days  and  I  mounted  
 my
  FAT  extended  partition  to  exchange  my  files  between  Windows  and  my 

  new  Operating  System.  That  was  OK.  After  I  tried  to  mount
  automatically  at  boot  this  partition  and  I  make  an  error
  (grammatical  error):  I  wrote  “acd0s5”  instead  of  “ad0s5”  in  /etc/  
  fstab.
  Now,  when  I  start  the  system,  I  receive  this  message  at  the  end  
 of
  the  boot  process:
  Can't  open  (No  such  file  or  directory)
  /dev/acd0s5:  UNEXPECTED  INCONSISTENCY;  RUN  fsck_msdosfs  MANUALLY.
  THE  FOLLOWING  FILE  SYSTEM  HAD  AN  UNEXPECTED  INCONSISTENCY:
  msdosfs:  /dev/acd0s5  (/mnt/win)
  Automatic  file  system  check  failed;  help!
  Aug  7  20:08:07  int:  /bin/sh  on  /etc/rc  terminated  abnormally,  going 

  to  single  user  mode
  Enter  full  pathname  of  shell  or  RETURN  for  /bin/sh:

  QUESTIONS
  Can  I  rewrite  the  file  /etc/fstab  in  text  mode?
  If  it's  possible,  how  can  I  do  this?

  I  tried  fsck_manually  and  also  to  boot  by  option  '6'  (Escape  to  
   
  loader)  but  I  was  not  able  to  resolve  the  problem.
  If  someone  can  help  me,  thank  you.
__
  get into a console maybe by booting single user.
  remote root as read/write you may or may not have to
  remount root as write but...

  mount -u /
  ee /etc/fstab

  fix the error hit [esc] cc [esc] a and you should be
  good to go. 

  hope that helps

  -brian

I have tried. Result:

can't exec mount -u / for single user: No such file or directory
and
ee: not found

About ee in the FreeBSD command reference I have tried this:
This is a simpler alternative to 'vi' and is installed as part of the FreeBSD 
base system. However it may not always be available (there
is /rescue/vi for emergencies when /usr is not mounted, but no emergency 'ee').

I have tried 'vi': not found

But in my /rescue 'vi' is listed and I have this message:
no terminal database found
__

  You  can  go  to  single  user  mode  (4)  from  the  boot  menu  and  then  
 mount  -  
  o  rw  /  .  Then  you  can  edit  /etc/fstab.

  Pramod  Venugopal

I have tried. Result:

can't exec mount -o rw / for single user: No such file or directory
___

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

Re: 3ware 9550SX RAID Card Problems w/ FreeBSD 5.5

2006-08-08 Thread Ramsey Tantawi

Figured it out:  I stupidly neglected to name the array in the 3ware
BIOS config, which is apparantly what caused the failure.  I rebuilt
the array and everything works great now.  Sorry to waste anyone's
time.

Ramsey


On 8/8/06, Ramsey Tantawi [EMAIL PROTECTED] wrote:

Hi,

I have a Dell Poweredge 1800, and was previously using FreeBSD 5.4
booted from a LSI MegaRAID SATA card.  Things worked fine.  However,
this machine is going into production as a email server, so I
purchased a 3ware 9550SX-4LP card to use instead of the LSI.

I installed the 3ware card and configured it w/ the BIOS utility:
default options, with 2 x 250GB drives set up in a RAID 1, with one
hot spare. Then came to install FreeBSD 5.5 on it.  The install CD saw
the drive fine, and I set up partitions and such, but when it came
time to write settings and perform the installation, I got a Error:
Cannot write to disk da0, and install failed.

The 3ware page says that for 5.4 and 6.0 a kernel module must be
loaded separately (or the kernel recompiled), but as 5.5 includes the
updated twa driver I didn't think this was necessary.

Any thoughts would be much appreciated!

Thanks,

Ramsey


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


Re: Port Not Available

2006-08-08 Thread Gerard Seibert
Matthew Seaman wrote:

 Hmmm... what does:
 
 ifconfig lo0
 
 return? You should actually see two IPv6 addresses configured, like so:
 
 happy-idiot-talk:~:% ifconfig lo0
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 ::1 prefixlen 128 
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
 inet 127.0.0.1 netmask 0xff00 
 
 Also your original test was connecting to a SMTP server on the
 loopback.  What does:
 
 sockstat | grep :25
 
 return?  Seeing ::1:25 in the output would be good.  However, it is
 entirely possible that your MTA isn't binding to IPv6 addresses.
 
 If you're trying to make lpd(8) work, you should be looking for stuff
 listening on port 515.
 
   Cheers,
 
   Matthew

OK, the ifconfig lo0 looks like this:

~ $ ifconfig lo0
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

The sockstat | grep :25

~ $ sockstat | grep :25

root master 681   11 tcp4   *:25  *:*
root ntpd   519   6  udp6   fe80:1::250:baff:fe43:3a7f:123*:*

And finally: sockstat | grep :515

~ $ sockstat | grep :515

daemon   lpd915   6  tcp4   *:515 *:*

Finally, this is a quick list of what happens when I issue 'lpr'
commands. You will notice that there is a slight difference in the error
message displayed, but the result is the same. I can, however, print a
test page using apsfilter. I am at my wits end to figure out what is
happening. If I had any hair left, I would be pulling it out by now.

~ $ lpc status all
 Printer   Printing Spooling Jobs  Server Subserver Redirect Status/(Deb
ug)
[EMAIL PROTECTED]  enabled  enabled0nonenone
~ $
~ $ lpr -Pscorpio /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom.net /etc/printcap
lpr: Connection refused
~ $
~ $ lpr  /etc/printcap
lpr: Error - scheduler not responding!

-- 
Gerard Seibert
[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: Re: /etc/fstab error and I can't start the system normally

2006-08-08 Thread backyard


--- micman [EMAIL PROTECTED] wrote:

   On  Aug  7,  2006,  at  1:26  PM,  micman  wrote:
 
   Hello.
 
   PROBLEM
   I  tried  and  configured  FreeBSD  6.1  for 
 many  days  and  I  mounted  my
   FAT  extended  partition  to  exchange  my  files
  between  Windows  and  my
   new  Operating  System.  That  was  OK.  After  I
  tried  to  mount
   automatically  at  boot  this  partition  and  I 
 make  an  error
   (grammatical  error):  I  wrote  “acd0s5” 
 instead  of  “ad0s5”  in  /etc/  
   fstab.
   Now,  when  I  start  the  system,  I  receive 
 this  message  at  the  end  of
   the  boot  process:
   Can't  open  (No  such  file  or  directory)
   /dev/acd0s5:  UNEXPECTED  INCONSISTENCY;  RUN 
 fsck_msdosfs  MANUALLY.
   THE  FOLLOWING  FILE  SYSTEM  HAD  AN  UNEXPECTED
  INCONSISTENCY:
   msdosfs:  /dev/acd0s5  (/mnt/win)
   Automatic  file  system  check  failed;  help!
   Aug  7  20:08:07  int:  /bin/sh  on  /etc/rc 
 terminated  abnormally,  going
   to  single  user  mode
   Enter  full  pathname  of  shell  or  RETURN  for
  /bin/sh:
 
   QUESTIONS
   Can  I  rewrite  the  file  /etc/fstab  in  text 
 mode?
   If  it's  possible,  how  can  I  do  this?
 
   I  tried  fsck_manually  and  also  to  boot  by 
 option  '6'  (Escape  to
   loader)  but  I  was  not  able  to  resolve 
 the  problem.
   If  someone  can  help  me,  thank  you.
 __
   get into a console maybe by booting single user.
   remote root as read/write you may or may not have
 to
   remount root as write but...
 
   mount -u /
   ee /etc/fstab
 
   fix the error hit [esc] cc [esc] a and you should
 be
   good to go. 
 
   hope that helps
 
   -brian
 
 I have tried. Result:
 
 can't exec mount -u / for single user: No such file
 or directory
 and
 ee: not found
 
 About ee in the FreeBSD command reference I have
 tried this:
 This is a simpler alternative to 'vi' and is
 installed as part of the FreeBSD base system.
 However it may not always be available (there
 is /rescue/vi for emergencies when /usr is not
 mounted, but no emergency 'ee').
 
 I have tried 'vi': not found
 
 But in my /rescue 'vi' is listed and I have this
 message:
 no terminal database found
 __
 
   You  can  go  to  single  user  mode  (4)  from 
 the  boot  menu  and  then  mount  -  
   o  rw  /  .  Then  you  can  edit  /etc/fstab.
 
   Pramod  Venugopal
 
 I have tried. Result:
 
 can't exec mount -o rw / for single user: No such
 file or directory
 ___
 
 Thank you for your answers. 
 

yeah sorry about the ee thing for some reason it is
not in the rescue directory only vi is which will
work, but not my favorite editor. to get ee you would
have to mount /usr and its in /usr/bin if I'm not
mistaken. you might have to use absolute paths to get
programs to run like /usr/bin/ee /etc/fstab or
/rescue/vi /etc/fstab if your gungho about things.

as for the mount error that is odd. did you check the
output of just a plain

mount

if it tells you root is mounted r/w which I think
would be so unless it says readonly then you don't
have to worry about that step. Bur single user mode
always puts root in readonly. I haven't experienced it
puking during boot because of a bad line in fstab
though so I am not certain how that works.

Your best bet is probably to boot from the FreeBSD
install disk, run Fixit shell from the CD/DVD-Rom
option.

then type

/dist/sbin/mount /dev/ad0s(insert your bsd slice \
here)a /mnt

then run ee /mnt/etc/fstab
or
/dist/usr/bin/ee /mnt/etc/fstab

I don't think the absolute paths to everything is
necessary, but I'll give them anyway to cover the
bases.

note if your want to mount that msdosfs for whatever
reason you have to do this
sysctl kern.module_path=/dist/boot/kernel
/dist/sbin/mount_msdosfs /dev/ad0s5 /foobar
I've had to deal with that little problem before. 
the fixit shell does not load all the kernel modules
you might need only a subset, and mount -t msdosfs
doesn't seem to work anytime I try it so that one
REQUIRES the absolute path to work.

good luck

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Nikolas Britton

On 8/6/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


I've now committed v2.0 of the 300.statistics periodic script ... this one
adds the device reporting that we'd talked about previously, and the
summary reports now reflect the driver(s) in use for those deciding to
report ...

This Phase of the script is optional, and not enabled by default ... I
can't think of any reason why you wouldn't want to report it, but just in
case someone feels it poses a problem, its an opt-in report ...

pkg-message updated to reflect the extra line you need to add to
/etc/periodic.conf:

 monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf -l,
since even pciconf -lv doesn't seem to use card= ... the summary report
will be extended next to show both vendor and chip statistics ...

Let me know of any problems ...



This line is wrong:
hptmv (1)   Marvell Semiconductor (Was: Galileo Technology
Ltd)MV88SX5081 8-port SATA PCI-X Controller 1

Also why not track the ones with no driver attached... you should
still be able to tell what the device is.


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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Chris
Nikolas Britton wrote:
 On 8/6/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 I've now committed v2.0 of the 300.statistics periodic script ... this
 one
 adds the device reporting that we'd talked about previously, and the
 summary reports now reflect the driver(s) in use for those deciding to
 report ...

 This Phase of the script is optional, and not enabled by default ... I
 can't think of any reason why you wouldn't want to report it, but just in
 case someone feels it poses a problem, its an opt-in report ...

 pkg-message updated to reflect the extra line you need to add to
 /etc/periodic.conf:

  monthly_statistics_report_devices=yes

 I've written it to report driver + chip= information from pciconf -l,
 since even pciconf -lv doesn't seem to use card= ... the summary report
 will be extended next to show both vendor and chip statistics ...

 Let me know of any problems ...

 
 This line is wrong:
 hptmv (1)Marvell Semiconductor (Was: Galileo Technology
 Ltd)MV88SX5081 8-port SATA PCI-X Controller1
 
 Also why not track the ones with no driver attached... you should
 still be able to tell what the device is.
 
 

How about some uptime stats as well?

-- 
Best regards,
Chris

Anything good in life is either illegal, immoral or
fattening.

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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Nikolas Britton

On 8/8/06, Chris [EMAIL PROTECTED] wrote:

Nikolas Britton wrote:
 On 8/6/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 I've now committed v2.0 of the 300.statistics periodic script ... this
 one
 adds the device reporting that we'd talked about previously, and the
 summary reports now reflect the driver(s) in use for those deciding to
 report ...

 This Phase of the script is optional, and not enabled by default ... I
 can't think of any reason why you wouldn't want to report it, but just in
 case someone feels it poses a problem, its an opt-in report ...

 pkg-message updated to reflect the extra line you need to add to
 /etc/periodic.conf:

  monthly_statistics_report_devices=yes

 I've written it to report driver + chip= information from pciconf -l,
 since even pciconf -lv doesn't seem to use card= ... the summary report
 will be extended next to show both vendor and chip statistics ...

 Let me know of any problems ...


 This line is wrong:
 hptmv (1)Marvell Semiconductor (Was: Galileo Technology
 Ltd)MV88SX5081 8-port SATA PCI-X Controller1

 Also why not track the ones with no driver attached... you should
 still be able to tell what the device is.



How about some uptime stats as well?



No. We agreed we would not track people.



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Paul Schmehl wrote:


Marc, I have a couple of questions.

You use hostname and IP as a unique identifier for each host.  For that 
reason, I have not submitted any of our systems.  We use FreeBSD for 
sensitive security-related tasks, and we're loath to reveal that information. 
(When I submit or update ports, I always alter the uname information to 
hostname.utdallas.edu for that reason.)


Can you tell me exactly what you do with those two pieces of data?  Is there 
any way that information would be accessible from the internet?


Absolutely nothing else we do with it ... it just gives us a unique key to 
work with ... in fact, assuming each of your servers use a different IP, 
there is no reason you couldn't do the uname trick above to hide the 
hostname ...


Unless someone breaks into the server, or database, somehow, the data 
isn't accessible ...


Finally, it looks like your number one problem is going to be 
maintainence. Right now you're showing a .x and a F.x release.  Not 
sure if that's tampering or what, but it's obviously not legit.  You 
also have a sudden influx of hosts from Armenia.  Again, don't know if 
they're legit or not, but keeping up with that stuff is going to require 
eyes-on type manual labor.  I hope you've planned for that.


Have planned for it, and, in fact, am going to be making a couple of 
extra changes to the schema to allow for cleaning it up easier ...



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Wed, 9 Aug 2006, Vahan Yerkanian wrote:


Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be maintainence. 
Right now you're showing a .x and a F.x release.  Not sure if that's 
tampering or what, but it's obviously not legit.  You also have a sudden 
influx of hosts from Armenia.  Again, don't know if they're legit or not, 
but keeping up with that stuff is going to require eyes-on type manual 
labor.  I hope you've planned for that.


sudden influx of hosts from Armenia - I installed BSDstats on my FreeBSD 6.1 
servers :) Any problem with that?


317 servers, all with the exact same IP?  I see 9 servers that look legit, 
and 317 that I would have classified as 'suspicious' ...



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Wed, 9 Aug 2006, Vahan Yerkanian wrote:


Paul Schmehl wrote:
Finally, it looks like your number one problem is going to be maintainence. 
Right now you're showing a .x and a F.x release.  Not sure if that's 
tampering or what, but it's obviously not legit.  You also have a sudden 
influx of hosts from Armenia.  Again, don't know if they're legit or not, 
but keeping up with that stuff is going to require eyes-on type manual 
labor.  I hope you've planned for that.


Ehm, actually something's really wrong :)

Armenia 331 28.24%

shouldn't be that much, I think I installed it on 4 servers :)


Yup, it was someone else from Armenia that it looks like modified the 
script and submitted all of their 'virtual hosts' as well as 'the server 
itself' ... although it does make the stats look good, please keep it to 
one entry per server (or even one per VPS, since that will then have a 
distinct IP) but not per virtual host :)




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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Nikolas Britton wrote:


How about some uptime stats as well?



No. We agreed we would not track people.


Again, if we add uptime states, it would be a *seperate* opt-in option ... 
the only quasi-not-opt-in (you still have to tell it to run the script) is 
the uname information ... even the pciconf information is purely opt-in 
...



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


Re: BSDstats Project v2.0 ...

2006-08-08 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Nikolas Britton wrote:

Also why not track the ones with no driver attached... you should still 
be able to tell what the device is.


I was looking at it from a 'what drivers / hardware is in use' not 'what 
hardware is available' ...



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


  1   2   >