Re: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Sat, Nov 10, 2007 at 05:22:06PM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'd welcome suggestions on how (or whether) to try to revive a SCSI
 drive that's failing.

to answer 'whether':  don't.   Get your stuff off from it as
soon as possible and nuke it if it has anything sensitive at all.

If it is a mirror or raid5 then you should be able to just replace it, but
otherwise, back it up immediately and quit using it.

Generally, if you start seeing a regular hard error, the drive
is on its last legs.   The errors only increase.You may be 
able to do things to get past this one error, but more will be
coming.

So, is answer to 'how': also don't.

jerry

 
 This is on FreeBSD 6.2-RELENG on a Compaq Proliant DL320, onboard RAID
 and two SCSI drives in a RAID1 array.
 
 Today this system rebooted and hung on Compaq's what do you want the
 RAID controller to do? message. I told it to fix any errors.
 
 When I brought the system back up (after running fsck in single-user
 mode), the log had lots of errors like this:
 
 Nov 10 09:00:40 mail kernel: ida0: hard write error
 Nov 10 09:00:40 mail kernel: ida0: invalid request
 Nov 10 09:01:48 mail last message repeated 35 times
 Nov 10 09:03:49 mail last message repeated 571 times
 Nov 10 09:12:27 mail last message repeated 796 times
 
 I vaguely remember trying about a year ago to load a SMART utility from
 the ports collection but it wouldn't work on drives in a RAID array.
 
 Is there some other way to:
 
 a) diagnose/fix the errant disk here?
 b) monitor the health of disks on a Compaq controller so it doesn't get
 to this point to begin with?
 
 thanks in advance
 
 dn
 
 
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFHNlk+yPxGVjntI4IRAntlAJ9FWA2ez+BdnViq7mrIpkLBTLm/CgCfRyEA
 czDvMn6+8KjlI3V0iBG4U3I=
 =36+k
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 07:56:52AM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 11/10/07 9:09 PM, Modulok wrote:
  I'd welcome suggestions on how (or whether) to try to revive a SCSI
  drive that's failing.
  
  It depends on how valuable the data on the array is, and more
  importantly, how much funding you have at your disposal to fix the
  problem. If it were me, I would set aside the bad disk, connect a new
  disk to the card and re-synchronize the array. (Assuming one of the
  members still retains a good copy of the data.) Afterwards I would
  destroy, or toss the existing disk in the trash can (depending on the
  sensitivity of the data stored on it.)
 
 Thanks for your reply.
 
 An update: After doing what you suggest (leaving in the good disk,
 adding a new disk, RAID rebuilding) I still got soft write errors --
 with *either one* of the disks I tried.
 
 Then I tried putting both disks in an identical server and they came up
 fine, no read or write errors.
 
 Ergo, the bad RAID controller is bad and the disks may be OK.

Probably not.
Generally, if the RAID controller is bad, you will see errors
all over and not it just one place, tho I suppose it is possible.
Check and see what it reports as error locations and see if they
move around any.

A soft error is usually one that can be corrected within the limits
of rereads and any error correction that the system is using.  It
may be that the error was introduced when the problems with the old
disk was occuring so that there was an error written on to the other
supposedly good disk and then mirrored to the new disk - errors can
be preserved by mirroring too.

Having said that, I don't know where this error is from.  Try reading up
and rewriting the data that is in the spot getting the error and then 
reading it from the new location.   It is pretty hard to figure out
and specifically rewrite one certain block on modern systems because
the physical locations are virtual.   Although you would expect the
same sector number to be in the same place from one write to the next,
if it happens that that sector gets remapped due to an error, then
it will actually be a different physical location the next time and
you don't really prove anything.   But, it is worth experimenting 
with if you want.

You can dd from and to any sector on the partition by carefully
using skip counts and block counts.   But, you have to figure out
the location (sector number) first.

Good luck,

jerry

 
  Is there some other way to:
  b)monitor the health of disks on a Compaq controller so it doesn't
  get to this point to begin with?
  
  There are various tools out there that attempt to 'monitor' the
  condition of disk drives to try and predict when failure is eminent.
  For valuable data, it is safer to setup a mirror and simply toss out
  bad disks as they fail. For extremely valuable data use a 3 disk
  array. With a 3 disk setup you will still be covered in the event that
  an additional disk craps out during the re-sync.
  
  To quote google's article on disk failure, regarding SMART:
 
 Right, I've heard it said that SMART isn't.
 
 Nonetheless, I'd appreciate any suggestions to monitor the health of
 disks -- and RAID controllers too -- on HP Proliant servers running FreeBSD.
 
 thanks again.
 
 dn
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFHNyZDyPxGVjntI4IRAqk1AKCUwByNOAJZwvtD9V21TZfyaMWaxgCdFSCZ
 dZjf3ynK+4OffBzsDOawF9A=
 =DUqc
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Beastie 3D-rendered

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 08:55:18PM +, Tino Engel wrote:

 Look what happened to Beastie:
 
 http://www.tilolit.de/images/tb/wallpapers/teufel.jpg

Cute, but the eyes seem a little out of sync with the
rest of the attention/address of the figure.   Also legs
are missing.

Or, am I not viewing it with the right thing?

Anyway, Check with the BSDie copyright holders to see if this is OK.
I believe it is Kirk Mckusick.

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: disk drive serial number

2007-11-12 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 06:38:08PM -0500, Josh Carroll wrote:

  is there a way to get the serial number from a drive from within the OS?  im
  trying to audit the drives in my file server, but without pulling the thing
  from the rack and cracking it open.  they are just standard sata drives, not
  on any sort of raid controller (ie, i know 3ware cards are capable of 
  pulling
  the drive info).
 
 Check dmesg (or /var/run/dmesg.boot). The serial number should show, e.g.:
 
 ad8: 381553MB Seagate ST3400633AS 3.AAH at ata4-master SATA150

Which is the serial?
I see the extended model id.

jerry

 
 Thanks,
 Josh
 ___
 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: FreeBSD questions

2007-11-12 Thread Jerry McAllister
On Mon, Nov 12, 2007 at 02:37:06PM +, Alex Zbyslaw wrote:

 Andy Greenwood wrote:
 
 If you want the newer versions of software from the ports tree, don't 
 limit your results by the tag. Basically, you're saying (IIRC) I want 
 the version of the port that was included with this release instead 
 of I want the most recent version of this port. the release versions 
 of the ports will only be updated for bug fixes, etc. 
 
 Unless something has changed recently, this is not correct.
 
 The release versions of the ports are *never* updated for anything; not 
 security fixes, not features, nothing.  The ports tree is not like, say, 
 Fedora Linux rpms.

I think what you want to say may be correct, but this is confusing.
Ports are updated all along as port maintainers get to it.  In general
the ports system does not have release identifiers.  It is also not
specifically tied to any release.   It just happens that a particilar
'snapshot' of the condition of the ports tree is put on an ISO and
for good measure, gets frozen a while to give time to check it out.
But, as soon as that freeze is over (which pretty much corresponds to
the timing of a base system RELEASE), updates begin again as the port
maintainers get around to making improvements.So, a certain condition
of the ports tree and the individual ports conceptually gets tied to
a certain RELEASE, but in reality is not, since changes continue to
be made and you will get the most recent condidition of the ports if
you do an install over the net.   You will get the 'RELEASE' condition
only if you install only from the ISO-s.  

Now, when changes are made to ports, they should be tested against
something and I don't know just what they get tested against between
freezes.So, whether you csup your ports tree and install over
the net or install from the ISO you have burned to a CD may depend
on whether an updated version of a port will work with the stuff you
are trying to install it over.   You may have to test.   Generally
the latest version is the best, but sometimes the updates may have
moved the port beyond where your base system is at the moment.

Of course, you could also upgrade your base system - if you need 
that latest instantiation of the port.

The point being that ports are almost continuously being updated
except for that freeze period.   But, there is no general-systemwide
versioning system for the ports. So, in in the base system RELEASE 
sense, ports is not updated - there are no numbers to update.  But it 
is updated, in the sense that improvement are continuously made - depending
on the maintainer.

jerry

 
 What you say is true of the *base* system, but not true for ports.
 
 Technically, the ports tree is not branched, because it's a) too much of 
 a maintenance burden and b) apparently CVS is likely to struggle, which 
 I can believe.
 
 The ports tree is *tagged* (not branched) when the release ISOs are 
 made, and those tags are never moved.
 
 For cv(s)uping ports there are only two reasonable tags, as far as I know:
 
 .  which means the latest ports tree or
 
 a date: when you desperately need to get back to the ports tree you had 
 say a week ago because it worked and your current one doesn't and you 
 are desperate.
 
 --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: dealing with a failing drive

2007-11-12 Thread Jerry McAllister
On Mon, Nov 12, 2007 at 09:26:38AM -0800, David Newman wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 11/12/07 8:14 AM, Jerry McAllister wrote:
 
  An update: After doing what you suggest (leaving in the good disk,
  adding a new disk, RAID rebuilding) I still got soft write errors --
  with *either one* of the disks I tried.
  
  Then I tried putting both disks in an identical server and they came up
  fine, no read or write errors.
  
  Ergo, the bad RAID controller is bad and the disks may be OK.
  
  Probably not.
  Generally, if the RAID controller is bad, you will see errors
  all over and not it just one place, tho I suppose it is possible.
  Check and see what it reports as error locations and see if they
  move around any.
 
 Jerry, thanks for your response.
 
 After 36 hours of running the same disks in a different, identical
 machine there hasn't been a single read or write error. I'm hardly a
 storage expert but from the evidence I have I'm inclined to believe the
 root cause was a bad RAID controller and not failed disks.

That is not much proof. 
The different machine would probably be accessing the disks in
a different way, either slightly different positioning or using
different space.   Also, 36 hours is not really much time.

It could be you are right, but disks have a way of starting small
in errors and then avalanching on you with accelerating volume
of errors just when you begin to feel safe.

You could be right, but is the price of a disk worth it - the
price of a new RAID controller, for that matter?   Replace them
both.

jerry

 
 I'm aware of CLI tools to monitor 3Ware SATA RAID controllers. Anyone
 know if there are similar tools for HP/Compaq SCSI RAID controllers?
 
 thanks
 
 dn
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.3 (Darwin)
 
 iD8DBQFHOIzOyPxGVjntI4IRAmMWAJ4grMR6mcL/j9qbcGY/fJfDEqv3KgCg8BVW
 wcHVDkZPykFcQzVYnp8mx+g=
 =8rws
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: www.freebsd.org

2007-11-10 Thread Jerry McAllister
On Sun, Nov 11, 2007 at 01:02:22AM +0900, Byung-Hee HWANG wrote:

 On Sat, 2007-11-10 at 16:59 +0200, [EMAIL PROTECTED] wrote:
  Hi. We are developers. If you want , we can help to you for Turkish language
  support.You can rely on us. We worked some projects.
 
 That's not true, you cannot help us. Please show us `uname -a';

What does that mean?   Maybe they can contribute.
Do you know some secret?

jerry

 
 -- 
 If my word isn't enough for you, ask your Don.
   -- Michael Corleone, Chapter 28, page 399
 
 ___
 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: nanobsd, picobsd, tinybsd

2007-11-10 Thread Jerry McAllister
On Sat, Nov 10, 2007 at 03:45:30PM -0600, John Smith wrote:

 I'd expected a more level headed reply from this FreeBSD list. How is
 a newbie supposed to know the differenced and how can I test this if I
 don't have a spare machine?
 
 My question was more out of interest. This mailing list is called
 FreeBSD-Questions, so why can't I asked a reasonable question and
 expect a reasonable reply...?

Because, like the software creation, the responses on the questions
list are done by volunteers.   You happened to get one who seemed
to need to respond, but didn't have any information to respond with.

You will probably also get some more useful responses.  (Sorry, I 
don't know much about nano, tiny or pico BSD except that those  words
tend to be used to imply very small)

Of course, you could try to experiment.  You could try dual-booting
the machine you have and put those on the other part.

jerry


 
 
 
 On Nov 10, 2007 9:40 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote:
  On 2007-11-09 17:01, John Smith [EMAIL PROTECTED] wrote:
   Can anybody please explain to my what the differences are between
   nanobsd, picobsd and tinybsd.
  
   They all seem to be doing the same (creating a minimal FreeBSD image
   that can be used in embedded systems), or is this not right?
 
  What don't you experiment with them, and see? :)
 
 
 ___
 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: nanobsd, picobsd, tinybsd

2007-11-10 Thread Jerry McAllister
On Sat, Nov 10, 2007 at 06:05:35PM -0500, Jerry McAllister wrote:

 On Sat, Nov 10, 2007 at 03:45:30PM -0600, John Smith wrote:
 
  I'd expected a more level headed reply from this FreeBSD list. How is
  a newbie supposed to know the differenced and how can I test this if I
  don't have a spare machine?
  
  My question was more out of interest. This mailing list is called
  FreeBSD-Questions, so why can't I asked a reasonable question and
  expect a reasonable reply...?
 
 Because, like the software creation, the responses on the questions
 list are done by volunteers.   You happened to get one who seemed
 to need to respond, but didn't have any information to respond with.

Didn't notice who had made that response.  It was by someone who would
really know, but was still unfortunately short on information.

jerry


 
 You will probably also get some more useful responses.  (Sorry, I 
 don't know much about nano, tiny or pico BSD except that those  words
 tend to be used to imply very small)
 
 Of course, you could try to experiment.  You could try dual-booting
 the machine you have and put those on the other part.
 
 jerry
 
 
  
  
  
  On Nov 10, 2007 9:40 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote:
   On 2007-11-09 17:01, John Smith [EMAIL PROTECTED] wrote:
Can anybody please explain to my what the differences are between
nanobsd, picobsd and tinybsd.
   
They all seem to be doing the same (creating a minimal FreeBSD image
that can be used in embedded systems), or is this not right?
  
   What don't you experiment with them, and see? :)
  
  
  ___
  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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on a Mac

2007-11-09 Thread Jerry McAllister
On Fri, Nov 09, 2007 at 12:03:30AM +, James Jeffery wrote:

 Was wondering.
 
 Can i put FreeBSD on a Quicksilver G4?
 
 I know it already has Tiger on it, which is BSD based, but i have no
 use for Tiger at the moment.
 At college were using Windows, and my old BSD box now has windows on
 it so that i can keep
 up with college assignments.
 
 I still have BSD on the box, but on another partition, i loved FreeBSD
 7, was really getting the
 hang of it and testing out its web server capabilities, its a
 nightmare switching the PC on and
 off just to run a temp web server to test on.
 
 Is it possible or is there a better solution?

If you have enough disk space, you could either dual boot
with MS-Win and FreeBSD, or you could run vmware and then
install both FreeBSD and ms-win virtual machines on it.

jerry

 
 Cheers
 ___
 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: How can I use the Windows loader to boot FreeBSD

2007-11-08 Thread Jerry McAllister
On Wed, Nov 07, 2007 at 03:19:38PM -0800, Alou Dialy wrote:

 I read this FAQ but I am still confused. How does it
 work if you have windows on ad0 and freebsd on ad1.

You put a copy of the FreeBSD MBR on both disks.
The BIOS will start the first one it sees.  Then, if it is
the FreeBSD MBR, it will look and see if there is a second
bootable disk and give you a choice of booting what is on
the first disk or going to the second disk.  If it goes to
the second disk, that MBR will give you a choice of booting
what is on that disk (and I think, going back to the first one).

jerry

 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install

2007-11-08 Thread Jerry McAllister
On Thu, Nov 08, 2007 at 02:15:11PM -0500, Rob wrote:

 Leonard Lilla wrote:
 Talk about a horrible install. Install this CD, now that now
 this now that now this now that!!! It goes on and on. Please do think about
 people that are trying your install and are less knowledgeable and install
 using your 2 cd install. It is just horrible how many times I went from CD1
 
 You're doing something wrong, or at least sub-optimal.  Unfortunately, some 
 of the online documentation isn't as good as it could be.
 
 I NEVER screw with the 2nd CD.  I don't even download it.  Try installing 
 from CD 1;  do NOT do any of the ports or package installs.  That stuff is 
 out of data by the time you install it anyway.  Read up in the handbook on 
 how to use portsnap to install a current version of ports over the net, 
 port installation.

Basically yah, but one qualification and one disagreement here.
As stated, don't bother with CD-2 unless you do not have a network
connection.  Use the CD just to start the installer and do the
install over the net if you can.  

Sure, don't install the packages, unless you have to for some reason.
Also, don't install the ports tree from the CD.  Do all installs 
over the net.

But, do install the ports tree - note, that's the ports tree/skeleton
not the whole bunch of actual ports.   

Too bad the same word gets used for both a lot.   The tree/skeleton is 
a basic set of directories with enough information to download and 
install whichever ports you want.  Once the ports tree/skeleton is 
there and appropriately updated, you just cd to  /usr/ports/CATEGORY/PORT 
and do a   make; make install   to get the actual port installed.

Anyway, once you get the initial install of system and ports, then the 
first thing you do after getting that done and creating a couple of 
working accounts is to csup everything, including ports, over the net 
and build and merge and reboot as the instructions tell you.

Then install individual ports and check them out.

jerry

 
 If you're trying to build a workstation (ie:  with X') rather than a 
 server, consider using PC-BSD or Freesbie (google it).
 
  -Rob
 
 ___
 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: New FreeBSD art?

2007-11-07 Thread Jerry McAllister
On Wed, Nov 07, 2007 at 06:36:03PM +, Ashley Moran wrote:

 
 On Nov 07, 2007, at 5:59 am, Ted Mittelstaedt wrote:
 
 If you compare for example the daemon on the CD cover of
 the version 1.1 release, pictured here:
 
 http://www.mckusick.com/beastie/shirts/bsd4_3.html
 
 Note the fine shading and variation on the shadow part of the
 daemon.  Now, compare that to the later renditions on the powered by
 logos here:
 
 http://www.freebsd.org/art.html
 
 Notice how the fine shading is gone and replaced with a single
 uniform black.
 
 Whoever built the daemon image for the Powered By logos must
 have spent hours and hours and hours on getting the shading to
 look acceptable on the much smaller Powered By image.  It works
 because the daemon image is not a simple shape image, it's outline
 is complex.  The same trick would not work for the red ball, it
 would just end up looking like a red moon being eclipsed.
 
 Now I've compared them I see your point.
 
 
 The primary reason the new logo was dreamed up was due to
 complaints by one of the core members that whenever they did
 a presentation about FreeBSD people would waste a huge amount
 of time getting through the yer logo looks like Satan stage
 before he could actually talk about the operating system itself.
 They wanted a kewel looking logo that could be plastered on
 large posters, CD cases, book covers, and such marketing materials
 without ignorant people thinking it was some kind of devil worship
 cult at the trade shows.  They wern't at all concerned with
 a logo that would look good on a powered by entry on a
 webpage.
 
 I didn't follow the debate first time round but I remember hearing  
 something along these lines (also that the new one looks like a sex  
 toy, I must be too innocent to understand that one...).  I didn't  
 really see the point of changing the logo, possibly because I never  
 realised that there were so many ignorant people at presentations like  
 you describe.  There are plenty of ignorant people around, I just  
 didn't know so many ended up looking at FreeBSD.

