Problem with pf - bug?

2006-10-02 Thread Matthias Fechner
Hi,

I added the following rules to my config for pf:
table bruteforce persist file /usr/local/firewall/bruteforce
block in   log  quick inet  from bruteforce  to any  label RULE 1 \
-- DROP 
pass in   log  quick inet proto tcp  from any  to any port 22 flags \
S/AS modulate state  (  max-src-conn 100 max-src-conn-rate 5/10,
overload \
bruteforce flush global )  label RULE 2 -- ACCEPT 

If I load the rules everything is fine but if I restart/reload the
rules with the command (sudo /etc/rc.d/pf restart) the PC hangup
compeletely. CTRL+ALT+del has no effect the only why to get the PC
running again is pressing the reset button and do a manual filesystem
check.

Can anyone please help me?

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB IrDA Adapter

2006-10-02 Thread Jonathan McKeown
On Saturday 30 September 2006 13:58, Luchezar Petkov wrote:

 I really need your help. I've just brought my first USB IrDA
 adapter to conncect my phone (Sony Ericsson K300i) to my computer.
 It is recognized by FreeBSD (6.2 beta 1) ::
 ugen0: Prolific Technology Inc. USB-Serial Controller, rev
 1.10/3.00, addr 2
 --
 addr 1: OHCI root hub, SiS
 uhub1
 addr 2: USB-Serial Controller, Prolific Technology Inc.
 ugen0
 
 And... What to do now? How to take the pictures from my photo
 camera? How to put files on my phone? I don't know what to do..
 Any ideas?

It sounds like the adapter is trying to present itself as a serial port. The 
Prolific Technology USB-Serial controller needs the uplcom(4) driver either 
compiled into the kernel or loaded as a module.

Try (as root)

kldload uplcom

and then plugging your adapter in. You should see a message about ucom rather 
than ugen, and the devices should be something like

/dev/ttyU0
/dev/cuaU0

as the tty and callout devices for the adapter.

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


Playing audio

2006-10-02 Thread Olivier Nicole
Hi,

I have an embeded system build on FreeBSD 4.11, I want to add sound
facility, I have configured pcm and sbc and apparentlyit is working.

In a C program, how can I play a sound file, what format should I use
for that sound file?

Best regards,

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


FireFox/Thunderbird: Won't save config nor save any extensions

2006-10-02 Thread O. Hartmann

Hello.
I have a long lasting problem with both Firefox and Thunderbird running 
on FreeBSD 6.X/AMD64. After I made a backup by just copying my homes 
directory onto a DVD+RW and 'reinstalled' it by copying it back to my 
new home folder, I run into trouble with bot mentioned utilities, 
Firefox and even Thunderbird as well. The problem occured is simple. I 
can add and delete addresses in Thunderbird, but I can not install 
extensions, they were never listed although they're on the harddrive 
(you know, that small box where I can select an add on and install it 
already downloaded to a place on harddrive).
Another thing is the position and size of the window. Yo know, when 
closing either program, after restarting it opens at the same size you 
closed it. That is not true in my case, the utilitie simply reopens at 
the size just at that time I did the backup.
In Thunderbird, I'm nt capable of creating some sort of signature as I 
can do this at my lab's computer, running nearly the same operating 
system's configuration and installation.


I tried to 'mtree' the working directory layout to reveal the 
differences and get rid of them, but it didn't work for me.


Is there something that can do the 'trick'? Please let me know, I'll 
appreciate any hint.


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


build minimum freebsd from make world

2006-10-02 Thread Tang Ho Yim
I have already install the minimum FreeBSD 6.1. Now, I would like to know how 
can I build  install the same minimum FreeBSD 6.1 from make world ?

-
Get your email and more, right on the  new 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: Trouble with Berkeley DB version 4.4.20?

2006-10-02 Thread Alex Zbyslaw

Mark wrote:


I have done this upgrade path for BerkeleyDB and Perl several times;
from 1.85 - 4.1 - 4.2, and now - 4.4.20. It has always worked well.
Even now it compiles just fine. It just isn't stable anymore.

If someone out there has an idea, I'd really like to know.
 


I don't have any good answers for you, sorry. Probably no-one is answer-
ing because no-one active is doing anything with these particular pack-
age versions.

But, there is a port of BerkeleyDB (databases/p5-BerkeleyDB) which would
save you from having to mess around configuring config.in yourself. Just
set something like WITH_BDB_VER=44 (or 42 or...) in pkgtools.conf (for
portupgrade) or make.conf or on the command line. The port doesn't seem
to do any local patches so I wouldn't expect it to work any better for
you, unless you have been doing something wrong.
   



Thanks for answering. Really appreciate it.

I actually already tried p5-BerkeleyDB too. Had high hopes for it. It took
a good 10 minutes or so to compile a new gcc, 3.2.23, first; but after
that, everything went well. Except that it shows the same behavior.
Compile goes fine; make tests too. But my app core dumps every, say,
30 times it accesses BerkeleyDB.
 

Not sure why p5-BerkeleyDB thinks it needs a specific gcc, though 3.2.23 
is the version I have anyway (FreeBSD 5.4) so I didn't know to warn you :-(


If you want to pursue further here are some suggestions that I might try:

   1) Make sure you are not doing anything non-standard like using a 
different thread library, or different CFLAGS.  You never know...


   2) Try using a different underlying database type if you can.  E.g. 
if you use hash, then try btree or vice versa


I don't know what your apps do, but make sure for example, that if you 
can have multiple instances which can write to the db at the same time 
that your are locking correctly.  In 1.85 compatibility usage that means 
locking a separate file with e.g. flock and *not* locking the database 
file itself which doesn't work right.


Waiting for 4.5 is an option, but I would worry that whatever change in 
4.4 is making your app crash might also bite in 4.5.  I could find 
nothing on google about perl+4.4 core dumping so I would harbour a  
suspicion that it is something about the way you are using BerkeleyDB 
which is causing the trouble.   I could be wrong of course :-)


--Alex

PS I know there isn't a port yet, but you could just try compiling 4.5 
from the sleepycat sources.  The port for 4.4 doesn't look like it does 
anything sophisticated: just applies the latest patches from sleepycat, 
sets up some configure args, and has one small patch to dist/configure 
which changes -avoid-version into -version-info 0:0:0 in a couple of places.


PPS If I have a chance at some point to try my software with 4.4 I will 
let you know how I get on.  Regrettably, I don't have time right now to 
try it.




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


Re: SWAP priority

2006-10-02 Thread Chuck Swiger

Bob wrote:
It became obvious after a short while, that I had too little physical memory 
(1GB), and I was using swap often. While swapping, things slowed down. So, I 
added an additional 1GB of swap space (via swap file) on the secondary file 
system. I did this as per the manual.


I now have more swap; my question is this: How can I tell the OS to use the 
new swap file BEFORE using the old one? Is there a way to tell the system to 
prioritize the use of multiple swaps?


The swap system knows how to interleave data between the additional swap areas 
relatively efficiently, but if your current workload is so demanding that you 
need to use more than 2GB of swapspace on a machine with 1GB of RAM, you 
should add more RAM, not more swapspace


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


Re: dell poweregde 2900/2950 and FreeBSD

2006-10-02 Thread Bill Moran
In response to Paul Schmehl [EMAIL PROTECTED]:

 --On September 29, 2006 2:31:03 PM -0400 Bill Moran 
 [EMAIL PROTECTED] wrote:
 
  3) We're having intermittent problems with the onboard NICs on these
 units.  I have some testing to do Monday to narrow the problem down,
 but for now, don't trust the onboard NICs to work reliably.
 
 Bill, if those are the Broadcomm Extreme NICs (bce), you need to grab the 
 new version of the if_bce.c file.  It fixed the problems that I had with 
 the NICs.  There's a char inside the file that defines the version - you 
 need 0.9.6.  You've got 0.9.5, I'll bet.

Nope:
char bce_driver_version[] = v0.9.6;

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Permissions on /var/mail directory

