Re: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-03 Thread Krzysztof Nakielski
On Wed, Nov 02, 2005 at 09:07:25PM +, Chris Howells wrote:
 Hi,
 
 I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm very used to using 
 cvsup to upgrade between minor releases (IIRC the box was 4.9 or 4.10 
 originally) but a jump between major versions is scaring me a bit :)
 
 Has anybody done this recently. Were there any major problems other than 
 mentioned in UPDATING?
 

Hi,
I have upgraded few boxes remotly. I had only to copy pam.d directory to
/etc otherwise I couldn't log via ssh it complained about pam.


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


RE: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-03 Thread Steve Bertrand

  Oddly enough, and a little OT, (but semi-within the topic) 
 I'm trying 
  to update a 5.0 box to RELENG_5 right now with several different 
  errors, too many to mention (generally they occur after rebooting 
  after my installkernel. I can subsequently reboot off of 
 kernel.old, as always).
 
 That's not surprising, if your kernel and userland are too 
 far out of sync, lots of things won't work right like ps and 
 ipfw and so forth.  If the kernel boots OK into single-user 
 mode, it should be OK to do the installworld.

Hmmm, interesting point. I didn't even think of that. However, if I do
that successfully, then reboot the system and it fails, there is no way
to 'undo' the installworld...right? Either way, I'm going to try it, so
I can use that experience for when I have to do a production box.

 Anyway, you really don't want to stay with 5.0, even if it 
 takes a reinstall from a 5.4 CD to get there  :-)

Eventually, if all else fails, I will.

 Take full backups before you do anything.  The thing is, 
 there is nothing wrong with a 4.11 system, either, especially 
 if it is a uni-processor machine.  For SMP hardware, I'd be 
 tempted to jump directly to 6.0 or wait for 6.1, rather than 
 move to the middle/end of the 5.x releases.

The Samba box is a SMP unit, but the 4.11 is a uni-proc box. I've been
running it that way since 4.5, moving the system to new disks a few
times, and periodically more powerful boxes. I have really no reason to
upgrade this one to 5 or 6 at this point...and BTW, I always do backups.
System is on a RAID-1, with a second RAID-1 setup that gets a mirrored
copy of the primary RAID every day. Further that, I have it taped up
too. Call me paranoid, but having the backup RAID ensures that I can
just move it to new hardware and continue right on trucking.

 Keeping your ports up-to-date is a bigger concern, but things 
 like portaudit and the people working on submitting both 
 security warnings and patches to the ports help...

Indeed. I just got familiar with portaudit a few weeks ago, and I find
it quite handy.

Tks for your input.

Steve


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


Re: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-02 Thread Kris Kennaway
On Wed, Nov 02, 2005 at 09:07:25PM +, Chris Howells wrote:
 Hi,
 
 I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm very used to using 
 cvsup to upgrade between minor releases (IIRC the box was 4.9 or 4.10 
 originally) but a jump between major versions is scaring me a bit :)
 
 Has anybody done this recently. Were there any major problems other than 
 mentioned in UPDATING?

Worked smoothly for me.  You do need console access to boot to
single-user mode.  Don't forget to rebuild all your installed ports
afterwards too (portupgrade -fa or -faP).

Kris


pgp0lI2jJ85yF.pgp
Description: PGP signature


Re: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-02 Thread Erik Trulsson
On Wed, Nov 02, 2005 at 09:07:25PM +, Chris Howells wrote:
 Hi,
 
 I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm very used to using 
 cvsup to upgrade between minor releases (IIRC the box was 4.9 or 4.10 
 originally) but a jump between major versions is scaring me a bit :)
 
 Has anybody done this recently. Were there any major problems other than 
 mentioned in UPDATING?