It was kind of silly and unfortunately didn't end up with what
was originally given as one of the main motivations.   The main
things were to be unique - all the BSD-s use BSDie in one way or
another, to be distinctive, to be a more usable graphic.  The avoid
the devil issue was studiously avoided as an official motivation.

Anyway, as you notice, the more usable graphic failed.  It is sort
of unique, but I wouldn't really call it distinctive.  It doesn't
do much to represent FreeBSD, but then, take a look at other 'modern'
logos around - even ones companies spend millions on.  They generally
do not represent their companies in any meaningful way either.  At
least BSDie represented somewhat the philosiphy of UNIX - a collection
of processes taking care of business for you.

(It is hard to admit, but) I generally agreed with Ted in this whole
thing - at least on how the new logo thing missed its mark rather
widely.   But, it is really a small thing.  The OS still works and
mostly better than anything else out there.   So, I still put BSDie
stickers on things and don't worry about it.

 
 I assumed, though, that the new logo was designed to replace the old  
 one.  I've got nothing against Beastie, I just figured that if the  
 FreeBSD team wanted to be identified by the red horned globe that I  
 should be using that in its/his place.

Not so much to replace as to supplant BSDie, I think.

 
 I have in any case gone with one of the Powered By logos.
 

Yup.  Me too.

jerry

 
 While I'm on the subject, can anyone open the SVG version?
 
 URL please?
 
 
 http://www.freebsd.org/logo.html (under vector formats)
 
 
 Ashley
 
 
 -- 
 blog @ http://aviewfromafar.net/
 linked-in @ http://www.linkedin.com/in/ashleymoran
 currently @ home
 
 ___
 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: New FreeBSD art?

2007-11-07 Thread Jerry McAllister
On Wed, Nov 07, 2007 at 07:14:10PM +, Ashley Moran wrote:

 
 On Nov 07, 2007, at 6:54 pm, Jerry McAllister wrote:
 
 So, I still put BSDie
 stickers on things and don't worry about it.
 
 Is that what it's called?  I've always called it Beastie.  I can't  
 even tell you why.
 

Prounced the same, whichever way you spell it.

jerry

 
 Yup.  Me too.
 
 Ok I'm glad we settled this one :)
 
 
 Ashley
 
 -- 
 ___
 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: portupgrade questions

2007-11-06 Thread Jerry McAllister
On Tue, Nov 06, 2007 at 10:15:54AM -0500, Aryeh M. Friedman wrote:

 
 
 
  I really should rephrase what I said, because you're both right and I knew
  you were right.
 
  *I* can't mix packages and ports, because *I* can't be bothered keeping
  track of things.

 
 Like everything in UNIX there are several ways:
 
 1. The default (simplest way)
 2. The simple but manual way
 3. And the right but insanely complex way

It may seem like that sometimes.  But, most often, the right way
is also the simplest way.

 
 Has anyone heard of KISS??!?!?!?!?

Yes.  The problem is that so many people put all their emphasis
on the last 'S' which doesn't help anybody.

jerry

 
 -- 
 Aryeh M. Friedman
 Developer, not business, friendly
 http://www.flosoft-systems.com
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 and PERC 5i controller

2007-11-06 Thread Jerry McAllister
On Tue, Nov 06, 2007 at 11:46:30AM -0500, Jay Aikat wrote:

 I am trying to install an Endace DAG card for traffic capture on a new 
 machine with 8 drives installed using a PERC 5i controller.  Due to support 
 limitations for the DAG software, I have to install FreeBSD 5.4 on this 
 machine.
 
 However, the install CD does not see any drives at all - my guess is 
 FreeBSD 5.4 has no drivers for the PERC 5i controller.  Does anyone know a 
 workaround for this?  Is there a PERC 5i driver available for FreeBSD 5.4?  
 TIA for your responses.

I am guessing you are right.  5.4 is pretty old.
Is there any good reason you don't go to a more
modern version of FreeBSD?

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: FreeBSD 5.4 and PERC 5i controller

2007-11-06 Thread Jerry McAllister
On Tue, Nov 06, 2007 at 12:43:34PM -0500, Josh Paetzel wrote:

 On Tuesday 06 November 2007 11:17:24 am Jerry McAllister wrote:
  On Tue, Nov 06, 2007 at 11:46:30AM -0500, Jay Aikat wrote:
   I am trying to install an Endace DAG card for traffic capture on a new
   machine with 8 drives installed using a PERC 5i controller.  Due to
   support limitations for the DAG software, I have to install FreeBSD 5.4
   on this machine.
  
   However, the install CD does not see any drives at all - my guess is
   FreeBSD 5.4 has no drivers for the PERC 5i controller.  Does anyone know
   a workaround for this?  Is there a PERC 5i driver available for FreeBSD
   5.4? TIA for your responses.
 
  I am guessing you are right.  5.4 is pretty old.
  Is there any good reason you don't go to a more
  modern version of FreeBSD?
 
  jerry
 
 
 Yeah...and he mentions it in his email.  Did you read it?

Oh yah,  I see it now.   So sorry.

jerry

 
 The driver you need (mfi) was never backported to 5.x  It was introduced in 
 FBSD 6.1-R  You might ask the author (Scott Long) how much work it would be 
 or why it was never backported.  It's possible it's trivial and it's possible 
 that it would require massive amounts of work.
 
 -- 
 Thanks,
 
 Josh Paetzel
 
 PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


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


Re: DNS and IP

2007-11-05 Thread Jerry McAllister
On Sun, Nov 04, 2007 at 06:00:27PM -0500, Brian Finniff wrote:

 
 My question is, if you are running a website for 2 different people on the 
 Internet and they both wanted to acquire a domain but you only have one IP 
 address, would it be possible to forward each domain to the same IP address 
 and somehow each one becomes distinct? If so, how is this possible? Can you 
 explain to me how it can be done.
 

It sounds like you want to set up name based virtual hosts.
That is SOP for many servers.   It is documented.

You would also have to deal with the name server issues to get
the web stuff (ports 80 and 443) directed to your single IP.  If
you do the name service, that is easy.  If you have to beg another
service, then that could be the hardest part.

jerry


 Oh and for reference, I am not talking about web redirects.
 
 _
 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: Is there a way to compare what is in the ports tree with what is installed?

2007-11-05 Thread Jerry McAllister
On Mon, Nov 05, 2007 at 02:36:00AM +, Pollywog wrote:

 On Monday 05 November 2007 02:04:39 Robert Huff wrote:
  Brett Davidson writes:
ie. If I had a particular version of the ports tree on a server,
how could I check to see if any of the programs in that tree were
actually installed?
  
Is there a simple command or sequence of commands to do this?
 
  dir /var/d/pkg | grep portname
 
 My Linux systems have a dir command but my FreeBSD does not.
 Is there something I need to install?

Yes, just install your own alias.
For example, in my .cshrc file for the accounts I use I put:

  alias dir ls -lAF

and then I have a dir.

I also alias ls to:

  alias ls ls -F

and lo to: 

  alias lo logout

and numerous others.
That is the normal way of creating these simple things.

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: Help Failing Disk Problem

2007-11-05 Thread Jerry McAllister
On Mon, Nov 05, 2007 at 11:53:13AM -0800, Sean Murphy wrote:

 I have a FreeBSD 6.2 Release box with a single ide that has user data 
 and the FreeBSD OS on a hard disk that is failing.  I need advice on the 
 best way to clone the entire disk (or at least the data) onto a larger 
 ide disk drive, then pull the failing disk and replace it with the 
 clone.  What is the best way in FreeBSD to do that?

If you can get the new disk physically installed and recognized and
running before the old disk completely fails, then it should be no
problem.   Build the file systems on the new disk as you want them,
then use dump/retore to move the data.   The dump/restore needs to
be done one filesystem at a time.   

NOTE: For best results, this should all be done in single user mode
  with no other thing running to avoid changes in files confusing
  things.   It will work in full multi user mode, but you may get
  some files in indeterminate condition if they happen to change
  during the copy process.

Either use sysinstall  (/usr/sbin/sysinstall) to slice and partition
the new drive and build file systems on it or do it yourself with
  fdisk, bsdlabel and newfs.

Since you are using a larger drive, think out the sizes you want
for the partitions on the new drive.   I am guessing from the way
you talk here, that the system is not dual booted with some other OS.

Given that presumption:
  (This is right out of the bsdlabel man page, by the way.  I just
   changed numbers and device names to fit the situation)

NOTE: The dd-s below are just to make sure the label areas and such
  are wiped clean in case the manufacturer made some presumptions
  and wrote something there.   They might not really be needed, but
  won't hurt anything and take just a moment.

Create one large slice, marked bootable for FreeBSD:
  dd if=/dev/zero of=/dev/ad1 bs=512 count=1024
  fdisk -BI da0

Write a basic label and boot record on the slice:
  dd if=/dev/zero of=/dev/ad1s1 bs=512 count=1024
  bsdlabel -w -B ad1s1

Partition the slice by using the edit function of bsdlabel:
  bsdlabel -e ad1s1

This will put you in an edit screen with the beginnings of partition
information.   Ignore anything it might have before the lines that read:
  # /dev/ad1s1:
  8 partitions:
  #  size   offsetfstype   [fsize bsize bps/cpg]

After that you will see a list of partitions.  There should only be
one 'c' partition listed.   Do not change that line, but copy it 
enough times to have one for each partition you want.  Lets say you
want root, swap, /tmp, /usr, /var and /home.   Then make it 
something like:

 # /dev/ad1s1:
 8 partitions:
 #  size   offsetfstype   [fsize bsize bps/cpg]
 a:   52428804.2BSD2048 16384 32776
 b:  2572288*  swap
 c: 783168750unused   0 0# raw part, don't edit
 d:  1048576*4.2BSD2048 16384 8
 e:  4194304*4.2BSD2048 16384 28552
 f:  6291456*4.2BSD2048 16384 28552
 g:**4.2BSD2048 16384 28552

Then just :wq out of the edit session and your label is nicely written.

Using the stars for offset and final size tells bsdlabel to calculate
the offsets for you and make the last partition take up all the 
remaining available space.   The first partition should have the
offset specified as '0'.The numbers I have here are in 512 byte blocks
and give the following sizes.Choose your own according to your needs.

 a:   256  MBI mount as /
 b:  1256  MBis swap
 d:   512  MBI mount as /tmp
 e:  2048  MBI mount as /usr
 f:  3072  MBI mount as /var
 g:  Remainder MB  I mount as /home 

Once that is finished, then you need to run new fs on each partition
except the one for swap (b).   eg.  newfs a, d, e, f, g
Generally, unless you need extra inodes for a lot of small files
or expect only unusually large files, you can just take the defaults
for newfs.   so:

  newfs /dev/ad1s1a
  newfs /dev/ad1s1d
  newfs /dev/ad1s1e
  newfs /dev/ad1s1f
  newfs /dev/ad1s1g

Now you need to make mount points for and mount each partition.
Something like:

  mkdir /newroot
  mount /dev/ad1s1a /newroot
  mkdir /newusr
  mount /dev/ad1s1e /newusr
  mkdir /newvar
  mount /dev/ad1s1f /newvar
  mkdir /newhome
  mount /dev/ad1s1g /newhome

You don't usually need to copy /tmp to the new disk, though you
can do that if you want as well.

Then do the dump/restore-s

  cd /newroot
  dump 0af - / | restore -rf - 

  cd /newusr
  dump 0af - /usr | restore -rf -

  cd /newvar 
  dump 0af - /var | restore -rf -

  cd /newhome
  dump 0af - /home | restore -rf -

At the end of each dump it might ask you if you want to
set permissions on .   just answer no.   I don't think it does
that with the restore -r, but if it does, then answer no.

After all this, you should be able to just physically switch
the disks and boot on the new one.

jerry


 
 Thanks
 

Re: Help Failing Disk Problem

2007-11-05 Thread Jerry McAllister
On Mon, Nov 05, 2007 at 02:40:36PM -0800, FX Charpentier wrote:

 Roland,
 
 The mention of dump '-L' in your email below has caught my attention.
 Pardon my ignorance, but what is the '-L' option?
 
 I looked it up in the man pages but wasn't able to find any mention of it.
 Can you point me in the right direction?

It stands for 'Live' and causes dump to do some snapshotting if you
are running from multi user.   It is not really meaningful if you
are running in single user mode, but can help reduce confusion if
files change during a dump on a live multi user mode system.

jerry

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


Re: vim doesn't preserve the terminal content

2007-11-02 Thread Jerry McAllister
On Fri, Nov 02, 2007 at 02:29:47PM -0700, Yuri wrote:

 I use vim both on Linux and FreeBSD.
 On Linux after I exit vim original screen content is restored.
 On FreeBSD vim leaves the last content viewed in vim.
 
 How do I make vim preserve the screen?

I don't know how to do that, but it is one Lunix (bash?) feature
that I hate and would like to know how to change it to function
the way it does under FreeBSD (tcsh).

jerry

 
 Thanks,
 Yuri
 ___
 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: Recommended servers for FreeBSD

2007-10-30 Thread Jerry McAllister
On Mon, Oct 29, 2007 at 12:05:04PM -0500, Eric Crist wrote:

 On Oct 29, 2007, at 11:04 AM, Byung-Hee HWANG wrote:
 
 Hi,
 
 On Mon, 2007-10-29 at 01:36 +, Andrew Wasilczuk wrote:
 [...]
 HP ProLiant servers are generally decent. The onboard RAID is  
 usually
 supported by the ciss driver.
 
 I haven't dealt with HP yet, but I'm starting to seriously  
 consider them.
 How is good is their support when things go wrong?
 
 According to my experience ...
 it is good at both performance and stability of HP Proliant.
 Moreover HP's A/S is good as well. HP is good friend of FreeBSD.
 
 
 How do HP servers compare to Dell?  We're Dell fans here, but always  
 willing to look at something better.

I've only used a couple of HPs, (350 something I think) but they
seemed about the same.  One came with a DOA motherboard, but it
was replaced quickly.  Something similar happened on a Dell box.
We have had several of Dell's power supplies go out, but they were
the redundant setups so the servers ran on the rest of them until
spares came.Dell didn't whine about replacing them.

jerry

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


Re: evil idea

2007-10-29 Thread Jerry McAllister
On Sat, Oct 27, 2007 at 10:16:50PM -0400, Aryeh M. Friedman wrote:

 mv wrote:
  Hello,
 
  Would installing Freebsd i386 within a jail on an amd64 host solve his 
  problem?
 
  I have been running amd64 since it was first released and am quite pleased 
  with its performance and stability.   However, as a desktop there are still 
  a 
  number of programs that are only available on i386 and for a number of 
  reasons I would prefer to run them within a jail.  I've searched the 
  Internet 
  and have not found anybody who has done it.
 
  My guess is that running a i386 program within a jail would run faster and 
  perhaps be more stable than running the same program within qemu.
 
  Any tips on desirability, feasibility or how to do it would be greatly 
  appreciated

 
 When I was first looking at this that was my idea but as far I can tell
 the jail needs to run the same kernel as the jailing OS.

Yes.   Jails are not really virtual machines.  They just wall off
a space for a process (and its children) to run in that only allows
the processes access to resources provided within the jail.

It is a very handy thing for appropriate uses, but it is not the
same as a virtual machine which provides a base environment over
which you install whole OSen.

jerry

 
 -- 
 Aryeh M. Friedman
 FloSoft Systems
 Developer, not Business, Friendly
 http://www.flosoft-systems.com
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended servers for FreeBSD

2007-10-29 Thread Jerry McAllister
On Mon, Oct 29, 2007 at 12:03:47AM +, Andrew Wasilczuk wrote:

 Hi,
 
 I'm interested to see what servers people use for FreeBSD.  I used to
 buy the IBM xSeries x306 for firewalls and web servers and the x206 for
 low budget file servers, but both aren't being sold anymore.  I recently
 got a few IBM x3200 and x3550.  They are really nicely built and I
 hardly have any problems.  However, the on-board RAID controllers
 (Adaptec AIC-9580W) aren't supported under FreeBSD so I fit them with
 3ware 9000 series RAID cards.  Although I really like those 3ware cards,
 it seems like an extra expense that could be avoided.
 
 What servers do you guys buy and why?  I would really like to have the
 on-board RAID supported. Do HP servers play well with FreeBSD?  If yes,
 which models would you recommend?

Besides the ubiquitious Dells and HPs, the ones I am have seen that seem
to be FreeBSD aware are:   (Not that Dell and HP are FreeBSD aware)

FreedomTechnologies which used to call itself FreeBSD Systems at:
   http://www.freedomtc.com/

iX Systems at:
   http://www.ixsystems.com/

Iron Systems at:
   http://www.ironsystems.com/

I haven't heard anything bad about any of them.

jerry

 
 Many thanks,
 
 
 Andrew.
 
 -- 
   __/_/_  w: http://darq.com/
  __/_/_   m: 07971 10 20 88
   / / t: 020 7100 1447
 ___
 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: slight emergency here...

2007-10-29 Thread Jerry McAllister
On Sun, Oct 28, 2007 at 01:54:54PM -0800, Gary Kline wrote:

   Guys,
 
 
   I think I've found the reason for the intermittent rashes.
   Part of /var is bad, and fsck cannot allocate inoinfo to repair
   the damage.
 
   At any rate, how do i as root, single user, cp -rp all of /var to
   elsewhere (/storage) and rmdir /var, them mkdir /var and copy
   everything back?? I've forgotten the cpio magic command. 
 
   I'll do same while i'm at it  with /usr/home  - home, if that is
   advisable.  tao2 has been rebooting automatically in an infinite 
   loop for about .5 hour.   I managed to  go single-user.  Time to 
   ask peoples' suggestions.

On your system, is /var a separate filesystem (partition) or is
it just a directory?

If it is a filesystem, then use dump(8).
If it is just a directory, use tar.

jerry

 
   gary
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
   http://jottings.thought.org   http://transfinite.thought.org
 
 ___
 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: DVD distribution

2007-10-29 Thread Jerry McAllister
On Sat, Oct 27, 2007 at 09:25:40PM -0500, Chris wrote:

 On Sat, 27 Oct 2007 19:19:01 -0700
 Predrag Punosevac [EMAIL PROTECTED] wrote:
 
  Jerry McAllister wrote:
   On Sat, Oct 27, 2007 at 01:47:20AM +0200, Michel Ali wrote:
  
 
   Hi,
  
   I???m an IT manager.
  
   I am just wondering why you do not have a DVD distribution. [I
   know about workarounds]
  
   Could you do something about that, it would be really helpful and
   handy? 
  
   FreeBSD per se does not have any distribution.
   FreeBSD only puts out the ISO-s that are available free on
   the main or one of the mirror sites.
  

 Much excised

 
  Actually FreeBSD has DVD distribution. I think, I saw on the internet 
  that somebody in Germany was selling FreeBSD DVDs.
  There are lots of Germans on this mailing list so they might give you 
  better answer.
 
 Perhaps the Op might mean, Why isn't there a DVD ISO to download?
 Granted, I didn't see the original post - perhaps the Op didn't mean
 that at all.