2006-10-02 Thread Lowell Gilbert
Gerard Seibert [EMAIL PROTECTED] writes:

 FreeBSD 6.1-RELEASE-p8
 postfix-current-2.4.20060903,3
 dovecot-1.0.r7

 I just did a buildworld along with a new kernel this morning. While doing 
 the installworld, I noticed an error message displayed regarding 
 the /var/mail directory. I have the directory set to: 1777 so that dovecot 
 can assess it. The installworld process reset the permissions to 0775 which 
 were not sufficient for Dovecot.

 The dovecot.log file had over a hundred entries similar to this:

 deliver(gerard): Error: 
 open(/var/mail/.temp.scorpio.seibercom.net.1123.cd38cd4d82e1368f) failed: 
 Permission denied
 deliver(gerard): Error: file_lock_dotlock() failed with mbox 
 file /var/mail/gerard: Permission denied

 Obviously the /var/log/maillog had similar fail warnings.

 By changing the permission to 1777 on the /var/mail directory and running 
 postsuper -r ALL, I was able to get the mail delivered. This is the second 
 time this has happened. The last time I rebuild world I experienced the 
 same phenomena. Why does build world insist on changing the directory 
 permissions and is there a way I can prevent it from doing so?

 What I am trying to determine is if I really should have those settings on 
 the directory, or if I have something configured wrong in either postfix or 
 dovecot.

Those permissions are awfully lenient, but if you've got a single-user
machine, I suppose you could live with it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using wget to mirror just part of a web site?

2006-10-02 Thread Christopher M. Hobbs
 wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o 
 /var/log/${site}_mirror.log
 
 But that gets the whole sit. What I want to do is just start at the
 toop of the ubuntu/dists tree.

Perhaps the '--no-parent' knob would be of some help?

cmh
-- 
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136


pgpeuzdhR3kdx.pgp
Description: PGP signature


how to block rj45 sockets.

2006-10-02 Thread Marwan Sultan

Hello All,

Well, seems no one has any answer for my previuos question, So I will just 
rephase the Question.


I have a 66 wall rj45 sockets devided by 4 Belking SwitchHubs connected to 
FreeBSD 6.1-R

Server acting as internet gateway.

Can by anyhow block some sockets (ports) from the serve?
is there any creative way to block some sockets and keep others?

I dunt want to restrict by MAC adrs, just the wall socket..any ideas? or its 
just impossible.


Thank you all
 Marwan

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Running Name Server

2006-10-02 Thread Warren Liddell
Im wanting to run a name server server locally around my network on FreeBSD 
6.2-PRERELEASE ... Where abouts do i find the port to install so i can 
configure it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running Name Server

2006-10-02 Thread Derek Ragona

FreeBSD runs bind as part of the system.  Check the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

to configure it.

-Derek


At 09:04 AM 10/2/2006, Warren Liddell wrote:

Im wanting to run a name server server locally around my network on FreeBSD
6.2-PRERELEASE ... Where abouts do i find the port to install so i can
configure it ?
___
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: how to block rj45 sockets.

2006-10-02 Thread Bill Moran
In response to Marwan Sultan [EMAIL PROTECTED]:

 Hello All,
 
 Well, seems no one has any answer for my previuos question, So I will just 
 rephase the Question.
 
 I have a 66 wall rj45 sockets devided by 4 Belking SwitchHubs connected to 
 FreeBSD 6.1-R
 Server acting as internet gateway.
 
 Can by anyhow block some sockets (ports) from the serve?
 is there any creative way to block some sockets and keep others?
 
 I dunt want to restrict by MAC adrs, just the wall socket..any ideas? or its 
 just impossible.

Get real switching hardware to replace those Belkins.  Cisco and other
switches will allow you to enable/disable ports on demand.

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


Re: Running Name Server

2006-10-02 Thread Greg Barniskis

Warren Liddell wrote:
Im wanting to run a name server server locally around my network on FreeBSD 
6.2-PRERELEASE ... Where abouts do i find the port to install so i can 
configure it ?


There are DNS ports, but the BIND name server is native to the 
system. You just need to config and enable it.


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

If you don't want BIND, DNS ports would be in ports/net.

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running Name Server

2006-10-02 Thread George Allan
On Tue, Oct 03, 2006 at 12:04:48AM +1000, Warren Liddell wrote:
 Im wanting to run a name server server locally around my network on
 FreeBSD 6.2-PRERELEASE ... Where abouts do i find the port to install
 so i can configure it ?

/usr/ports/dns/bind9/

Read the Handbook for information on how to set things up.
Additionally, I'd suggest checking out Greg Leahy's FreeBSD book, now
available in downloadable PDF format from
http://www.lemis.com/grog/Documentation/CFBSD/.  Even better, buy it.

If you don't have a registered domain name, note that the example.org
domain is reserved for such uses; but any fantasy name should work,
providing the name you choose doesn't conflict with a real (registered)
domain.  

You'll also most likely want to add a DHCP server.

cd /usr/ports  make search name=dhcp

The rest is left as an exercise for the reader.






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


Application run on SCO Openserver but not freeBSD.

2006-10-02 Thread Jim Borland
Hi,
I have an application which I run on SCO Openserver and I was hoping it
would run on FreeBSD but it doesn't. It is a cobol application but the
cobol compiler will not run.
Many years ago we moved from Interactive Unix to SCO and we simply
copied the complier onto the SCO box and away it went, I was hoping to
do the same with FreeBSD, is that not possible?
Regards,
Jim.



Jim Borland

Unit 2  Wallace Studios
27 Wallace Avenue
LisburnBT27 4AE
mail: [EMAIL PROTECTED]
www: www.meridiansystems.co.uk
tel: +44 (0)28 9260 5060
fax: +44 (0)28 9264 0700
mob: 



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not 
disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.

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


Re: Application run on SCO Openserver but not freeBSD.

2006-10-02 Thread Andrew Pantyukhin

On 10/2/06, Jim Borland [EMAIL PROTECTED] wrote:

Hi,
I have an application which I run on SCO Openserver and I was hoping it
would run on FreeBSD but it doesn't. It is a cobol application but the
cobol compiler will not run.
Many years ago we moved from Interactive Unix to SCO and we simply
copied the complier onto the SCO box and away it went, I was hoping to
do the same with FreeBSD, is that not possible?


Have you tried OpenCOBOL compiler from ports?

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


ipfw cups

2006-10-02 Thread Vittorio
To my ipfw firewall I have added, according to what I found in the 
internet, the following rule to allow the use of cupsd on the same box:

00520 allow ip from any to any dst-port 631 in

to no avail because it 
is not even checked as you can see below from the log (obtained from 
kde kcontrol center trying (and failing) to display the connected cups' 
printers):

Am I missing something?
What should I do?
Ciao
Vittorio
..
NbBSD# ipfw -td list
00500 check-state
00501 Mon Oct  2 17:10:13 
2006 deny tcp from any to any established
00502 
deny ip from any to any frag
00503 Mon Oct  2 17:10:13 2006 allow ip 
from any to any via lo0
00514 deny ip from any 
to any not verrevpath in
00520 allow ip from 
any to any dst-port 631 in
00525 deny ip from 
any to 127.0.0.0/8
...
...
00609 allow tcp from 10.155.102.6 1491 to any
00610 allow tcp from me to any dst-port 53 out 
via fxp0 keep-state
00612 allow udp from me to 
any dst-port 53 out via fxp0 keep-state
00700 
allow icmp from 10.155.0.0/16 to any via fxp0
65535 Mon Oct  2 17:10:13 
2006 deny ip from any to any

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


Question about installing FreeBSD

2006-10-02 Thread Michael Christensen
Hi,
   
  I really hope that you're answering questions about installing FreeBSD, since 
I can't yet start threads on freebsdforum.org.
   
  My question is : 
  I have downloaded the entire FreeBSD 6.1 (about 17,5 GB) and made a FREEBSD 
directory on one of my HDs and now trying to install BSD on the other. 
  I'm booting from floppies and now can't understand why the sysinstall can't 
find the DOS partition on the slave. Is it because it's on a NTFS or what am I 
doing wrong?
   
  Thomas




-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.1 and NFS

2006-10-02 Thread Francisco Reyes

Kris Kennaway writes:


There are a number of PRs I filed, but those aren't all of the
problems.  It will require fairly major work to fix - the best hope
would be if someone was funded to work on it.


A couple of months back the place I work for had a number of issues with 
NFS. We tried to find someone to work with us and we were offering to pay. 
After weeks searching I was unable to find someone. A few weeks later We got 
in touch with Mohan Srinivasan who graciously spent time during his vacation 
to help us.


Although I believe our problems were in a good deal related to our own 
network quality the state of the NFS server seems to need some considerable 
work. Also we found a couple of additional bugs with the client which made 
things even worse.


So.. if there is someone who is willing to work on NFS.. as a contract there 
needs to be a way for companies willing to fund it to get in touch with such 
person(s). Perhaps there could be a list/forum where people familiar with 
internals such as NFS, can post their availability and willingness to do 
contract work so companies willing to fund development in a particular area 
can get in touch with the right people. 
___

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


Re: 6.1 and NFS

