Re: installing 6.1 on Compaq Proliant 5000

2006-09-07 Thread Ted Mittelstaedt
This isn't unusual, it happens with certain array cards.

If the disk drivers of each different operating system don't agree in how
the disk is laid out that the intelligent driver array controller presents
to
them, then your screwed - you cannot use the array card for a multi-boot
system.

Sometimes you can get away with it by installing FreeBSD on part of
the disk, and a subsequent disk driver will see the FreeBSD partition and
understand not to overwrite it.  But, sometimes not.

It strikes me that Win 2003 Server is going to run dogpile slow, I
simply cannot fathom why you want to multiboot this system in the
first place.  The only OS's that are going to run worth a damn on it
are Linux and FreeBSD, and you just need to pick one or the
other.

Ted

PS:  You do understand the difference between FreeBSD
slices, FreeBSD partitions, and IBM/BIOS partitions don't you?
That is your not doing something incorrect like trying to install
another OS within a FreeBSD logical slice


- Original Message - 
From: Lee Shackelford [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, September 06, 2006 10:00 AM
Subject: installing 6.1 on Compaq Proliant 5000



 Initial message posted on 8/24/2006:
 Good morning dear FreeBSD enthusiasts.  I am attempting to install FreeBSD
 6.1 on a Compaq Proliant 5000.  The computer is equipped with four Pentium
 Pro processors clocked at 200 mhz and with a Smart 2/P hardware-RAID
array.
 The BIOS indicates that the first two processors have failed.  They are
 actually okay, but there is something wrong with their socket on the
 motherboard...

 Current message:
 Thank you to the two people who responded to my original message.  With
 their help, I have progressed to the point of specifying the slice into
 which I want the system installed.  There are three primary slices on this
 computer, plus one extended slice.  The three primary slices all end
within
 the 1024 cylinder limit.  The two primary slices that do not contain
 FreeBSD are reserved for the installation of other operating systems.  I
 wish to place the swap slice/partition in the extended slice.  The fdisk
 program supplied with FreeBSD  sees all of the extended slice as one
slice,
 and does not seem to be able to see the logical slices within it.  Most of
 my 15 gb. drive is in the extended slice.  Does anyone know how to solve
 this problem?  All suggestions are appreciated.  Yours truly, Lee
 Shackelford

 ___
 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: Getting GELI Keys from Floppy

2006-09-07 Thread Nikos Vassiliadis
On Thursday 07 September 2006 00:00, Frank Steinborn wrote:
 Hello,

 i want to encrypt my HDD's with GELI (not the root-fs, though). I want
 to do the encryption without password, just with a key. The key should
 be stored in a floppy disk, and the read should be read automatically
 on boot, from the floppy.

Are you sure you want to trust a floppy disk for your keys??
It's not the most safe medium these days...


 There is a problem here, because GELI initializes _before_ mounting
 the disks from /etc/fstab (for obvious reasons, of course). So GELI is
 not able to get the keys from the floppy and fails.

 So, any hints how I could get the floppy mounted _before_ GELI tries
 to initialize?

Why don't you use the plain device(/dev/fd0) instead of using a file on a 
filesystem on the floppy? I think there are examples in the manual page.

Anyway, I find this a very very bad idea. If the floppy break in some way
you're gonna be in big trouble...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Do I not understand shared-lib versions? (Re: OpenOffice port vs Firefox)

2006-09-07 Thread Perry Hutchison
  Having gotten a sufficiently-recent version of glib, I am now
  several hours into the build of OpenOffice, and I've discovered
  that Firefox has quit working.  When I try to start it:
  
  GThread-ERROR **: file gthread-posix.c: line 187 (): error 'Invalid 
  argument' during 'pthread_mutex_trylock'
  aborting...
  Abort trap (core dumped)
  
  Of course, since it won't start up, I can't consult Help/About
  to find out the version :(  but based on /var/db/pkg I think it
  is firefox-1.5.0.1_1,1
  
  I suppose Firefox and OpenOffice are tripping over each other WRT
  the version of some shared library, but I thought the whole point
  of having version numbers on shared libs was to prevent that sort
  of problem.
 
 ...
 
 I would suspect that you've hit some obscure version issue ...
 I seem to remember one point at which I rebuilt OOo and had to
 rebuild firefox to get it working, but I don't remember for sure.

The Firefox is the package from the 6.1 CD set, and the OpenOffice
is a current Ports build (in process).  I figure to try rebuilding
Firefox from its port once the OpenOffice build finishes -- it's
been running for something over 16 hours now, and is currently in
svx/source/svdraw.

What I don't get is why a shared-lib change would manifest this way.
If I understand shared-lib versioning correctly, any incompatible
change to any exported API should have occasioned a change to at
least the minor version number, precisely to avoid this sort of hit
on an existing binary that was built to the old API.  Such binaries
should continue to use the old version of the shared library, no?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't run openoffice on amd64

2006-09-07 Thread Stroganov A. V.
Hi.
I've downloaded latest package of OOo for FreeBSD 6.1 for amd64 from
good-day, installed it, but it doesn't run, saying 3 times:
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: unsupported file layout

any advice?

uname -a:
FreeBSD savs.home 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jul 25 10:34:37
MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  amd64

Thank you.

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


Re: Xorg install

2006-09-07 Thread Gerard Seibert
g wrote:

 how do i do that?  i'm a newbie.

Well, for starters, try not top posting.

Are you familiar with the process of updating the ports system either
with cvsup or portsnap? If not, read the man pages. If yu still have
questions, then check back here. I am assuming that you have never
updated the ports on your system.


-- 
Gerard Seibert
[EMAIL PROTECTED]

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


Firefox: anti-alias issue

2006-09-07 Thread Kyrre Nygård

Hello,

Has anybody else noticed that not all fonts in Firefox get anti-aliased? Only 
like half? I'm using Ifirefox-1.5.0.1_1,1 and I think it's rather unfortunate 
that Firefox acts like this by default. Poor guy at 
http://www.freebsdforums.org/forums/showthread.php?t=43683 never found a 
solution either. Can anybody out there help us?

Thank you indeed,
Kyrre


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


Re: Xorg install

2006-09-07 Thread Anthony Agelastos


On Sep 7, 2006, at 1:09 AM, g wrote:


how do i do that?  i'm a newbie.

In being new to FreeBSD, you should read the Handbook (or at least  
peruse it so you have some idea what is contained within it). If you  
go to the FreeBSD home page and click on Documentation, you will be  
taken to a site that has a lot of options for documentation, with one  
of them being For Newbies. I recommend reading through that link as  
well; it will help you immensely with FreeBSD. The FreeBSD project  
has _very_ good documentation.


For your CVSup/Portsnap questions:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- 
using.html



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


Re: Xorg install

2006-09-07 Thread J65nko

You can download the latest ports tree from
http://www.freebsd.org/ports/installing.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg install

2006-09-07 Thread Matthias Apitz
El día Thursday, September 07, 2006 a las 01:09:33PM +0200, J65nko escribió:

 You can download the latest ports tree from
 http://www.freebsd.org/ports/installing.html

Hello,

One question concerning this: Can this be used regardless of the
underlaying FreeBSD system 6.0-REL versus 6.1-REL or are there
dependencies, for example newer sys calls or driver software in
the ports like iwi firmware, etc.?

Thx.

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can i build more than one world on a buildserver?

2006-09-07 Thread Jonathan Horne
On Wednesday 06 September 2006 19:05, Jonathan Horne wrote:
 On Wednesday 06 September 2006 13:16, [EMAIL PROTECTED] wrote:
  On 9/6/06, Jonathan Horne [EMAIL PROTECTED] wrote:
   is it possible to have STABLE and RELENG built on a single build
   server? or further, is it possible to have 5.5 and 6.1 worlds built
   from the same machine?
 
  buildworld and buildkernel targets are
  fairly sophisticated.
 
  The /usr/obj tree corresponds to the source
  directory, so if you have your 5.5 sources in
  /src/5.5
  and your 6.1 sources in
  /src/6.1 (or /usr/src/6.1 for that matter)
 
  the world(s) would be built in
  /usr/obj/src/5.5/ and /usr/obj/src/6.1/
  repsectively. (Or /usr/obj/usr/src/6.1)
 
  If the purpose is to buildworld on one
  fast machine and then export it to slower
  machines on th' network, this works
  admirably well.

 thank you!!  this was the exact hint i was hoping for!

 cheers,
 jonathan

well, so far, kinda so good.

i was able to cvsup 5.5-RELENG, 6.1-STABLE, and 6.1-RELENG to my build box.  i 
did a test kernel on the 6.1-RELENG, and that went fine, pretty much as 
expected.  but the 5.5 will not build.  i get this error:

[EMAIL PROTECTED] /usr/5.5-RELENG/src]# make buildkernel KERNCONF=TYCHE

--
 Kernel build for TYCHE started on Thu Sep  7 06:48:26 CDT 2006
--
=== TYCHE
mkdir -p /usr/obj/usr/5.5-RELENG/src/sys

--
 stage 1: configuring the kernel
--
cd /usr/5.5-RELENG/src/sys/i386/conf;  
PATH=/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/legacy/usr/games:/usr/obj/usr/5.5-RELENG/src/i386/usr/sbin:/usr/obj/usr/5.5-RELENG/src/i386/usr/bin:/usr/obj/usr/5.5-RELENG/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  
config  -d /usr/obj/usr/5.5-RELENG/src/sys/TYCHE  
/usr/5.5-RELENG/src/sys/i386/conf/TYCHE
../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard
*** Error code 1

Stop in /usr/5.5-RELENG/src.
*** Error code 1

Stop in /usr/5.5-RELENG/src.

should building parts of 5.5 from a 6.1-buildserver be possible?  or should i 
install 5.5 on my buildserver, and compile 5.5 from there as well as the 
higher versions?

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


Re: LVM support in FreeBSD

2006-09-07 Thread Jeff Rollin

On 05/09/06, Jeff Rollin [EMAIL PROTECTED] wrote:


Hi list,

I'm wondering whether FreeBSD is able to support reading (at least, but
preferably also writing) Linux LVM volumes? I have an itch to try FreeBSD on
a desktop but all my data is in a Linux LVM.

Is it possible?

TIA,

Jeff Rollin

--



No answers for two days; I can take that as a no, then, can I?

Oh well, there's always VMPlayer

Proud Linux user since 1998






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


cups 1.2.2 and parallel port printers

2006-09-07 Thread [EMAIL PROTECTED]
After cvsupping my ports tree to fix a couple of security problems I 
decided to install cups for printing.


Yea I know it isnt the freebsd default -- thats for another day.

Anyway This new version of cups 1.2.2 is really cool, I like the 
interface and the web admin portal has really undergone lots of work.


My problem is that when you add a printer via the web interface the 
devices pull-down does not show a parallel port even if the system has 
detected that there is a printer there.  (ie dmesg shows the printer 
discovery)


so where is the parallel port?

I asked on the cups list, and got nowhere.

I googled for it, but didn't get anything helpful

here is what I know:

An older version of cups on THIS same machine DID find the SAME printer.

there is a parallel option in the back-ends directory.

I cant find a log entry anywhere that suggests that a parallel port 
printer is even being searched for and not found, so I can't be for 
sure where exactly the problem lies.


anybody seen this behavior before? or have a clue?

Thanks

Rance



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


Re: Getting GELI Keys from Floppy

2006-09-07 Thread Frank Steinborn
Nikos Vassiliadis wrote:
 Are you sure you want to trust a floppy disk for your keys??
 It's not the most safe medium these days...

I'll backup the keys on CD. It's just that I don't want to waste a
CD-ROM drive in this server.
 
 
  There is a problem here, because GELI initializes _before_ mounting
  the disks from /etc/fstab (for obvious reasons, of course). So GELI is
  not able to get the keys from the floppy and fails.
 
  So, any hints how I could get the floppy mounted _before_ GELI tries
  to initialize?
 
 Why don't you use the plain device(/dev/fd0) instead of using a file on a 
 filesystem on the floppy? I think there are examples in the manual page.

I could use /dev/fd0 directly but then I had to use the same key for
all 6 HDD's in the server. I got a solution by hacking /etc/rc.d/geli
- I'm just mounting the floppy there before it tries to read the key.

Thanks for all the people giving suggestions!

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


Re: Xorg install

2006-09-07 Thread Vince
Matthias Apitz wrote:
 El día Thursday, September 07, 2006 a las 01:09:33PM +0200, J65nko escribió:
 
 You can download the latest ports tree from
 http://www.freebsd.org/ports/installing.html
 
 Hello,
 
 One question concerning this: Can this be used regardless of the
 underlaying FreeBSD system 6.0-REL versus 6.1-REL or are there
 dependencies, for example newer sys calls or driver software in
 the ports like iwi firmware, etc.?
 
It should be usable regardless of underlying version, as the port
maintainer should put in version checks to stop it being built on
systems that cant run it. (I say should as i'm sure some don't although
I've yet to find one that doesn't.)

Vince
 Thx.
 
   matthias
 

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


cups 1.2.2 and parallel port printers

2006-09-07 Thread Robert Huff

[EMAIL PROTECTED] writes:

  anybody seen this behavior before? or have a clue?

I don't know if this is your problem, but I have seen similar
issues.
_In my case_, CUPS as ported does not like the permissions on
/dev/lpt0*.  They default to crw---; setting them to
crw-rw-rw- makes the parallel printer appear.
There should be a way to tall devfs to change those permissions
automatically, but I haven't been able to figure it out.



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


Re: LVM support in FreeBSD

2006-09-07 Thread Vince
Jeff Rollin wrote:
 On 05/09/06, Jeff Rollin [EMAIL PROTECTED] wrote:

 Hi list,

 I'm wondering whether FreeBSD is able to support reading (at least, but
 preferably also writing) Linux LVM volumes? I have an itch to try
 FreeBSD on
 a desktop but all my data is in a Linux LVM.

 Is it possible?

 TIA,

 Jeff Rollin

 -- 

 
 No answers for two days; I can take that as a no, then, can I?
 
 Oh well, there's always VMPlayer
 
 Proud Linux user since 1998

 