In addition to UPDATING you should read
http://www.freebsd.org/releases/5.3R/migration-guide.html which details how
you should upgrade from 4.11 to 5.3.  I don't think there has been any
important changes between 5.3 and 5.4 in this regard.

 
 I don't particularly want to install from fresh if possible, due to the 
 hassle 
 of removing the server from the bottom of the pile (too poor to afford a 
 rack ;(), opening the case up and fitting a CD-ROM etc.
 
 -- 
 Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
 Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
 KDE/Qt/C++/PHP Developer: http://www.kde.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Insert your favourite quote here.
Erik Trulsson
[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: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-02 Thread Chris

Chris Howells wrote:

Hi,

I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm very used to using 
cvsup to upgrade between minor releases (IIRC the box was 4.9 or 4.10 
originally) but a jump between major versions is scaring me a bit :)


Has anybody done this recently. Were there any major problems other than 
mentioned in UPDATING?


I don't particularly want to install from fresh if possible, due to the hassle 
of removing the server from the bottom of the pile (too poor to afford a 
rack ;(), opening the case up and fitting a CD-ROM etc.




Hope this is not too obvious to mention but if your server has a floppy 
drive you could do a net install...


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


RE: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-02 Thread Steve Bertrand

 I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm 
 very used to using cvsup to upgrade between minor releases 
 (IIRC the box was 4.9 or 4.10
 originally) but a jump between major versions is scaring me a bit :)
 

Oddly enough, and a little OT, (but semi-within the topic) I'm trying to
update a 5.0 box to RELENG_5 right now with several different errors,
too many to mention (generally they occur after rebooting after my
installkernel. I can subsequently reboot off of kernel.old, as always).

Since this is only a data box (running Samba), I'm not too worried, as
I'll just reinstall...but I thought I'd throw it out there to see if
there is a better approach to this particular upgrade
(ie...incremental), as well as OP to get us both to STABLE.

Note I also have a real production box at the following with the same
issue, however, it's much more relied apon, so an upgrade as opposed to
rebuild solution would be nice:

FreeBSD pearl.ibctech.ca 4.11-STABLE FreeBSD 4.11-STABLE #4: Fri Jun 24
12:14:21 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PEARL
i386

Steve

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


Re: Upgrading 4.11-STABLE to 5.4-STABLE

2005-11-02 Thread Chuck Swiger

Steve Bertrand wrote:
I want to upgrade my 4.11-STABLE server to 5.4-STABLE. I'm 
very used to using cvsup to upgrade between minor releases 
(IIRC the box was 4.9 or 4.10

originally) but a jump between major versions is scaring me a bit :)


Oddly enough, and a little OT, (but semi-within the topic) I'm trying to
update a 5.0 box to RELENG_5 right now with several different errors,
too many to mention (generally they occur after rebooting after my
installkernel. I can subsequently reboot off of kernel.old, as always).


That's not surprising, if your kernel and userland are too far out of sync, 
lots of things won't work right like ps and ipfw and so forth.  If the kernel 
boots OK into single-user mode, it should be OK to do the installworld.


Anyway, you really don't want to stay with 5.0, even if it takes a reinstall 
from a 5.4 CD to get there  :-)



Since this is only a data box (running Samba), I'm not too worried, as
I'll just reinstall...but I thought I'd throw it out there to see if
there is a better approach to this particular upgrade
(ie...incremental), as well as OP to get us both to STABLE.

Note I also have a real production box at the following with the same
issue, however, it's much more relied apon, so an upgrade as opposed to
rebuild solution would be nice:

FreeBSD pearl.ibctech.ca 4.11-STABLE FreeBSD 4.11-STABLE #4: Fri Jun 24
12:14:21 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PEARL
i386


Take full backups before you do anything.  The thing is, there is nothing wrong 
with a 4.11 system, either, especially if it is a uni-processor machine.  For 
SMP hardware, I'd be tempted to jump directly to 6.0 or wait for 6.1, rather 
than move to the middle/end of the 5.x releases.


Keeping your ports up-to-date is a bigger concern, but things like portaudit 
and the people working on submitting both security warnings and patches to the 
ports help...


--
-Chuck

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