2006-10-02 Thread Bill Moran
In response to Francisco Reyes [EMAIL PROTECTED]:

 Kris Kennaway writes:
 
  There are a number of PRs I filed, but those aren't all of the
  problems.  It will require fairly major work to fix - the best hope
  would be if someone was funded to work on it.
 
 A couple of months back the place I work for had a number of issues with 
 NFS. We tried to find someone to work with us and we were offering to pay. 
 After weeks searching I was unable to find someone. A few weeks later We got 
 in touch with Mohan Srinivasan who graciously spent time during his vacation 
 to help us.
 
 Although I believe our problems were in a good deal related to our own 
 network quality the state of the NFS server seems to need some considerable 
 work. Also we found a couple of additional bugs with the client which made 
 things even worse.
 
 So.. if there is someone who is willing to work on NFS.. as a contract there 
 needs to be a way for companies willing to fund it to get in touch with such 
 person(s). Perhaps there could be a list/forum where people familiar with 
 internals such as NFS, can post their availability and willingness to do 
 contract work so companies willing to fund development in a particular area 
 can get in touch with the right people. 

Have you tried contacting the Foundation?
http://www.freebsdfoundation.org/

It's my understanding that they coordinate most of this money -
developers stuff ...

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


Re: dell poweregde 2900/2950 and FreeBSD

2006-10-02 Thread Bill Moran
In response to Paul Schmehl [EMAIL PROTECTED]:

 --On September 29, 2006 2:31:03 PM -0400 Bill Moran 
 [EMAIL PROTECTED] wrote:
 
  3) We're having intermittent problems with the onboard NICs on these
 units.  I have some testing to do Monday to narrow the problem down,
 but for now, don't trust the onboard NICs to work reliably.
 
 Bill, if those are the Broadcomm Extreme NICs (bce), you need to grab the 
 new version of the if_bce.c file.  It fixed the problems that I had with 
 the NICs.  There's a char inside the file that defines the version - you 
 need 0.9.6.  You've got 0.9.5, I'll bet.

Note that I just ran a buildworld over NFS with no problems, so it
seems as if all issues have been resolved in the 0.9.6 version.

Must have had something else going on during last week's tests.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Using wget to mirror just part of a web site?

2006-10-02 Thread Ivan Levchenko

Yes, the --no-parent is what you need

On 10/2/06, Christopher M. Hobbs [EMAIL PROTECTED] wrote:

 wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o 
/var/log/${site}_mirror.log

 But that gets the whole sit. What I want to do is just start at the
 toop of the ubuntu/dists tree.

Perhaps the '--no-parent' knob would be of some help?

cmh
--
Christopher M. Hobbs
IS Technician, City of Siloam Springs
[EMAIL PROTECTED], (479).524.5136






--
Best Regards,

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


xrestop usage

2006-10-02 Thread stan
WE have deployed a number of ^ CURRENT machines as what are basicly kosoks.
We are seeing some issues with Firefox memory usage growth on long running
systems.

Soem googling has lead to a link sugestiong a possible solution. The
linkalos recomends using xrestop to examine the potential issue.

I've built this tool from ports, but when I run it it gives me an error
message like this:

xrestop: XResQueryExtension failed. Display Missing XRes extension ?

So, it appears that I eed an extension fo xorg. 

How can I add this extnsion?

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
Hi; 
I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing 
from FreeBSD ports and the oldfashioned way from source code, with the 
configure  make  make install dance, and still when I call up my python 
interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What 
gives? 
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dell poweregde 2900/2950 and FreeBSD

2006-10-02 Thread Paul Schmehl
--On October 2, 2006 9:36:31 AM -0400 Bill Moran 
[EMAIL PROTECTED] wrote:


Bill, if those are the Broadcomm Extreme NICs (bce), you need to grab
the  new version of the if_bce.c file.  It fixed the problems that I
had with  the NICs.  There's a char inside the file that defines the
version - you  need 0.9.6.  You've got 0.9.5, I'll bet.


Nope:
char bce_driver_version[] = v0.9.6;


Well, that's disappointing.  I guess we need to hope for version 0.9.7 to 
come out soon.


I haven't noticed similar problems on my 1950 though.  Wonder what the 
difference is?


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


Re: dell poweregde 2900/2950 and FreeBSD

2006-10-02 Thread Paul Schmehl
--On October 2, 2006 12:29:36 PM -0400 Bill Moran 
[EMAIL PROTECTED] wrote:


Note that I just ran a buildworld over NFS with no problems, so it
seems as if all issues have been resolved in the 0.9.6 version.

Must have had something else going on during last week's tests.


Glad to hear that.  You had me worried.

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


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ivan Levchenko

Try the following in the python port directory:

make install clean

On 10/2/06, Ted Johnson [EMAIL PROTECTED] wrote:

Hi;
I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing from FreeBSD ports and the oldfashioned 
way from source code, with the configure  make  make install dance, and still when 
I call up my python interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What gives?
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Best Regards,

Ivan Levchenko
[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: Application run on SCO Openserver but not freeBSD.

2006-10-02 Thread Martin Hepworth

Jim

I presume you've got the linux subsystem installed???

ahh Interactive Unix, I remember it well..

--
Martin

On 10/2/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:


On 10/2/06, Jim Borland [EMAIL PROTECTED] wrote:
 Hi,
 I have an application which I run on SCO Openserver and I was hoping it
 would run on FreeBSD but it doesn't. It is a cobol application but the
 cobol compiler will not run.
 Many years ago we moved from Interactive Unix to SCO and we simply
 copied the complier onto the SCO box and away it went, I was hoping to
 do the same with FreeBSD, is that not possible?

Have you tried OpenCOBOL compiler from ports?

http://www.freshports.org/lang/open-cobol/
___
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]


Question about poweredby logo

2006-10-02 Thread Paul Schmehl
I've been using the old daemon poweredby logo gif for quite some time now. 
Is there an updated set available?  May we use the graphic that appears at 
the top of the freebsd.org site?  I use this for a customized error 
document - http://www.stovebolt.com/missing.html.


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


Re: SWAP priority

2006-10-02 Thread Bob
On Monday 02 October 2006 09:14, Chuck Swiger wrote:

 The swap system knows how to interleave data between the additional swap
 areas relatively efficiently, 

Yes I discovered that. The additional swap space was instantly used as soon as 
I activated it; and the added swap improved things measurably. Does the swap 
system take into account current disk activity when it decides to use a 
particular swap?

 that you need to use more than 2GB of swapspace on a machine with 1GB of
 RAM, you should add more RAM, not more swapspace
 
It is on order. 

The basis for my question about swap priority was based on an observation that 
the slowdown was due to swapping AND heavy disk usage. I noticed that when 
snapshots were being made on the main drive (the one I am using all the 
time), all other processes went to slow-mode. You see, the lack of enough 
memory caused the system to swap, and it swapped to the heaviest used raid 
array. I thought if I could force the system to swap to the other raid array 
(much less used) with the new swapfile, things would improve even more.

All will be cured when more ram is installed, but I thought it would be 
interesting playing with swap priority.
 
Bob
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What assembler(s) do you folks use with FreeBSD?

2006-10-02 Thread ograbme

Howdy folks,

I've been playing with the gcc compiler along with Perl 5.8.8 (both
supplied with FreeBSD) and have enjoyed it.  I got to thinking about
what assemblers (hopefully of the 'free' variety) you folks have used
or may be using on FreeBSD. In my case, the standalone platforms
contain Intel x586, x686 and AMD K6-2 500 MHz cpu's.

Any recommendations re: assemblers that you've used and experienced
good results ... meaning you enjoyed using when needed.  LOL!

Thanks in advance.

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


Re: Question about poweredby logo

2006-10-02 Thread Jerry McAllister
On Mon, Oct 02, 2006 at 12:43:51PM -0500, Paul Schmehl wrote:

 I've been using the old daemon poweredby logo gif for quite some time now. 
 Is there an updated set available?  May we use the graphic that appears at 
 the top of the freebsd.org site?  I use this for a customized error 
 document - http://www.stovebolt.com/missing.html.

I don't think there any new versions of that graphic, though I 
like the one that blinks its eyes periodically.   I hadn't noticed
that one before.

As for the new 'official logo' there is some stuff at:
   http://www.freebsd.org/logo.html
Though none of them are done up in a 'Powered BY' graphic.
It doesn't really look like something to use Powered By with anyway.

jerry

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

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


Re: SWAP priority

2006-10-02 Thread Charles Swiger

On Oct 2, 2006, at 2:06 PM, Bob wrote:

On Monday 02 October 2006 09:14, Chuck Swiger wrote:
The swap system knows how to interleave data between the  
additional swap