As far as i'm aware FreeBSD doesnt support Linux LVM (it uses vinum
and/or gvinum, dont know much about it as never used it)
Freebsd Runs fine as a guest OS in Xen apparently which might be better
for you as VMWare player needs a vmware image (easy to find on google I
expect but still..) and you dont get to play with the installer that way ;)


Vince

 
 

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


Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Pete Slagle
Gary Kline wrote:

   SOAPBOX
   Anyway, this is to the entire list:  A week or so ago
   I loaned my 5.3 set to a non-geek friend who had occasionally
   been using RH.  He brought the box of discs back and said it
   was too hard to install; that RH had a much easier installation
   process.  True.  So I gave him my old Ubuntu boot disk.  He's
   happy with it.  ---I realize how much smaller the FBSD hacker
   base is Still,  having a GUI-ish intro makes sense in 
   gaining new converts.  I'm still here  because this Berkeley
   distro really *is* solid.  One fatal trap in 11 years I
   can handle.
SOAPBOX

It's a test. If your friend thinks FreeBSD is difficult to install, then
he is probably better served by something else. There are many choices.
All is well.

The idea that FreeBSD should be altered to better compete in a
popularity contest for new users comes up regularly on this list, but
that idea is suspect.

Many FreeBSD users see it as a feature, an advantage, that no
GUI-ish-ness impedes access to the O/S. Which is not to say that the
GUI-ish stuff isn't available, but the beauty is that it isn't in the
way when you don't need or want it.

Changing FreeBSD to be more friendly to new users would inevitably
make it less appealing to the experienced users who value concision,
efficiency, and direct control (who comprise it primary user base) and
thus is to be resisted.

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


Please Help AMD, mysql, FreeBSD 64

2006-09-07 Thread VeeJay

Hello

Just wondering if I can get an advice from this forum?

What kind of hardware i.e.(Processor, RAM) I need to accomplish following
jobs on a FreeBSD plateform:

I have some mysql dumps around 2 GB eachwith each record is 100 KB...


1. What is the best method to import them into a mysql database without
getting any Out of Memory Error? or freezing MySQL?


2. If I run a little Perl script and read a mysql record per iteration, how
can I avoid illigle memory address access errors?


Somebody talked about AMD 64 processor with FreeBSD 64 version, etc?


I will be really grateful for your kind advices/suggestions

Regards

VeeJay


--
Thanks!

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


Re: cups 1.2.2 and parallel port printers

2006-09-07 Thread Jona Joachim
Robert Huff wrote:
 [EMAIL PROTECTED] writes:
 
  anybody seen this behavior before? or have a clue?
 
   I don't know if this is your problem, but I have seen similar
 issues.
   _In my case_, CUPS as ported does not like the permissions on
 /dev/lpt0*.  They default to crw---; setting them to
 crw-rw-rw- makes the parallel printer appear.
   There should be a way to tall devfs to change those permissions
 automatically, but I haven't been able to figure it out.

You have to specify
  perm  lpt0  0666
in /etc/devfs.conf

--jona

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


Re: solaris

2006-09-07 Thread Freminlins

On 06/09/06, White Hat [EMAIL PROTECTED] wrote:



That is a totally unqualified evaluation.



No it's not. It's in response to YOUR comment that A very large majority of
users simply want to use their PCs for email, occasional word processing and
possible game playing. And OpenOffice fits that bill.



While it may
be totally suitable for one individual, that in no way
infers that it meets the requirements of another.
There is no way you can define an end users
requirements based solely on your own usage.



It's based on YOUR assertion, not mine.

You are kidding right. I can find vastly more

documentation available for a win32 machine than for
FBSD.



Where?

In fact, the lact of documentation is one of the

reasons that support groups like this evolved.



And they exist for Windows users too. And they exist for the same reasons.




It is above average, I will agree. However, if it were
really perfect then this forum would not exist.



I didn't say it was perfect. But even if it was that doesn't wollow that
this group wouldn't exist.


If that were true, MS would not rule 90+ percent of

the PCs in use today. Why do you think users in third
rate countries pirate MS when they could get FBSD for
free?



Because Windows is pre-installed for one.



I would not want to insult anyone; however, if
you cannot install an MS operating system then perhaps
you should consider another hobby. Even my wife's
sister can handle that project, and that is a woman
who considers a can opener a high tech device.



I didn't say anything about installing - you keep going off topic - I said
using. And plenty of people do have problems using Windows. If they didn't,
there wouldn't be a need for all the call centre armies whose job is
basically helping Windows users.



You have users here with 10+ years experience who run
int problems. It is just the nature of the beast. It
comes with the territory.



That's right - it's because Windows is not as easy to use (or rather fix
when broken) as you are making out.


Obviously it required installation. Before you can

install, it is again obvious that you must secure the
item. One size definitely does not fit all. What is
your point?



I am contradicting your point. That is my point.


Norton is pathetic, that I will agree with you on that

one.



I didn't say it was pathetic, so please don't suggest that I did. I said it
had problems. It is one of the most popular products in its field.


That is why I switched three years ago to ZA. It

has never given me a moment of trouble, although the
CA AV it uses by default is not RFC 2595 compliant
which was causing my network problems. One I corrected
it though, everything was back to normal.

BTW, 'time consuming for your techies'? Ah gee, like
what are they paid for? To stand around and kiss each
others butt. I am sick of over paid techies who have
no working knowledge of what they are doing. If they
find their job to stressful, quit!



You clearly are way out of your depth and have no understanding of what
techies do. They should be spending time helping customers use our services,
NOT doing free tech support for Microsoft. And that is basically what they
spend a lot of time doing.


Please do me one favor, do not CC me. I am continually

getting two copies of these. I subscribe to the list.
I don't send you duplicate copies and therefore would
appreciate the same cutesy. Perhaps my address was
already inserted by a previous poster. If so, please
do remove it.



Removed.

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


Re: need a restricted shell

2006-09-07 Thread David Robillard

I am looking for a shell that will allow Subversion to be run over
ssh but not allow interactive login or if it allows interactive
login, will only allow Subversion commands to be run...  Any ideas
on how to accomplish this?


Hi Chad,