Well, that wouldn't mean the OP does not understand ISOs or DVDs or
something.   The DVD is just media.   The ISO can be burned to
a CD or a DVD.   You only need a system with BIOS that can bood DVD.

jerry

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


Re: DVD distribution

2007-10-27 Thread Jerry McAllister
On Sat, Oct 27, 2007 at 01:47:20AM +0200, Michel Ali wrote:

 Hi,
 
 I’m an IT manager.
 
 I am just wondering why you do not have a DVD distribution. [I know about
 workarounds]
 
 Could you do something about that, it would be really helpful and handy?

FreeBSD per se does not have any distribution.
FreeBSD only puts out the ISO-s that are available free on
the main or one of the mirror sites.

There are some companies that pick up the ISO images and make
a distribution.   That is permitted under the FreeBSD license.
Usually they sell it for a bit over cost and include a printed
version of the Handbook.   Most of them contribute a portion of
their receipts back to the FreeBSD foundation to help in development.

So, either you can convince one of the packaging companies - they are
listed in the web site - to make a DVD distibution or you can start
doing it and selling it yourself.

jerry

 
 Thanks a lot.
 
 Michel Ali
 
 *
 
 Avant d'imprimer cet e-mail, merci de penser à notre environnement
 
 
 Before printing this mail, please consider our environment.
 
 
 Antés de imprimir este correo, por favor, piense en nuestro medio ambiente.
 
   
 
  
 
 ___
 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: hidden disk geometry on Compaq Presario V2000

2007-10-25 Thread Jerry McAllister
On Thu, Oct 25, 2007 at 12:19:27AM -0700, [EMAIL PROTECTED] wrote:

 Lorin Lund [EMAIL PROTECTED] wrote:
 
  I have a Compaq Presario Notebook in the V2000 series.
  I just replaced the hard drive because the original was getting
  disk errors.
 
  I have a WD Scorpio 120 GB.  When I try to load FreeBSD I get an
  error message when I get to the partition the disk stage.  It
  says my disk geometry is wrong.  It says I need to use whatever
  numbers my BIOS uses.  But my BIOS doesn't show the disk geometry
  numbers anywhere I can see.  How can I proceed?  How can I find
  out what disk geometry to use?

Is this just the usual whining it almost always does in fdisk?
If so, try just ignoring it.   I always get it putting out an
error message that the settings will not work with the geometry
but it always does.

If it is something else, then this comment doesn't apply - but 
try just going ahead.

jerry

 
 One method, which I think may be mentioned in the Handbook, is to
 boot the Windows install CD (that presumably came with the Presario)
 and use its fdisk to create a small partition.  You don't need to
 actually install Windows, just create a partition as if you were
 going to install it.  Then boot the FreeBSD CD and sysinstall will
 figure out the geometry from the Windows master boot record.
 ___
 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: 7.0 and 6.3

2007-10-25 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 11:00:37AM +0100, Vince wrote:

 Kris Kennaway wrote:
  David J Brooks wrote:
  Bill Moran wrote:
  Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
 
  What are the differences between 6.3 and 7.0? Which should be
  considered the standard upgrade path from 6.2 release? Is there a
  compelling reason to upgrade to one over the other?
  
  7.0 is the recommended choice; 6.3 is only for people who cannot update
  to the new branch yet.
  
  http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf
  

I just got a chance to read through this.WOW!
I am impressed!

jerry


 
 Great presentation! Is this linked to from anywhere on the FreeBSD site
 or the wiki? It definitely deserves more widespread distribution.
 
 Vince
 
  Kris
  
 ___
 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: resizing partitions

2007-10-24 Thread Jerry McAllister
On Tue, Oct 23, 2007 at 12:15:03PM -0600, Chad Perrin wrote:

 I have need to alter some partition sizes on a (laptop) system I use
 daily, with FreeBSD 6.2-RELEASE installed.  Are there tools you'd
 recommend for this, that should be stable and not prone to hosing up my
 filesystems?  In particular, I probably don't need to shrink any
 partitions -- only grow them -- but I'm not sure how I want to handle
 this at this time.  I worry a bit about using some Linux LiveCD's
 partition management tools on a FreeBSD system.  Any advice would be
 appreciated.

First, is there a strong reason that you must change the partition sizes?
Could you not instead just move some directories and make soft links
(Symbolic Links) from the old location to the new?   This can solve
most issues with much less hassle.

Second, are you for sure meaning partition and not slice in FreeBSD
terms?   If you mean slices, then there is no reasonable way other
than to back things up - using dump - and rebuild things and then
restore data.

If you mean FreeBSD partitions, then it is possible you could use
a utility called growfs.  But, it requires adjacent space to grow
in to.  You would have to free space in the partition that is next
higher in address space.   That would mean also backing that partition
up and blowing it away, growing the lower partition and creating the
higher one anew.Given all that trouble - and room for error, it
might be easier just to back up each partition/file system with a
reliable dump (check it before nuking things) and then rebuilding
the file systems from scratch using the fixit CD and then restoring
each file system.