areas relatively efficiently,


Yes I discovered that. The additional swap space was instantly used  
as soon as
I activated it; and the added swap improved things measurably. Does  
the swap
system take into account current disk activity when it decides to  
use a

particular swap?


Sort of.  The syncer process runs at idle priority, so normal I/O  
initiated by your processes will take priority over paging/swapping  
idle pages of RAM out.  There may be additional logic involved to  
help balance I/O in terms of which swapfile is being used if one  
drive remains busier than another, but I am not completely familiar  
with FreeBSD's implementation.


that you need to use more than 2GB of swapspace on a machine with  
1GB of

RAM, you should add more RAM, not more swapspace


It is on order.

The basis for my question about swap priority was based on an  
observation that
the slowdown was due to swapping AND heavy disk usage. I noticed  
that when
snapshots were being made on the main drive (the one I am using all  
the
time), all other processes went to slow-mode. You see, the lack of  
enough
memory caused the system to swap, and it swapped to the heaviest  
used raid
array. I thought if I could force the system to swap to the other  
raid array
(much less used) with the new swapfile, things would improve even  
more.


Well, you might try benchmarking the system with both arrays used for  
swapping and with only the less-busy RAID array being used for  
swapping, and see which one does better.


--
-Chuck

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


Re: What assembler(s) do you folks use with FreeBSD?

2006-10-02 Thread Charles Swiger

On Oct 2, 2006, at 2:15 PM, ograbme wrote:

I've been playing with the gcc compiler along with Perl 5.8.8 (both
supplied with FreeBSD) and have enjoyed it.  I got to thinking about
what assemblers (hopefully of the 'free' variety) you folks have used
or may be using on FreeBSD. In my case, the standalone platforms
contain Intel x586, x686 and AMD K6-2 500 MHz cpu's.


Most people use the stock assembler, 'as', which comes with the system:

% as --version
GNU assembler 2.15 [FreeBSD] 2004-05-23
[ ... ]

--
-Chuck


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


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
Right. I tried that before writing, but I forgot to specify as much. No, that 
didn't work either. Here are a couple of peculiarities:

* I took over this box from someone who didn't know the difference between 
FreeBSD and Linux. So, he built the original Python in a different dir.
* The original python powers several Zope instances.

Having said as much, years ago I had two versions of python running, one for 
Zope and one for everything else. So this should work. Anyway, it doesn't!

More ideas?
TIA.
Ted

Ivan Levchenko [EMAIL PROTECTED] wrote: Try the following in the python port 
directory:

make install clean

On 10/2/06, Ted Johnson  wrote:
 Hi;
 I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing 
 from FreeBSD ports and the oldfashioned way from source code, with the 
 configure  make  make install dance, and still when I call up my python 
 interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What 
 gives?
 TIA,
 Ted2

 -
 Stay in the know. Pulse on the new Yahoo.com.  Check it out.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Best Regards,

Ivan Levchenko
[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: What assembler(s) do you folks use with FreeBSD?

2006-10-02 Thread Simon Phoenix
On Monday 02 October 2006 21:15, ograbme wrote:
 Howdy folks,

 I've been playing with the gcc compiler along with Perl 5.8.8 (both
 supplied with FreeBSD) and have enjoyed it.  I got to thinking about
 what assemblers (hopefully of the 'free' variety) you folks have used
 or may be using on FreeBSD. In my case, the standalone platforms
 contain Intel x586, x686 and AMD K6-2 500 MHz cpu's.

 Any recommendations re: assemblers that you've used and experienced
 good results ... meaning you enjoyed using when needed.  LOL!

 Thanks in advance.

YASM is good for me:
/usr/ports/devel/yasm
http://www.tortall.net/projects/yasm/

-- 
Best regards,
Simon Phoenix (Phoenix Lab.)
---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
---


pgpEfs1b4Vy2x.pgp
Description: PGP signature


How to Re-Label / Re-create filesystems?

2006-10-02 Thread Wayne
Could someone point me to instructions or offer suggestions on how to 
re-configure file systems on a 6.x system?


When I installed from CD, I used the sysinstall menu, which I guess 
actually calls bsdlabel and newfs (??)


I want to delete two filesystems, and recreate one large one in the same 
space.  I tried dropping to single user and running sysinstall, but it 
protests it can't write to the device... even when I only had things 
mounted read-only.  Can I safely use the boot CD to do this?  I don't 
want to experiment too much and clobber the whole drive!


 -Thanks,  Wayne

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


NAS server

2006-10-02 Thread Brian
I saw some notes on FreeNAS recently, while reading thru reviews on the 
web site.  Is this the preferred FreeBSD solution to this problem?


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


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ivan Levchenko

What are the error messages?

On 10/2/06, Ted Johnson [EMAIL PROTECTED] wrote:

Right. I tried that before writing, but I forgot to specify as much. No,
that didn't work either. Here are a couple of peculiarities:

* I took over this box from someone who didn't know the difference between
FreeBSD and Linux. So, he built the original Python in a different dir.
* The original python powers several Zope instances.

Having said as much, years ago I had two versions of python running, one for
Zope and one for everything else. So this should work. Anyway, it doesn't!

More ideas?
TIA.
Ted

Ivan Levchenko [EMAIL PROTECTED] wrote:
 Try the following in the python port directory:

make install clean

On 10/2/06, Ted Johnson wrote:
 Hi;
 I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried
installing from FreeBSD ports and the oldfashioned way from source code,
with the configure  make  make install dance, and still when I call up
my python interpreter it tells me I'm in 2.3.5! Why? I didn't do
altinstall! What gives?
 TIA,
 Ted2

 -
 Stay in the know. Pulse on the new Yahoo.com. Check it out.
 ___
 freebsd-questions@freebsd.org mailing list

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



--
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]



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



--
Best Regards,