You could install the shells/scponly port and build it with it's chroot option.
(i.e. sudo make -DWITH_SCPONLY_CHROOT install) Don't run the `make
clean` just yet, because you will need the setup_chroot.sh script
which is inside the work/scponly-port_version directory.

Use the script to create a chroot directory. Then populate this new
chroot directory with the files required by the commands and libraries
which you want to give to your users (such as Subversion).

Next, use vipw(8) to assign /usr/local/sbin/scponlyc as the shell and
the chroot directory for the user(s) which you want to limit only to
your Subversion commands. Assign a password to those users then test
if you can connect and use the Subversion commands.

Basically, this is Hack number 63 on page 269 in the book BSD Hacks,
100 Industrial-Strength Tips  Tools by Dru Lavigne published by
O'Reilly. (ISBN: 0-596-00679-9).

Also, to further restrict access to your machine, configure sshd(8) to
allow only a limited subset of users. See AllowUsers and AllowGroups
in sshd_config(5) for this.

Finally, if you happen to know the origin of the connections, then
configure TCP_WRAPPERS via /etc/hosts.allow to limit ssh connections.
See hosts_access(5) and section 14.6 of the FreeBSD Handbook for info
on how to set this up.

Alright, if you have any questions, please be my guest and send them up to me.

Cheers!

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


Re: cups 1.2.2 and parallel port printers

2006-09-07 Thread Robert Huff

Jona Joachim writes:

  _In my case_, CUPS as ported does not like the permissions on
   /dev/lpt0*.  They default to crw---; setting them to
   crw-rw-rw- makes the parallel printer appear.
  There should be a way to tall devfs to change those permissions
   automatically, but I haven't been able to figure it out.
  
  You have to specify
perm  lpt0  0666
  in /etc/devfs.conf

[EMAIL PROTECTED] dir /dev/lpt*
crw---  1 root  wheel0,  79 Sep  5 20:45 /dev/lpt0
crw---  1 root  wheel0,  80 Sep  5 20:45 /dev/lpt0.ctl
[EMAIL PROTECTED] grep lpt /etc/devfs.conf
#   make lpt0 available to CUPS
perm/dev/lpt00666

Doesn't seem to work.  :-(


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


Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Alex Zbyslaw

Pete Slagle wrote:


Gary Kline wrote:
 


SOAPBOX
Anyway, this is to the entire list:  A week or so ago
I loaned my 5.3 set to a non-geek friend who had occasionally
been using RH.  He brought the box of discs back and said it
was too hard to install; that RH had a much easier installation
process.  True.  So I gave him my old Ubuntu boot disk.  He's
happy with it.  ---I realize how much smaller the FBSD hacker
	base is Still,  having a GUI-ish intro makes sense in 
	gaining new converts.  I'm still here  because this Berkeley

distro really *is* solid.  One fatal trap in 11 years I
can handle.
 SOAPBOX
   



Many FreeBSD users see it as a feature, an advantage, that no
GUI-ish-ness impedes access to the O/S. Which is not to say that the
GUI-ish stuff isn't available, but the beauty is that it isn't in the
way when you don't need or want it.

 

You are confusing two things, to my mind.  1) The GUI-ness of th OS 2) 
The GUI-ness of the installer.  I would strongly object to a FreeBSD 
that forced some kind of desktop environment on me or that mandated 
only controlling what software runs through smart wizards, but I think 
there is little danger of that.


But the FreeBSD installer is somewhat long in the tooth.  I don't think 
anyone would object to an installer that was a bit more straightforward 
and, say, easier to configure.  Of course, it would have to keep the 
flexibility which sysinstall gives, but there's no reason why it 
couldn't give a more straightforward install path for first-time users 
of FreeBSD who have experience with other Unix-like OSes, or even 
moderately competent windows users.


Once you get the hang of it, sysinstall is mostly fine, but really, 
making it better is not somehow pandering to the great unwashed.


--Alex



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


Re: LVM support in FreeBSD

2006-09-07 Thread Jeff Rollin

On 07/09/06, Vince [EMAIL PROTECTED] wrote:


Jeff Rollin wrote:
 On 05/09/06, Jeff Rollin [EMAIL PROTECTED] wrote:

 Hi list,

 I'm wondering whether FreeBSD is able to support reading (at least, but
 preferably also writing) Linux LVM volumes? I have an itch to try
 FreeBSD on
 a desktop but all my data is in a Linux LVM.

 Is it possible?

 TIA,

 Jeff Rollin

 --


 No answers for two days; I can take that as a no, then, can I?

 Oh well, there's always VMPlayer

 Proud Linux user since 1998


As far as i'm aware FreeBSD doesnt support Linux LVM (it uses vinum
and/or gvinum, dont know much about it as never used it)
Freebsd Runs fine as a guest OS in Xen apparently which might be better
for you as VMWare player needs a vmware image (easy to find on google I
expect but still..) and you dont get to play with the installer that way
;)



Thanks for the pointers. As an aside, are you worried about the legality of
VMWare images in VMPlayer? I don't think they're an issue (at least with
FOSS OS's such as *BSD), since iirc VMware provide links to OS images on
their websites (including, I believe, PC- and Free-BSD).

Jeff Rollin
--
Proud Linux user since 1998
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups 1.2.2 and parallel port printers

2006-09-07 Thread Alex Zbyslaw

Robert Huff wrote:


Jona Joachim writes:

 


_In my case_, CUPS as ported does not like the permissions on
 /dev/lpt0*.  They default to crw---; setting them to
 crw-rw-rw- makes the parallel printer appear.
There should be a way to tall devfs to change those permissions
 automatically, but I haven't been able to figure it out.

You have to specify
  perm  lpt0  0666
in /etc/devfs.conf
   



[EMAIL PROTECTED] dir /dev/lpt*
crw---  1 root  wheel0,  79 Sep  5 20:45 /dev/lpt0
crw---  1 root  wheel0,  80 Sep  5 20:45 /dev/lpt0.ctl
[EMAIL PROTECTED] grep lpt /etc/devfs.conf
#   make lpt0 available to CUPS
perm/dev/lpt00666
 


Did you as root do

sh /etc/rc.d/devfs start

AFAIK rules are only applied when the node is created, which it already 
would have been when you added/changed your rule.


Also not /dev/lpt0 but just lpt0.  Devfs rules only apply to /dev!

--Alex


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


Re: OpenOffice port vs Firefox

2006-09-07 Thread Jerold McAllister
Perry Hutchison writes: 


Having gotten a sufficiently-recent version of glib, I am now
several hours into the build of OpenOffice, and I've discovered
that Firefox has quit working.  When I try to start it: 


GThread-ERROR **: file gthread-posix.c: line 187 (): error 'Invalid argument' 
during 'pthread_mutex_trylock'
aborting...
Abort trap (core dumped) 


Of course, since it won't start up, I can't consult Help/About
to find out the version :(  but based on /var/db/pkg I think it is
firefox-1.5.0.1_1,1 


I suppose Firefox and OpenOffice are tripping over each other WRT
the version of some shared library, but I thought the whole point
of having version numbers on shared libs was to prevent that sort
of problem. 


Does anyone have Firefox and OpenOffice coexisting on a single
system?  How is it accomplished?


Yes, I have both on FreeBSD 6.1.
I didn't do anything special.   I just built them both from ports.
I had to get the jdk thing from Sun for OpenOffice first due to the
license restrictions from Sun which is annoying.   But it is easy and
straightforward.   Then I just make make install on each of Firefox,
Thunderbird and openoffice and after a long time they were all there
and worked.   I made OpenOffice be the WP for Firefox to bring up to
handle .doc and maybe a couple of other file types and that works fine too. 


I did cvsup everything (system and ports tree) to the latest before
getting started with doing ports installations.   That might make a
difference. 

jerry 


jerry

___
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: rc.firewall rule for passive FTP

2006-09-07 Thread Lowell Gilbert
Noah [EMAIL PROTECTED] writes:

 what is a good rule to allow passive FTP to work.

 the following rules still blocks passive FTP.

#/** Allow setup of FTP PASSIVE **/
${fwcmd} add allow tcp from any to ${ip} 49152-65534 setup

If the passive FTP client is on ${ip}, then that's the wrong
direction; it needs to be able to *send* the SYN.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cups 1.2.2 and parallel port printers

2006-09-07 Thread Robert Huff

Alex Zbyslaw writes:

  Did you as root do
  
  sh /etc/rc.d/devfs start
  
  AFAIK rules are only applied when the node is created, which it
  already would have been when you added/changed your rule.
  
  Also not /dev/lpt0 but just lpt0.  Devfs rules only apply to /dev!

That /seems/ to have done it.  (We'll see it it survives the
next reboot.  :-)


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


Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Jerold McAllister
Alex Zbyslaw writes: 

Pete Slagle wrote: 


Gary Kline wrote:
 

SOAPBOX
Anyway, this is to the entire list:  A week or so ago
I loaned my 5.3 set to a non-geek friend who had occasionally
been using RH.  He brought the box of discs back and said it
was too hard to install; that RH had a much easier installation
process.  True.  So I gave him my old Ubuntu boot disk.  He's
happy with it.  ---I realize how much smaller the FBSD hacker
	base is Still,  having a GUI-ish intro makes sense in 	gaining new 
converts.  I'm still here  because this Berkeley

distro really *is* solid.  One fatal trap in 11 years I
can handle.
 SOAPBOX


Many FreeBSD users see it as a feature, an advantage, that no
GUI-ish-ness impedes access to the O/S. Which is not to say that the
GUI-ish stuff isn't available, but the beauty is that it isn't in the
way when you don't need or want it. 

You are confusing two things, to my mind.  1) The GUI-ness of th OS 2) The 
GUI-ness of the installer.  I would strongly object to a FreeBSD that 
forced some kind of desktop environment on me or that mandated only 
controlling what software runs through smart wizards, but I think there 
is little danger of that. 

But the FreeBSD installer is somewhat long in the tooth.  I don't think 
anyone would object to an installer that was a bit more straightforward 
and, say, easier to configure.  Of course, it would have to keep the 
flexibility which sysinstall gives, but there's no reason why it couldn't 
give a more straightforward install path for first-time users of FreeBSD 
who have experience with other Unix-like OSes, or even moderately 
competent windows users. 

Once you get the hang of it, sysinstall is mostly fine, but really, making 
it better is not somehow pandering to the great unwashed.


OK.  Good perspective.   Seems like you have your work cut out for
you then.   I will be interested in seeing the result. 

jerry 



--Alex 

 


___
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: Xorg install

2006-09-07 Thread Jerold McAllister
g writes: 


how do i do that?  i'm a newbie.


Avoid top posting. 


Then, check out cvsup and keeping your source and ports up to date
in the handbook.   It is all there in pretty plain descriptions.
Even I was able to do it, so anybody can. 

jerry 



g.
On Sep 6, 2006, at 10:22 PM, Pablo Mora wrote: 


On 9/6/06, g [EMAIL PROTECTED] wrote:

i'm trying to install xorg. using chapter 5, i installed Xorg, but it
seems to break something.  with the default install of 6.1, x window
system starts.  when i follow the instructions, in chapter 5, i get
this message when i tried to start it (startx). 

This is a pre-release version of the X server from The X.Org  
Foundation.

It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions. 


X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903
Build Operating System: FreeBSD 6.1 i386 [ELF]
Current Operating System: FreeBSD beverly.Belkin 6.1-RELEASE FreeBSD
6.1-RELEASE #0
: Sun May  7 04:42:56 UTC 2006 [EMAIL PROTECTED]:/usr/ obj/
usr/src/sys/S
MP i386
Build Date: 16 March 2006
 Before reporting problems, check http://wiki.X.Org
 to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??)  unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Sep  6 01:56:19 2006
(==) Using config file: /etc/X11/xorg.conf
Data incomplete in file /etc/X11/xorg.conf
 Undefined Monitor Monitor0 referenced by Screen Screen0.
(EE) Problem parsing the config file
(EE) Error parsing the config file 


Fatal server error:
no screens found 


Please consult the The X.Org Foundation support
  at http://wiki.X.Org
for help.
Please also check the log file at /var/log/Xorg.0.log for
additional information. 

* 
***

**
my goal is to run to window maker, with gnustep as a development
environment.
* 
***
** 

below is the xorg.conf.new file 


Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
EndSection 


Section Files
 RgbPath  /usr/X11R6/lib/X11/rgb
 ModulePath   /usr/X11R6/lib/modules
 FontPath /usr/X11R6/lib/X11/fonts/misc/
 FontPath /usr/X11R6/lib/X11/fonts/TTF/
 FontPath /usr/X11R6/lib/X11/fonts/Type1/
 FontPath /usr/X11R6/lib/X11/fonts/CID/
 FontPath /usr/X11R6/lib/X11/fonts/75dpi/
 FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection 


Section Module
 Load  dbe
 Load  dri
 Load  extmod
 Load  glx
 Load  record
 Load  xtrap
 Load  freetype
 Load  type1
EndSection 


Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
EndSection 


Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 Option  Protocol auto
 Option  Device /dev/sysmouse
 Option  ZAxisMapping 4 5 6 7
EndSection 


Section Monitor
 Identifier   PrecisionColor
 VendorName   Radius
 ModelNameSony
 HorizSync 50-150
 VertRefresh   30-85
EndSection 


Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool:  True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel   # [bool]
 #Option SWcursor  # [bool]
 #Option ColorKey  # i
 #Option CacheLines# i
 #Option Dac6Bit   # [bool]
 #Option DRI   # [bool]
 #Option NoDDC # [bool]
 #Option ShowCache # [bool]
 #Option XvMCSurfaces  # i
 #Option PageFlip  # [bool]
 Identifier  Card0
 Driver  i810
 VendorName  Intel Corporation
 BoardName   82865G Integrated Graphics Controller
 BusID   PCI:0:2:0
EndSection 


Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 SubSection Display
  

Re: Please Help AMD, mysql, FreeBSD 64

2006-09-07 Thread Derek Ragona
You would do better posting to the mysql lists, as this isn't really 
related to the OS.


I would suggest you use the command line utilities to load the records.  I 
would first slice them into chunks not too big, then iterate through 
them.  If the records are in some order, if you get an error, you can 
pickup where you left off.


-Derek


At 08:17 AM 9/7/2006, VeeJay wrote:

Hello

Just wondering if I can get an advice from this forum?

What kind of hardware i.e.(Processor, RAM) I need to accomplish following
jobs on a FreeBSD plateform:

I have some mysql dumps around 2 GB eachwith each record is 100 KB...


1. What is the best method to import them into a mysql database without
getting any Out of Memory Error? or freezing MySQL?


2. If I run a little Perl script and read a mysql record per iteration, how
can I avoid illigle memory address access errors?


Somebody talked about AMD 64 processor with FreeBSD 64 version, etc?


I will be really grateful for your kind advices/suggestions

Regards

VeeJay


--
Thanks!

BR / vj
___
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: cups 1.2.2 and parallel port printers

2006-09-07 Thread Thomas T. Veldhouse

Robert Huff wrote:

#   make lpt0 available to CUPS
perm/dev/lpt00666

Doesn't seem to work.  :-(
  

You need

devfs_system_ruleset=system


in /etc/rc.conf

Tom Veldhouse

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


Re: need a restricted shell

2006-09-07 Thread Daniel Bye
On Wed, Sep 06, 2006 at 02:55:25PM -0600, Chad Leigh -- Shire.Net LLC wrote:
 I am looking for a shell that will allow Subversion to be run over  
 ssh but not allow interactive login or if it allows interactive  
 login, will only allow Subversion commands to be run...  Any ideas on  
 how to accomplish this?
 
 I have been looking at various shell lists in ports but nothing  
 popped out as obvious to me

I have done this in the following way:

Create a dedicated user, for example, svn.  This user will own the
repository. If you intend to allow normal users to access the
repository from accounts on the server box, you'll need an svn group,
as well.  From your question, though, I get the impression this isn't
what you intend, so I'll ignore that possibility.

For each user, copy their public key to the svn user's
.ssh/authorized_keys file, prepending each one with:

command=/usr/local/bin/svnserve -t --tunnel-user=username -r 
/path/to/your/repository/root,no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty

Obviously, you'll need to put the appropriate user's name in place of
username, above. It is used by the server to record who does what, so
that there is no real need for each of your developers to have an account
on the server.  By specifying the command to be run with each key, you
tell sshd not to allow any other type of activity, so there is no real
need for a restricted shell. However, other suggestions about limiting
which IP's can connect and which users (in this case, make sure svn is
included in the list of username!), are valid.

Each client will need to set up a new scheme for connecting to the svn
account at the server box. Something like this in each developer's
~/.subversion/config should do the trick:

[tunnels]
mysvn = $MYSVN_SSH ssh -l svn

If set, $MYSVN_SSH will be evaluated instead of running the ssh command.
See the documentation for how this might be useful (I can't remember...)

Now, in order to connect, your clients will need to specify the path to
the repository like this:

svn+mysvn://host.name/path/to/project

If you have any clients who use TortoiseSVN, they will need to specify
the scheme differently:

svn+ssh://[EMAIL PROTECTED]/path/to/project

(Unless, of course, you can find some way for them to also use custom
tunnels).

It takes a little work to set up, but when it is running, it works well.

Dan

-- 
Daniel Bye

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


pgpUbVqw4sELi.pgp
Description: PGP signature


Re: acpi: bad read from port 0x71:: FreeBSD 6.1 /boot fault (solution)

2006-09-07 Thread Gary Kline
On Wed, Sep 06, 2006 at 07:30:05PM -0700, Gary Kline wrote:
   Does anybody know what to tweak in /boot/* to stop 
   bad read/write  messages from/to the BIOS?  [At least 
   so fare as I can tell?
 
   I've triied everything suggested on Google; rebooted, no-joy.
   The BIOS is reset (AFAICT) to their fail-safe defaults, but
   every 10 sec these errs get printed to stderr.
 
   I'd like to know what ... and *why* with 6.1, just out of the
   blue!
 

I'm replying to my own post for anyone who runs into this
problem and finds this in an archive.   The solution is to
take a clue from /boot/loader.help and drop 
hint.acpi.0.disable=1 
into /boot/device.hints. reboot, and errors should disappear.
Why this began with FBSD 6.1? No idea.

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

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


ports/java/jdk15

2006-09-07 Thread B. Cook

Hello All,

Trying to build java 1.5.0 and it looks like it's needs linux java 
1.4.2? is this right?


===  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK 
self-extracting file for the Linux platform 
(j2sdk-1_4_2_12-linux-i586.bin) from 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, 
place it in /usr/ports/distfiles and then run make again.

*** Error code 1

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

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


Re: Please Help AMD, mysql, FreeBSD 64

2006-09-07 Thread Ralph Ellis
On Thursday 07 September 2006 6:17 am, VeeJay wrote:
 Hello

 Just wondering if I can get an advice from this forum?

 What kind of hardware i.e.(Processor, RAM) I need to accomplish following
 jobs on a FreeBSD plateform:

 I have some mysql dumps around 2 GB eachwith each record is 100 KB...


 1. What is the best method to import them into a mysql database without
 getting any Out of Memory Error? or freezing MySQL?


 2. If I run a little Perl script and read a mysql record per iteration, how
 can I avoid illigle memory address access errors?


 Somebody talked about AMD 64 processor with FreeBSD 64 version, etc?


 I will be really grateful for your kind advices/suggestions

 Regards

 VeeJay
The big advantage to AMD64 is that you can address memory above 4gigs. Below 
that and performance is not dramatically different between AMD64 and i386. If 
you are going to have a server with 5gigs or more of memory, then you should 
benefit from AMD64. How much more memory you might want I don't know. You 
might get more help on that from MySQL users.
Ralph Ellis
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/java/jdk15

2006-09-07 Thread Jona Joachim
B. Cook wrote:
 Hello All,
 
 Trying to build java 1.5.0 and it looks like it's needs linux java
 1.4.2? is this right?
 
 ===  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK
 self-extracting file for the Linux platform
 (j2sdk-1_4_2_12-linux-i586.bin) from
 http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg,
 place it in /usr/ports/distfiles and then run make again.
 *** Error code 1
 
 Stop in /usr/ports/java/linux-sun-jdk14.
 *** Error code 1
 
 Stop in /usr/ports/java/jdk15.

Yes, that's right. jdk14 is needed to compile jdk15, welcome to the
world of Java ;)
Because of license issues you have to fetch the linux jdk14 binary as
well as some distfiles required by jdk15 manually as indicated above.

However you don't have to build jdk15 as there is an official FreeBSD
binary available!
See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707

Just install java/diablo-jdk15 and it will install the binary

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


Re: ports/java/jdk15

2006-09-07 Thread Karol Kwiatkowski
On 07/09/2006 18:05, B. Cook wrote:
 Hello All,
 
 Trying to build java 1.5.0 and it looks like it's needs linux java
 1.4.2? is this right?

Yes, jdk port needs java tools to build itself, it uses precompiled
linux binary (linux-sun-jdk14) for the first time.

Note you can use diablo-jdk15 or diablo-jre15 to get precompiled
FreeBSD binaries.

Regards,

Karol

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



signature.asc
Description: OpenPGP digital signature


Re: ports/java/jdk15

2006-09-07 Thread B. Cook

Jona Joachim wrote:

B. Cook wrote:

Hello All,

Trying to build java 1.5.0 and it looks like it's needs linux java
1.4.2? is this right?

===  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK
self-extracting file for the Linux platform
(j2sdk-1_4_2_12-linux-i586.bin) from
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg,
place it in /usr/ports/distfiles and then run make again.
*** Error code 1

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk15.


Yes, that's right. jdk14 is needed to compile jdk15, welcome to the
world of Java ;)
Because of license issues you have to fetch the linux jdk14 binary as
well as some distfiles required by jdk15 manually as indicated above.

However you don't have to build jdk15 as there is an official FreeBSD
binary available!
See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707

Just install java/diablo-jdk15 and it will install the binary

--jona


So if I just wanted a java binary.. I could also just install the 
java/diablo-jre15


:)

(I'm trying that route.. )
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/java/jdk15

2006-09-07 Thread Gábor Kövesdán

B. Cook wrote:

Hello All,

Trying to build java 1.5.0 and it looks like it's needs linux java 
1.4.2? is this right?


===  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK 
self-extracting file for the Linux platform 
(j2sdk-1_4_2_12-linux-i586.bin) from 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg, 
place it in /usr/ports/distfiles and then run make again.

*** Error code 1

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk15.

Yes, it uses linux-jdk to build a native one from the sources.

--
Cheers,

Gabor

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


Xfce 4.3.90.2 + Xorg 6.9.0 with Compositor == SUPER buggy ?

2006-09-07 Thread Frank Staals
I recently decided to have some fun with the latest Xfce release ( or 
well; when I installed it it was, at the moment there is an RC1 ) and 
composite stuff. Allthough what I found out was that xfwm4 crashed when 
I enabled transparency for inactive windows and moved some aterms 
around. So my question was if someone else is running Xfce 4.4 beta and 
has the same problems ? And if someone has a solusion for it. I guess 
that the xorg port is the weakest link ATM. I can't imagine people 
actually using such composite settings when the wm crashes every 15 
minutes ... so I asume it runs better with xorg7.  So a sort of second 
question would be: is there an easy way of installing, but as important 
deinstalling, Xorg7 ?


Thanks in advance,

--
-Frank Staals


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


Re: Getting GELI Keys from Floppy

2006-09-07 Thread Matt Piechota

On Thu, 7 Sep 2006, Frank Steinborn wrote:


I could use /dev/fd0 directly but then I had to use the same key for
all 6 HDD's in the server. I got a solution by hacking /etc/rc.d/geli
- I'm just mounting the floppy there before it tries to read the key.


You could read different parts of the floppy for different keys.

Speaking of which, do the keys have any identifiable strings in them?  If 
not, you could fill the floppy with random garbage and 'hide' the key. 
I'm assuming since you don't want a password you don't want the boot to 
require interaction so it's not that useful, but if nothing else it would 
help if someone got access to the floppy (remotely or by physical access).


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


Re: PERC 5/E SAS RAID in Dell PowerEdge 1950/2950

2006-09-07 Thread Brian A. Seklecki



On Sun, 11 Jun 2006, Brian A. Seklecki wrote:


All:

Does anyone have details about the new PERC 5/E SAS RAID controller Dell
is (or will soon be) shipping in the 1950/2950?



For the record, this is mfi(4).

Yay!

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


Re: LVM support in FreeBSD

2006-09-07 Thread David Robillard

Hi list,

I'm wondering whether FreeBSD is able to support reading (at least, but
preferably also writing) Linux LVM volumes? I have an itch to try FreeBSD on
a desktop but all my data is in a Linux LVM.

Is it possible?


I really have no idea if it works, but have you tried to export your
LVM volume via NFS and then mount it on your FreeBSD machine? All what
FreeBSD will see is an NFS volume which we all know work very well.

Just an idea,

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


Re: rpc.lockd stalls

2006-09-07 Thread Chuck Swiger

On Sep 7, 2006, at 10:34 AM, Tom Ierna wrote:
For the purposes of ease of software and hardware management, I'm  
attempting to run a set of PXE-booted Client machines as web/db or  
mail servers.


It is perhaps reasonable to run a diskless webserver, especially if  
it is serving mainly dynamically generated content.


Trying to run a database server or mail server without a disk strikes  
me as a very bad idea.  I am surprised that rpc.lockd is holding up  
well enough to only go down about once a month; simply running the  
locking tests which come with sendmail used to be enough to cause  
rpc.lockd to crash...


Best of luck,
--
-Chuck

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


Re: LVM support in FreeBSD

2006-09-07 Thread Jeff Rollin

On 07/09/06, David Robillard [EMAIL PROTECTED] wrote:


 Hi list,

 I'm wondering whether FreeBSD is able to support reading (at least, but
 preferably also writing) Linux LVM volumes? I have an itch to try
FreeBSD on
 a desktop but all my data is in a Linux LVM.

 Is it possible?

I really have no idea if it works, but have you tried to export your
LVM volume via NFS and then mount it on your FreeBSD machine? All what
FreeBSD will see is an NFS volume which we all know work very well.

Just an idea,

David
--



Yeah, I'm sure that would work - I already export most of my data via NFS
anyway - except that the machine I was going to try it on is the one with
the LVM data, thus I can't export it as NFS from Linux whilst FreeBSD is
running on the bare hardware (or can I?). Thanks anyway.

(FYI, the other machine I *could* try it on is a laptop; I actually did
intend to use FreeBSD as the primary OS on it at one point, but had zero
luck with either of the wifi cards (one internal, one cardbus - the cardbus
one is there because the internal one also refuses to work in Linux) in it.
A laptop with no network access isn't much good to me! :-( )

Jeff Rollin
--
Proud Linux user since 1998
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: solaris

2006-09-07 Thread backyard


--- White Hat [EMAIL PROTECTED] wrote:

 --- Freminlins [EMAIL PROTECTED] wrote:
 
  On 06/09/06, White Hat [EMAIL PROTECTED]
  wrote:
  
I have
   tried Open Office. No matter what anyone says,
 it
  is
   just not as full featured as Word 2003. It is
 not
  even
   close.

yeah cause most users want to use an MDI instead of a
PDF (inside joke, anyone in the telecomm industry who
does work for cell carriers or one in particular might
get)

  
  
  True, but also compare the cost. Not even close...
 
 Immaterial. the singularly most important feature is
 suitability to task. If it is free and it does not
 work, what good is it?
 

...but most users only care about writing letters
and resumes; openoffice does this fine. Even spits out
a PDF for me to email away with a coversheet. And then
there is always SunOffice...  Since spending money
seems to be the solution for all of the problems I
have with windows and the lack of integrated features
it contains. Maybe I should go out and get a Quad
AMDx2 motherboard and fill it with FX series chips to
handle XP being slower then Warp, but alas windows
still has no real support for 64-bit chips. Oh and it
sure would be a pain to have to reinstall EVERYTHING
because the PNP windows machine won't let me switch a
motherboard on it. 

  He/she does
   not want to read tons of manuals and spend hours
  in a
   frustrating attempt to get it to run.
  

if I buy a chain saw I take the time to read the
manufacturers suggested method to adjust the chain
tension. Maybe I'm not the normal person, but stuff
never works out of the box, and not taking the time to
read the manual is the users fault. and unlike windows
products the online help for FreeBSD and GNU in
general is incredible. Windows expects the use is an
idiot and makes no attempt to explain how the command
line switches work, or what registry keys do, or what
the blue-screen-o-death errors refer to. 

  
  This is where you are completely wrong. I work for
  an ISP. I'm not
  responsible for tech support but I keep my ear to
  the ground. A VERY large
  number of callers have problems configuring
 Outlook
  Express, for example. No
  matter what the polls say, the experience is often
  very different. They may
  not read the manuals (because they are no longer
  supplied), they just ring a
  call centre instead.
 
 Yes, the lack of documentation is a shame. Usually
 it
 can be obtained for an additonal cost which I
 suppose
 is better than nothing. The same lack of
 documentation
 plagues every facet of software today. Of course, it
 has been a boon for the after market book manual
 publishers. BTW, you have failed to document so
 called
 help line assistants who are nothing more than
 company
 mouth pieces who have at most a superficial
 knowledge
 of the product that they are suppose to be assistant
 a
 customer with. I had the experience of talking with
 a
 customer support moron who tried to sell me a new
 router while I attempted to explain the router was
 fine, but the installation CD was defective. I
 eventually just sent it back for a replacement.
 Usually these individuals are barely equipped to
 handle the job they are given.

which is why If i spend 300 on a license for windows
and 600 for a license for office I should get the
manual. Online help is useless in the windows world.
Nothing is more frustrating then having an error code
thrown in windows and the help system not having any
clue on what the error code is, but plenty of
information about how simple setting this thing up is.
Even more frustrating is the 15 chapters on how you
click the mouse and use the start menu.

 
 However, you have made my point. If a user cannot
 decipher how to configure a simple thing like
 Outlook
 Express, and there are programs available that will
 do
 it for them, then how are they suppose to be capable
 of handling a CLI OS like FreeBSD? It boggles the
 mind
 -- at least mine. Worse, the configuration of OE is
 handled by a wizard. It is truly sad when a user
 cannot configure something when it is simplified
 down
 to that level.

I never thought the average user should have to set it
all up. I'm working towards deploying the system
amongst friends already configured becuase once it is
it don't break, is easy to use, and lightyears faster.
Make a PKzip of your windows install and try to copy
it to another machine. It doesn't happen, but if
someone took the time to setup FreeBSD they could copy
it on a million machines, and the users would never be
the wiser. Why can't I just zip up my windows machine
and keep a tape ready to go? why should it be an
ordeal to get it configured again. This is basically
what Apple did with Mac, and if they would just
release OS X on PC I wonder how fast the windows
market would shrink. As projects like PCBSD and
DesktopBSD advance it will be easier and easier to
convince folks windows is NOT the only kid on the
block.

 
  The average user
   does not care about configuring 

Re: cups 1.2.2 and parallel port printers

2006-09-07 Thread Paul Mather
On Thu, 7 Sep 2006 08:42:11 -0400, Robert Huff [EMAIL PROTECTED]
wrote:

 [EMAIL PROTECTED] writes:
 
   anybody seen this behavior before? or have a clue?
 
 I don't know if this is your problem, but I have seen similar
 issues.
 _In my case_, CUPS as ported does not like the permissions on
 /dev/lpt0*.  They default to crw---; setting them to
 crw-rw-rw- makes the parallel printer appear.
 There should be a way to tall devfs to change those
 permissions
 automatically, but I haven't been able to figure it out.
 
 
 
 Robert Huff

I have this in my /etc/devfs.rules file on a system successfully using
CUPS with a parallel port printer:


[localrules=10]
add path 'lpt*' mode 0660 group cups


(I also have 'devfs_system_ruleset=localrules' in my /etc/rc.conf
file.)

That makes sure that CUPS can access the lpt* devices (including the
lpt*.ctl devices).  Mode 0660 also ensures that not everyone can access
lpt*, just root and members of the cups group (i.e., CUPS).

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: solaris

2006-09-07 Thread Jona Joachim
White Hat wrote:
 --- Freminlins [EMAIL PROTECTED] wrote:
 
 On 06/09/06, White Hat [EMAIL PROTECTED]
 wrote:
  I have
 tried Open Office. No matter what anyone says, it
 is
 just not as full featured as Word 2003. It is not
 even
 close.

 True, but also compare the cost. Not even close...
 
 Immaterial. the singularly most important feature is
 suitability to task. If it is free and it does not
 work, what good is it?

What feature(s) exactly do you need that OpenOffice doesn't have?
In what way is MS Office better concerning this (these) feature(s)?

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


Re: rpc.lockd stalls

2006-09-07 Thread Kris Kennaway
On Thu, Sep 07, 2006 at 01:34:08PM -0400, Tom Ierna wrote:
 Hello, list.
 
 For the purposes of ease of software and hardware management, I'm  
 attempting to run a set of PXE-booted Client machines as web/db or  
 mail servers.
 
 The NFS/DHCP/YP servers are running on a 5.4-STABLE Server. I mostly  
 followed the PXE guide when building these systems.
 
 All of the disk (except for swap) sits on the master Server (which  
 has a bunch of external drive sleds), and all of the Client machines  
 boot via Gig-E.
 
 Client machines are running 5.4-STABLE as well, but it is not  
 compiled with the same kernel configuration as the master Server, as  
 the hardware is slightly different. Client machines share userland  
 with the Server.
 
 At the moment I have one Client machine running about 40 domains of  
 web and db, with reasonably low traffic (less than 3Mbit/sec total)  
 and one Client machine booted from the master Server, but not doing  
 anything.
 
 Resource utilization on the master Server seems pretty low.
 
 Sporadically, there appear to be stalls on some locks with rpc.lockd.  

rpc.lockd is unreliable in all versions of FreeBSD (although it may be
worse in 5.x), see the mailing list archives for extensive discussion
of this.  Try turning it off and using mount_nfs -L instead to fake
the lock traffic (See the manpage).

Kris


pgpYJqMO1v6e5.pgp
Description: PGP signature


Re: rpc.lockd stalls

2006-09-07 Thread Tom Ierna


On Sep 7, 2006, at 1:40 PM, Kris Kennaway wrote:


On Thu, Sep 07, 2006 at 01:34:08PM -0400, Tom Ierna wrote:


Sporadically, there appear to be stalls on some locks with rpc.lockd.


rpc.lockd is unreliable in all versions of FreeBSD (although it may be
worse in 5.x), see the mailing list archives for extensive discussion
of this.  Try turning it off and using mount_nfs -L instead to fake
the lock traffic (See the manpage).


Kris,

Is there a way to note -L via fstab? Since these machines are PXE  
booted, unmounting and re-mounting with -L will be problematic, and  
I'd like them to inherit this property at reboot.


Thanks,
-Tom

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: rpc.lockd stalls

2006-09-07 Thread Kris Kennaway
On Thu, Sep 07, 2006 at 02:12:26PM -0400, Tom Ierna wrote:
 
 On Sep 7, 2006, at 1:40 PM, Kris Kennaway wrote:
 
 On Thu, Sep 07, 2006 at 01:34:08PM -0400, Tom Ierna wrote:
 
 Sporadically, there appear to be stalls on some locks with rpc.lockd.
 
 rpc.lockd is unreliable in all versions of FreeBSD (although it may be
 worse in 5.x), see the mailing list archives for extensive discussion
 of this.  Try turning it off and using mount_nfs -L instead to fake
 the lock traffic (See the manpage).
 
 Kris,
 
 Is there a way to note -L via fstab? Since these machines are PXE  
 booted, unmounting and re-mounting with -L will be problematic, and  
 I'd like them to inherit this property at reboot.

Yes, use the -o format, see the manpage.

Kris


pgp9m8FlnRVJi.pgp
Description: PGP signature


rpc.lockd stalls

2006-09-07 Thread Tom Ierna

Hello, list.

For the purposes of ease of software and hardware management, I'm  
attempting to run a set of PXE-booted Client machines as web/db or  
mail servers.


The NFS/DHCP/YP servers are running on a 5.4-STABLE Server. I mostly  
followed the PXE guide when building these systems.


All of the disk (except for swap) sits on the master Server (which  
has a bunch of external drive sleds), and all of the Client machines  
boot via Gig-E.


Client machines are running 5.4-STABLE as well, but it is not  
compiled with the same kernel configuration as the master Server, as  
the hardware is slightly different. Client machines share userland  
with the Server.


At the moment I have one Client machine running about 40 domains of  
web and db, with reasonably low traffic (less than 3Mbit/sec total)  
and one Client machine booted from the master Server, but not doing  
anything.


Resource utilization on the master Server seems pretty low.

Sporadically, there appear to be stalls on some locks with rpc.lockd.  
These lock stalls exhibit interesting behavior on the Client  
machines: Slots will fill up on Apache in the W state. SSH login  
attempts to the client machine (passwd files get some user data via  
YP) will hang and timeout. when I find a file (via Apache's extended  
status) which appears to be one of the stalled locks, and I attempt  
to do anything with the file via a shell on the client machine, such  
as cat it, that shell will become unresponsive. Any process which  
is stalled on one of these files cannot be killled.


On the server, the only symptom I've witnessed is that rpc.lockd  
starts using a bit more proc than it usually does. Normal utilization  
is 0.0, and when the problem is happening, proc might go up to 3.0 or  
so. cating a file on the Server which appears stalled on the  
Client, works fine.


A stop and start of nfslocking on the server seems to clear things  
up. Apache on the client will recover on its own, I'm guessing after  
each stalled lock reaches a timeout. I usually gracefully restart  
Apache, which forces the recovery to happen faster.


As far as timing, it doesn't appear to be consistently periodic. It  
doesn't appear to be load related - I suffered through a Digg of one  
of the sites, and while the client machine served more bandwidth that  
couple of days than it had in a month, this particular problem did  
not occur.


Over the past three months or so, this issue has probably cropped up  
three or four times.


What can I do to troubleshoot this? I would like to add more client  
machines, but I can't until this problem is resolved.


Changing OS builds at this point, unless absolutely necessary, is not  
something I want to do.


Thanks for any insight!

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: rpc.lockd stalls

2006-09-07 Thread Tom Ierna

On Sep 7, 2006, at 1:44 PM, Chuck Swiger wrote:
Trying to run a database server or mail server without a disk  
strikes me as a very bad idea.


This is unfortunate - the client machines I have chosen have no  
front-panel disk sleds. Hardware administration will be a bear if  
they each have to have their own disks. Software-wise, I was hoping  
to have them all share a common Kernel and userland too, so I only  
have to update software in one place.


I am surprised that rpc.lockd is holding up well enough to only go  
down about once a month; simply running the locking tests which  
come with sendmail used to be enough to cause rpc.lockd to crash...


I will be using qmail, when I get to that stage. qmail is supposed to  
be rather safe, even over NFS.



Best of luck,
--
-Chuck


Thanks, it sounds like you think I need it :)

I'm open to suggestions on a better method of accomplishing my goals.

Best,
-Tom

--
Tom Ierna
President
Shockergroup, Inc.

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


Re: rc.firewall rule for passive FTP

2006-09-07 Thread Noah

Lowell Gilbert wrote:

Noah [EMAIL PROTECTED] writes:

  

what is a good rule to allow passive FTP to work.

the following rules still blocks passive FTP.

   #/** Allow setup of FTP PASSIVE **/
   ${fwcmd} add allow tcp from any to ${ip} 49152-65534 setup



If the passive FTP client is on ${ip}, then that's the wrong
direction; it needs to be able to *send* the SYN.
  




the {$ip} refers to the IP address of rthe server.  might you please 
help me rewrite this rule?


Cheers,
Noah



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


Re: rpc.lockd stalls

2006-09-07 Thread Chuck Swiger

On Sep 7, 2006, at 11:16 AM, Tom Ierna wrote:

On Sep 7, 2006, at 1:44 PM, Chuck Swiger wrote:
Trying to run a database server or mail server without a disk  
strikes me as a very bad idea.


This is unfortunate - the client machines I have chosen have no  
front-panel disk sleds. Hardware administration will be a bear if  
they each have to have their own disks. Software-wise, I was hoping  
to have them all share a common Kernel and userland too, so I only  
have to update software in one place.


I can see your reasoning, however, it's not especially difficult to  
keep many FreeBSD systems updated against a single machine configured  
to build out new versions of the kernel, userland, and installed  
ports when needed. [1]


The thing is, software like mail servers and the database are usually  
I/O bound, not CPU-bound; when you get under enough load to matter,  
usually what you need to do is add more disk spindles and spread DB  
tables or logfiles or mailspool/queuedir locations amongst the extra   
disks.


I am surprised that rpc.lockd is holding up well enough to only go  
down about once a month; simply running the locking tests which  
come with sendmail used to be enough to cause rpc.lockd to crash...


I will be using qmail, when I get to that stage. qmail is supposed  
to be rather safe, even over NFS.


Yes, agreed-- qmail + maildir rather than mbox format is probably  
your best bet for doing operations over NFS.



Best of luck,
--
-Chuck


Thanks, it sounds like you think I need it :)


Well, yes.  But I wouldn't be unhappy if you found something that  
works for your needs, even if it isn't what I would recommend myself.
At least some of the time, I even learn things from people who  
configure things strangely from my perspective...



I'm open to suggestions on a better method of accomplishing my goals.


[1]: Mount /usr/src  /usr/obj from the buildserver on each machine,  
do the update process, and then rsync over or mount /usr/ports/ 
packages, and use portupgrade or whatever to update or install from  
the precompiled packages.


--
-Chuck

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


rc.firewall rule for passive FTP from FTP server side

2006-09-07 Thread Noah
It appears that FTP clients using FTP are not able to interact passively 
with my FTP server.  I am wondering if there is a rule somebody could 
point me to that works rather well.


${ip} is the IP address fo the server (not the client).

this does not work.

 snip 
   #/** Allow setup of FTP PASSIVE **/
   ${fwcmd} add allow tcp from ${ip} to any 1024-65534 keep-state
   ${fwcmd} add allow tcp from ${ip} to any 21 keep-state



--- snip 


cheers,
Noah


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


Re: solaris

2006-09-07 Thread backyard


--- White Hat [EMAIL PROTECTED] wrote:


 
   Yes, the lack of documentation is a shame.
  
  In Windows, yes. In FreeBSD I can't see a lack.
 
 You are kidding right. I can find vastly more
 documentation available for a win32 machine than for
 FBSD. In fact, the lact of documentation is one of
 the
 reasons that support groups like this evolved. To my
 great dismay, I am forced to search for and then
 download documentation via the web. Even then, that
 is
 often dated. Not anyones fault, it is just the way
 it
 goes.
 
   The same lack of documentation
   plagues every facet of software today.
  
  No it doesn't. FreeBSD is well documented.
 
 It is above average, I will agree. However, if it
 were
 really perfect then this forum would not exist. 
 

No, it is forums like this that help improve the
documentation in general. And hopefully give the basic
outline when things are solved to allow documentation
to be written. Just like Microsofts Forum for their
MCSE people.

  
  However, you have made my point.
  
  No I haven't. I have contradicted your point. You
  said  A very large
  majority of users simply want to use their PCs for
  email, occasional word
  processing and possible game playing. I am saying
  that using XP as you
  suggested is not as easy as you suggest for a very
  large number of people.
 
 If that were true, MS would not rule 90+ percent of
 the PCs in use today. 

if they didn't make OEM pc manufacturers sign
contracts REQUIRING they distribute MS-DOS/Windows or
loose their OEM status to deal microsoft products this
number would likey be a lot smaller. Probably with
Warp or Linux as its major competitor.

Why do you think users in
 third
 rate countries pirate MS when they could get FBSD
 for
 free? 

Doom3? Maybe just because they can make money doing
it, that is the usual motivation for theifs. That and
a license in a country like Argentina (per our
Argentinian friends in the forum) costs on the order
of $1000 US dollars.

I would not want to insult anyone; however, if
 you cannot install an MS operating system then
 perhaps
 you should consider another hobby. Even my wife's
 sister can handle that project, and that is a woman
 who considers a can opener a high tech device.

Installing is simple, making a restorable backup with
included utilities of the whole system is next to
impossible. Even with Sysinstall... Nothing more fun
then having a Microsoft unintended installation fail,
only to reboot and restart and having it magically
work fine.

 
 Please do me one favor, do not CC me. I am
 continually
 getting two copies of these. I subscribe to the
 list.
 I don't send you duplicate copies and therefore
 would
 appreciate the same cutesy. Perhaps my address was
 already inserted by a previous poster. If so, please
 do remove it.
 
 Thank You!

your welcome I think, I did delete the CC...
 
 
 -- 
 
 White Hat 
 [EMAIL PROTECTED]

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


Migrating from postfix to postfix

2006-09-07 Thread Hair

Hello, the company I work for has decided to host web and mail internally
instead of paying a hosting company.  I have gotten freebsd set up and
postfix and squirrelmail up and running.  Is there a way to migrate saved
messages from the old server to the new one?  I tried simply stopping
postfix on both servers, copy /var/mail/username and restart postfix, but
the copied mail does not show up.  Thanks.

--Tommy Vielkanowitz

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


Re: rpc.lockd stalls

2006-09-07 Thread Kris Kennaway
On Thu, Sep 07, 2006 at 03:19:51PM -0400, Tom Ierna wrote:
 
 On Sep 7, 2006, at 2:39 PM, Kris Kennaway wrote:
 
 On Thu, Sep 07, 2006 at 02:12:26PM -0400, Tom Ierna wrote:
 Is there a way to note -L via fstab? Since these machines are PXE
 booted, unmounting and re-mounting with -L will be problematic, and
 I'd like them to inherit this property at reboot.
 
 Yes, use the -o format, see the manpage.
 
 Under the man page for mount_nfs, I have the following:
 
  -o  Options are specified with a -o flag followed by a  
 comma sepa-
  rated string of options.  See the mount(8) man page for  
 possible
  options and their meanings.  The following NFS specific  
 options
  are also available:
 ...
  Historic -o Options
 ...
  lockd  Same as not specifying -L.
 ...
 
 It doesn't have any other reference to -L. Are mounts specified in  
 fstab automatically non-locking, or is the man page incorrect?

Prefixing with 'no' negates an option.

Kris


pgpfmX1pSMpew.pgp
Description: PGP signature


Re: rpc.lockd stalls

2006-09-07 Thread Tom Ierna


On Sep 7, 2006, at 2:39 PM, Kris Kennaway wrote:


On Thu, Sep 07, 2006 at 02:12:26PM -0400, Tom Ierna wrote:

Is there a way to note -L via fstab? Since these machines are PXE
booted, unmounting and re-mounting with -L will be problematic, and
I'd like them to inherit this property at reboot.


Yes, use the -o format, see the manpage.


Under the man page for mount_nfs, I have the following:

 -o  Options are specified with a -o flag followed by a  
comma sepa-
 rated string of options.  See the mount(8) man page for  
possible
 options and their meanings.  The following NFS specific  
options

 are also available:
...
 Historic -o Options
...
 lockd  Same as not specifying -L.
...

It doesn't have any other reference to -L. Are mounts specified in  
fstab automatically non-locking, or is the man page incorrect?


Thanks,
-Tom


--
Tom Ierna
President
Shockergroup, Inc.

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


Re: Migrating from postfix to postfix

2006-09-07 Thread Bill Moran
In response to Hair [EMAIL PROTECTED]:
 
 Hello, the company I work for has decided to host web and mail internally
 instead of paying a hosting company.  I have gotten freebsd set up and
 postfix and squirrelmail up and running.  Is there a way to migrate saved
 messages from the old server to the new one?  I tried simply stopping
 postfix on both servers, copy /var/mail/username and restart postfix, but
 the copied mail does not show up.  Thanks.

I assume from this that you're using mbox storage.

Messages in the inbox are indeed in /var/mail/username, but messages in
other folders (outbox, trash, etc) will usually be somewhere in the
user's home directory, although this is dependent on what kind of
IMAP server you use (which you didn't mention).

-- 
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: Migrating from postfix to postfix

2006-09-07 Thread Chuck Swiger

On Sep 7, 2006, at 12:07 PM, Hair wrote:
Hello, the company I work for has decided to host web and mail  
internally

instead of paying a hosting company.  I have gotten freebsd set up and
postfix and squirrelmail up and running.  Is there a way to migrate  
saved

messages from the old server to the new one?  I tried simply stopping
postfix on both servers, copy /var/mail/username and restart  
postfix, but

the copied mail does not show up.  Thanks.


Of course, you realize that Postfix is only an MTA; you probably need  
something like an IMAP or POP3 server for most MUA's to access the  
stored email...?  And if you have been using POP3 in the past,  
normally the email is kept on the local user machines and not on the  
mail server; in that case, you will have to upload the saved email  
from their local user machines back to the mailhost you are setting up.


--
-Chuck

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


Re: Migrating from postfix to postfix

2006-09-07 Thread Martin Hudec

Hello,

Hair wrote:

Hello, the company I work for has decided to host web and mail internally
instead of paying a hosting company.  I have gotten freebsd set up and
postfix and squirrelmail up and running.  Is there a way to migrate saved
messages from the old server to the new one?  I tried simply stopping
postfix on both servers, copy /var/mail/username and restart postfix, but
the copied mail does not show up.  Thanks.


Check for mbox support in your pop3/imap service as it seems to me that 
you use mbox as mailformat. Also check access rights, check 
configuration of pop3/imap service (whatever software you use for this, 
like Courier, Dovecot etc.).


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


Re: ports/java/jdk15

2006-09-07 Thread Jona Joachim
B. Cook wrote:
 Jona Joachim wrote:
 B. Cook wrote:
 Hello All,

 Trying to build java 1.5.0 and it looks like it's needs linux java
 1.4.2? is this right?

 ===  linux-sun-jdk-1.4.2.12 You must manually fetch the J2SE SDK
 self-extracting file for the Linux platform
 (j2sdk-1_4_2_12-linux-i586.bin) from
 http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_12-oth-JPRSiteId=JSCTransactionId=noreg,

 place it in /usr/ports/distfiles and then run make again.
 *** Error code 1

 Stop in /usr/ports/java/linux-sun-jdk14.
 *** Error code 1

 Stop in /usr/ports/java/jdk15.

 Yes, that's right. jdk14 is needed to compile jdk15, welcome to the
 world of Java ;)
 Because of license issues you have to fetch the linux jdk14 binary as
 well as some distfiles required by jdk15 manually as indicated above.

 However you don't have to build jdk15 as there is an official FreeBSD
 binary available!
 See: http://docs.freebsd.org/cgi/mid.cgi?44343C8E.2050707

 Just install java/diablo-jdk15 and it will install the binary

 --jona
 
 So if I just wanted a java binary.. I could also just install the
 java/diablo-jre15

That depends on what you need.
The JRE (Java Runtime Environment) comes with the Java Virtual Machine
and standard libraries: everything you need to run Java binaries.
However, if you want to want to compile Java applications from source
you will need the JDK (Java Development Kit) which comes with the JRE +
the javac compiler and everything else you need to create Java bytecode.

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


Re: Xfce 4.3.90.2 + Xorg 6.9.0 with Compositor == SUPER buggy ?

2006-09-07 Thread Jud

On Thu, 07 Sep 2006 18:58:49 +0200, Frank Staals [EMAIL PROTECTED]
said:
 I recently decided to have some fun with the latest Xfce release ( or 
 well; when I installed it it was, at the moment there is an RC1 ) and 
 composite stuff. Allthough what I found out was that xfwm4 crashed when 
 I enabled transparency for inactive windows and moved some aterms 
 around. So my question was if someone else is running Xfce 4.4 beta and 
 has the same problems ? And if someone has a solusion for it. I guess 
 that the xorg port is the weakest link ATM. I can't imagine people 
 actually using such composite settings when the wm crashes every 15 
 minutes ... so I asume it runs better with xorg7.  So a sort of second 
 question would be: is there an easy way of installing, but as important 
 deinstalling, Xorg7 ?

IIANM, Xorg 6.9 is exactly the same as 7.0, just packaged all together
(6.9) rather than in separate modules (7.0).  Thus I believe the
assumption that installing 7.0 would improve matters is incorrect.

FYI, RC1 without compositing enabled works flawlessly so far for me on
-CURRENT.  I'm running Xorg 6.9, portupgraded less than a week ago.

Jud
-- 
I'd take the awe of understanding over the awe of ignorance any day. - 
Douglas Adams

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


Re: Xorg install

2006-09-07 Thread g

i'm sorry what is top posting?

if it is offensive, i certainly don't mean to do it.

thanks for the advise.

g.
On Sep 7, 2006, at 6:31 AM, Gerard Seibert wrote:


g wrote:


how do i do that?  i'm a newbie.


Well, for starters, try not top posting.

Are you familiar with the process of updating the ports system either
with cvsup or portsnap? If not, read the man pages. If yu still have
questions, then check back here. I am assuming that you have never
updated the ports on your system.


--  
Gerard Seibert

[EMAIL PROTECTED]

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


g.




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


Re: PERC 5/E SAS RAID in Dell PowerEdge 1950/2950

2006-09-07 Thread ke han


On Sep 8, 2006, at 12:49 AM, Brian A. Seklecki wrote:




On Sun, 11 Jun 2006, Brian A. Seklecki wrote:


All:

Does anyone have details about the new PERC 5/E SAS RAID  
controller Dell

is (or will soon be) shipping in the 1950/2950?



For the record, this is mfi(4).


Have you done an install of FreeBSD 6.1 on a 1950/2950?  Does the  
install kernel automatically recognize RAID arrays you have setup  
with the PERC 5 bios?  IOW, do I have to manually load some updated  
module outside of the default 6.1 install and config?


thanks, ke han



Yay!

~BAS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: Xorg install

2006-09-07 Thread Chuck Swiger

On Sep 7, 2006, at 4:58 PM, g wrote:

i'm sorry what is top posting?


Compare:

A: Putting the reply above the question.
Q: What is top posting?

...to:

Q: What is the preferred way to exchange email on the FreeBSD lists?
A: Quote what you reply to [1], then put your response or answer  
afterwards.


:-)


if it is offensive, i certainly don't mean to do it.


No harm done.
It's just much easier to follow conversations on the mailing list  
when people do not top-post.


--
-Chuck

[1]: And if there is a lot of content, trim all but a relevant  
paragraph or two,
rather than quoting hundreds of lines in order to add a one-line  
statement.


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


Strange processes left over from periodic daily

2006-09-07 Thread Glenn Gillis
In attempting to track down some odd new sluggishness in my FreeBSD 4.11
mail server, I have run across some odd processes that seem to be
hanging on from the daily periodic cron jobs.

Attached are the output from top and ps showing these lingering
processes. I learned from this list's archives that the angle brackets
mean the process has been completely swapped out to disk, but I don't
understand *why* there are so many daily periodic jobs hanging around.

My other production FreeBSD box shows no such periodic jobs handing
around (although it does have similar sh processes listed in top's
output, belonging to Apache's rotatelogs utility.)

Would anyone in the know be kind enough to explain why those cron
processes might still hanging around, and if they are anything to be
concerned about performance-wise?

Thanks!

Glenn Gillis
[EMAIL PROTECTED]
E-LAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org
last pid:  6673;  load averages: 43.01, 40.96, 40.99  up 35+04:57:2915:39:14
364 processes: 43 running, 315 sleeping, 6 zombie

Mem: 275M Active, 70M Inact, 104M Wired, 18M Cache, 61M Buf, 32M Free
Swap: 1008M Total, 356M Used, 652M Free, 35% Inuse


  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
70200 root  60   0   224K   100K RUN 31.0H  2.20%  2.20% mailwrapper
41000 root  61   0   912K   252K RUN993:01  2.20%  2.20% mailwrapper
61495 root  60   0   228K   104K RUN 24.4H  2.10%  2.10% mailwrapper
17252 root  60   0   224K   100K RUN708:43  2.10%  2.10% mailwrapper
53404 root  61   0   920K   452K RUN 67.2H  2.05%  2.05% mailwrapper
93538 root  60   0   940K   516K RUN420:20  2.05%  2.05% mailwrapper
78591 root  60   0   924K   256K RUN274:55  2.00%  2.00% mailwrapper
44775 root  60   0   924K   284K RUN 19:29  2.00%  2.00% mailwrapper
18812 root  60   0   224K   100K RUN 49.5H  1.95%  1.95% mailwrapper
65080 root  59   0   924K   248K RUN 33.6H  1.90%  1.90% mailwrapper
48579 root  60   0   924K   284K RUN 26.3H  1.90%  1.90% mailwrapper
82352 root  60   0   908K   268K RUN321:58  1.90%  1.90% mailwrapper
79422 root  59   0   908K   324K RUN 44.3H  1.86%  1.86% mailwrapper
86807 root  60   0   912K   216K RUN369:52  1.86%  1.86% mailwrapper
90057 root  60   0   908K   320K RUN140:28  1.86%  1.86% mailwrapper
60282 root  60   0   256K   132K RUN 58:23  1.86%  1.86% mailwrapper
85543 root  59   0   924K   264K RUN 56.6H  1.76%  1.76% mailwrapper
63522 root  59   0   224K   100K RUN 28.5H  1.76%  1.76% mailwrapper
21402 root  59   0   908K   272K RUN842:38  1.76%  1.76% mailwrapper
 4006 root  59   0   924K   264K RUN473:11  1.76%  1.76% mailwrapper
 8553 root  58   0   924K   248K RUN 88.1H  1.66%  1.66% mailwrapper
67058 root  59   0   908K   372K RUN 98:30  1.66%  1.66% mailwrapper
26674 root  59   0   224K   100K RUN914:54  1.61%  1.61% mailwrapper
14292 root  59   0   228K   104K RUN773:21  1.61%  1.61% mailwrapper
58346 root  58   0   224K   100K RUN586:45  1.61%  1.61% mailwrapper
28793 root  58   0   924K   264K RUN528:57  1.61%  1.61% mailwrapper
61887 root  58   0   224K   100K RUN 17.9H  1.51%  1.51% mailwrapper
58426 root  58   0   256K   120K RUN229:08  1.51%  1.51% mailwrapper
12092 root  58   0   908K   268K RUN 40.1H  1.46%  1.46% mailwrapper
39316 root  58   0   256K   128K RUN 36.7H  1.46%  1.46% mailwrapper
60949 root  59   0   224K   100K RUN 22.6H  1.46%  1.46% mailwrapper
70089 root  58   0   256K   112K RUN 20.9H  1.46%  1.46% mailwrapper
35020 root  58   0   924K   284K RUN646:25  1.37%  1.37% mailwrapper
25457 root  58   0   920K   480K RUN184:04  1.27%  1.27% mailwrapper
 5107 sympa 10   0   384M   110M nanslp  66:27  1.22%  1.22% perl
72422 root  58   0   924K   284K RUN 19.4H  1.07%  1.07% mailwrapper
 6639 jabber59   0  2824K  2264K RUN  0:00  0.20%  0.10% perl
  386 nut2   0  1004K   516K select  64:35  0.00%  0.00% apcsmart
 4672 mysql  2   0 30004K  3700K poll49:17  0.00%  0.00% mysqld
 5177 sympa 10   0 20328K 10344K nanslp  37:48  0.00%  0.00% perl
  419 root   2   0 74572K  3796K poll29:05  0.00%  0.00% slapd
28242 qmails60   0   984K   536K RUN 24:34  0.00%  0.00% qmail-send
51440 bind   2   0 21720K 19756K select  13:33  0.00%  0.00% named
  161 root   2   0   884K   200K poll10:12  0.00%  0.00% supervise
  189 httpd  2   0 29824K 19892K accept   8:36  0.00%  0.00% perl
  229 jabber 2   0  5284K  1712K select   6:52  0.00%  0.00% jabberd
  237 jabber 2   0  5076K  1072K select   5:23  0.00%  0.00% jabberd
  239 jabber 2   0  5080K  1072K select   5:19  0.00%  0.00% jabberd
  231 jabber 2   0  4536K   788K select   5:19  0.00%  0.00% jabberd
  235 

make config display problem while installing samba3

2006-09-07 Thread [EMAIL PROTECTED]

I've finally gotten around to adding samba3 to my home router box

I cd'd into /usr/ports/net/samba3 and issued a make install clean and 
figured that would

be the end of it.

the options selection screen that comes up when you make config or 
try to install the

port for the first time is broken for me.

when the options configuration screen comes up the left hand column 
(where the option

selection actually takes place) is not visible.

the right hand column where the option descriptions is visible.

moving down the list with the down arrow key I see each option visible 
one option at a
time, and one line down from its description. when I arrow down the 
list to the next

entry the entry above disappears.

after arrowing all the way down the list, I arrowed back UP the list, 
and this time all
options values stayed visible, and I could see the whole list, but I 
could not select (or

deselect) any option. They were still one line down from the description.

I tried to pkg_add samba3 but that wont work because ive already 
upgraded some of the

packages samba depends on, so the pkg_add failed.

I tried this on the ports tree of TWO different freebsd boxes.

the ports tree version I'm using is samba 3.0.23c,1

Could someone give me a hand?

Thanks

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


Re: Xorg install

2006-09-07 Thread Jeff Rollin

On 08/09/06, Chuck Swiger [EMAIL PROTECTED] wrote:


On Sep 7, 2006, at 4:58 PM, g wrote:
 i'm sorry what is top posting?

Compare:

A: Putting the reply above the question.
Q: What is top posting?

...to:

Q: What is the preferred way to exchange email on the FreeBSD lists?
A: Quote what you reply to [1], then put your response or answer
afterwards.

:-)

 if it is offensive, i certainly don't mean to do it.

No harm done.
It's just much easier to follow conversations on the mailing list
when people do not top-post.

--
-Chuck

[1]: And if there is a lot of content, trim all but a relevant
paragraph or two,
rather than quoting hundreds of lines in order to add a one-line
statement.




Perhaps attempts should also be made to point out to new users that the
people who answer FreeBSD lists (not that I'm singling out FreeBSD) answer
questions and make suggestions without ceremony; and that though this
practice may come off as rudeness, it's often (hopefully never) meant that
way.

Jeff Rollin.



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


Strange processes left over from periodic daily

2006-09-07 Thread Glenn Gillis
[Not sure what happened to the last copy of this message, but it looks
like crap in the archive! G.]

In attempting to track down some odd new sluggishness in my FreeBSD 4.11
mail server, I have run across some odd processes that seem to be
hanging on from the daily periodic cron jobs.

Attached are the output from top and ps showing these lingering
processes. I learned from this list's archives that the angle brackets
mean the process has been completely swapped out to disk, but I don't
understand *why* there are so many daily periodic jobs hanging around.

My other production FreeBSD box shows no such periodic jobs handing
around (although it does have similar sh processes listed in top's
output, belonging to Apache's rotatelogs utility.)

Would anyone in the know be kind enough to explain why those cron
processes might still hanging around, and if they are anything to be
concerned about performance-wise?

Thanks!

Glenn Gillis
[EMAIL PROTECTED]
E-LAW U.S. Information Technology Manager
Environmental Law Alliance Worldwide
http://www.elaw.org

last pid:  6673;  load averages: 43.01, 40.96, 40.99  up 35+04:57:2915:39:14
364 processes: 43 running, 315 sleeping, 6 zombie

Mem: 275M Active, 70M Inact, 104M Wired, 18M Cache, 61M Buf, 32M Free
Swap: 1008M Total, 356M Used, 652M Free, 35% Inuse


  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
70200 root  60   0   224K   100K RUN 31.0H  2.20%  2.20% mailwrapper
41000 root  61   0   912K   252K RUN993:01  2.20%  2.20% mailwrapper
61495 root  60   0   228K   104K RUN 24.4H  2.10%  2.10% mailwrapper
17252 root  60   0   224K   100K RUN708:43  2.10%  2.10% mailwrapper
53404 root  61   0   920K   452K RUN 67.2H  2.05%  2.05% mailwrapper
93538 root  60   0   940K   516K RUN420:20  2.05%  2.05% mailwrapper
78591 root  60   0   924K   256K RUN274:55  2.00%  2.00% mailwrapper
44775 root  60   0   924K   284K RUN 19:29  2.00%  2.00% mailwrapper
18812 root  60   0   224K   100K RUN 49.5H  1.95%  1.95% mailwrapper
65080 root  59   0   924K   248K RUN 33.6H  1.90%  1.90% mailwrapper
48579 root  60   0   924K   284K RUN 26.3H  1.90%  1.90% mailwrapper
82352 root  60   0   908K   268K RUN321:58  1.90%  1.90% mailwrapper
79422 root  59   0   908K   324K RUN 44.3H  1.86%  1.86% mailwrapper
86807 root  60   0   912K   216K RUN369:52  1.86%  1.86% mailwrapper
90057 root  60   0   908K   320K RUN140:28  1.86%  1.86% mailwrapper
60282 root  60   0   256K   132K RUN 58:23  1.86%  1.86% mailwrapper
85543 root  59   0   924K   264K RUN 56.6H  1.76%  1.76% mailwrapper
63522 root  59   0   224K   100K RUN 28.5H  1.76%  1.76% mailwrapper
21402 root  59   0   908K   272K RUN842:38  1.76%  1.76% mailwrapper
 4006 root  59   0   924K   264K RUN473:11  1.76%  1.76% mailwrapper
 8553 root  58   0   924K   248K RUN 88.1H  1.66%  1.66% mailwrapper
67058 root  59   0   908K   372K RUN 98:30  1.66%  1.66% mailwrapper
26674 root  59   0   224K   100K RUN914:54  1.61%  1.61% mailwrapper
14292 root  59   0   228K   104K RUN773:21  1.61%  1.61% mailwrapper
58346 root  58   0   224K   100K RUN586:45  1.61%  1.61% mailwrapper
28793 root  58   0   924K   264K RUN528:57  1.61%  1.61% mailwrapper
61887 root  58   0   224K   100K RUN 17.9H  1.51%  1.51% mailwrapper
58426 root  58   0   256K   120K RUN229:08  1.51%  1.51% mailwrapper
12092 root  58   0   908K   268K RUN 40.1H  1.46%  1.46% mailwrapper
39316 root  58   0   256K   128K RUN 36.7H  1.46%  1.46% mailwrapper
60949 root  59   0   224K   100K RUN 22.6H  1.46%  1.46% mailwrapper
70089 root  58   0   256K   112K RUN 20.9H  1.46%  1.46% mailwrapper
35020 root  58   0   924K   284K RUN646:25  1.37%  1.37% mailwrapper
25457 root  58   0   920K   480K RUN184:04  1.27%  1.27% mailwrapper
 5107 sympa 10   0   384M   110M nanslp  66:27  1.22%  1.22% perl
72422 root  58   0   924K   284K RUN 19.4H  1.07%  1.07% mailwrapper
 6639 jabber59   0  2824K  2264K RUN  0:00  0.20%  0.10% perl
  386 nut2   0  1004K   516K select  64:35  0.00%  0.00% apcsmart
 4672 mysql  2   0 30004K  3700K poll49:17  0.00%  0.00% mysqld
 5177 sympa 10   0 20328K 10344K nanslp  37:48  0.00%  0.00% perl
  419 root   2   0 74572K  3796K poll29:05  0.00%  0.00% slapd
28242 qmails60   0   984K   536K RUN 24:34  0.00%  0.00% qmail-send
51440 bind   2   0 21720K 19756K select  13:33  0.00%  0.00% named
  161 root   2   0   884K   200K poll10:12  0.00%  0.00% supervise
  189 httpd  2   0 29824K 19892K accept   8:36  0.00%  0.00% perl
  229 jabber 2   0  5284K  1712K select   6:52  0.00%  0.00% jabberd
  237 jabber 2   0  5076K  1072K select   5:23  0.00%  0.00% jabberd
  239 jabber 2   0  5080K  1072K select   

Re: Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread jdow

From: Pete Slagle [EMAIL PROTECTED]


Gary Kline wrote:


SOAPBOX
Anyway, this is to the entire list:  A week or so ago
I loaned my 5.3 set to a non-geek friend who had occasionally
been using RH.  He brought the box of discs back and said it
was too hard to install; that RH had a much easier installation
process.  True.  So I gave him my old Ubuntu boot disk.  He's
happy with it.  ---I realize how much smaller the FBSD hacker
base is Still,  having a GUI-ish intro makes sense in 
gaining new converts.  I'm still here  because this Berkeley

distro really *is* solid.  One fatal trap in 11 years I
can handle.
 SOAPBOX


It's a test. If your friend thinks FreeBSD is difficult to install, then
he is probably better served by something else. There are many choices.
All is well.

The idea that FreeBSD should be altered to better compete in a
popularity contest for new users comes up regularly on this list, but
that idea is suspect.

Many FreeBSD users see it as a feature, an advantage, that no
GUI-ish-ness impedes access to the O/S. Which is not to say that the
GUI-ish stuff isn't available, but the beauty is that it isn't in the
way when you don't need or want it.

Changing FreeBSD to be more friendly to new users would inevitably
make it less appealing to the experienced users who value concision,
efficiency, and direct control (who comprise it primary user base) and
thus is to be resisted.


FedoraCore 5 certainly is easier to install. However, (due to a need
for some sleep and food in there somewhere), the install and initial
update is still churning along almost 20 hours after it started. Even
on a DSL line a gigabyte of update takes quite awhile to install. And
this is before I install any of the custom configuration needed to make
it perform its particularly needed job.

I noticed that FreeBSD 5.x was somewhat quicker than that to get up,
running, and up to date. But it does require some intelligence to
use it and bend your mind around the slight differences. It looks so
similar at first glance there's little clue that you're learning a
different language.

Of course there are the desktop BSD forks from FreeBSD that the fellow
could consider.

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


whowatch port not working on AMD64 machines

2006-09-07 Thread stan
I'm having probelms with the whowatch port on my AMD64 6.1 machines.
Does anyone know how I can make this work? I really use this tool
a lot.

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


Re: DL 380/G5 with 16G of ram

2006-09-07 Thread Kris Kennaway
On Thu, Sep 07, 2006 at 01:50:48PM -0700, Josef Grosch wrote:
 
 Hello,
 
 I've got a DL 380/G5 as an evalu unit. It has 16 gig of ram. I compiled 
 a PAE kernel but I'm finding that it is not very stable. It crashes 
 during heavy disk activity, ie. portupgrade -rav. Does anyone have 
 experience with this sort of machine and would you care to share your 
 kernel config file and/or advice.

A good place to start looking would be at the disk driver; is it
listed in the PAE kernel config?  If not, it's probably known not to
work.

kris



pgpOMYqEa0LtX.pgp
Description: PGP signature


Re: whowatch port not working on AMD64 machines

2006-09-07 Thread Kris Kennaway
On Thu, Sep 07, 2006 at 09:10:09PM -0400, stan wrote:
 I'm having probelms with the whowatch port on my AMD64 6.1 machines.
 Does anyone know how I can make this work? I really use this tool
 a lot.

Try talking to the developers of the software.

Kris


pgpK2JzktdKSJ.pgp
Description: PGP signature


6.1 recommended instead of 5.x for new installations [was: Efficacy vs. friendliness]

2006-09-07 Thread Pete Slagle
jdow wrote:

 I noticed that FreeBSD 5.x was somewhat quicker than that to get up,
 running, and up to date.

I can't think of a good reason to use FreeBSD 5.x for a new
installation; 6.1 contains so many reliability and performance
improvements that it is the clear choice over 5.5.

(Upgrades are of course a more complicated question.)

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


Re: DL 380/G5 with 16G of ram

2006-09-07 Thread Chad Leigh -- Shire.Net LLC


On Sep 7, 2006, at 3:26 PM, Marc G. Fournier wrote:


On Thu, 7 Sep 2006, Josef Grosch wrote:



Hello,

I've got a DL 380/G5 as an evalu unit. It has 16 gig of ram. I  
compiled a PAE kernel but I'm finding that it is not very stable.  
It crashes during heavy disk activity, ie. portupgrade -rav. Does  
anyone have experience with this sort of machine and would you  
care to share your kernel config file and/or advice.


Have you tried a non-PAE kernel?  If its a new unit, I imagine its  
64bit, which, as far as I'm aware, doesn't require PAE  ... ?


I would second this.  Try the amd64 version of FreeBSD (which also  
supports the EMT64, or whatever it is called, Intel 64bit  
processors).  Based on HPs website, this is the possible processor list:


Intel Xeon Processor 5160 – Dual core / 3.00 GHz / 1333MHz FSB
Intel Xeon Processor 5150 – Dual core / 2.67 GHz / 1333MHz FSB
Intel Xeon Processor 5140 – Dual core / 2.33 GHz / 1333MHz FSB
Intel Xeon Processor 5130 – Dual core / 2.00 GHz / 1333MHz FSB
Intel Xeon Processor 5120 – Dual core / 1.87 GHz / 1066MHz FSB
Intel Xeon Processor 5110 – Dual core / 1.60 GHz / 1066MHz FSB
Intel Xeon Processor 5080 – Dual core / 3.73 GHz / 1066MHz FSB
Intel Xeon Processor 5060 – Dual core / 3.20 GHz / 1066MHz FSB
Intel Xeon Processor 5050 – Dual core / 3.00 GHz / 667MHz FSB

They all seem recent enough to have the 64bit extensions.

Thanks
Chad


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



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


portconf port

2006-09-07 Thread Doug Hardie
I have been trying to figure out how to configure portconf.  The 3  
examples given are not much help with complex ports.  I am starting  
with the dspam port (mail/dspam) as if I can figure that one out the  
rest should be easy.  I first tried to use the arguments from the  
configure command:


mail/dspam: CONFIGURE_ARGS=--with-logdir=/var/log/dspam \
--with-dspam-home=/var/db/dspam \
--with-dspam-home-owner=root \
--with-dspam-home-group=mail  \
--with-dspam-home-mode=0770 \
--with-dspam-owner=root \
--with-dspam-group=mail \
--enable-homedir \
--with-storage-driver=hash_drv \
--with-delivery-agent=/usr/sbin/sendmail \
--with-dspam-mode=4511 \
--prefix=/usr/local

That still brought up the options selection menu.  Hitting cancel on  
that caused the port to start to build, but it still tried to  
download mysql 5.0 which I don't want.  The above configure command  
is how I normall build dspam - in the dspam directory.


Then I tried to select the options from Makefile entering the options  
I wanted (haven't figured out how to sent the drectories though):


mail/dspam:  WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL |  
SENDMAIL_LDA


That skips the options selection menu fine, but still tries to  
download mysql 5.0 which I don't want.  I then tried to add the  
WITHOUT options:


mail/dspam:  WITH SYSLOG | DEBUG | HASH USER_HOMEDIR | SENDMAIL |  
SENDMAIL_LDA WITHOUT DAEMON | MYSQL50 | POSTGRESQL | SQLITE3


Same results.  What am I doing wrong?

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


Thunderbird isntall error

2006-09-07 Thread Joshua Lewis
Can anyone tell me how Bind can cause a problem with my Thunderbird
install? Should I remove the option that is causing the problem and
reinstall Thunderbird?

%make install clean
===  Vulnerability check disabled, database not found
===  Found saved configuration for thunderbird-1.5.0.5
===  Extracting for thunderbird-1.5.0.5
= MD5 Checksum OK for thunderbird-1.5.0.5-source.tar.bz2.
= SHA256 Checksum OK for thunderbird-1.5.0.5-source.tar.bz2.
===   thunderbird-1.5.0.5 depends on file: /usr/local/bin/perl5.8.8 -
found
===  Patching for thunderbird-1.5.0.5
===   thunderbird-1.5.0.5 depends on file: /usr/local/bin/perl5.8.8 -
found
===  Applying FreeBSD patches for thunderbird-1.5.0.5
thunderbird-1.5.0.5: bind installed with PORT_REPLACES_BASE_BIND causes
build problems.
*** Error code 1

Stop in /usr/ports/mail/thunderbird.

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


FreeBSD Shells

2006-09-07 Thread Joshua Lewis
My shell mysteriously changed. I don't know what port changed the shell
but how do I put it back to normal. I liked how when I was logged in or
su'ed to root I had a prompt with the computer name and a hash sign. Now
I have a percent sign and when I try to change the shell with chsh I can
not get it to work anymore.

I am doing chsh -s /bin/sh is that correct? Is that the default BSD
shell? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble with a pair of bind9 servers

2006-09-07 Thread Jonathan Horne
i have 2 servers im working with for a test im doing with bind9.  a 6.1-p4, 
and a 5.5-p3.  both have bind9-9.3.2.1 from ports, without replace base 
version checked.  both are responding correctly for general lookups of hosts 
out on the internet, even based on the querying clients ip vs the acl on the 
zones.

the trouble im having is, that my slave (5.5-p3) will not transfer the zone 
from the master (6.1-p4).  my /var/log/messages is filled with these:

Sep  7 21:50:24 fbsd55-2 named[1847]: exiting
Sep  7 21:50:26 fbsd55-2 named[1924]: starting BIND 9.3.2 -t /var/named -u 
bind
Sep  7 21:50:26 fbsd55-2 named[1924]: /etc/namedb/named.conf:40: 
option 'allow-update' is not allowed in 'slave' zone 'dlptest.com'
Sep  7 21:50:26 fbsd55-2 named[1924]: command channel listening on 
127.0.0.1#953
Sep  7 21:50:26 fbsd55-2 named[1924]: command channel listening on ::1#953
Sep  7 21:50:26 fbsd55-2 named[1924]: zone dlptest.com/IN/internal: has 0 SOA 
records
Sep  7 21:50:26 fbsd55-2 named[1924]: zone dlptest.com/IN/internal: has no NS 
records
Sep  7 21:50:26 fbsd55-2 named[1924]: running
Sep  7 21:50:27 fbsd55-2 named[1924]: dumping master 
file: /etc/namedb/tmp-UZF5mCCxZP: open: permission denied
Sep  7 21:50:27 fbsd55-2 named[1924]: transfer of 'dlptest.com/IN' from 
192.168.125.91#53: failed while receiving responses: permission denied
Sep  7 21:51:20 fbsd55-2 named[1924]: dumping master 
file: /etc/namedb/tmp-SaWWYxV06u: open: permission denied
Sep  7 21:51:20 fbsd55-2 named[1924]: transfer of 'dlptest.com/IN' from 
192.168.125.91#53: failed while receiving responses: permission denied

this was giving me the impression that the bind user was not able to write 
to /var/named/etc/namedb, but every time i make a chmod or chown adjustment, 
it just gets changed back:

fbsd55-2# /etc/rc.d/named restart
Stopping named.
etc/namedb changed
user expected 0 found 53 modified
Starting named.
fbsd55-2#

here are my 2 config files (first the master, then the slave)

acl dlpnets {
192.168.125.64/26;
127.0.0.1;
};
options {
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
listen-on   { 192.168.125.91; 127.0.0.1; };
};
view internal {
match-clients { dlpnets; };
recursion yes;
zone . {
type hint;
file named.root;
};
zone 0.0.127.IN-ADDR.ARPA {
type master;
file master/localhost.rev;
};
zone dlptest.com {
type master;
file /etc/namedb/dlptest.com.i.hosts;
allow-transfer { any; };
also-notify { 192.168.125.91; };
notify yes;
};
};
view external {
match-clients { any; };
recursion no;
zone dlptest.com {
type master;
file /etc/namedb/dlptest.com.e.hosts;
};
};



(begin the slave named.conf)
acl dlpnets {
192.168.125.0/26;
192.168.125.91;
127.0.0.1;
};

options {
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
listen-on   { 127.0.0.1; 192.168.125.93; };
};
view internal {
match-clients { dlpnets; };
recursion yes;
zone . {
type hint;
file named.root;
};
zone 0.0.127.IN-ADDR.ARPA {
type master;
file master/localhost.rev;
};
zone dlptest.com {
type slave;
masters { 192.168.125.91; };
file /etc/namedb/dlptest.com.i-slave.hosts;
transfer-source 192.168.125.93;
allow-transfer { any; };
allow-update { 192.168.125.91; };
};
};

ive been dinking around with this for a few hours now, and im about to pull 
what little hair i have left out.  can someone shed light on this for me 
please?  any help at all would be much appreciated!

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


hp or Toshiba laptop?

2006-09-07 Thread Christian Lopez de Castilla Wagner
Hi guys,
I'm looking into buying a new laptop in the next week,
due to budget, time and the fact that I'm near the end of civilization
right now,
I have the following choices:
Toshiba Tecra A6-SP3032 (Core Duo 1.83GHz, Intel PRO/Wireless 3945ABG
(802.11a/b/g),  Intel PRO/1000 VE 10/100/1000 Base-TX, FastIR, Intel
GMA950, Realtek ALC861 Audio, 5-in-1 cardreader, FireWire)
or
hp nx6320 (Same specs, except Broadcom NetLink Gig-Ethernet (BCM5788M)
and ADI1981HD audio, no cardreader).

I'll be running 6-Stable on this, with X, Gnome, et al.
Has anyone had any experience (positive or negative) with either of
these machines? Which wired Ethernet works better with FreeBSD?
Is the wireless reliable/unreliable, does it work at all?
Audio? Graphics under X?
What about IR/FireWire, cardreader?
And most importantly, what about power management?


-- 
Christian Lopez de Castilla Wagner
[EMAIL PROTECTED]
PGP ID: 483EA9B6
(+591-705)98290

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


OpenOffice build crashes the compiler

2006-09-07 Thread Perry Hutchison
Anyone seen this and know how to get past it?
Configuring out the failing component would be fine,
if possible, since I really only need the word processor.

Making: ../../../../unxfbsdi.pro/slo/SlideSorterView.obj
g++-ooo -fmessage-length=0 -c -Os -fno-strict-aliasing   -fvisibility=hidden 
-I.  -I../../../../unxfbsdi.pro/inc/slsview 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solver/680/unxfbsdi.pro/inc/offuh
 -I../inc -I../../inc -I../../../../inc/pch -I../../../../inc 
-I../../../../unx/inc -I../../../../unxfbsdi.pro/inc -I. 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solver/680/unxfbsdi.pro/inc/stl
 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solver/680/unxfbsdi.pro/inc/external
 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solver/680/unxfbsdi.pro/inc
 -I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solenv/unxfbsdi/inc 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solenv/inc 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/res 
-I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solver/680/unxfbsdi.pro/inc/stl
 -I/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/solenv/inc/Xp31 
-I/usr/local/diablo-jdk1.5.0/include -I/u!
 sr/local/diablo-jdk1.5.0/include/
In file included from 
/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/sd/source/ui/slidesorter/view/SlideSorterView.cxx:54:
../../inc/DrawDocShell.hxx: In member function `void 
sd::DrawDocShell::SetSpecialProgress(SfxProgress*, Link*)':
../../inc/DrawDocShell.hxx:189: warning: declaration of 'pProgress' shadows a 
member of 'this'
g++-ooo: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
dmake:  Error code 1, while making 
'../../../../unxfbsdi.pro/slo/SlideSorterView.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/sd/source/ui/slidesorter/view
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Shells