If you are referring to FreeBSD partitions (and not MS partitions which
FreeBSD calls slices), then after making dumps of each file system (except
/tmp - don't bother with it)  you boot the install CD, select the fixit
shell, use disklabel to remake partitions and newfs to build the
file systems.  Make temporary mount pointss (which really exist in a 
memory file system, but you don't care about that) in the fixit's root 
and then cd in to each and restore the appropriate dump in to it with
a  'restore -rf '  Since you would, in this case be restoring a root
that you were already using, if you do not change the number and names
of partitions/file systems - just sizes, such things as /etc/fstab 
and rc.conf, etc would already be there and set up as you need them, so 
just reboot when all the restores are done.   If you change any of the 
partitions so that mount information needs to be redone, then you will 
want to go to that /etc/fstab in the temporarily mounted restored root
file system and modify it to suit the new situation.  Then reboot.

I think that if moving a directory and creating a symlink, as in my first
comment above, will not do the trick for you, then doing the complete dump 
and rebuild of partitions/file systems is a better bet that growfs.  Growfs 
is really more suitable for those situations where a person left a large 
glob of space un the slice unallocated in any partition, thinking another 
use was to be put to it later but now wants to incorporate that glob in 
to the partition next to it.   It is not really designed for moving stuff 
around in the middle of things.   But you can try it.

Third, Anyway, don't try using LINUX tools to manipulate 
the FreeBSD partitions.   There is too much difference.

jerry

 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 John W. Russell: People point. Sometimes that's just easier. They also use
 words. Sometimes that's just easier. For the same reasons that pointing has
 not made words obsolete, there will always be command lines.
 ___
 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: the right next step?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 07:43:37AM -0700, Aliya Harbouri wrote:

 Hi Bill!
 
  Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
  During the freeze, you'll have difficulty getting any ports changes
  through.
 
 That's what I figured -- and why I've been trying to communicate about
 this for ~ a month already.
 
 It's not really that *I* have an issue with a workaound -- *that* I
 can always do locally.  But I've recommended FreeBSD ports be used
 out of the box for  installs around here.
 
 I can understand non-functional / troublesome ports for some obscure
 packages, but a working apache22 + bdb46 combo seemed a rather basic
 and not-unreasonable expectation.
 
 My own fault for *making* the recommendation, I know.

I am not sure I understand all of what is being said or implied here.
Ports is the recommended way of doing installs of third party stuff.

It also sounds like there is some misunderstanding on the term ports freeze.
What happens is that for a period before a new release comes out, all
ports and other things are 'frozen' so that everything can be built
and tested against the version of things about to be released.   If
changes keep being applied during that time, then there would never be
a verifiable release that things could be built against.   As soon as
the tests pass and the version is released, and some housekeeping taken
care of, the ports and the rest of things will be unfrozen and changes
again begun to be applied.

The release engineering team extablishes the freeze in order to create
the final builds and tests for a release.  It is not the ports maintainer
who creates the freeze.   The freeze is temporary.

jerry

 
 I'll keep trying to get somone to look at this.
 
 Thanks a lot!
 
 Ali
 ___
 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: rename file based on file's timestamp

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 10:45:08PM +1000, andrew clarke wrote:

 Hi,
 
 Hopefully, a simple request...
 
 I have a series of files in a directory:
 
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 209.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 212.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 213.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 214.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 215.mp3
 
 etc.
 
 Now I want to rename these so the new filenames are based on the file's
 timestamp, like so:
 
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 2006-07-28.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 2006-07-31.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 2006-08-01.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 2006-08-02.mp3
 -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 2006-08-03.mp3
 
 I can write some Python code to do this, but maybe there is another way,
 perhaps using a shell script.  Any thoughts?

A script is a script whether it is in Python, Perl or one of the common
shells.   Use what works for you.  I'd use Perl, but I am already
somewhat familiar with Perl.

jerry

 
 Thanks,
 
 Regards
 Andrew
 ___
 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: the right next step?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 03:15:17PM -0700, Aliya Harbouri wrote:

 Hi Jerry!
 
  I am not sure I understand all of what is being said or implied here.
 
 Hm. Now *I'm* confused by your confusion ;-)  Let me summarize --
 
 The www/apache22 port ignores (or more correctly, is not yet aware of
 ...) a port-installed bdb46.  unlike most other ports that are
 up-to-date, it ignores 'knobs' and make.conf settings.
 
 I've asked the list, I've asked the maintainer privately and via a PR,
 I've submitted a proposed solution to the maintainer, and I've filed a
 PR  a follow-up to the PR.
 
 In ~ a month, there's been no response/action whatsoever from the
 maintainer.  Which is ok.
 
 I was just asking where to complain next.
 
 It was suggested, here, that freebsd-ports list is the my next step.
 
 Which is where you'll next hear from me on this :-)

Well, the maintainer is the most likely person to deal with it.

But, as I pointed out, things are in a ports freeze right now
and that means those people are quite busy getting things tested
for a release and might not have time for improving features.

As for ignoring make and build settings, that should probably 
be put in a PR (bug report).   If it is a serious bug, then it
might get addressed before the release.   Otherwise it won't get
touched until after.

jerry

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


Re: Is it difficult to move from Linux?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 06:13:21PM +0100, Adam J Richardson wrote:

 Donovan R. Palmer wrote:
 I have saved many of your emails for future reference.
 
 Hi Donovan,
 
 Welcome to the list. There's no need for you to store the emails, since 
 they're all archived at http://docs.freebsd.org/mail/ anyway. :)

Yah, but it is usually easier to find references if I save them in
my own idea of a structure.

jerry

 
 Regards,
 Adam J Richardson
 
 ___
 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: Is it difficult to move from Linux?

2007-10-23 Thread Jerry McAllister
On Tue, Oct 23, 2007 at 07:03:44AM +0100, Donovan R. Palmer wrote:

 Friends... thank you for all of your responses. Last night I read a big 
 chunk of the handbook and read articles such as 
 http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php  Very 
 helpful. I was impressed with the quality of the documentation and I like 
 the disciplined approach to FreeBSD.
 
 The more I read, the more I was convinced that FreeBSD was what I was 
 looking for and would satisfy some of my needs/disillusionment with Linux. 
 I look forward to putting it on a box and starting the learn the 
 differences. Many thanks again!

I think you are right.

A couple of thing I forgot to mention.

First, the default shell in FreeBSD is tcsh.  
I like it for most things and find myself grinding my teeth at bash,
but you can easily change the shell to suit you.   If it is bash, then
you need to install it from ports and enter it in /etc/shells  and
then change your /etc/passwd entry using vipw(8).

The other one that can make things easier is that the directory
and file layout is described in a man page.   man hier  will get it
for you and can be very valuable in getting used to FreeBSD.

Note that all the directories listed in hier from / down to /stand  need 
to be in the root file system for things to work, especially at boot
time and in single user mode.

jerry

 
 - Original Message - 
 From: Chad Perrin [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, October 23, 2007 1:42 AM
 Subject: Re: Is it difficult to move from Linux?
 
 
 On Mon, Oct 22, 2007 at 07:33:57PM +0100, Donovan R. Palmer wrote:
 
 I have been using Linux for over 10 years, but have for a number of 
 reasons
 become very interested in learning to use FreeBSD. Are there any ex or
 current Linux users here and could you tell me how hard it is to make the
 shift from Linux?  Is there anything in particular which has been written
 which would be useful to read?
 
 I found it dead easy -- much, much easier than making the switch from MS
 Windows to Linux was.
 
 The best source of information on FreeBSD for new FreeBSD users is, in my
 opinion, the FreeBSD handbook:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
 
 Another excellent source of information is The Complete FreeBSD:
 
  http://www.lemis.com/grog/Documentation/CFBSD/
 
 There are a couple other books out there that I've found to be quite
 excellent, as well.
 
 In general, I think you'll find much of the differences between most
 Linux distributions and FreeBSD quite minor, but a touch strange at
 first, and in the long run very positive.  At least, that's my
 experience.
 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 They always say that when life gives you lemons you should make lemonade.
 I always wonder -- isn't the lemonade going to suck if life doesn't give
 you any sugar?
 ___
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cloning a Windows Xp single hard drive to RAID 0 array

2007-10-22 Thread Jerry McAllister
On Sun, Oct 21, 2007 at 04:30:38PM -0500, Jonathan Horne wrote:

 On Sunday 21 October 2007 08:55:31 Frank Gaenger wrote:
  I have a system built on a Gigabyte GA-M59SLI-S5   motherboard. At
  present it has only one 250GB SATA hard drive. I would like to modify
  the system by installing two (2) SATA 320 GB drives in RAID
  configuration. I have read the info on your web site about cloning a
  hard drive to RAID configuration by using Acronis True Image software.
  This article is silent on the matter of getting RAID and SCSI drivers
  for Windows XP to use.
 
  My question is: How is the F6 requirement for loading RAID and SCSI
  drivers handled. I have these drivers, copied to a floppy, from the
  Gigabyte CD disk that came with the motherboard package. Would
  appreciate some guidance on  this question.
 
  Thanks for the consideration.
 
  Frank
 
 er... thats a windows configuration question, that likely wont get answered 
 well here.

Actually, in a perverse way, you might actually be able to do it
with FreeBSD.   I think it would have to be FAT (32) partitions(slices)
built on the single drive and the raid entity and not NTFS.
Basically, you build the MS Filesystems using either something like
Partition Magic and then booting a FreeBSD fixit from CD and using
the CD based FreeBSD to copy the file systems from the single disk
to the raid.I don't know if dump/restore will do it and get
all the MS junk, but it might.   Or you could try using dd.  If you
do use dd, then do it at the file system level and not the disk level.

Have fun trying.If you do, let me know if it works.
Anyway, if it doesn't, you haven't lost anything except a little
time to experiment.You will just have to find a different way.

jerry

 -- 
 Jonathan Horne
 http://dfwlpiki.dfwlp.org
 [EMAIL PROTECTED]
 ___
 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: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote:

 Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.

That is normal.  The default is to disallow remote login as root.
The normal procedure is to ssh in on a normal id and then do su.
You have to put that normal user in the wheel group.

jerry


 
 Remote PuTTY:
 Access denied Using keyboard-interactive authentication. 
 
 At computer terminal:
 PAM authentication error for root from 192.168.XXX.XXX 
 
 Any ideas?
 
 Thanks!
 
 Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
 $8.77 Domain Names - http://domains.us-webmasters.com/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 04:38:35PM +0330, Bahman M. wrote:

 On 2007-10-22 W. D. wrote:
  Brand new install of FreeBSD 6.2.  Can't log in with PuTTY.
  
  Remote PuTTY:
  Access denied Using keyboard-interactive authentication. 
  
  At computer terminal:
  PAM authentication error for root from 192.168.XXX.XXX 
 
 In /etc/ssh/sshd_config:
 PermitRootLogin yes

But, don't do that.   Do the normal user/su thing.

jerry

 
 HTH,
 
 Bahman
 ___
 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: Is it difficult to move from Linux?

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 07:33:57PM +0100, Donovan R. Palmer wrote:

 Hi,
 
 I have been using Linux for over 10 years, but have for a number of reasons 
 become very interested in learning to use FreeBSD. Are there any ex or 
 current Linux users here and could you tell me how hard it is to make the 
 shift from Linux?  Is there anything in particular which has been written 
 which would be useful to read?

There are lots of them.
The best thing to do is start going through the FreeBSD Handbook.
Go to:
 http://www.freebsd.org/

Click on documentation and then on the handbook.  It is all there.
The faqs and other online publications can also be helpful as well
as some books such as FreeBSD Unleashed and others, depending on
how much you want to know and how much you just want to tinker around.

Then, just download the latest RELEASE install CD, burn it and 
following the Handbook, do an install.

It is structured a little differently and some names are different.
What Microsloth calls primary partitions are 'slices' in BSD and
then slices are further divided in to partitions on which you 
build file systems.   The installer takes care of all that if you
want, but it helps to know.

jerry

 
 T.I.A. 
 
 ___
 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: Can login using root password, but not remotely with SSH

2007-10-22 Thread Jerry McAllister
On Mon, Oct 22, 2007 at 03:39:19PM -0400, Robert Huff wrote:

 
 James writes:
 
   Add yourself to wheel (which is the root group on FreeBSD, a name
   I believe it inherited from earlier BSDs, but I've no idea what
   the justification for choosing 'wheel' is; any BSD historians
   here - you'd be welcome to let us know!)
 
   Not sure, but I believe wheel predates UNIX.  I have
 certainly seen the idea on OSes that do.

Wheel is 'big wheel' as in the hot shot who has the run of things
and bosses folks around - or thinks he can.

jerry

 
   Robert Huff
 ___
 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: Why 7.0 is so late ?

2007-10-18 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 10:26:28PM +0300, Giorgos Keramidas wrote:

 On 2007-10-17 18:20, Gueven Bay [EMAIL PROTECTED] wrote:
 2007/10/17, Wojciech Puchar [EMAIL PROTECTED]:
  while companies like Microsoft must publish in time to make the
  share holders
 
  not to mention that microsoft regularly has delays like year.
 
  happy, FreeBSD can afford to wait until the programmers are
  convinced that their work is good enough for the public.
 
  Please,
  stop mentioning this company in every discussion that seems to
  attack *BSD in some way.
 
 That's not a bad suggestion, in fact.  The development process of
 Microsoft is not open to the world (like the one used by the FreeBSD
 Project as a team), so there is no easy way to determine how similar
 or different processes are behind the development and release process
 of the two development teams.
 
 Educated guesses can always be made, but let's try not to compare apples
 to oranges too much :)
 
  Discussing M. - especially their development processes or business
  tactics - does not accomplish anything for us.
 
 True, in a way.
 
  First acknowledge that FBSD 7 is late. The estimate was for 5 months
  ago. And if I say to someone I want to meet him at 8 o'clock but
  arrive 78 hours later, then I am late. Period.
 
 The release of 7.0-RELEASE *is* late.  There are various reasons why
 this has happened, but we are steadily getting there.  We now have a
 RELENG_7 branch, and things are only merged from current after
 explicit approval by the release-engineering team.  The branch is in the
 hands of the RE team, and many issues which were plaguing HEAD during
 the summer have been fixed now.
 
  So, but the original question was : What is not working _now_  at this
  moment so that 7 cannot be released _now_ ?
 
  The original question was not (I repeat NOT): Which  international
  conspiracy is holding up the developers of FreeBSD 7 from releasing?
  Without discussing M. or the Illuminati and U.F.O.s and with that
  guaranteeing that the original question will never be answered you can
  concentrate on answering OR you can take your finger from the reply
  button/menue point/whatever and wait that maybe a developer will read
  the original posters mail and answer it.
 
  With a curious eye waiting for a real answer to the original question...
 
 Traditionally, BSD has released stuff when it was ready and not when
 some marketting team decided that they wanted to release.  The FreeBSD
 team has made genuine efforts towards changing this to a more timely
 release schedule (18 months for a new major release), but there have
 been some important bits of kernel and userland which were a bit
 unstable and/or were in development until now.
 
 Without treading on the feet of the release-engineering team, by writing
 stuff which they have not approved, let me just say that we have made a
 lot of positive progress towards a release since last June/July and we
 expect getting a release during the last remaining months of 2007.
 
 There's still a lot of work to do (i.e. ports to be compiled, tested,
 fixed, or marked as BROKEN with the new gcc 4.X compiler suite), but
 we're getting there.

Thanks for the update.   It helps.

jerry

 
 - Giorgos
 
 ___
 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: Why 7.0 is so late ?

2007-10-18 Thread Jerry McAllister
On Thu, Oct 18, 2007 at 12:09:02PM -0600, Chad Perrin wrote:

 On Wed, Oct 17, 2007 at 10:26:28PM +0300, Giorgos Keramidas wrote:
  
  Traditionally, BSD has released stuff when it was ready and not when
  some marketting team decided that they wanted to release.  The FreeBSD
  team has made genuine efforts towards changing this to a more timely
  release schedule (18 months for a new major release), but there have
  been some important bits of kernel and userland which were a bit
  unstable and/or were in development until now.
 
 I'd much rather that a RELEASE version is as stable as it can reasonably
 be made than that it arrives on time.  Seriously.  As far as I'm
 concerned, take as long as you must to make it as stable as you can.
 Sooner is better, all else being equal, but if stability is sacrificed in
 any way then all else isn't equal.
 
 New versions should fix things and provide updated functionality, not
 just meet a schedule.  It's not like some kind of sales quota needs to be
 met.

Yup.  I think that is the way all of us feel.
Just a little more of a clue for the rest of us on how things are
coming would be helpful.

jerry

 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 Kent Beck: I always knew that one day Smalltalk would replace Java.  I
 just didn't know it would be called Ruby.
 ___
 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: Two questions about UNIX(r) certification.

2007-10-18 Thread Jerry McAllister
On Thu, Oct 18, 2007 at 01:56:05PM -0400, Rob wrote:

 Dan Mahoney, System Admin wrote:
 I recently noticed that Apple's new OS, Leopard, is Unix certified.
 I'd imagine that the big reason that FreeBSD hasn't done this yet is: It 
 costs a lot of money.
 
 There was a thread on this a month or 3 ago;  might want to check the 
 archives.  I think the consensus came down to something like:  The 
 certification is largely irrelevant, self-serving to a couple vendors that 
 sponsor it, and expensive, so  - why bother?

Sounds a little like way back when 'Crest toothpaste used to adversised
that it was the only one accepted as an effective dentifrice by the
American Dental Association (I think that was the name they used) when
they were the only ones who had ever sought the credential and essentially
made up the category themselves.   After several years some other brand
finally did it too and then they all quit using it in their advertising.

So, probably this is only meaningful as long as Apple Spotted Cat OS is
the only one doing it.If someone else does it, then it won't be
worth anything to anyone.

jerry

 
  -Rob
 ___
 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: Install FreeBSD 6.2 and Windows XP prof in the same computer

2007-10-17 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 11:49:57AM +0800, williamkow wrote:

 Please provide me more advices on installing multi operating system in a 
 computer. Which one to install first? use which boot loader ? tips and 
 guidelines, and things to causion. Thank you.

Have you read the FreeBSD Handbook?   It and some of the online 
documentation take you step by step through this.   Go to the FreeBSD
web site   (http://www.freebsd.org/)  click on documentation and
chose some of the items in the list, especially the handbook.

One specific item:   Install Winxxx first.  It does not play nicely 
with any other installation if you install it second.   At least in
the beginning, install and use the FreeBSD MBR (boot loader).   You
will be given three options in the FreeBSD install.   Choose that one.
It is a little plain and, if the other OS (Winxxx) is not one of the
few it has display codes for, will just put out '???'.  But, it will
still boot it just fine.

Later, if you feel you need a prettier selection menu while booting,
then you can install something like grub or gag or write your own.
But, the standard FreeBSD MBR works just fine.

So, do some reading.  Then do some experimenting.  Use it for a
while to get comfortable with it.   Then change some things if
you want and reinstall.

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: Strange perl script

2007-10-17 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 07:14:07AM +0200, Jack Raats wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 HI
 
 Can anyone explain this after ps -ax | grep perl
 
 21893  ??  I  1:02.37 sploger (perl5.8.8)
 29536  ??  R184:14.94 sploger (perl5.8.8)
 29538  ??  R184:36.44 sploger (perl5.8.8)
 30668  ??  R168:56.54 sploger (perl5.8.8)
 
 What is sploger?

Looks sort of like a Perl script running.
That, of course, doesn't say what it is doing.

jerry

 
 Jack
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959
 
 iD8DBQFHFZogPh5RwW/NzC4RAprIAJ94/PdPWEJlBlX20RrLRvho1G4eFgCfSDHh
 dgka8XYVC7MgdpyjVO9zglo=
 =l79v
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why 7.0 is so late ?

2007-10-17 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 07:28:35PM +0200, Ivan Voras wrote:

 Gueven Bay wrote:
 
  So, but the original question was : What is not working _now_  at this
  moment so that 7 cannot be released _now_ ?
 
 I can think of several issues of the top of my head:
 
 - rt_check bug in network routing causes panics under certain
 circumnstances (my favorite)
 - ZFS relatively often panics the system under high load
 - Something's also wrong with UFS under certain circumstances (this one
 hasn't bit me yet)
 
 Of these, first one has a patch (as of yesterday) that is very likely to
 solve the problem, the second has a temporary-looking patch to patch
 around the problem, and the third bug is still not tracked down yet.
 
 There may be more. I seem to recall there's something in the TCP/IP
 stack but it has never bit me so I don't know the details.

Thanks.   That is useful information.

 
 The point is - you *don't* want an unstable operating system on a
 production machine. It's best we all wait until these get solved.
 
 Yes, theoretically there could be a release with these known bugs still
 unresolved, but I recall at least one previous release that did that
 (IIRC 6.0 with (g)vinum was unbootable under some circustances) and that
 has resulted in a bunch of negative press toward FreeBSD.

No one is arguing against that.  All are in favor of waiting until
it is ready.   

There are just many of us who would like a little more ongoing information 
on how it is going - such as what you give above, plus maybe an occasional 
guess update.

jerry

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


Re: Why 7.0 is so late ?

2007-10-17 Thread Jerry McAllister
On Wed, Oct 17, 2007 at 08:39:44PM +0200, Ivan Voras wrote:

 On 17/10/2007, Jerry McAllister [EMAIL PROTECTED] wrote:
 
  There are just many of us who would like a little more ongoing information
  on how it is going - such as what you give above, plus maybe an occasional
  guess update.
 
 You can get all that information by monitoring the developer mailing
 lists. [EMAIL PROTECTED] is a nice one to start.

That can be more than we really need to know and less clue on
the prognosis that is hoped for.

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


Re: help: the Input problem

2007-10-16 Thread Jerry McAllister
On Tue, Oct 16, 2007 at 06:19:31PM +0800, ronggui wrote:

 Thanks.
 
 Finally, I set all the env variables in ¬/.tcshrc, It works.

Far out!!

jerry


 
 2007/10/8, Jerry McAllister [EMAIL PROTECTED]:
 
  On Mon, Oct 08, 2007 at 10:23:01AM +0800, ronggui wrote:
 
I use scim as my input.
  
   When I use bash as my login shell, I add these lines to ~/.profile
  
   export LANG=zh_CN.eucCN
   export LC_ALL=zh_CN.eucCN
   export G_BROKEN_FILENAMES=1
   export G_FILENAME_ENCODING=GBK
   export XMODIFIERS='@im=SCIM'
   scim -d
  
   All is fine. But I would like to use tcsh as my login shell, and try
  to  add
   the followings to ~/.login_conf
  
   me:\
   :lang=zh_CN.eucCN:\
   :charset=gbk:\
   :setenv=LC_ALL=zh_CN.eucCN:\
   :setenv=LC_COLLATE=zh_CN.eucCN:\
   :setenv=LC_CTYPE=zh_CN.eucCN:\
   :setenv=LC_MESSAGES=zh_CN.eucCN:\
   :setenv=LC_MONETARY=zh_CN.eucCN:\
   :setenv=LC_NUMERIC=zh_CN.eucCN:\
   :setenv=LC_TIME=zh_CN.eucCN:\
   :setenv=G_BROKEN_FILENAMES=1:\
   :setenv=G_FILENAME_ENCODING=GBK:\
   :setenv=XMODIFIERS=@im=SCIM:
  
   and add scim -d to the ~/.xsession. I can't toggle on the scim.
  
   PS: I login in with kdm.
  
   What should I do to use tcsh as  my login shell?
 
  Change the last field in your /etc/passwd entry  to '/bin/tcsh'
  and make sure /bin/tcsh is listed in /etc/shells
 
  You can then put whatever you want to set for your account
  in your   /home_directory_path/.cshrc   file
 
  jerry
 
  
   Thanks
  
   --
   Ronggui Huang
  
   Department of Sociology, Fudan University, Shanghai, China
  
   Department of Public and Social Administration, CityU, HK
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 
 -- 
 Ronggui Huang
 
 Department of Sociology, Fudan University, Shanghai, China
 
 Department of Public and Social Administration, CityU, HK
 ___
 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: ntfs-3g problem

2007-10-15 Thread Jerry McAllister
On Mon, Oct 15, 2007 at 11:43:48AM -0400, Monah Baki wrote:

 
 Hi all,
 
 We're in the process of copying 600GB to a ntfs volume on freebsd 6.2. I
 rebooted the server and now all 200GB of data that I copied are no longer
 visible. If I issue the command df -h, I see 200GB used.
 
 How can I retrieve them.

I am not quite sure just what you are staying.  But, if I sort of get it,
probably you only have to close off the file that you are writing - or
is it not one big file.

jerry

 
 I installed from ports fuse-ntfs and ntfsprogs
 
 Thanks
 
 BSD Networking, Microsoft Notworking
 ___
 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: Hello sir

2007-10-15 Thread Jerry McAllister
On Mon, Oct 15, 2007 at 11:07:33AM -0500, [EMAIL PROTECTED] wrote:

 
 Hello sir
 i would like to run freebsd.sd  to supoort freebsd on Sudan .. do i need 
 to follow any steps before i run it and join freebsd.org as mirror ?
 Mohammed Tayeb
 SysAdmin.

There is documentation somewhere on setting up a mirror, but I just
did a quickie search and didn't find it.   I don't have time right now
to look more.   Maybe someone else will provide the information or maybe
a useful link will be added on the main web site documentation somewhere.

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: How to create a user account with the same permission as root ?

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 08:11:56AM +0800, Erich Dollansky wrote:

 Hi,
 
 Jerry McAllister wrote:
 On Thu, Oct 11, 2007 at 07:34:54PM +0800, Erich Dollansky wrote:
 
 FreeBSD is not Windows.
 
 True statement - thank heaven.
 
 You cannot have another root in the system.
 
 Unless I misunderstand what you are saying, this is NOT a true statement.
 You can create as many ids with a '0' UID as you want.   It may not be
 
 But they are the same as it is still the same UID. Under WIndows, you 
 can create as many 'root' accounts you want.

I think you misunderstand what is being said.
An account with a UID of 0 in UNIX is root for all practical purposed.
The only difference is that it has a different name and it can have
a different home directory if you want to keep them separate - but
you don't have to. 

To repeat, any account with a UID of 0 is root.  It does not depend on 
the name of the account, but the UID.   You can call the account anything 
and if its UID is 0, then it is root.  UID (User ID) refers to the number 
that the system uses internally to identify the account and its priviledges.  
To be really complete, make it have a GID (Group ID) of 0 which is 
the 'wheel' group in FreeBSD.   Some UNIXes make wheel be 10, but FreeBSD 
follows the original standard of it being 0.

 
 root is special.

Yes, because it has a UID of 0.

 
 Allow then all members of wheel to access the files needed by the 
 group wheel.
 
 Not the best idea.
 
 Really not. But at least better than to work as root.

What you left out is the better way of doing it and that is to leave
the file GID be whatever it naturally should be.   Then use su to
set your effective UID to 0 - eg give yourself root priviledge
and then work with the files.   Don't set a lot of files to wheel GID
and then give a lot of people wheel GID, because that will make it 
possible for all of them to become root and do more than just muck
with those files.

jerry

 
 I would not do this as it creates many security wholes.
 
 Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a beginner

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 11:47:17AM -0400, Connie Webb wrote:

 Please help as I don't know where to begin.

I forgot one more important thing.

Subscribe to this list  -- FreeBSD-questions and probably at least
FreeBSD-announce and maybe FreeBSD-newbies and read through all
the discussions.   Some you will learn to ignore and you will also
learn to filter out the flame wars - which are surprisingly few on
the FreeBSD lists, compared to some others.

Once you have read and tried things in the handbook, if you have
more specific questions - and you will - then post them to this
or one of the other FreeBSD lists or the list for which ever port
you are trying to manage.

People here are pretty good about answering questions if you have
made the good effort to find answers yourself, but can get a little
sarcastic, if it is apparent that you haven't done your homework yet.

jerry


 Connie Webb
 Montgomery County Courts
 Helpdesk Specialist
 41 N. Perry Street
 Dayton, Ohio
 
 Phone: 937-225-3480
 email: [EMAIL PROTECTED]
 ___
 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: a beginner

2007-10-12 Thread Jerry McAllister
On Fri, Oct 12, 2007 at 11:47:17AM -0400, Connie Webb wrote:

 Please help as I don't know where to begin.

Presuming what you want to begin is learning and using FreeBSD,
the first thing is to start studying the extensive documentation
that is available.  See:
 http://www.freebsd.org/docs.html

Especially read the FreeBSD Handbook:  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

But, some of the other parts of documentation are helpful too.
  For Newbies gives a brief overview.  
  Publications lists lots of things published about FreeBSD, but there are 
more, such as FreeBSD Unleashed which is missing from the list and 
is pretty good.   Note that there may be more recent versions/editions 
of the books listed.
  Online Books and Publications lists some of the online magazines and
articles describing how people did things with FreeBSD.
  Don't forget the Manual Pages - usually called 'man pages' which you
should install when you install install FreeBSD, but are also 
available online.

But, since it is very difficult to just read stuff and understand it, 
I would suggest, after reading some of the beginning parts of the Handbook
such as 'Getting Started' and 'Installing FreeBSD',  commandeering a machine, 
downloading or buying the install CD for the latest RELEASE version and 
plugging it in and doing an install.  

Use it a bit just like that and maybe learn to configure X (x.org) 
and then after a while of playing so you have some familiarity, read
some more, wipe the whole thing and do the install again, for sure
with X and add some more things that you want to try, such as a web
server (Apache 2.2) and we Client/Browser (Firefox) and get Email set
up to your satisfaction.  

Keep reading the Handbook and other documentation.   It will give you 
ideas for additional things to try and improvements to make.   Keep in
mind that most of the people who write have favorite things that they
advocate.   The more religious they sound about it, the more likely it
is that there are other ways that may work just as well and, for your
specific purposes, whatever they are, even better.  So, try to stand a
little above the religious wars.  

For example, at the moment one of the hot wars seems to be about 
Email MTAs (Mail Transfer Agents).   They all work just fine for some 
applications and situations.  Sendmail, which comes included in a base
install, can be a little confusing to configure, but it comes included 
and already configured to work for a basic setup (which most people never
get beyond on a personal server), so, until you move to some more 
complicated/demanding situation (many thousands of accounts with different
rules for each or whatever), there is little need to worry about it.
Just learn from it. etc, etc, etc.

Another one that initiates religious wars is the text editor to use.
VI, Emacs, Vim, many others.
Try a few and find a favorite, but learn to use 'vi' at least well 
enough to get by.   The reason is that vi is always available in
UNIX systems (including FreeBSD) and much system management seems
to assume you are using vi.  So, you are going to get stuck with it
at times and, like many things, once you get used to it, it will
seem almost second nature.   I wrote up a page on learning to use
very basic vi.  It doesn't tell you everything about it.  There are
many more quite powerful things you can do, but if you learn the 
basics, you can do almost everything you need to do while managing
a FreeBSD (or any other UNIX) system.  That page is at:

http://z2.cl.msu.edu/~jerrymc/project/editvi/

Unfortunately, it is currently on a machine I have to take down frequently
for various work needs.  So, if it doesn't come up, check again an hour
or so later.  It will probably be back up.

Have fun.   FreeBSD is a very sophisticated and reliable OS, intended
for real computer work.  It is not just a toy, but once you get used
to it, its value becomes more apparent and /usr/ports/... is loaded
with eye candy as well as more useful work tools.

jerry 

 
 Connie Webb
 Montgomery County Courts
 Helpdesk Specialist
 41 N. Perry Street
 Dayton, Ohio
 
 Phone: 937-225-3480
 email: [EMAIL PROTECTED]
 ___
 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: How to create a user account with the same permission as root ?

2007-10-11 Thread Jerry McAllister
On Thu, Oct 11, 2007 at 07:34:54PM +0800, Erich Dollansky wrote:

 Hi,
 
 FreeBSD is not Windows.

True statement - thank heaven.

 
 You cannot have another root in the system.

Unless I misunderstand what you are saying, this is NOT a true statement.
You can create as many ids with a '0' UID as you want.   It may not be
a good idea, but it works just fine.  Then, if you give it the same
home directory and shell, it will be almost impossible to distinguish
how it functions from how the 'root' account functions.

Now, if you mean having two accounts named root, then you can't have
that, but that isn't what you imply by your following statement about
creating an account called 'william'.

Having said all that, doing part of what follows is better -- create
a regular user account with its own UID (eg not 0) and then add it
to the 'wheel' group by editint /etc/group file.

But, then, do not make all files have group wheel permission.
Instead, when you want to work on those files or other things
root might do, use su(1) to change your working UID to '0' temporarily.

That way, files will have normal owner and group, user will have
normal UID and GID, and everything will work nicely.

 
 What you can do is the creation of the group wheel and put william 
 into this group.
 
 Allow then all members of wheel to access the files needed by the 
 group wheel.

Not the best idea.

 
 I would not do this as it creates many security wholes.
 
 If you just want to do something as root without being root, use su.

Yes, do this.  I guess you rethought what you wrote about the files.

jerry

 
 Erich
 
 williamkow wrote:
 Finally, I manage to setup X.org and then KDE 3.5.4 running on FreeBSD 
 6.2-Release.
 I created a user account named william and do not assign any group as 
 I do not know what are the list of group name for me to select. To start 
 KDE, i use command kdm but I can only logon using the newly created 
 user name william, but it do not have same permission/access rights as 
 root account.
 Please show on how to enable this user account, with the same permission 
 as root ?
 Thank you.
 ___
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing freeBSD on an Intel RAID5 partition

2007-10-10 Thread Jerry McAllister
On Wed, Oct 10, 2007 at 03:35:54PM +0800, nodje wrote:

 I couldn't find any answer to the question.The problem is that the installer
 shows up all the disks instead of proposing to install somewhere on the
 RAID5 partition, in other words, it just doesn't recognize the RAID5.
 Is it possible at all to install freeBSD on one of those RAID??
 
 I've found out that this is also a problem with the few linux distros I've
 tried. I've heard it was possible now but I'm a little bit surprised by the
 slow adoption I must say.

I had something look similar to that on a Dell 2950.
It put out lots of lines for each separate drive including a device 
controler name.   But I had to dig through the boot messages carefully 
to find a device name for the raid controller.  But, it was there.  Once
I found it, things went just fine.  I may have done something manually
with fdisk or maybe dd to the raid device before getting things to
be happy.  I don't remember exactly.

Unfortunately, I had to load Susie 10 Linux on it so I can't look back
right now.  It also would have been a Dell Perc something, probably 5.
So, the device name might be different from the Intel.

But, keep searching.

jerry

 
 
 I've been using those Intel RAID with Windows for a couple of years now and
 it really helped solve my backup problem.
 I think this is simply great, no worries of data loss anymore (at least
 coming from hardware failure).

Well, it is possible to get multiple failures that trash a raid too.
So, make some independant backups of important stuff.
/jrm

 
 -nodje
 ___
 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: Installing freeBSD on an Intel RAID5 partition

2007-10-10 Thread Jerry McAllister
On Wed, Oct 10, 2007 at 04:19:02PM -0400, Philip M. Gollucci wrote:

 Jerry McAllister wrote:
  On Wed, Oct 10, 2007 at 03:35:54PM +0800, nodje wrote:
  
  I couldn't find any answer to the question.The problem is that the 
  installer
  shows up all the disks instead of proposing to install somewhere on the
  RAID5 partition, in other words, it just doesn't recognize the RAID5.
  Is it possible at all to install freeBSD on one of those RAID??
 
  I've found out that this is also a problem with the few linux distros I've
  tried. I've heard it was possible now but I'm a little bit surprised by the
  slow adoption I must say.
  
  I had something look similar to that on a Dell 2950.
  It put out lots of lines for each separate drive including a device
  controler name.   But I had to dig through the boot messages carefully
  to find a device name for the raid controller.  But, it was there.  Once
  I found it, things went just fine.  I may have done something manually
  with fdisk or maybe dd to the raid device before getting things to
  be happy.  I don't remember exactly.
  
  Unfortunately, I had to load Susie 10 Linux on it so I can't look back
  right now.  It also would have been a Dell Perc something, probably 5.
  So, the device name might be different from the Intel.
  
  But, keep searching.
 Strange -- I have PowerEdge 1600 with RAID-5 (3disks) installer worked
 just fine.

Yes,  mine worked just fine too -- once I found the device name
somewhat lost in the middle of all the disk device names and info.

jerry

 
 FreeBSD 6.2-RELEASE-p5 #0: Thu Jun 28 17:57:32 UTC 2007
 
 real memory  = 2147418112 (2047 MB)
 avail memory = 2096361472 (1999 MB)
 MPTable: DELL PE 011B 
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  1
  cpu1 (AP): APIC ID:  0
 
 aacd0: RAID 5 on aac0
 aacd0: 139997MB (286714368 sectors)
 
 
 df
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/aacd0s1a989M 81M829M 9%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/aacd0s1d1.9G140K1.8G 0%/tmp
 /dev/aacd0s1e6.8G1.9G4.4G30%/usr
 /dev/aacd0s1g 24G 67M 22G 0%/usr/home
 /dev/aacd0s1f 24G506M 22G 2%/var
 /dev/aacd0s1h 70G3.2G 62G 5%/x1
 devfs1.0K1.0K  0B   100%/var/named/dev
 
 This worked out of the box with GENERIC kernel on i386
 
 Kernel config custom snippets:
 ## SCSI
 device scbus# SCSI Subsystem
 device ahc  # AHA2940 and onboard AIC7xxx devices
 device da   # Direct Access (disks)
 device cd   # CD
 device ses  # SCSI Environmental Services (and SAF-TE)
 device aac
 
 
 
 -- 
 
 Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
 Senior System Admin - Riderway, Inc.
 http://riderway.com / http://ridecharge.com
 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrade of PHP4

2007-10-09 Thread Jerry McAllister
On Tue, Oct 09, 2007 at 10:16:03AM +0700, Olivier Nicole wrote:

 Hi,
 
 I noticed that PHP4 port has been having some vulnerabilities for some
 time now.
 
 Will there be a correction relased any soon?

I think the PHP4 upgrade is to move to PHP5.

jerry

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


Re: help: the Input problem

2007-10-08 Thread Jerry McAllister
On Mon, Oct 08, 2007 at 10:23:01AM +0800, ronggui wrote:

  I use scim as my input.
 
 When I use bash as my login shell, I add these lines to ~/.profile
 
 export LANG=zh_CN.eucCN
 export LC_ALL=zh_CN.eucCN
 export G_BROKEN_FILENAMES=1
 export G_FILENAME_ENCODING=GBK
 export XMODIFIERS='@im=SCIM'
 scim -d
 
 All is fine. But I would like to use tcsh as my login shell, and try to  add
 the followings to ~/.login_conf
 
 me:\
 :lang=zh_CN.eucCN:\
 :charset=gbk:\
 :setenv=LC_ALL=zh_CN.eucCN:\
 :setenv=LC_COLLATE=zh_CN.eucCN:\
 :setenv=LC_CTYPE=zh_CN.eucCN:\
 :setenv=LC_MESSAGES=zh_CN.eucCN:\
 :setenv=LC_MONETARY=zh_CN.eucCN:\
 :setenv=LC_NUMERIC=zh_CN.eucCN:\
 :setenv=LC_TIME=zh_CN.eucCN:\
 :setenv=G_BROKEN_FILENAMES=1:\
 :setenv=G_FILENAME_ENCODING=GBK:\
 :setenv=XMODIFIERS=@im=SCIM:
 
 and add scim -d to the ~/.xsession. I can't toggle on the scim.
 
 PS: I login in with kdm.
 
 What should I do to use tcsh as  my login shell?

Change the last field in your /etc/passwd entry  to '/bin/tcsh'
and make sure /bin/tcsh is listed in /etc/shells

You can then put whatever you want to set for your account
in your   /home_directory_path/.cshrc   file

jerry

 
 Thanks
 
 -- 
 Ronggui Huang
 
 Department of Sociology, Fudan University, Shanghai, China
 
 Department of Public and Social Administration, CityU, HK
 ___
 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: BASH as root shell (static linking)

2007-10-06 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 01:55:28AM +0100, RW wrote:

 On Fri, 5 Oct 2007 20:09:46 -0400
 Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:
  
   On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
   Philip Hallstrom [EMAIL PROTECTED] wrote:
   
 On 06/10/2007, at 5:45 AM, RW wrote:

 On Sat, 6 Oct 2007 04:54:26 +1000
 Jerahmy Pocott [EMAIL PROTECTED] wrote:
 
 Hello,
 
 I'm wanting to use BASH as my root shell, so I compiled a
 statically linked
 
 I would suggest using bash as your toor shell instead. toor
 exist precisely for this purpose.

 Yeah, I'v done that in the past, but I really dislike csh, I
 don't want to use
 it EVER =p
   
   I don't understand, why would you see csh if you login as toor
  
  It has no shell in the /etc/passwd entry by default.
  Maybe it then defaults to csh (which is really tcsh) if nothing
  else is given.   
 
 It defaults to sh
 
  Anyway, I prefer tcsh, but if the OP just has to have it bash,
  it is easy to do.
 
 I actually value my ignorance of tcsh, it prevents me doing anything
 ambitious if I forget where I am. Explicitly selecting another shell is
 like a safety-catch. And tsch is fairly friendly without knowing much
 about it.
 
  All the OP has to do is install bash from /usr/ports/shells/bash and 
  then edit /etc/passwd to change the last field for toor - after the
  last colon - to point to where it installs bash (/usr/local/bin/bash
  maybe) and then it should all be fine.

Actually, I forgot to mention that you also have to then put bash
in /etc/shells.

jerry

 
 Yes , that's what it's for.
 ___
 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: good replacement for open office

2007-10-06 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 09:34:41AM -0500, icantthinkofone wrote:

 Erich Dollansky wrote:
 Hi,
 
 do you really want the world to know what you are writing?
 
 icantthinkofone wrote:
 Frank Jahnke wrote:
 
   
 Why not use Google Docs?
 
 And ask NSA in case you need a backup?
 
 Erich
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 Some guy from ComputerWorld was on NPR (National Public Radio) yesterday 
 and claimed security is fine on all online services like this.  
 Mentioned Google specifically.


Depends on what you mean by security.
They are reasonably OK if you mean sending in your payment
for something, though not unbreakable.
But, for documents that live there for a while, not only are they
all very penetrable, but susceptable to being coerced by governments
to reveal what we would normally think would be secret and private.
Google has also provided information to the Chinese government about
users and so have several other companies.

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: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 04:24:33PM +0200, Albert Shih wrote:

  Le 05/10/2007 à 12:12:26+0200, Albert Shih a écrit
  Hi all
  
  What's that mean ? 
  
  Filesystem  1K-blocks UsedAvail Capacity  Mounted on
  /dev/ad4s1a50763069050   39797015%/
  devfs   110   100%/dev
  /dev/ad4s1g  78017664 55539220 1623703277%/home
  /dev/ad4s1e507630-8960   475980-2%/tmp

Sorry, I didn't notice the negative value in the Used column before.

 
 Well after reboot, and manually fsck (one problem fix by fsck -y) everthing
 become normal.

FSCk fixes all, I guess.Must have had a bit flip in the inode
somewhere or something like that.

jerry

 
 Lots of thanks.
 
 I'm sorry I don't send all my partition (just for put the ) in fact
 I've 
 
 Filesystem  512-blocks  UsedAvail Capacity  Mounted on
 /dev/ad4s1a1015260138100   79594015%/
 devfs2 20   100%/dev
 /dev/ad4s1g  156035328 111535712 3201679278%/home
 /dev/ad4s1e1015260 10596   923444 1%/tmp
 /dev/ad4s1f   60925272  23487372 3256388042%/usr
 /dev/ad4s1d4025436268516  3434888 7%/var
 
 And no I don't use MFS for /tmp it's real partition (I known I'm old
 fashion).
 
 Regards.
 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Téléphone : 01 45 07 76 26
 Heure local/Local time:
 Ven 5 oct 2007 16:21:29 CEST
 ___
 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: Strange df

2007-10-05 Thread Jerry McAllister
On Fri, Oct 05, 2007 at 12:12:26PM +0200, Albert Shih wrote:

 Hi all
 
 What's that mean ? 

What does it look like?

It looks to me like the output of a df(1) command - 
specifically 'df -k'

The first line contains labels that explain what is in each column.
The file system or partition device name
How many 1K blocks in the partition
How much of it is used up
How much is still available to use
What percent of the capacity is used
and at what mount point is the partition mounted

devfs is a special psuedo partition used for creating devices


 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad4s1a50763069050   39797015%/
 devfs   110   100%/dev
 /dev/ad4s1g  78017664 55539220 1623703277%/home
 /dev/ad4s1e507630-8960   475980-2%/tmp
   ^^
 Regards.
 

So, it all really makes sense.  It is not a big mystery.
It is just what it says.

jerry

 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Heure local/Local time:
 Ven 5 oct 2007 12:11:30 CEST
 ___
 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: BASH as root shell (static linking)

2007-10-05 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:

 On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
 Philip Hallstrom [EMAIL PROTECTED] wrote:
 
   On 06/10/2007, at 5:45 AM, RW wrote:
  
   On Sat, 6 Oct 2007 04:54:26 +1000
   Jerahmy Pocott [EMAIL PROTECTED] wrote:
   
   Hello,
   
   I'm wanting to use BASH as my root shell, so I compiled a
   statically linked
   
   I would suggest using bash as your toor shell instead. toor exist
   precisely for this purpose.
  
   Yeah, I'v done that in the past, but I really dislike csh, I don't
   want to use
   it EVER =p
 
 I don't understand, why would you see csh if you login as toor

It has no shell in the /etc/passwd entry by default.
Maybe it then defaults to csh (which is really tcsh) if nothing
else is given.   Seems strange if it does that, but???

Or, maybe the OP managed to get it put in the /etc/passwd entry.

Anyway, I prefer tcsh, but if the OP just has to have it bash,
it is easy to do.

All the OP has to do is install bash from /usr/ports/shells/bash and 
then edit /etc/passwd to change the last field for toor - after the last 
colon - to point to where it installs bash (/usr/local/bin/bash maybe) 
and then it should all be fine.

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: Managing very large files

2007-10-04 Thread Jerry McAllister
On Wed, Oct 03, 2007 at 04:51:08PM -0600, Chad Perrin wrote:

 On Thu, Oct 04, 2007 at 04:25:18PM -0400, Steve Bertrand wrote:
  Heiko Wundram (Beenic) wrote:
   Am Donnerstag 04 Oktober 2007 22:16:29 schrieb Steve Bertrand:
   This is what I am afraid of. Just out of curiosity, if I did try to read
   the entire file into a Perl variable all at once, would the box panic,
   or as the saying goes 'what could possibly go wrong'?
   
   Perl most certainly wouldn't make the box panic (at least I hope so :-)), 
   but 
   would barf and quit at some point in time when it can't allocate any more 
   memory (because all memory is in use). Meanwhile, your swap would've 
   filled 
   up completely, and your box would've become totally unresponsive, which 
   goes 
   away instantly the second Perl is dead/quits.
   
   Try it. ;-) (at your own risk)
  
  LOL, on a production box?...nope.
  
  Hence why I asked here, probing if someone has made this mistake before
  I do ;)
  
  The reason for the massive file size was my haste in running out of the
  office on Friday and forgetting to kill the tcpdump process before the
  weekend began.
 
 Sounds like you may want a Perl script to automate managing your
 tcpdumps.
 
 Just a thought.

Yes.  
Actually, you can open that file and start reading it in Perl and
open files to write out the chunks the way you want them.  Then close
each.  Make up a name with a counter in it to create all the many 
files of chunks.  Suck off some data/statistics and accumulate info you 
want as you go.   You could even decide some of it isn't worth keeping
and cut the size of your chunks down if you don't need all of it.
But, you would have to close each of those chunk files or you would
run out of space for open files.   So, there would have to be a counter
loop to keep track of how much was written to each chunk and an open
and close for each one.

jerry

 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
 Kent Beck: I always knew that one day Smalltalk would replace Java.  I
 just didn't know it would be called Ruby.
 ___
 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: determining the space used in / partition

2007-10-02 Thread Jerry McAllister
On Tue, Oct 02, 2007 at 07:23:30AM +0200, Zbigniew Szalbot wrote:

 Hello again,
 
   Through df I realized my / partiotion is out of space:
   Filesystem  1K-blocks UsedAvail Capacity  Mounted on
   /dev/ad0s1a198126   196070   -13794   108%/
   devfs   110   100%/dev
   /dev/ad0s1e  44511308  4217762 3673264210%/usr
   /dev/ad0s1d  30462636  3210580 2481504611%/var
   devfs   110   100%/var/named/dev
   /dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck
  
   How can I determine what occupies the space in it? That is, it is not
   big as you can see. So I issued:
   du -hs /
   but it was taking ages (I am not sure but maybe du -hs counts all
   directories on the HD?
  
   Anyway, I do not really know where to look what has eaten the / space.
   Were it for /usr or /var,  it would be obvious to me where to look for
   information.
  
   Many thanks!
 
  I don't see you have defined a /tmp partition. Perhaps /tmp is taking up
  all the space. Try:
 
 du -h /tmp
 
  and see how much /tmp is taking up.
 du -hs /tmp
 1.4M/tmp
 
 du -hs /
 40GB
 
 One thing that comes to my mind. Each Sunday I have a script which
 makes a full dump of the HD to a back-up USB drive. Last weekend
 someone cleaining the computer room, must have accidentally powered
 off the USB drive. As a result, the dump has not been completed
 because the USB drive was not mounted at that time. I use cron for
 this task. Does it matter could have caused this?

It probably then wrote a large dump file at the mount point
you usually use for the USB drive.   It looks like /mnt/usbck now
has 34 GB in it.   Is /mnt/usbck where the USB is normally mounted?
Maybe, if you unmounted the USB and then looked at it, you would
find the used up space.

But, a previous poster could also be correct that it might be
that you have filled up /tmp, maybe with error writes or something.

When I use du I like to do the following:

  cd /directory_of_interest
  du -sk *

That gets the summary of each directory and file in 
that directory_of_interest.I like the 'k' better than 'h' because
the 'h' doesn't use the same divider for each displayed file or directory.
It uses the biggest for each with a letter appended to tell which.   This
is a little difficult to quickly compare with a visual scan.   With the 'k' 
it is always 1,000 and then I can run my eye down the list and easily see 
which file is bigger/smaller, etc.

jerry

 
 Thanks!
 
 zbigniew szalbot
 ___
 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: determining the space used in / partition

2007-10-02 Thread Jerry McAllister
On Tue, Oct 02, 2007 at 06:13:11AM +, Duane Hill wrote:

 On Tue, 2 Oct 2007 at 08:03 +0200, [EMAIL PROTECTED] confabulated:
 
 2007/10/2, Duane Hill [EMAIL PROTECTED]:
 On Tue, 2 Oct 2007 at 07:36 +0200, [EMAIL PROTECTED] confabulated:
 
 2007/10/2, Duane Hill [EMAIL PROTECTED]:
 On Tue, 2 Oct 2007 at 07:23 +0200, [EMAIL PROTECTED] confabulated:
 
 Hello again,
 
 Through df I realized my / partiotion is out of space:
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad0s1a198126   196070   -13794   108%/
 devfs   110   100%/dev
 /dev/ad0s1e  44511308  4217762 3673264210%/usr
 /dev/ad0s1d  30462636  3210580 2481504611%/var
 devfs   110   100%/var/named/dev
 /dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck
 
 How can I determine what occupies the space in it? That is, it is not
 big as you can see. So I issued:
 du -hs /
 but it was taking ages (I am not sure but maybe du -hs counts all
 directories on the HD?
 
 Anyway, I do not really know where to look what has eaten the / 
 space.
 Were it for /usr or /var,  it would be obvious to me where to look 
 for
 information.
 
 Many thanks!
 
 I don't see you have defined a /tmp partition. Perhaps /tmp is taking 
 up
 all the space. Try:
 
du -h /tmp
 
 and see how much /tmp is taking up.
 du -hs /tmp
 1.4M/tmp
 
 du -hs /
 40GB
 
 One thing that comes to my mind. Each Sunday I have a script which
 makes a full dump of the HD to a back-up USB drive. Last weekend
 someone cleaining the computer room, must have accidentally powered
 off the USB drive. As a result, the dump has not been completed
 because the USB drive was not mounted at that time. I use cron for
 this task. Does it matter could have caused this?
 
 If the '-L' switch is used (telling dump it is dumping a live file 
 system)
 it will first dump everything into a .snap directory before performing 
 the
 dump. What does:
 
du -hs /.snap
 
 give for a result?
 Thank you Duane! Yes, I do use the L switch.
 Unfortunately,
 du -hs /.snap
 2.0K/.snap
 
 Hah - mystery cleared!
 I know what happened but you put me on the right track.
 
 For the record. During the backup, the file system is dumped to a dir
 on a USB drive called backup. Now, since the drive was unavailable,
 the dump utility created /backup dir and populated it with
 lists-var-l0-2007-09-30.dump.bz2 (dumping var) but of course it died
 as there was not enough space on the / to do it. I mean this is what I
 make of this.
 
 So after deleting /backup I get:
 df
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad0s1a19812674084   10819241%/
 devfs   110   100%/dev
 /dev/ad0s1e  44511308  4217760 3673264410%/usr
 /dev/ad0s1d  30462636  3210650 2481497611%/var
 devfs   110   100%/var/named/dev
 /dev/da0s1c  75685352 34308200 3532232449%/mnt/usbck
 
 I'm still learning about all the little details about the  workings of
 dump myself. It would seem to me, you are dumping to /backup which is the
 mount point for the USB device. Would that hold true?
 
 I dump to /mnt/usbck/backup. Since backup dir was not present, the
 script created it under /
 
 Thanks. I couldn't find anything in the man page that explained what would 
 happen if the mount point for the dump was inaccessible at dump time. To 
 me, it is still an assumption.

It is accessible.  But it is then just a directory with a file in it
and not a mounted filesystem with a file in it.

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: HP Server compatability

2007-10-02 Thread Jerry McAllister
On Tue, Oct 02, 2007 at 10:44:26AM -0400, Tim Kellers wrote:

 Thanks Jerry. I appreciate it. This HP stuff is uncharted water(s) for me.

Well, it should look just the same as using the Dell stuff, except
there might be a couple different device driver names and the escape
to BIOS during boot might be a different key.  All else should be
just the same.If you got SCSI (or SAS) disk, about the only 
different driver might be the NIC and possibly a RAID card driver
and they work, just have different names.

jerry

 
 Tim
 
 Jerry McAllister wrote:
 On Sat, Sep 29, 2007 at 04:21:26PM -0400, Tim Kellers wrote:
 
   
 I thought e would be purchasing a Dell 2950 to use as part of our 
 FreeBSD 6.2 server farm, (and thanks to everyone for their informed 
 replies), but due to other circumstances, our client wants to purchase a 
 HP ProLiant ML350 G5 SAS LFF - Rack Server.
 
 
 We loaded FreeBSD on a Proliant 350 sometime back.   We at first thought
 there was a compatibility problem, but it turned out to be some
 component on the motherboard.   They replaced the motherboard and it
 worked just fine.   It was not a rack mount model, but I doubt those
 will work any differently as far as FreeBSD is concerned.
 
 jerry
 
   
 The only experience I have with HP is their printers and I know nothing 
 about their server compatability with FreeBSD.  Does anyone know if this 
 unit is compatible with FreeBSD 6.2 or has anyone actually installed it 
 on one?  Any pointer to pitfalls and/or workarounds would be greatly 
 appreciated.
 
 Thanks
 
 Tim
 ___
 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]
 
 
   
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: determining the space used in / partition

2007-10-02 Thread Jerry McAllister
On Tue, Oct 02, 2007 at 05:24:43PM +0200, Zbigniew Szalbot wrote:

I dump to /mnt/usbck/backup. Since backup dir was not present, the
script created it under /
 
  Naughty script.  It should check against doing something like that, eg
  [ ! -d $backupdir ]  echo no $backupdir - not mounted?  exit 1
 
  You do have a very small root filesystem for the size of your disk, so
  similar disasters may need some preventing.  Something will want to use
  more than 100M in /tmp sometime, so you may want to symlink /tmp to say
  /usr/tmp if you haven't already.
 
 Yes, that's true. You see this was my second or third attempt to
 install FreeBSD which having been successful :) has survived up till
 today and does what I want. I am sure I will do many things in a
 different way in future than I did last time. For example, I would
 like to reserve a separate partition for /home and a separate one for
 mail so that I have as little trouble moving things around as
 possible. But - hey - I am on this list and learning quite a lot!
 
 And thanks for the /usr/tmp symlink tip!

I actually prefer to make a separate filesystem (partition) for /tmp.
That isolates it so it doesn't accidently trash another one, plus, 
you don't need to backup /tmp so I definitely don't want to put it
somewhere that gets backed up and waste that backup space.

jerry

 
 Zbigniew Szalbot
 ___
 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: HP Server compatability

2007-10-01 Thread Jerry McAllister
On Sat, Sep 29, 2007 at 04:21:26PM -0400, Tim Kellers wrote:

 I thought e would be purchasing a Dell 2950 to use as part of our 
 FreeBSD 6.2 server farm, (and thanks to everyone for their informed 
 replies), but due to other circumstances, our client wants to purchase a 
 HP ProLiant ML350 G5 SAS LFF - Rack Server.

We loaded FreeBSD on a Proliant 350 sometime back.   We at first thought
there was a compatibility problem, but it turned out to be some
component on the motherboard.   They replaced the motherboard and it
worked just fine.   It was not a rack mount model, but I doubt those
will work any differently as far as FreeBSD is concerned.

jerry

 
 The only experience I have with HP is their printers and I know nothing 
 about their server compatability with FreeBSD.  Does anyone know if this 
 unit is compatible with FreeBSD 6.2 or has anyone actually installed it 
 on one?  Any pointer to pitfalls and/or workarounds would be greatly 
 appreciated.
 
 Thanks
 
 Tim
 ___
 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: want to install free bsd

2007-09-29 Thread Jerry McAllister
On Sat, Sep 29, 2007 at 01:20:14AM -0700, Brian Guest wrote:

 Dear [EMAIL PROTECTED]

   I would like to install freebsd 6.2 or 6.0 on my pentium three PC computer.
   At this moment my pentium three computer has XP installed on it i do not 
 know
   which files from the freebsd website to download and write to a CDRW orCDR
   could you direct me to the wright files and walk me through the process 
  of installing
   free bsd 

From what you have said, the first thing you need to do is read the
FreeBSD Handbook.  It is essential.  It walks you through a complete 
install and some of the extras you will want.   It is available
free on the FreeBSD website.

After you read that and try things, then, please ask more questions.

jerry


   thank you 
   brn_gst
 

 -
 Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
 news, photos  more. 
 ___
 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: Can't connecto to www.freebsd.org

2007-09-28 Thread Jerry McAllister
On Thu, Sep 27, 2007 at 07:46:46PM -0800, Beech Rintoul wrote:

 On Thursday 27 September 2007, Beech Rintoul said:
  On Thursday 27 September 2007, Jeff Mohler said:
   On 9/27/07, icantthinkofone [EMAIL PROTECTED] wrote:
I just found I am having this problem, too.  I can access every
other site I visit, both large and small.  'make fetchindex' no
longer works, eg, it times out.  As does 'fetch
www.freebsd.org/docs' as suggested. ---
  
   Well dang..
  
   I tried to visit www.freebsd.org as well, and I got porn instead.
  
   Who do I thank?
  
   No..I wont be trying to fix this.

I am having no trouble getting to the main   www.freebsd.org site
and I don't get any porno either - unless you consider Bsdie pornographic.
His tennies don't cover much.

jerry

  
   /humor
 
 Try the mirror: http://ww2.sg.freebsd.org it's up.
 
 -- 
 ---
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
  X  - NO Word docs in e-mail | Latest Release:
 / \  - http://www.FreeBSD.org/releases/6.2R/announce.html
 --
 
 ___
 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: Backup Solution

2007-09-28 Thread Jerry McAllister
On Fri, Sep 28, 2007 at 06:11:14AM +, dhaneshk k wrote:

 Hi  everybody ,
 
   I like to know the different backup techniques that is very cheaper (I 
 cant go for a SAN, mirror ..  even if I can purchase those,please excuse me 
 because I believe more productivity @ less resources )for my webserver, but 
 any solution logicaly the cheapest one ,by which I can restore all the data 
 that I have just before the server crash(if it occurs)
 
 What I followed was I configured a crontab in mydesktop PC which will run  
 rsync utility through ssh  to my webserver at 23 rd hour of  a day . so I 
 can get incremntal backup of the directories and database ( that I 
 configuerd for rsync )daily .
 
 But I want a solution through that I can restore my server without any data 
 lose (ex: if the server crashes at 23.30 hour  then that 30 minutes data I 
 lose ).

You are stuck with some kind of real time mirroring then.   There is no
backup solution that doesn't have at least a little lag.   There are
also socalled 'bare-metal' solutions such as Acronis, but in some sense, 
they are also a form of mirror/softupdate/journaling that may cost you 
possibly more than you want - given what you say above and are still 
vulnerable to a physical disk failure without additional backup and if 
you have to revert to one of those backups, then you have that lag loss.

A mirror of a checksumming raid with periodic backups is probably the 
best you can get without getting in to huge money.   The only question
is your backup media.  Tape is the old standby and still works, but
takes a long time.   Additional large disks are becoming popular because
they are fast and easy but can get expensive when the dump takes more than
one for a full dump.

jerry

 
 So many  experts   here in this mailing lists can suggest their techniques 
 for a full system recovery( backup solutions) after the crash without  any 
 data lose.
 
 Your kind responses will help me lot
 Thanks in advance
 KK
 
 _
 Post free property ads on Yello Classifieds now! www.yello.in 
 http://ss1.richmedia.in/recurl.asp?pid=220
 
 ___
 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: Adding CR/LF

2007-09-28 Thread Jerry McAllister
On Fri, Sep 28, 2007 at 06:34:22PM -, [EMAIL PROTECTED] wrote:

 I know this should be easy, but I cannot get it to work right.  Basically,
 I have a list of items, and I need to place each one on a separate line.
 
 Here is the script I am using.
 #!/bin/sh
 FILENAMES=test1 test2 test3
 FILELIST=
 for filename in ${FILENAMES}
 do
 FILELIST=${FILELIST}${filename}$'\n\r'
 echo ${FILELIST}
 done

Are those single quotes the right ones to use there?

jerry

 
 And, here is the output I am getting.
 test1$\n\r
 test1$\n\rtest2$\n\r
 test1$\n\rtest2$\n\rtest3$\n\r
 
 The output I would like to see is:
 test1
 test2
 test3
 
 Thanks in advance for your assistance.
 
 
 Jay
 
 ___
 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: Any advice for a Partition Plan for a multi-jailed Server?

2007-09-26 Thread Jerry McAllister
On Wed, Sep 26, 2007 at 02:02:09PM -0700, Aliya Harbouri wrote:

   drive 2:
   /   2GB
  A bit big, but fine
 
 I though so, but with drives this big  cheap ... :-)
 
   /boot   2GB
  Nope, FreeBSD doesn't need / want a /boot
 
 I didn't realize :-/
 
 Just to be sure, you DO mean it doesn't want a separate
 slice/partition, right?  Because, I'm looking at a /boot directory