Ivan Levchenko
[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: Trouble with Berkeley DB version 4.4.20?

2006-10-02 Thread Mark

 -Original Message-
 From: Alex Zbyslaw [mailto:[EMAIL PROTECTED]
 Sent: maandag 2 oktober 2006 12:50
 To: Mark
 Cc: 'FreeBSD-Questions Questions'
 Subject: Re: Trouble with Berkeley DB version 4.4.20?



Thanks for answering, again.

  I actually already tried p5-BerkeleyDB too. Had high hopes for it. It
  took a good 10 minutes or so to compile a new gcc, 3.2.23, first; but
  after that, everything went well. Except that it shows the same behav-
  ior. Compile goes fine; make tests too. But my app core dumps every,
  say, 30 times it accesses BerkeleyDB.

 Not sure why p5-BerkeleyDB thinks it needs a specific gcc, though
 3.2.23 is the version I have anyway (FreeBSD 5.4) so I didn't know to
 warn you :-(

For all the difference it made. :)

 I don't know what your apps do, but make sure for example, that if you
 can have multiple instances which can write to the db at the same time
 that your are locking correctly. In 1.85 compatibility usage that means
 locking a separate file with e.g. flock and *not* locking the database
 file itself which doesn't work right.

I know. In fact, I have one mini-Perl installed, with a DB_File compiled
against BerkeleyDB 1.85, for that precise reason (a Perl process that
shares the db with DRAC).

 PS I know there isn't a port yet, but you could just try compiling 4.5
 from the sleepycat sources. The port for 4.4 doesn't look like it does
 anything sophisticated: just applies the latest patches from sleepy-
 cat, sets up some configure args, and has one small patch to dist/con-
 figure which changes -avoid-version into -version-info 0:0:0 in a cou-
 ple of places.

Already did that; I got impatient. :) The changes to the Makefile are
minor, and I got 4.5.20 to compile and install just great.

 Waiting for 4.5 is an option, but I would worry that whatever change in
 4.4 is making your app crash might also bite in 4.5. I could find noth-
 ing on google about perl+4.4 core dumping so I would harbour a suspicion
 that it is something about the way you are using BerkeleyDB which is
 causing the trouble.

Upgrading to 4.5 made no difference. I even installed an entirely new Perl
(5.8.8) for the occasion. To no avail.

I really suspect it's a locking issue. My app is a socketmap daemon, for
sendmail, that does SPF queries and the like. So, concurrency is
definitely happening when processes are forking.

The one time I was actually able to log an error for the process, it said:
Invalid locker id when opening the BerkeleyDB environment. That in
itself may not necessarily mean anything (could just mean the env has
become corrupted). But the occurance of the core dumps are consistent with
a locking issue (under heavy, concurrent load).

BerkeleyDB 0.30 (the Perl package) itself takes care of locking the shared
environment. Paul Marquess, the author of BerkeleyDB (the Perl package),
wrote me once:

Apart from that you don't need to do anything -- Berkeley DB handles the
locking for you behind the scenes.

And it's certainly true for for 4.2: the 'tied' hashes can be accessed,
concurrently, between processes, even under the most stringent load.

Since an upgrade to 4.5 made no difference, I'm really thinking this is
just a matter of BerkeleyDB 0.30 (the Perl package) no longer doing the
locking properly. Or maybe there's something between BerkeleyDB 4.2 and
4.4 that has changed about the manner in which locks are done that
BerkeleyDB 0.30 is unaware of.

- Mark

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


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Dave McCammon


--- Ted Johnson
[EMAIL PROTECTED] wrote:

 Hi; 
 I have python 2.3.5 and I'd like to upgrade to
 2.4.3. I've tried installing from FreeBSD ports and
 the oldfashioned way from source code, with the
 configure  make  make install dance, and still
 when I call up my python interpreter it tells me I'm
 in 2.3.5! Why? I didn't do altinstall! What gives?
 
 TIA,
 Ted2
   

Where is the 2.3.5 version installed? Perhaps it is
installed in a directory earlier in your PATH than the
2.4.3 versions directory(/usr/local/bin/).


__
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 Re-Label / Re-create filesystems?

2006-10-02 Thread Jerry McAllister
On Mon, Oct 02, 2006 at 02:46:06PM -0400, Wayne wrote:

 Could someone point me to instructions or offer suggestions on how to 
 re-configure file systems on a 6.x system?
 
 When I installed from CD, I used the sysinstall menu, which I guess 
 actually calls bsdlabel and newfs (??)
 
 I want to delete two filesystems, and recreate one large one in the same 
 space.  I tried dropping to single user and running sysinstall, but it 
 protests it can't write to the device... even when I only had things 
 mounted read-only.  Can I safely use the boot CD to do this?  I don't 
 want to experiment too much and clobber the whole drive!

Sysinstall calls fdisk, bsdlabel and newfs as well as mkdir to create
your mount points.

Yes, you can do it from a CD boot. 

FIRST:  Back up every file system on the disk you are modifying using dump 
on to some media that will be unaffected by the changes, such as tape or 
another disk.

Boot the CD and select the fixit item - I can't remember just how
it is labeled and don't want to take something down to look right now.
But, it is the one that gives you a limited running system with UNIX
prompt.

Then, use bsdlabel to create a new partition structure.  Make sure
you make the a partition bootable.   It probably already is and won't
be affected by these machinations as long as you don't change the slice
or boot sector.

Then newfs the partitions to make file systems of them.

Fix up your fstab file to reflect the changes 

reload the dumps using restore.
Make sure you CD in to each file system to do the restore for it.

Reboot.   If you messed up fstab, you may have to boot in to single
user and fix it.   

Should work just fine.

jerry

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


NFS problems!

2006-10-02 Thread Anders Troback
Hi,

I'm having some problems with NFS lately!

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

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

This problem first occurred in 6.1-STABLE but disappear in 6.1-RELEASE
and since 6.1-RELEASE-p4 (not 100% sure if it was p4 or p5) it's back!

Does anyone have any idea what's going on here?

Thanks!


Regards,
Anders Trobäck
Sweden
-- 


How many Microsoft employees does it take to screw in a light bulb?
None, they declare darkness a new standard.

Anders Trobäck
http://www.troback.com/
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions about adding new disk

2006-10-02 Thread Daniel Johansson
Hello, I've just bought two new Seagate SATA drives and a Promise TX4 
SATA300 controller. The disks and the controller is working fine but I'm 
a little confused how I should setup them.


First of all I'm running FreeBSD 6.1. The disks are two 320 GB drives 
who I'm going to use for storage. Backups, movies, music etc.


I've read the handbook about adding new disks and I've got them setup 
but here are my questions.


1. Should I use soft updates or not on the new disks? The handbook 
doesn't mention anything about using -U to newfs to setup soft updates. 
The installer is using it on the system disks but is it a bad idea to 
use it on storage disks or why isn't it mention in the handbook?


2. Is it a bad idea to use tunefs -m 0 ? I don't need any space reserved 
for root at the disks but the man page mentions that I'll loose 
performance when using -m 0. Will it be so much that the extra space 
isn't worth the performance loss?


3. Should I use tunefs -o space or time? I guess space is the way to go 
but again how much of a performance loss is there?


If you replay to this email could you please CC it to me as I'm not 
subscribed to this list.


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


Re: Questions about adding new disk

2006-10-02 Thread Garrett Cooper

On Oct 2, 2006, at 1:19 PM, Daniel Johansson wrote:

Hello, I've just bought two new Seagate SATA drives and a Promise  
TX4 SATA300 controller. The disks and the controller is working  
fine but I'm a little confused how I should setup them.


First of all I'm running FreeBSD 6.1. The disks are two 320 GB  
drives who I'm going to use for storage. Backups, movies, music etc.


I've read the handbook about adding new disks and I've got them  
setup but here are my questions.


1. Should I use soft updates or not on the new disks? The handbook  
doesn't mention anything about using -U to newfs to setup soft  
updates. The installer is using it on the system disks but is it a  
bad idea to use it on storage disks or why isn't it mention in the  
handbook?


2. Is it a bad idea to use tunefs -m 0 ? I don't need any space  
reserved for root at the disks but the man page mentions that I'll  
loose performance when using -m 0. Will it be so much that the  
extra space isn't worth the performance loss?


3. Should I use tunefs -o space or time? I guess space is the way  
to go but again how much of a performance loss is there?


If you replay to this email could you please CC it to me as I'm not  
subscribed to this list.


Thank you for you help.


My suggestions:

1. Turn softupdates on, or else if you lose power to the disk  
accidentally and some changes to the fs were in effect, you will  
possibly (20%~33% chance from my experience) lose data.


2. You want reserved space, or else fs'es fragment easily in the unix  
world, and you can still keep writing to an extent or another if  
you're root or privileged and you have reserved space IIRC.


3. It depends.. what do you want more and what is the role of the  
disk? If it's truly just storage and not used for a lot of swapping/ 
paging type applications, etc, think of using space over time.  
Otherwise, use time.


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


Re: SWAP priority

2006-10-02 Thread Bob
On Monday 02 October 2006 14:23, Charles Swiger wrote:


 Well, you might try benchmarking the system with both arrays used for
 swapping and with only the less-busy RAID array being used for
 swapping, and see which one does better.

Yes, this is what I will do; if not benchmark, at least get a subjective feel 
for which is faster.

Sorry to be a pest, but how can I do what you suggest? My SWAP0 is a 
_partition_  on the  raid0 volume , and SWAP1 is a swapfile on raid1 created 
as a Vnode; and activated in rc.conf by swapfile=/raid1/swap1 
 
How can I tell FreeBSD to ignore the primary swap partition?  I set that 
partition  up during the online install process if I recall, and none of 
my /etc/ files seem to reference it directly :-(

I will also want to double the size of SWAP1 to 2GB, so the experiment is 
comparing the same swap space; but that part is simplistic.

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


Ruby gaining weight?

2006-10-02 Thread Pete Slagle
Recent versions of ruby18 seem to take more than 145 MB of virtual
memory to build with portupgrade or make install clean.

I have several classic boxes running bind and a mail MTA on 4.11 that
are memory-limited, but otherwise work well. The main boards are maxed
out at 64 MB of RAM, and they have 128 MB of swap. The ruby build fails
 as swap space becomes exhausted.

Sure, I could reorganize the hard drives on these boxes to add more
swap, but nothing else needs more that a few KB. Moreover, rebuilding
the hard drives is to be avoided since these machines are part of a
basic infrastructure that has been stable for years.

Is ruby really that piggy, or do I just have a configuration issue?


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


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
When I read your answer I *knew* you were right! And right you were! Thanks!
Ted2

Dave McCammon [EMAIL PROTECTED] wrote: 

--- Ted Johnson
 wrote:

 Hi; 
 I have python 2.3.5 and I'd like to upgrade to
 2.4.3. I've tried installing from FreeBSD ports and
 the oldfashioned way from source code, with the
 configure  make  make install dance, and still
 when I call up my python interpreter it tells me I'm
 in 2.3.5! Why? I didn't do altinstall! What gives?
 
 TIA,
 Ted2


Where is the 2.3.5 version installed? Perhaps it is
installed in a directory earlier in your PATH than the
2.4.3 versions directory(/usr/local/bin/).


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



-
Want to be your own boss? Learn how on  Yahoo! Small Business. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about installing FreeBSD

2006-10-02 Thread Jonathan Chen
On Mon, Oct 02, 2006 at 07:23:52AM -0700, Michael Christensen wrote:
 Hi,

   I really hope that you're answering questions about installing FreeBSD, 
 since I can't yet start threads on freebsdforum.org.

   My question is : 
   I have downloaded the entire FreeBSD 6.1 (about 17,5 GB) ...

Odd. My FreeBSD installation CD doesn't span more than one CD.

   I'm booting from floppies and now can't understand why the sysinstall can't 
 find the DOS partition on the slave. Is it because it's on a NTFS or what am 
 I doing wrong?


FreeBSD doesn't use DOS partitions. You need to make an unallocated
partition for it to install to.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mount permissions on disk

2006-10-02 Thread Daniel Johansson
Hello, I'm sorry if this is a dumb question but I can't find the answer 
anywhere. I've tried both google and searching the mailing list.


Anyway what I would like to know is how I change permissions on a mount. 
I've got a new disk and I would like to mount it with the permission 775 
so that my user, in wheel, can write to the root of the disk too.


If I remember correctly in 4.x all you had to do was to set 775 on the 
dir you use as mount point but in FreeBSD 6.1 this doesn't seem to work.


So is there any other way I can set 775 as permission on my mount?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrading multimedia/x264

2006-10-02 Thread Andriy Babiy
I'm experiencing the same problem. When I do:
portupgrade -R x264
the patch fails to apply.
Mplayer port cannot be upgraded too for the same reason.


Message: 13
Date: Sun, 1 Oct 2006 11:08:32 +0200
From: Beni [EMAIL PROTECTED]
Subject: portupgrading multimedia/x264 : patch failed to apply cleanly
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=utf-8

Hello List,

When trying to portupgrade multimedia/x264 I get an error message :
patch
failed to apply cleanly. I just ran a portsnap fetch update, so my
ports
should be up to date. What is the remedy here ?

Thanks for any help.

Beni.

www# make reinstall
===  Vulnerability check disabled, database not found
===  Found saved configuration for x264-0.0.20060112_1
= x264-snapshot-20060926-2245.tar.bz2 doesn't seem to exist
in /usr/ports/distfiles/.
= Attempting to fetch from
http://downloads.videolan.org/pub/videolan/x264/snapshots/.
x264-snapshot-20060926-2245.tar.bz2   100% of  533 kB  351 kBps
===  Extracting for x264-0.0.20060926_1
= MD5 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
= SHA256 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
===  Patching for x264-0.0.20060926_1
===  Applying FreeBSD patches for x264-0.0.20060926_1
1 out of 1 hunks failed--saving rejects to encoder/ratecontrol.c.rej
= Patch patch-encoder_ratecontrol.c failed to apply cleanly.
= Patch(es) patch-Makefile patch-configure applied cleanly.
*** Error code 1

Stop in /usr/ports/multimedia/x264.
*** Error code 1

Stop in /usr/ports/multimedia/x264.

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


Re: backup existing sata drive

2006-10-02 Thread Damian Wiest
On Sat, Sep 30, 2006 at 03:20:33AM -0700, Dino Vliet wrote:
 Eeh, are the differences between real backup and point
 in time recovery?

Point in time recovery allows you to restore you system to a single 
point in time.  Backups, depending on how they're performed, give you 
multiple points in time from which to recover.

 What I want is to have a identical backup drive at
 every moment in time. So even if I add or delete files
 on my primary hard disk, I would want to have that.
 But then again, if I go this route, if I wipe out my
 whole disk accidentally, the backup would be wiped out
 too? But still, I'm not that stupid or, it never
 happens so I don't think it will happen now. 

You're talking about disk mirroring which will not help you 
if you accidentally delete or overwrite a file.  Use your
system long enough and this _will_ happen.

 So, I think I want to two disk to be identical so that
 gives me less headache if one of them fails.
 
 Dump can use my ubuntu partition as well so I will be
 able to use that. But that will give me point-in-time
 recovery, right?

Yes.  Keep in mind that dump remembers, via dump levels,  what's been
backed up so it will do incremental backups.

 Geom looks cool, I will start reading the docs and
 look into them. I've found the article of Dru Lavigne,
 and the freebsd handbook has some sections as well
 about it and I've found
 http://www.freebsdwiki.net/index.php/RAID1,_Software,_How_to_setup
 
 Enough to read before my drives arrive. Hope I won't
 encounter problems because I'm afraid I could loose
 everything.
 
 Thanks for your answer.

I'd go with GEOM.  Extremely easy to setup and maintain.

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


Re: Directory server

2006-10-02 Thread Damian Wiest
On Mon, Oct 02, 2006 at 07:26:20AM +0700, rithy4u- CEO wrote:
 Dear All,
 
 I am seeking the way how to implement FreeBSD+LDAP+Samba to build a file 
 server for medium size business which will serv up to 60 concurrent users.
 
 But the issue is, how we get it all in one package? and join all windows 
 clients into Samba Domain? I hope someone can help me up with this.
 
 Thanks and Best Regards,
 
 Richard Ben, CIO
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

You should be able to use FreeBSD's Samba and OpenLDAP port without 
issue.  I haven't used Samba with LDAP (probably Active Directory in 
your case), but I know it's supported.  As for connecting Windows 
clients, Samba does include a NetBIOS nameserver with WINS support.

Here are a couple of links to get you started:

http://aput.net/~jheiss/samba/ldap.shtml
http://lilly.csoft.net/~vdebaere/handleiding/samba-activedirectory/index_en.html
http://samba.org/samba/news/articles/abartlet_thesis.pdf

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


Re: portupgrading multimedia/x264

2006-10-02 Thread Michael Johnson

On 10/2/06, Andriy Babiy [EMAIL PROTECTED] wrote:


I'm experiencing the same problem. When I do:
portupgrade -R x264
the patch fails to apply.
Mplayer port cannot be upgraded too for the same reason.



update ports, its fixed now. sorry


Message: 13

Date: Sun, 1 Oct 2006 11:08:32 +0200
From: Beni [EMAIL PROTECTED]
Subject: portupgrading multimedia/x264 : patch failed to apply cleanly
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=utf-8

Hello List,

When trying to portupgrade multimedia/x264 I get an error message :
patch
failed to apply cleanly. I just ran a portsnap fetch update, so my
ports
should be up to date. What is the remedy here ?

Thanks for any help.

Beni.

www# make reinstall
===  Vulnerability check disabled, database not found
===  Found saved configuration for x264-0.0.20060112_1
= x264-snapshot-20060926-2245.tar.bz2 doesn't seem to exist
in /usr/ports/distfiles/.
= Attempting to fetch from
http://downloads.videolan.org/pub/videolan/x264/snapshots/.
x264-snapshot-20060926-2245.tar.bz2   100% of  533 kB  351 kBps
===  Extracting for x264-0.0.20060926_1
= MD5 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
= SHA256 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
===  Patching for x264-0.0.20060926_1
===  Applying FreeBSD patches for x264-0.0.20060926_1
1 out of 1 hunks failed--saving rejects to encoder/ratecontrol.c.rej
= Patch patch-encoder_ratecontrol.c failed to apply cleanly.
= Patch(es) patch-Makefile patch-configure applied cleanly.
*** Error code 1

Stop in /usr/ports/multimedia/x264.
*** Error code 1

Stop in /usr/ports/multimedia/x264.

___
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: NAS server

2006-10-02 Thread Norberto Meijome
On Mon, 2 Oct 2006 11:47:43 -0700 (PDT)
Brian [EMAIL PROTECTED] wrote:

  Is this the preferred FreeBSD solution to this problem?

what is the problem? what are you trying to do? what clients do you look to
support?

_
{Beto|Norberto|Numard} Meijome

Life is not measured by the number of breaths we take, but by the moments that
take our breath away.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
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 block rj45 sockets.

2006-10-02 Thread Marwan Sultan


Do you recommend any good switch product and model number which has port 
enable.disable

feature ? other than cisco, in a good price?
Cisco is litl  bit expensive specially im talking about 24 switch each, 20 
ports!!


thank you
Marwan Sultan


Get real switching hardware to replace those Belkins.  Cisco and other
switches will allow you to enable/disable ports on demand.

--
Bill Moran
Collaborative Fusion Inc.


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: NAS server

2006-10-02 Thread Brian

Norberto Meijome wrote:

On Mon, 2 Oct 2006 11:47:43 -0700 (PDT)
Brian [EMAIL PROTECTED] wrote:

  

 Is this the preferred FreeBSD solution to this problem?



what is the problem? what are you trying to do? what clients do you look to
support?

_
{Beto|Norberto|Numard} Meijome

Life is not measured by the number of breaths we take, but by the moments that
take our breath away.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

I'll be doing 2 things mainly;
Since I prefer apple lossless for my iPod, even with a few hundred gig 
hard drive, i would use a ridiculous quantity of space on my pc to do this.
I also want to copy imprtant files from windows and bsd boxes to it, as 
a long term backup storage solution. 
I could just build a nix box with a 3ware raid controller running samba, 
but not having done that before, I'm not sure how much work is in there.
Maybe offer others storage as well.  I'm envisioning a raid 5 box with 
1.5 to 2 terabytes.
I looked at 
http://www.tomshardware.com/2005/09/19/thecus_n4100_brings_storage_space_to_your_lan/, 
but changing the array size doesnt appear to be an easy process there.


Bri

Brian

Brian
___
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 block rj45 sockets.

2006-10-02 Thread Bill Moran
Marwan Sultan [EMAIL PROTECTED] wrote:
 
 Get real switching hardware to replace those Belkins.  Cisco and other
 switches will allow you to enable/disable ports on demand.
 
 Do you recommend any good switch product and model number which has port 
 enable.disable
 feature ? other than cisco, in a good price?
 Cisco is litl  bit expensive specially im talking about 24 switch each, 20 
 ports!!

Don't top-post.

There are a number of vendors who sell managed switches.  I don't
recommend any of them.  I think Cisco is worth the extra money.

However, most manufactures who sell switches have a line of managed
switches.  I don't recommend Dells, but they do exist.  3Com has them --
just about anyone who's serious about selling networking equipment
has them.

-- 
Bill Moran

MAL: Hell, this job I would pull for free.
ZOE: Can I have your share?
MAL: No.
ZOE: If you die, can I have your share?
MAL: Yes.

___
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 block rj45 sockets.

2006-10-02 Thread Jonathan Horne


 Get real switching hardware to replace those Belkins.  Cisco and other
 switches will allow you to enable/disable ports on demand.
 
 --
 Bill Moran
 Collaborative Fusion Inc.


On Monday 02 October 2006 18:44, Marwan Sultan wrote:
 Do you recommend any good switch product and model number which has port
 enable.disable
 feature ? other than cisco, in a good price?
 Cisco is litl  bit expensive specially im talking about 24 switch each, 20
 ports!!

 thank you
 Marwan Sultan

 ebay!!

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


scripting question

2006-10-02 Thread jan gestre

i made a script and put on root's crontab, however it's not doing or showing
the output that is forwarded to my email address correctly therefore i'm not
sure if it is working or not. below is what the script look like:

#
# cvsrun - Weekly CVSup Run

echo Subject: `hostname` weekly cvsup run
/usr/local/bin/cvsup -g -L 2 /root/ports-supfile
echo 
/usr/local/bin/portmanager -s | grep OLD
echo 
echo cvsrun done.

#

i would like the output of this command

/usr/local/bin/portmanager -s | grep OLD

to show in my mail where i forwarded it. below is the cronjob.

30 8 * * * root /usr/local/bin/cvsrun | mail -s Daily cvsup run and
portmanager user1

can someone help me to correct this script, to show the output that i want.

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


Re: scripting question

2006-10-02 Thread Atom Powers

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

i made a script and put on root's crontab, however it's not doing or showing
the output that is forwarded to my email address correctly therefore i'm not
sure if it is working or not. below is what the script look like:


...


30 8 * * * root /usr/local/bin/cvsrun | mail -s Daily cvsup run and
portmanager user1



Why don't you make this a periodic script. Put it in
'/usr/local/etc/periodic/weekly/299.cvrun' and it will be run every
week with the rest of your periodic; with periodic you get much
better control over where output is sent.

--
--
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: Ruby gaining weight?

2006-10-02 Thread Alex Zbyslaw

Pete Slagle wrote:


Recent versions of ruby18 seem to take more than 145 MB of virtual
memory to build with portupgrade or make install clean.

I have several classic boxes running bind and a mail MTA on 4.11 that
are memory-limited, but otherwise work well. The main boards are maxed
out at 64 MB of RAM, and they have 128 MB of swap. The ruby build fails
as swap space becomes exhausted.

Sure, I could reorganize the hard drives on these boxes to add more
swap, but nothing else needs more that a few KB. Moreover, rebuilding
the hard drives is to be avoided since these machines are part of a
basic infrastructure that has been stable for years.

Is ruby really that piggy, or do I just have a configuration issue?
 


Karol Kwiatkowski wrote less than a week ago:


Just some thoughts as others already identified the problem:

here's similar thread with some workarounds:
http://lists.freebsd.org/pipermail/freebsd-questions/2006-September/131328.html

In the meantime I've found NOPORTDOCS variable - if you don't need
ruby docs just disable them (docs are generated during install part)

# cd /usr/ports/lang/ruby18
# make -DNOPORTDOCS install

The install part without docs takes about 30 seconds on 400Mhz/96MB
machine (it would take hours otherwise).

HTH,

Karol

 



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


Re: Directory server

2006-10-02 Thread Atom Powers

On 10/1/06, rithy4u- CEO [EMAIL PROTECTED] wrote:

Dear All,

I am seeking the way how to implement FreeBSD+LDAP+Samba to build a file server 
for medium size business which will serv up to 60 concurrent users.

But the issue is, how we get it all in one package? and join all windows 
clients into Samba Domain? I hope someone can help me up with this.



Over the summer I implimented this exact setup, an MS Windows domain
without any MS Windows servers, for a company of about 1000 users.
There are some pretty serious draw-backs to not using MS Win 2003 as
your domain controller, but with the right tools you can get pretty
close; and the advantages of not using MS Windows make up the rest of
the difference.

Check out the how-to documents posted by others, if you have any
specific questions let me know, I may be able to help. ( I
didn't/don't use Kerberose, yet.)

P.S. This is not an easy thing to set up. I'm not aware of any easy
ldap servers so you are probably going to end up doing a lot of
development work on your ldap schema, importing users, and setting up
your local directory before you even look at samba. I spent about four
months on my system and I had a working, although very badly
constructed, system to start from.

--
--
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: Good networking books for a beginner?

2006-10-02 Thread Duane Whitty
On Sun, Oct 01, 2006 at 12:12:27AM -0400, Rob wrote:
 Does anyone happen to know of any good books that explain all about
 networking in detail (such as gateways, netmasks, etc)?  I know the 'basics'
 but would like to dig in a little deeper.
 
 Thanks,
 rob

An online article that I found quite helpful was Daryl's TCP/IP Primer
http://www.ipprimer.com/overview.cfm

I was quite surprised by how much detail was there when I started actually
following along with its tutorial style.

Best Regards,

Duane Whitty
___
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 block rj45 sockets.

2006-10-02 Thread Olivier Nicole
 Do you recommend any good switch product and model number which has port 
 enable.disable

This is refeered to as manageable switch, or managed switch, or SNMP
manageable.

See with your prefered dealer according to your budget.

Of course if the switches are in a closed rack, you can also simply
disconnect whatever cable you want and lock the rach.

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


Re: freeBSD official font

2006-10-02 Thread Luchezar P. Petkov

jarek wrote:

Luchezar P. Petkov napisał(a):

jarek wrote:

hi
can you tell me what is name of freeBSD font?
i would like to do some artworks to promote freebsd and i beadly 
need this font


bye


It was made by the author of the logo, you can find it here:
http://www.freebsd.org/logo.html
Look at the SVG/Illustrator files.

--Luchezar P. Petkov




yep, i saw that, but i need whole alphabet to make a slogan

thanks for help

Try to talk with the author, maybe he will give you the font in TTF or 
something.

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


freebsd-update

2006-10-02 Thread Brian

www# /usr/sbin/freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

I'm using the default config file.

Bri

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


Re: downloading Free BSD

2006-10-02 Thread Foo JH
ISO format represents an image of a CD. If you have a Windows OS, use 
the CD burning software that comes with it to recreate the CD from the 
ISO file. Do not burn the file into the CD as-is.


Ryan and Sabrina Tardi wrote:

What do I do with the ISO files once they are downloaded?  Do I burn
them directly to a CD then use the CD to install?  Forgive me for my
ignorance of ISO files!
 
Ryan and Sabrina Tardi

155 Calder Rd.
St. Andrews, MB R1A 4B6
H 204.785.9781
C 204.799.3968
[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: Apache2* and mod_perl2

2006-10-02 Thread Foo JH
I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time. 
It's been pretty stable to date. What exactly are the problems you 
encountered?


Paul Schmehl wrote:
Last night I spend several hours trying to get a website working with 
apache22 and then apache20 and mod_perl2.  I never succeeded.


This website works fine with apache1.3.* and mod_perl.  We run the UBB 
bulletin board, which is written in perl.  All the executable files 
are named *.cgi.


I googled and read document after document, waded through the apache 
mod_perl site until my eyes were crossed, all to no avail.  In 
apache20, after configuring httpd.conf in what I thought was the right 
way, I got a Forbidden error.  Obviously, I checked perms (even made 
the 777 briefly), but no go.  In apache22, all I ever got was the 
plain text of the program file.


Does anyone know of a website that can unlock the mystery of mod_perl2 
on apache2?  I figure sooner or later I'm going to have to move to 
apache2, but I sure can't do that until I figure out how to get it 
working.


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


___
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 block rj45 sockets.

2006-10-02 Thread Norberto Meijome
On Mon, 02 Oct 2006 23:44:01 +
Marwan Sultan [EMAIL PROTECTED] wrote:

 Cisco is litl  bit expensive specially im talking about 24 switch each, 20 
 ports!!
If price is an issue, you can look into what some smaller vendors (such as
linksys (now of cisco too, but cheaper), Netgear and others) call 'smart
switches'. I have a 24 port GigE 'smart/ web manageable' switch that allows me
to disable ports as needed. It's like a low cost managed switch.

_
{Beto|Norberto|Numard} Meijome

When the Paris Exhibition closes electric light will close with it and no more
be heard of. Erasmus Wilson (1878) Professor at Oxford University

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache2* and mod_perl2

2006-10-02 Thread Paul Schmehl
--On October 3, 2006 12:53:17 PM +0800 Foo JH [EMAIL PROTECTED] 
wrote:



I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time.
It's been pretty stable to date. What exactly are the problems you
encountered?

I was never able to get cgi working, as I described in the email you 
responded to (copied below.)



Paul Schmehl wrote:

Last night I spend several hours trying to get a website working with
apache22 and then apache20 and mod_perl2.  I never succeeded.

This website works fine with apache1.3.* and mod_perl.  We run the UBB
bulletin board, which is written in perl.  All the executable files
are named *.cgi.

I googled and read document after document, waded through the apache
mod_perl site until my eyes were crossed, all to no avail.  In
apache20, after configuring httpd.conf in what I thought was the right
way, I got a Forbidden error.  Obviously, I checked perms (even made
the 777 briefly), but no go.  In apache22, all I ever got was the
plain text of the program file.

Does anyone know of a website that can unlock the mystery of mod_perl2
on apache2?  I figure sooner or later I'm going to have to move to
apache2, but I sure can't do that until I figure out how to get it
working.


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


Re: ipfw cups

2006-10-02 Thread Norberto Meijome
On Mon, 2 Oct 2006 16:22:13 +0100 (GMT+01:00)
Vittorio [EMAIL PROTECTED] wrote:

 To my ipfw firewall I have added, according to what I found in the 
 internet, the following rule to allow the use of cupsd on the same box:
 
 00520 allow ip from any to any dst-port 631 in
 
 to no avail because it 
 is not even checked as you can see below from the log (obtained from 
 kde kcontrol center trying (and failing) to display the connected cups' 
 printers):
 
 Am I missing something?
 What should I do?
 Ciao
 Vittorio
 ..
 NbBSD# ipfw -td list
 00500 check-state
 00501 Mon Oct  2 17:10:13 
 2006 deny tcp from any to any established
 00502 
 deny ip from any to any frag
 00503 Mon Oct  2 17:10:13 2006 allow ip 
 from any to any via lo0
 00514 deny ip from any 
 to any not verrevpath in
 00520 allow ip from 
 any to any dst-port 631 in
 00525 deny ip from 
 any to 127.0.0.0/8
 ...
 ...
 00609 allow tcp from 10.155.102.6 1491 to any
 00610 allow tcp from me to any dst-port 53 out 
 via fxp0 keep-state
 00612 allow udp from me to 
 any dst-port 53 out via fxp0 keep-state
 00700 
 allow icmp from 10.155.0.0/16 to any via fxp0
 65535 Mon Oct  2 17:10:13 
 2006 deny ip from any to any

can you please send your rules again , making sure there is no dates inserted
all over the place? 
thx
_
{Beto|Norberto|Numard} Meijome

Throughout the centuries there were [people] who took first steps down new
paths armed only with their own vision. Ayn Rand

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SWAP priority

2006-10-02 Thread Norberto Meijome
On Mon, 2 Oct 2006 16:31:47 -0400
Bob [EMAIL PROTECTED] wrote:

 Sorry to be a pest, but how can I do what you suggest? My SWAP0 is a 
 _partition_  on the  raid0 volume , and SWAP1 is a swapfile on raid1 created 
 as a Vnode; and activated in rc.conf by swapfile=/raid1/swap1 
  
 How can I tell FreeBSD to ignore the primary swap partition?  I set that 
 partition  up during the online install process if I recall, and none of 
 my /etc/ files seem to reference it directly :-(

comment out the line swapfile in rc.conf .

B

_
{Beto|Norberto|Numard} Meijome

Science Fiction...the only genuine consciousness expanding drug
  Arthur C. Clarke

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Playing audio

2006-10-02 Thread Norberto Meijome
On Mon, 2 Oct 2006 16:28:00 +0700 (ICT)
Olivier Nicole [EMAIL PROTECTED] wrote:

 In a C program, how can I play a sound file, what format should I use
 for that sound file?
not entirely sure, but man pcm ( == man 4 sound ) seems to have several
pointers,  including a link to the OSS API.

good luck

_
{Beto|Norberto|Numard} Meijome

Never attribute to malice what can adequately be explained by incompetence.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Checking remote processes

2006-10-02 Thread Norberto Meijome
On Sun, 01 Oct 2006 18:24:41 -0700
Garrett Cooper [EMAIL PROTECTED] wrote:

 ssh some.hosts.address ps aux | grep httpd

ssh some.hosts.address ps aux | grep httpd | grep -v grep

to make sure you don't catch the 'grep httpd' in the output ;)
_
{Beto|Norberto|Numard} Meijome

Humans die and turn to dust, but writing makes us remembered
  4000-year-old words of an Egyptian scribe

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Checking remote processes

2006-10-02 Thread Norberto Meijome
On Mon, 2 Oct 2006 01:52:19 - (GMT)
[EMAIL PROTECTED] wrote:

  In the last episode (Oct 02), [EMAIL PROTECTED] said:  
  Is there a way to test a remote server to determine if certain
  processes are running?
 
  For example, can server 1 check server 2, which is at a remote
  location, to ensure squid is running?
 
  I have not been able to figure out how to do this, or if it is even
  possible.  
 
  Easiest way would be to try connecting to squid's listening port.  This
  only works with daemons that listen on internet sockets, but quite a
  few do.
 
  --
  Dan Nelson
  [EMAIL PROTECTED]
   
 I hadn't thought of that.  I'll give it a try.

you may want to look into a proper management system to handle this, like
nagios and similar. No point reinventing the wheel.

_
{Beto|Norberto|Numard} Meijome

Time exists so everything doesn't happen at once
   Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fw: Re: Apache2* and mod_perl2

2006-10-02 Thread James Corteciano

Have you try to update your ports tree collection? what is version of your
FreeBSD?


From: Paul Schmehl [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Date: Tue, 03 Oct 2006 00:03:14 -0500
Subject: Re: Apache2* and mod_perl2
--On October 3, 2006 12:53:17 PM +0800 Foo JH [EMAIL PROTECTED]
wrote:

 I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time.
 It's been pretty stable to date. What exactly are the problems you
 encountered?

I was never able to get cgi working, as I described in the email you
responded to (copied below.)

 Paul Schmehl wrote:
 Last night I spend several hours trying to get a website working with
 apache22 and then apache20 and mod_perl2.  I never succeeded.

 This website works fine with apache1.3.* and mod_perl.  We run the UBB
 bulletin board, which is written in perl.  All the executable files
 are named *.cgi.

 I googled and read document after document, waded through the apache
 mod_perl site until my eyes were crossed, all to no avail.  In
 apache20, after configuring httpd.conf in what I thought was the right
 way, I got a Forbidden error.  Obviously, I checked perms (even made
 the 777 briefly), but no go.  In apache22, all I ever got was the
 plain text of the program file.

 Does anyone know of a website that can unlock the mystery of mod_perl2
 on apache2?  I figure sooner or later I'm going to have to move to
 apache2, but I sure can't do that until I figure out how to get it
 working.

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






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