2006-09-07 Thread [EMAIL PROTECTED]

On 9/7/06, Joshua Lewis [EMAIL PROTECTED] wrote:

My shell mysteriously changed. I don't know what port changed the shell
but how do I put it back to normal. I liked how when I was logged in or
su'ed to root I had a prompt with the computer name and a hash sign. Now
I have a percent sign and when I try to change the shell with chsh I can
not get it to work anymore.

I am doing chsh -s /bin/sh is that correct? Is that the default BSD
shell?


Percent sign would mean that you are still using
csh, which is actually tcsh, if I am not mistaken.
You can set your prompt with
set prompt = '%m%# '

I do not know about the su situation.

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


Re: need a restricted shell

2006-09-07 Thread Chad Leigh -- Shire.Net LLC


On Sep 7, 2006, at 7:35 AM, David Robillard wrote:


I am looking for a shell that will allow Subversion to be run over
ssh but not allow interactive login or if it allows interactive
login, will only allow Subversion commands to be run...  Any ideas
on how to accomplish this?


Hi Chad,

You could install the shells/scponly port and build it with it's  
chroot option.

(i.e. sudo make -DWITH_SCPONLY_CHROOT install) Don't run the `make
clean` just yet, because you will need the setup_chroot.sh script
which is inside the work/scponly-port_version directory.



Thanks to David and all who responded.  I will give this a shot.

Thanks
Chad

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



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


DL 380/G5 with 16G of ram

2006-09-07 Thread Josef Grosch


Hello,

I've got a DL 380/G5 as an evalu unit. It has 16 gig of ram. I compiled 
a PAE kernel but I'm finding that it is not very stable. It crashes 
during heavy disk activity, ie. portupgrade -rav. Does anyone have 
experience with this sort of machine and would you care to share your 
kernel config file and/or advice.



Thanks

Josef

--
FreeBSD 6.1 |
Josef Grosch| You can't expect to wield supreme executive power
[EMAIL PROTECTED] | just 'cause some watery tart threw a sword at you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DL 380/G5 with 16G of ram

2006-09-07 Thread Marc G. Fournier

On Thu, 7 Sep 2006, Josef Grosch wrote:



Hello,

I've got a DL 380/G5 as an evalu unit. It has 16 gig of ram. I compiled 
a PAE kernel but I'm finding that it is not very stable. It crashes 
during heavy disk activity, ie. portupgrade -rav. Does anyone have 
experience with this sort of machine and would you care to share your 
kernel config file and/or advice.


Have you tried a non-PAE kernel?  If its a new unit, I imagine its 64bit, 
which, as far as I'm aware, doesn't require PAE  ... ?



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


Re: DL 380/G5 with 16G of ram

2006-09-07 Thread Brad Miele
I have 2 new dl380/G5s which threw the Memory above 4G ignored errors 
unless i used a PAE kernel. my kernel config is below, the machine has
been up and has had no trouble with portupgrade/buildworld, etc. but it 
is not in production yet either and i have not put a ton of stress on it. 
I have 6G ram, so not nearly as much.


fwiw, here is my conf. I pretty much rolled the PAE config into my custom 
conf. The custom conf has as much as I possible could lose stripped out.


machine i386
cpu I686_CPU
ident   MYBOXYO

# To make an SMP kernel, the next line is needed
options SMP # Symmetric MultiProcessor Kernel

# To make a PAE kernel, the next option is needed
options PAE # Physical Address Extensions 
Kernel


# for apache2
options ACCEPT_FILTER_HTTP

# Compile acpi in statically since the module isn't built properly.  Most
# machines which support large amounts of memory require acpi.
device  acpi

# Don't build modules with this kernel config, since they are not built 
with

# the correct options headers.
makeoptions NO_MODULES=yes

# What follows is a list of drivers that are normally in GENERIC, but 
either
# don't work or are untested with PAE.  Be very careful before enabling 
any
# of these drivers.  Drivers which use DMA and don't handle 64 bit 
physical
# address properly may cause data corruption when used in a machine with 
more

# than 4 gigabytes of memory.

nodeviceahb
nodeviceamd
nodevicesym
nodevicetrm
nodeviceadv
nodeviceadw
nodeviceaha
nodeviceaic
nodevicebt
nodevicencv
nodevicensp
nodevicestg
nodeviceasr
nodevicedpt
nodevicemly
nodevicehptmv
nodeviceida
nodevicemlx
nodevicepst
nodeviceagp
nodevicede
nodevicetxp
nodevicevx
nodevicenve
nodevicepcn
nodevicesf
nodevicesis
nodeviceste
nodevicetl
nodevicetx
nodevicevr
nodevicewb
nodevicecs
nodeviceed
nodeviceex
nodeviceep
nodevicefe
nodeviceie
nodevicelnc
nodevicesn
nodevicexe
nodevicewlan
nodevicewlan_wep# 802.11 WEP support
nodevicewlan_ccmp   # 802.11 CCMP support
nodevicewlan_tkip   # 802.11 TKIP support
nodevicean
nodeviceath # Atheros pci/cardbus NIC's
nodeviceath_hal # Atheros HAL (Hardware Access Layer)
nodeviceath_rate_sample # SampleRate tx rate control for ath
nodeviceawi
nodeviceral
nodevicewi
nodeviceuhci
nodeviceohci
nodeviceehci
nodeviceusb
nodeviceugen
nodeviceuhid
nodeviceukbd
nodeviceulpt
nodeviceumass
nodeviceums
nodeviceural
nodeviceurio
nodeviceuscanner
nodeviceaue
nodeviceaxe
nodevicecdce
nodevicecue
nodevicekue
nodevicerue

#
makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
symbols

#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big 
directories

options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires 
NFSCLIENT

options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires 
PSEUDOFS)

options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP 
THIS!]

options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing 
SCSI

options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options 

Re: hp or Toshiba laptop?

2006-09-07 Thread Joel Dahl
On Thu, 2006-09-07 at 08:38 -0400, Christian Lopez de Castilla Wagner
wrote:
 Hi guys,
 I'm looking into buying a new laptop in the next week,
 due to budget, time and the fact that I'm near the end of civilization
 right now,
 I have the following choices:
 Toshiba Tecra A6-SP3032 (Core Duo 1.83GHz, Intel PRO/Wireless 3945ABG
 (802.11a/b/g),  Intel PRO/1000 VE 10/100/1000 Base-TX, FastIR, Intel
 GMA950, Realtek ALC861 Audio, 5-in-1 cardreader, FireWire)
 or
 hp nx6320 (Same specs, except Broadcom NetLink Gig-Ethernet (BCM5788M)
 and ADI1981HD audio, no cardreader).

I'd go for the HP.  I bought a HP nx7400 2 weeks ago (which has similar
specs) and everything except sound and the wireless stuff seems to work.
A Beta driver for the sound exists and it works well on my laptop, but
it hasn't been committed to current yet.  Dunno about the status of
wireless support, but I heard rumors about a port of the wpi(4) driver
from OpenBSD.

-- 
Joel

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