Yes, you should not put /boot in a separate filesystem.
It should be in root.

You have a lot for stuff like /usr, but really, how much you need
in any file system depends on how you will use it.   Try it and
gain some experience with the setup and go from there.   You can
change it the next time you do a major upgrade.   

jerry

 ...
 
   /tmp2GB
  Fine
 
 OK.
 
   /swap   16GBMachine has 8GB RAM, so swap = 2X RAM
  A bit of overkill, but what the hell, you have the space
 
 I've had 2X RAM drummed into me for ages. Not the way of things in FreeBSD?
 
   /usr50GB
  What exactly do you plan on running on the host?
 
 Normally, not a whole lot.  I'll have a full Development environment
 there, of course. cron, sshd, snmpd (haven't figured out yet if I need
 that in EACH jail yet), etc -- small stuff mainly.  Eventually some
 VPN service via an an encryption card, but that's later.
 
 If I'm forced to do so, maybe KDE4 for rare/occassional use.  Prefer not to 
 ...
 
   /jails  178GB
  Fine...
 
 
   drive 2:
   /var100GB
  Huh? Refer to /usr above.
 
 My guess @ /var sizing came as a result of,
 
 http://barryp.org/blog/entries/ezjail_ports/
 
 To keep both jailed and non-jailed systems from trying to put any
 port-building working-directories or downloaded distribution files in
 /usr/ports, the /etc/make.conf files (both the real one and the ones
 inside jails) should contain something like:
 
 WRKDIRPREFIX=   /var/ports
 DISTDIR=/var/ports/distfiles
 PACKAGES=   /var/ports/packages
 
 And having multiple ports copies ... But, now, as I'm re-reading that,
 I think I got it backwards.  This'll PREVENT having multiple, wasteful
 copies.
 
 I think.
 
   /data   100GB   MailStore, DBs, www source files, etc.
  Fine again...
   /home   20GB
  Fine again..
 
  
   I'll betcha some of that's silly or wasteful.
  You'd be correct there :)
 
 Give a girl a break! I must've missed the really-easy-and-clear
 documentation on the whole thing!
 
 At least I asked first ;-p
 
  I'm sure you could fit everything on one disk... Jails are really small, 
  it's
  just your data that takes up space. If you could get everything in 250GB
  (which i think you could easily) RAID 1 might be a nice thing to have
 
 Now that's an interesting thought.  My Mobo has 1 SATA-2 port (3
 devices), and 2 SATA-1 ports (1 device each).  And it does support
 SATA RAID 0/1.
 
 I'm NOT AT ALL sure what running RAID on 2 drives on a single SATA-2
 port does for performance, but it IS an interesting option. Tanks!
 
  HTH
 
 It does :-)
 
 Thanks a lot!
 
 Ali
 ___
 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: anyone have a favorite laptop?

2007-09-26 Thread Jerry McAllister
On Tue, Sep 25, 2007 at 09:24:55PM -0400, Bob Johnson wrote:

I have installed FreeBSd on IBM/Lenova and Dell with little problem.

But, I wonder if anyone here has had any dealings with a nice little
notebook from a Japanese company called 'Kojinsha'.   I saw them the
last time I was in Japan, of course, running MS-something.   They
are very compact, but still with a typable keyboard unlike some other
compact notebooks and a very sharp looking display.   I am hoping I
can find them sold with an English Language setup in the USA.  (I
have seen an European (British?) English Language version.  

So, has anyone seen these or better yet, tried one?

jerry



 I've been happy with FBSD on Dell Inspirons, although the newest I've
 used it on is an 8600 (it's what I'm using now). Some things have been
 problems (e.g. on the 7500 the sound input never had a driver, on the
 8600 it took a while to find a driver that would make a working NDIS
 driver for the wireless).
 
 In general, if you get something new on the market you are far more
 likely to have trouble getting it working. In that regard in
 particular, I've had better luck with nVidia rather than ATI video
 (nVidia publishes FreeBSD drivers).
 
 - Bob
 
 On 9/25/07, Bill Campbell [EMAIL PROTECTED] wrote:
  On Mon, Sep 24, 2007, Arend P. van der Veen wrote:
  We have used Thinkpads for a long time.  I am currently using a T60.
  Never had any problems.
 
  I used Thinkpads for about 10 years with various Linux systems.
  My last one was a Thinkpad 600 which I used continuously from
  August 1999 through March 2007 when I got a Mac Powerbook (now if
  only I could run OS X on a Thinkpad :-).
 
  We have used a fair variety of Thinkpads with our auction
  software for the last 10 years or so with excellent results.
 
  Bill
  --
  INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
  URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
  FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 
  Liberty don't work as good in practice as it does in speeches.
  Will Rogers
  ___
  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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software Lojack

2007-09-26 Thread Jerry McAllister
On Tue, Sep 25, 2007 at 06:12:56PM +0200, Roland Smith wrote:


I know all about various precautions to be taken.   

I also know I could write something.  I just wanted
to know if something like that is already written.

jerry



 On Mon, Sep 24, 2007 at 06:33:30PM -0400, Jerry wrote:
  Hi All,
  
  I am wondering if there is already written (in the ports) some utility 
  that would either periodically and/or on boot up, take note of if the
  machine is connected to the net and if so, send some information to a
  configured address giving some basic information such as date/time
  and the network address where it is connected.   
 
 You could write a shell-script that does this and run it as a cron(8) job.
 
  The intent would be to put this in laptops/notebooks belonging to an
  organization/business to track where they were, especially if they
  were stolen.   I know, if they got in to the hands of professional
  theft ring, the first thing they would do is wipe them, but it could
  help track them otherwise.
 
 Since most windows users wouldn't have a clue what to do with a FreeBSD
 machine, I think _every_ laptop would be wiped.
 
 To secure your laptops and mitigate the consequences of theft there are
 several things you can do;
 - Encrypt the /home partitions. This will not prevent theft but will
   reduce the chance of your data falling into the wrong hands.
 - Make frequent backups to prevent data loss.
 - Glue engraved labels to the machine, e.g. to the lid where it can't be
   removed without damaging the LCD screen. This might make the machine
   less desirable to a stolen goods dealer.
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


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


Re: Dell Servers and FreeBSD

2007-09-26 Thread Jerry McAllister
On Wed, Sep 26, 2007 at 12:18:49PM -0400, Tim Kellers wrote:

 Does anyone have any recommendations or experience with any of the newer 
 Dell servers (2900, 2950 for example) and FreeBSD 6.2 in a production 
 environment?
 
 My old Dell 2400 hardware is quickly expiring and I need to replace it 
 with something that will support FreeBSD 6.2 and have enough horsepower 
 to host a substantial (50 or so) number of concurrent Moodle logins.  
 The database (pgsql) is already on another server so I won't be chewing 
 up server resources by hosting a database, too.

I have put FreeBSD (6.2 I think) on 2950-s.   It worked fine.
The only problem was some confusion about the raid driver identifier.
I needed to do some rummaging through dmesg and it was not at first
obvious as it was a little unnoticed line amidst lots of others that
looked more likely.   But, I found it and had no problems after that.

Unfortunately I had to give those machines up to another project and
can't look and see what it was now.

jerry

 
 Tim
 ___
 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: Cheaper backup mechnism for a server

2007-09-21 Thread Jerry McAllister

 Hi ;
 
 A general question pls excuse me
 
 can any body suggest a backup mechanism for a server machine , which has a 
 web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
 and a mediawiki applications running in a single machine .

Sounds like a fairly small server.  Should be no problem backing it up.

 Can you suggest good solutions , for the server Backup mechanismso that 
 I can restore all the data just before the crashing moment .

Well, if you want just before the crash, you need some kind of 
mirroring or raid that makes a recoverable copy or stripe of your
data.   Backups will only restore from the point of the backup.

I would suggest mirroring combined with frequent backups - daily.

As for the medium, it depends on how much backup you need.  Do you
need long term archive copies - then use tape.   If you only need
to restore a recent backup after some catastrophic failure, then
probably backing up to a large USB disk would be fine.

Use dump/restore to do the backups.
Organize your file systems so that stuff that never or rarely 
changes does not go in to your daily backup and by size so that
if possible, one file system can fit on a single recording media - 
eg tape or disk or whatever.   It is possible to have continuation
media, but it is nice if you don't have to.

jerry

 
 pls share your expertise , it will help me lot  to secure my data in the 
 server machine ..
 
 Thanks in Advance
 KK
 
 _
 Live the life in style with MSN Lifestyle. Check out!  
 http://content.msn.co.in/Lifestyle/Default
 
 ___
 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: Cron not working till 28/08/07

2007-09-19 Thread Jerry McAllister

Hi,

On Wed, Sep 19, 2007 at 12:36:07PM -, DSA - JCR wrote:

 Hi all !!
 
 I had several crontab jobs in order to make backups.
 
 All worked fine till the 28-Aug-2007 when it seems to be stopped for some
 reason, I don't know why.
 I had a reporting in my mail box (external) also with daily, weekly and
 monthly reports, but suddenly all stopped (I don't receive nothing in my
 email).
 
 Can you help me?

You have had some other responses that may lead you to an answer.
Check them out.

One more wil idea of something to check is disk space.   Is it
possible that your job is trying to write to some space where there
is not enough room?   

Also, is it possible that some previous job failed, but didn't
complete terminate and is still hanging around or hanging on
to some space needed by the jobs.Sometimes just doing a reboot
will clear that up -- though it won't prevent the problem from
recurring.

Good luck,

jerry

 
 Thanks in advance
 
 Juan Coruña
 Desarrollo de Software Atlantico
 
 ___
 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: Scripting question

2007-09-13 Thread Jerry McAllister
On Thu, Sep 13, 2007 at 10:16:40AM -0700, Kurt Buff wrote:

 I'm trying to do some text file manipulation, and it's driving me nuts.
 
 I've got a sorted file of SMTP addresses, and want to eliminate the
 lines that are the same up to a space character within the line.
 
 Example:
 
 [EMAIL PROTECTED] NO
 [EMAIL PROTECTED] OK
 
 The above lines *both* need to be eliminated from output - I don't
 want the first or second of them, I want them both gone.
 
 I've looked at sort and uniq, and I've googled a fair bit but can't
 seem to find anything that would do this.

Seems like this is right up sort's alley.
Is the first string always separated from the rest by white space
or does your first string sometimes include white space.

jerry

 
 I don't have the perl skills, though that would be ideal.
 
 Any help out there?
 
 Kurt
 ___
 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: Scripting question

2007-09-13 Thread Jerry McAllister

First, please always make sure your responses go to the list.
It is both list etiquette and of practical value.  Follow-ups to
only an individual may not reach the person who can provide real help.

Most Email clients have a group reply which will do the trick.

On Thu, Sep 13, 2007 at 10:32:34AM -0700, Kurt Buff wrote:

 On 9/13/07, Jerry McAllister [EMAIL PROTECTED] wrote:
  On Thu, Sep 13, 2007 at 10:16:40AM -0700, Kurt Buff wrote:
 
   I'm trying to do some text file manipulation, and it's driving me nuts.
  
   I've got a sorted file of SMTP addresses, and want to eliminate the
   lines that are the same up to a space character within the line.
  
   Example:
  
   [EMAIL PROTECTED] NO
   [EMAIL PROTECTED] OK
  
   The above lines *both* need to be eliminated from output - I don't
   want the first or second of them, I want them both gone.
  
   I've looked at sort and uniq, and I've googled a fair bit but can't
   seem to find anything that would do this.
 
  Seems like this is right up sort's alley.
  Is the first string always separated from the rest by white space
  or does your first string sometimes include white space.
 
  jerry
 
 The only space is the one separating the SMTP address from the OK or NO.

Then you should be able to tell it to sort on the first token in
the string with white space as a separator and to eliminate
duplicates.   It has been a long time since I had need of sort. I
don't remember the arguments/flags but am sure that type of thing can be done.

jerry

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


Re: Newbie questions about updating

2007-09-07 Thread Jerry McAllister
Hi,

I can't answer all your questions, but will take a shot at a couple.
You should check out the handbook at:

  http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
and
  http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/
For more complete information.

On Fri, Sep 07, 2007 at 12:35:39AM -0500, cothrige wrote:

 I know this is going to be a very dumb question, but I just can't seem
 to get my mind around exactly what is involved and what I should do
 regarding this issue.  I understand from reading the handbook that the
 ports system is completely separate from the OS itself, and that these
 can be upgraded or updated separately.  From what I can see this seems
 to most often involve CVSup, and I have been operating under the
 assumption that one must run two cvsup operations with two separate
 supfiles to update both the core OS and the ports.  Am I understanding
 this correctly?

No, not quite.   They are two separate things, but can be run from
the same supfile in the same csup run.By the way, cvsup has
been replaced by csup which is now in the base system from about 6.2 on.
or maybe it was 6.1.
Here is the relevant part of my supfile:

 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  
  #
  *default host=cvsup.FreeBSD.org
  *default base=/var/db
  *default prefix=/usr
  *default tag=RELENG_6_2
  *default release=cvs 
  *default delete use-rel-suffix
  
  *default compress
  
  ## Main Source Tree.
  # The easiest way to get the main source tree is to use the src-all
  # mega-collection.  It includes all of the individual src-* collections.
  src-all
  
  ports-all tag=.
  
  doc-all tag=.
  
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  
 
This gets 6.2 OS and the latest ports and docs.
You could put tag=RELENG_6 and get the latest OS updates for 6.xx (but
not the latest over all) included.

 Assuming I am, my main confusion concerns just how these two systems
 actually interact and relate to each other, and whether there are any
 requirements connecting updating each of them together?  For instance,
 I have downloaded the FreeBSD 6.2 install discs and have finished the
 basic installation and setup.  Now at some point if I wish to update
 the ports does that mean I have to update the OS to a particular
 level?  If I don't want to run stable and use tag=RELENG_6_2 will I
 be required to keep the ports as they have installed from the disc?
 Is there any connection between how current the ports are and how
 current the OS is?

They do interact and there can be problems.   The OS has versions.
The ports tree does not.  It is just the latest that has been
supplied by the port maintainer.   As the OS gets older, it becomes
more likely that a giver port is too new for it and may not build or
run on it.   It can happen the other way around too - the OS is too
new for the present condition of the port.   But, there is an attempt
to keep this from happening.

When the head of an OS branch is getting to the point of making
a new RELEASE, then a freeze is put on code in the OS thus making
a temporary non-moving target to build all the system plus the ports
against.  It is generally up to the port maintainers to make sure
their port[s] can build to that frozen image.   When all seems to
build, run and test together then a RELEASE is made.   Then the
branch is unfrozen and changes start coming in again - both to the
base OS and to the ports.

In general, the OS versions are managed so that anything that will
run in one version of a main branch will run in another.  eg, if
it will run in 6.1, it should run in 6.2 and 6.3.   But it may well
not work in 7.xx because os some non-compatible change introduced
in the new major branch level.   That is the main part of the
decision to create a new main branch and what usually determines 
whether some change will be introduced in a lower branch or reserved
for a higher branch.

But, again, the ports are not limited to a version so in some cases,
especially when signiicant time has elapsed, a port may not build
or run on some version.   You may need to go back and get a legacy
version of the port to make it run, or note the changes and tinker.

In practice, though, it usually works well to keep your OS and ports
up to date.  Developers and maintainers try to make things work and
to keep them compatible as far as possible.

jerry

 
 One of the things which caused me to wonder about this was that some
 time back I tried FreeBSD out for a while and ran into some oddities
 concerning the ports system.  When I first finished setting things up
 I could install packages using pkg_add -r, but noticed that after
 updating the ports I could no longer do that.  That struck me as odd,
 and because of it I always had a suspicion that I had broken the
 system with my out of whack updates (I did not move up to stable at
 that time) but I just never could really find out if that were so.
 
 One 

Re: temporary su login

2007-09-07 Thread Jerry McAllister
On Fri, Sep 07, 2007 at 06:43:33AM +, [EMAIL PROTECTED] wrote:

 Tamouh wrote:
  Robin Becker wrote:
   My collocation supplier is about to move our FreeBSD box and wants 
   some way to shut it down cleanly. Is there a simple way to allow a 
   non-root user to have shutdown rights without just giving them the 
   world. At present I don't even allow login via ssh on that 
  box ie it's 
   purely key based.
 What I would do is develop a script (owned by  root ) 
  and callable by everybody which then checks the  user-id  of 
  its caller, and if it is an acceptable one, the script will 
  issue a warning (to wall) and then shutdown the system.
  
 
  why not ask them to do CTRL+ALT+DEL which will reboot the server cleanly 
  and once it hit 
  does the intial reset, turn it off.
 
   Yes, CTRL+ALT+DEL will reboot the server cleanly,
 but it does not shutdown the previous session nicely, it shuts it
 down catastrophically, and it can be done by anyone with access
 to the system keyboard.  Robin asked for a way to allow one specific
  non-root user  to be able to shutdown the system.

Actually it will do a clean shutdown if your hardware supports it.

But, assuming this not available, then check our 'sudo'. 
It is in the ports.   With it you can create a command that can
only be run by one id.  You do not have to give that id root
priviledge or the ability to run any other command.   In fact,
by manipulating the user's shell, you can create a login account 
that can only run that command and then go away/logout.The sudo 
utility starts up when the command you created is executed.  It 
checks the user id it is running under and if you want, it can ask 
for further authentication.  If the command that the user is 
attempting to run is acceptable, then it will execute that command 
for the user.In the sudo configuration file you can create a 
list of system commands a particular id is allowed to run.  

But watch and see if your CTRL-ALT-DEL causes a regular shutdown
or crashes it down.

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: Newbie questions about updating

2007-09-07 Thread Jerry McAllister
On Fri, Sep 07, 2007 at 10:53:09AM -0500, cothrige wrote:

 On 9/7/07, Erich Dollansky [EMAIL PROTECTED] wrote:
  Hi,
 
 Howdy, and thanks for the help.
 
 [snip]
 
   I have downloaded the FreeBSD 6.2 install discs and have finished the
 
  Just stick with 6.2 for the moment.
 
  
  Wait, you do not install ports from the disc, you install packages from
  the disc. This is a small difference. Ports are source based, packages
  are binaries.
 
 Sorry.  What I really had in mind was the ports tree itself, which I
 had an option during install to add.  BTW, I answered yes to this and
 so had that which was on the 6.2 install disc.  Based on the other
 responses, it is looking like perhaps that is not the best method, and
 maybe I should have skipped that and then added the ports after the
 install using cvsup or such.  This is certainly a good thing to know
 for the future, though as of right now I am dealing with the disc
 install method.

No.  You were right to choose yes.
That just installs the ports tree skeleton.   It does not install
any actual ports.   Then when you do a csup tag=. for the ports tree,
then it updates that tree.   But you would still have to update
the ports from the tree that you have chosen to install.

The ports tree from one version of the OS to the next is not
particularly different.  It is just instructions on how to get
the source and build the port (including dependant ports).  It
gets a little out of date now and then as the list of files that
need to be downloaded or build procedured change, so it need
a csup update now and then.   But what that csup does is update
the skeleton, not the actual ports.   That is a subsequent step.

   One of the things which caused me to wonder about this was that some
   time back I tried FreeBSD out for a while and ran into some oddities
   concerning the ports system.  When I first finished setting things up
   I could install packages using pkg_add -r, but noticed that after
   updating the ports I could no longer do that.  That struck me as odd,
 
  Updating the ports tree means actually switching to ports but you still
  can use packages via portupgrade.
 
 What has happened to me before is that after the fresh install if I
 typed pkg_add -r foo it would say something like fetching
 http://...freebsd-6.[x]/foo.1.0.0.tbz...;  and then install it.  But,
 after I would update the ports if I typed the same command, pkg_add
 -r foo, it would fail saying something like fetching
 http://...freebsd-6.[x]/foo.1.0.1.tbz...; and then say something about
 no such package.  At the time it was happening I had looked at the
 address being used and of course in the one for freebsd-6.whatever (or
 whichever directory my OS was trying to fetch from) there was only the
 foo.1.0.0 file and not the new one.  The ports upgrade seemed to make
 my system stop searching for foo.1.0.0 and begin looking for 1.0.1,
 but it did not change where the pkg_add program looked and so it would
 always fail.
 
 Most of the time this would be no big deal, and I don't run KDE, Gnome
 or such, but it is more time consuming (especially on some of my old
 stuff like this laptop) and more importantly it just always made me
 think it was broken.  It really just doesn't seem like the intended
 behaviour with it looking for nonexistent packages.  When things seem
 to misbehave like that I always have a sneaking suspicion that not too
 long in the future it will come crashing down as I have some
 fundamental setting flawed and with every install or change I am
 compounding the problem.
 
  Never forget, the ports tree is a live object. It can happen that you
  upgrade now and find a ruined system, then upgrade a minute later and
  the system is fine again.
 
 Yes, I can see how that would be the case, and in a broken port I
 think that likely this may be so.  Also, if the package system does
 not operate after updating ports then I could also rest easy that
 things are operating as they should.  However, my reading of the
 handbook, and other documents, implies that one should in theory be
 able to use packages even with an updated ports tree, as portupgrade
 -P would seem to suggest.  But, in the past that would always fail as
 the package does not exist in the place being searched and then a port
 would be built.  Again, building is usually fine, and I may even
 prefer it most of the time, but since portupgrade seems to exist to
 work with updated ports trees, and it has options to use packages, my
 experiences with these in the past have given me the distinct
 impression that I have been doing something wrong.
 
 
   One last newb question is concerning cvsup itself.  In reference to
   ports is there a difference, in the end, between this and portsnap?
 
  There should be no difference at the final end.
 
 Good to know.
 
  Erich
 
 Thanks Erich.
 
 Patrick
 ___
 freebsd-questions@freebsd.org mailing list
 

Re: Newbie questions about updating

2007-09-07 Thread Jerry McAllister
On Fri, Sep 07, 2007 at 12:26:40PM -0500, cothrige wrote:

 On 9/7/07, Jerry McAllister [EMAIL PROTECTED] wrote:
  On Fri, Sep 07, 2007 at 10:53:09AM -0500, cothrige wrote:
 
   Sorry.  What I really had in mind was the ports tree itself, which I
   had an option during install to add.  BTW, I answered yes to this and
   so had that which was on the 6.2 install disc.  Based on the other
   responses, it is looking like perhaps that is not the best method, and
   maybe I should have skipped that and then added the ports after the
   install using cvsup or such.  This is certainly a good thing to know
   for the future, though as of right now I am dealing with the disc
   install method.
 
  No.  You were right to choose yes.
  That just installs the ports tree skeleton.   It does not install
  any actual ports.   Then when you do a csup tag=. for the ports tree,
  then it updates that tree.   But you would still have to update
  the ports from the tree that you have chosen to install.
 
 What exactly is the best method for the new install when it comes to
 ports?  I should say yes to installing the ports tree, but then how
 should I go forward at that point?  For instance, should I immediately
 run csup when booting into the new system before actually installing
 anything from ports?  Will that speed things up in the end, or make
 for greater stability?

That is what I do.   Actually, I csup the OS because it may have
updates on it that are needed - security fixes mostly and also
ports and even doc right then before doing any other installing.
Some people don't even install Xorg until doing the csup.  I haven't
been quite that hard core, but it isn't a bad idea.

 
  The ports tree from one version of the OS to the next is not
  particularly different.  It is just instructions on how to get
  the source and build the port (including dependant ports).  It
  gets a little out of date now and then as the list of files that
  need to be downloaded or build procedured change, so it need
  a csup update now and then.   But what that csup does is update
  the skeleton, not the actual ports.   That is a subsequent step.
 
 Cool, that makes sense.  I suppose right now it is a matter of
 figuring out just getting used to how to handle the system and know
 that I am carrying out the correct steps, or at least the most
 reliable steps, in the most beneficial order.

Yup.

jerry

 
 Thanks,
 
 Patrick
 ___
 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: Hello

2007-09-06 Thread Jerry McAllister
On Thu, Sep 06, 2007 at 12:33:42PM +0100, Gabriel Dragffy wrote:

 Dear list members.
 
 I just wanted to say hi to all of you. My name is Gabriel, and I have  
 just been setting up a FreeBSD server at work, having moved from Linux.
 
 There are just a couple of things that aren't working quite as I  
 would like, and I was hoping someone might be kind enough to help me  
 out. I've been using the FreeBSD handbook, and I must say it is quite  
 superb, and makes starting with FreeBSD much easier.
 
 Using sysinstall I enabled anonymous FTP, with uploads allowed in the  
 folder /incoming. Uploading works a treat, however the files don't  
 have permissions to be downloaded again (by anon user). I know I  
 could change this by executing a cron job every two minutes that  
 would chmod the files in /incoming. But surely there must be a far  
 better way...? The FreeBSD handbook says it doesn't recommend  
 allowing anon users to d/load files uploaded anonymously, however I  
 would still like to implement this.

What they are trying to do is reduce the chance that a SM will
create a system where anyone in the world can upload stuff and
then, without any checking of the stuff, anyone in the world
can download it.Eg.  They are trying to force you to at least
notice the file before making it available for download.

This is to reduce the incidence of evil minded creatures using your
machine for their despicable plots of distributing dangerous files
and software around the net.

So, what you are supposed to do is make two separate directories - 
one for upload and one for download.   Then you check each uploaded
file for mal-ware before moving it to the download space with
the needed permissions.   You can use the same directory, but do
not leave out the step of checking the file content before setting
permissions to allow download.

But, it is better to use separate directories so people doing a 
download don't have to wade through the swamp of uploaded, and
not approved/checked stuff.

Of course, some people will point out that FTP is on the outs now
anyway and will recommend other ways of doing things.  Pay attention
to that.   But, sometimes FTP still fills a need.

jerry  

 
 I'd be very appreciative for any help.
 
 Best regards
 
 Gabriel Dragffy
 
 [EMAIL PROTECTED]
 
 
 ___
 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: doubts about the freebsd devil

2007-09-05 Thread Jerry McAllister
On Wed, Sep 05, 2007 at 12:10:50PM +0800, Erich Dollansky wrote:

 Hi,
 
 Ted Mittelstaedt wrote:
 
 Them's fighting words - don't you realize an entire subgroup of the
 FreeBSD developers spent untold amounts of time and effort setting up
 a rigged contest to attempt to convince the userbase that there was
 such a difference, in order to replace the logo with a round red sex
 toy?
 
 oh no.
 
 I always thought this glow in the eyes of women when mentioning FreeBSD 
 came from the operating system's performance.

Well, 'performance' maybe.  Not sure about the operating system part.

jerry

 
 Erich
 ___
 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: mail server setup questions

2007-09-05 Thread Jerry McAllister
On Wed, Sep 05, 2007 at 08:51:18AM -0700, Ted Mittelstaedt wrote:

 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Eray Aslan
  Sent: Wednesday, September 05, 2007 2:05 AM
  To: freebsd-questions@freebsd.org
  Subject: Re: mail server setup questions
  
 
  Good advice.  I am sure you could have written your response without
  mentioning nuclear weapons, Iraq et al.
  
 
 Sure - and I'm sure you could write an instruction manual that
 nobody would want to read, either, unless as a sleep aid.
 
 Metaphors are a legitimate literary device.  If your unfamiliar with
 them I would suggest you review what is known as classic literature

Come on folks.  You'll never get anywhere in a flame war with Ted.
He changes the ground under you any time it is convenient.

Much better to teach him to spell you're, distinguish 
between your and you're and use them correctly.   
Now that would be helpful.

jerry  
 
 Ted
 
 ___
 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: mail server setup questions

2007-09-05 Thread Jerry McAllister
On Wed, Sep 05, 2007 at 12:21:56PM -0700, Predrag Punosevac wrote:

 Andrey Shuvikov wrote:
 Hi,
 
 I'm trying to set up a home mailserver with imap/web access. But I was
 going to use exim. Several people mentioned postfix here, but nobody
 named exim. Is it a matter of personal preference or is exim not
 suitable for this task?
 
 Thanks,
 Andrey
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
   
 We have a exim at the University of Arizona and works really well (but I 
 am just a user not a sysadmin).
 I had the same question since I have used sendmail as my home mail 
 server but I am really curious what more knowledgeable people have to 
 say on this topic.

There is no real problem with sendmail.   Maybe there was years ago,
but it works fine.   Some of the configuration can be rather arcane,
but mostly people just get their favorite and want to defend it.

jerry

 Regards
 Predrag
 
 P. S. I apologize to everyone for my previous mail on this thread that 
 was of topic but I was truly offended.
 ___
 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: doubts about the freebsd devil

2007-08-31 Thread Jerry McAllister
On Thu, Aug 30, 2007 at 07:53:50PM -0300, Nélio Mesquita wrote:

 Hello to all!
 Just for curiosity, why the FreeBSD logo is a little devil? Is there a
 history around it?

There is so much history it would take you several days to read it all.
Just look for stuff on 'Beastie' or 'Bsd' or other variations of
spelling on it and also look for BSD daemon.There is stuff in
the list archive and on the FreeBSD web site and on various online
publications.   There are links to information and copyright information
on the FreeBSD web site.

There will also probably be loads of people replying to tell you
that it is not a devil but a character representing a daemon that
is a helpful sprite and that it is not a logo, but a mascot.

You can also buy stickers and plush toys, etc at bsd mall and
probably other places.

jerry

 
 Thank you!
 ___
 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: doubts about the freebsd devil

2007-08-31 Thread Jerry McAllister
On Fri, Aug 31, 2007 at 03:50:27PM +, Pollywog wrote:

 On Friday 31 August 2007 15:32:26 Jerry McAllister wrote:
 
 
  There will also probably be loads of people replying to tell you
  that it is not a devil but a character representing a daemon that
  is a helpful sprite and that it is not a logo, but a mascot.
 
 I think that is much less different than the difference between a toad and a 
 frog.

Best ask a toad and/or a frog about that.

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: /var or /usr for data?

2007-08-25 Thread Jerry McAllister
On Fri, Aug 24, 2007 at 08:20:16PM -0600, [EMAIL PROTECTED] wrote:

 On Fri, 24 Aug 2007, Wojciech Puchar wrote:
 
 It would appear that the proper allocation of filesystems on FreeBSD is
 to put all data in /usr.  I'm used to this and have been doing it for
 years.
 
 my favourite proper allocation is to make ONE partition (/) and nothing 
 more. and forget all problems about how to partition your drive right...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 I've made a quick look-see through my copies of The Complete FreeBSD and
 Absolute BSD and can't find the reference, but I recall reading
 somewhere in my 4.x days that FreeBSD used a different algorithm to write
 to the /var directory, if it was on its own filesystem, because /var was
 written to a lot (holding logs and all.) Because of this, and all the way
 up to 6.2 today, I put /var on its own filesystem, after / and swap.
 Where the old AIX wonks used to call the outer middle of the disk. Was
 this different algorithm really the case? And, now with UFS2, is it still
 the case? I still put pgsql/data on /var.

I think you may be confusing var with swap.A different algorithm is
used for managing and writing/reading swap.   I haven't heard of any
difference with /var.

jerry

 
 r
 ___
 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: /var or /usr for data?

2007-08-24 Thread Jerry McAllister
On Fri, Aug 24, 2007 at 08:19:43AM +0200, Wojciech Puchar wrote:

 It would appear that the proper allocation of filesystems on FreeBSD is
 to put all data in /usr.  I'm used to this and have been doing it for
 years.
 
 my favourite proper allocation is to make ONE partition (/) and nothing 
 more. and forget all problems about how to partition your drive right...

That works for some situations.  But, there are protections, conveniences
and backup efficiencies that thoughtful partitioning provide that
all-in-one doesn't.

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: Installation Disc Won't Boot

2007-08-24 Thread Jerry McAllister
On Fri, Aug 24, 2007 at 03:28:54PM -0500, Derek Ragona wrote:

 At 12:49 PM 8/24/2007, [EMAIL PROTECTED] wrote:
 
   Hi,
 
   I am unable to boot from 6.2-RELEASE i386-disc1.iso.  I have
   downloaded it and burned it three times without success.
 
   I am currently running Win98SE and FreeBSD 5.4 on a dual boot.  I had
   decided to reformat my hard drives so I reinstalled Win98SE and would
   like to install FreeBSD 6.2.  I downloaded the disc 1 iso image and
   burned it to a disc in Win98.  I had to boot from my CDrom to
   reinstall Win98 so I know that my boot priority is correct and that my
   CDrom is working properly.  I looked at the burned cd with the
   6.2-RELEASE i386-disc1.iso file on it in FreeBSD 5.4 and everything
   appears to be there, including a folder called 'boot'.  But I just
   can't seem to boot from it.
 
   1.  Is there something simple I'm missing?
   2.  Should I just try downloading (it takes four hours) and burning
   more copies again?  (I've already done it three times...)
   3.  Is the fact that I'm burning it in Win98 a problem?
   4.  Is there anything I can do in FreeBSD 5.4 to see if the file is
   corrupted?
 
   BTW - I installed FreeBSD 5.4 from discs that I purchased through
   FreeBSD Mall.  I thought I would do it from the 6.2-RELEASE
   i386-disc1.iso file on FreeBSD's web site this time.
 
   Any suggestions, advice, or comments would be greatly appreciated.
 
   Thanks,
   Larry

One thing that comes to mind, besides things other people have said.   
When you burned the CD, did you tell the software to create a bootable ISO?
You shouldn't do that.  It is already a bootable ISO and needs to be 
burned as a 'raw' file, directly to the CD.   Having it try to make an ISO
of an already created ISO might still leave the rest of the files readable, 
so it might look OK to a quick check, but I don't know.  I haven't tried
that.

I don't know if the term 'raw' is the correct one, but definitely, you 
need to not use any option that tries to make a bootable ISO as that 
will mangle the boot stuff already on it.   

So, if that is the problem, you will have to burn another CD.  
It shouldn't matter if you burn it under MS-Win as long as it
doesn't try to create a bootable ISO from it first.

jerry

 
 Is the CD you burn readable under windows or FreeBSD?  If it is readable, 
 check your BIOS settings and turnoff any video ram shadow, if it is turned 
 on.
 
 I have one older system which I thought had trouble booting the 6.2 
 disc.  I tried my disc out on another system, and saw when this boots it 
 puts up the FreeBSD boot menu, and waits for response.  After seeing this, 
 and turning off the video shadow, I tried to boot it on my older server 
 again.  This time I was seeing the bootmenu 10 second countdown, while none 
 of the other boot menu was visible.  After hitting enter a couple times the 
 countdown started ticking down, and the system booted and launched 
 sysinstall.  I was able then to do a upgrade on this server from 5.5 to 6.2.
 
 -Derek
 
 -- 
 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]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD MBRs

2007-08-23 Thread Jerry McAllister
On Thu, Aug 23, 2007 at 11:33:02AM +0100, Christopher Key wrote:

 Alex Zbyslaw wrote:
 Jerry McAllister wrote:
 
 You only need an MBR on disks that will be booted.  I don't know as
 it will actually hurt anything to write an MBR on non-boot, data only
 disks, but it can garbage up you menu with non-functional choices.
  
 
 What you need is an MBR on every disk which is *passed through* or 
 actually booted from.  So if you have disks 1, 2 3, if you want to 
 boot from disk3 you need an MBR on disks 1  2 as well, even if you 
 never boot from them.  If you boot from disk 1, then 2 3 do not 
 *need* an MBR.
 
 Those other disk with an MBR show up as an F5 and maybe F6, etc (
 
 F5 is the *next* disk.  There is no F6, F7 etc.
 
 If you boot from disk 3, for example, you'd go through three menus e.g.
 
 Disk1: F5 - disk2
 Disk2: F5 - disk3
 Disk3: F1 - boots FreeBSD
 
 
 Thanks Jerry, Lowell and Alex,
 
 That clarifies a few points.  Sorry the original post wasn't clear, I'll 
 have a go at rexpressing my original questions using the above for context.
 
 Firstly, when you hit F5, does it, a) Load the partition table from the 
 next disk and update the displayed list of slices, or b) Execute the MBR 
 from the next disk?  I'll assume the latter.

The latter is the next step if you hit F5 (which can cause an updated
menu to be displayed based newly current configuration of the information 
on that next disk).

 Secondly, does boot0 'remember' that you pressed F5, and hence do the
 same the next time you boot, even after a power cycle?  In this case,
 having done,

It remembers, if and only if you don't hit anything during boot time.
If you hit something - like F1, that becomes the choice that it works on
regardless of what was hit in any previous boot.

 
 Disk1: F5 - disk2
 Disk2: F5 - disk3
 Disk3: F1 - boots FreeBSD
 
 the next time, it will appear as,
 
 Disk3: F1 - boots FreeBSD
 
 The behaviour that I was experiencing was as follows:
 
 Disk1: F1 - boots FresBSD
 
 reboot
 
 Disk1: F5 - disk2
 Disk2: Has /boot/mbr on it, and hence attempts to boot the active 
 slice.  As there is no active slice on the disk, simply fails with the 
 message 'Missing operating system'
 
 Now, subsequent attempts to boot simply display the message 'Missing 
 operating system'.  Hence, I concluded that either, a) boot0 was 
 rembering the F5 keystroke, and passing me on to disk 2 automatically, 
 or b) That the BIOS was rememering something and booting straight from 
 disk2 despite the boot order having disk1 first.

This is the behavior I would expect, but seems somewhat to contradict
Alex's response.   The first part seems correct that it cycles around
through disks in boot order, but he said that you should see another F5
choice instead of a missing OS error.I have not had a string of disks 
more than two bootable disks and those being disk 0 and disk 1, so I can't 
be sure and would be inclined to accept Alex's response.  But, then it should
not have a problem with that disk 2, so without a chance to experiment, I
don't know how else to respond.   

I think the next experiment I would be inclined to try, at least if there
was nothing on that second disk (actually called disk 1 as in 0..n disks)
that I needed, I would overwrite that MBR with zeros (from /dev/zero, so
it has no MBR and no other boot type info and then slice and partition it
and see what happens.   You could just overwrite the MBR with dd and it
shouldn't affext the rest of the disk, but that would make me really 
nervous if I had anything valuable on it.  But if you are unconcerned, try
  dd if=/dev/zero of=/dev/ad1 bs=512 count=1 
ad1 being the second disk   or  da1 if it is SCSI of SAS
That should wipe the MBR on it.

Then, the previous MBR might not try to look at that second disk, or if
Alex is completely correct, then it will and not find it and get another 
error.

So, experiment.

jerry



 
 The only was that I found to rectify this was use a boot from a USB 
 device with boot0 on it:
 
 USB: F5 - disk1
 Disk1: F1 - boots FreeBSD
 
 And now, subsequent reboots work fine:
 
 Disk1: F1 - boots FresBSD
 
 
 I hope the above is a little more clear now.
 
 Regards,
 
 Chris
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var or /usr for data?

2007-08-23 Thread Jerry McAllister
On Wed, Aug 22, 2007 at 09:51:35PM -0500, Andrew Gould wrote:

 On 8/22/07, Brad Waite [EMAIL PROTECTED] wrote:
 
  It would appear that the proper allocation of filesystems on FreeBSD is
  to put all data in /usr.  I'm used to this and have been doing it for
  years.
 
  However, there's a few issues that keep coming up.  A lot of the ports use
  /var for data dirs.  MySQL, Qmail, dspam are a few that I've had issues
  with.
 
  Is there a canonical place to put data files on a modern FreeBSD server?
  Figuring out the sizes for each partition is an exercise in frustration
  when I don't know how big /var or /usr are going to grow.
 
  For now, I've changed the default config files for MySQL and dspam to use
  /usr/local for data dirs, but is this the right thing to do?
 
  I used to put everything on /, but that created problems when I couldn't
  fsck the single large partition and I had to boot from CD to fix things.
  That's an issue when the server's not in the same state.
 
  A Solaris associate of mine is of the opinion that /usr should be able to
  be mounted RO for security purposes.  If /var was the default for all
  add-ons and data, I could see that, but that wouldn't work the ways things
  are now.
 
  I usually move the data directories (/usr/home, /usr/local/pgsql,
 /var/db/mysql, etc) to a separate, hard drive mounted at /data and create
 symbolic links back at the default locations.  If you run out of space, you
 can move the data to a larger hard drive and either adjust the links or have
 the new drive mount at /data (or wherever you choose).

Check out  man hier  for some  information on how FreeBSD wants to
use the directory structure.

Generally /usr and those under it contain utilities and /var stores
data that can change a lot.

jerry

 
 I hope this helps.
 
 Andrew
 ___
 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: wildcard usage in fetch

2007-08-22 Thread Jerry McAllister
On Tue, Aug 21, 2007 at 04:04:47PM -0700, Philip Hallstrom wrote:

 fetch -avrpAFU ftp://loginid:[EMAIL PROTECTED]/IDX/ActivePhotos/*/*.*
 
 The /*/ directory is 2 positions in size and
 contains 00 through 99 as directory names.
 The *.* means all files in this directory.
 
 When I execute this I get logged in but get file
 not found or not available error message.
 
 Is wildcard usage not allowed in ftp?
 
 How would you suggest to accomplish downloading source file
 directory structure and their contents?

I have used wildcards with no problem with FTP, but only within a
single directory at a time.   I have never used it in a recursive 
situation like you indicate, so, don't know about that.

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: FreeBSD MBRs

2007-08-22 Thread Jerry McAllister
On Wed, Aug 22, 2007 at 12:27:51PM +0100, Christopher Key wrote:

 Hello,
 
 I've a machine with 3 SATA drives.  The first (ad8) with a standard
 FreeBSD install in a single slice with /boot/boot0 MBR.  The remaining
 two drives (ad10, ad12) are in a RAID1 mirror with 3 slices, and used
 for storing data.  They have the /boot/mbr MBR.
 
 After booting off various USB flash drives to try and update the BIOS on
 my machine, it got into a state where during startup, it would display
 'Missing operating system' and hang.  What seems to have been happening
 is that it was trying to boot from one of my data store drives, despite
 the boot order of the disks set in the BIOS.
 
 The only solution that I found was to start booting from a USB flash
 drive with a boot0 MBR, and to hit F5 to change to booting from my first
 drive  After this, the machine then reboots quite happily until I hit F5
 again, in which case I get the same 'Missing operating behavior'.  This
 persists even while power cycling the machine.
 
 I had imagined the boot process to be entirely stateless, certainly
 across power cycles.  The BIOS executes the MBR on the first drive in
 its boot boot.  The boot0 MBR then allowed you to either execute the
 boot sector from any of the slices on the current drive, or to execute
 the MBR from the next drive in the list.
 
 However, this clearly isn't what's happening.  Is it boot0 remembering
 my F5 key stroke, or is it more likely that the BIOS is remembering
 something?  Does anyone have any recommendations to avoid this in the
 future?  Is putting boot0 on all three drives a good idea perhaps?

I am having a little trouble following the narrative here, but maybe I
can comment on a couple of specific questions.

The system does record your most recent menu choice and the next time
it will be the default if you don't hit another one during the countdown.
This makes it default to trying to boot the way it last booted.

You only need an MBR on disks that will be booted.  I don't know as
it will actually hurt anything to write an MBR on non-boot, data only
disks, but it can garbage up you menu with non-functional choices.

Those other disk with an MBR show up as an F5 and maybe F6, etc (I've
never had more than two at a time) in the menu, but then if you hit
F5, it won't be able to go anywhere, because there is no real boot
stuff on that disk.

jerry

 
 Regards,
 
 Chris
 ___
 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: Minimal gateway hardware configuration

2007-08-22 Thread Jerry McAllister
On Wed, Aug 22, 2007 at 04:07:42PM +0330, Bahman M. wrote:

 One other question -a bit silly:
 If I use that configuration as the gateway, can it be left on and
 working 24x7? I mean, regarding the _hardware_, how often does it need
 to be powered off: once a day, once a week, ... to prevent hardware
 failures such as HDD crash?

On average, the less you power it off the better.
Power cycling is more stressful than running.
The exception would be if it is getting too hot while running and
that is a totally different problem, not fixable by powering it off
and on.

jerry

 
 Bahman
 
 On 8/21/07, Bahman M. [EMAIL PROTECTED] wrote:
   Note: You need two LAN cards:  One for the outside connection and one
   to your internal network.  (You probably already know that, but since you
   referred to 'LAN Card' in the singular I thought I should mention it
   anyway.)
  
  Yes, the machine has 2 D-Link cards.
 
   More than enough.
  
   I use a Pentium I @ 133MHz w/ 64MB RAM as a gateway with a faster Internet
   connection (8Mbps down / 1Mbps up) and it has no problem keeping up.
  
   Earlier I had only 512 Kbps connection, and at that time used a 386sx @
   33MHZ w/ 8MB RAM as gateway.  It had no problem handling that speed.
  
  Then my configuration is not minimal I'd say :-)
  Thanks.
 
  Bahman
 
 ___
 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]


<    4   5   6   7   8   9   10   11   12   13   >