Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

On Thursday 07 August 2008 23:18:34 Marc Coyles wrote:
  

If i have read the man pages correct the command im using being ...

# freebsd-update upgrade -r 7.0-CURRENT
  

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade

followed eventually by...

# sh freebsd-update.sh -f freebsd-update.conf install

I have just upgraded a 6.2 box to 7.0 Release following the instructions
at
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html to the letter without issue (other than bind needing to be
reinstalled from ports afterwards)

L8rs!
Marci




# freebsd-update -r 7.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory

I then did a search for the sh file 

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
File does not exist or is not readable: freebsd-update.conf

freebsd-update is part of base system so there was no need to install it via 
the port etc .. or is there ?


  
no for versions of FreeBSD beyond 6.3 its in base and you dont need to 
install it seperately to upgrade between versions.

freebsd-update -r 7.1-RELEASE upgrade
seems to have an effect where 7.0-RELEASE no longer does. I have CCed 
freebsd-stable@ on this to see if anyone knows if this is intended or a 
mistake.



Vince


___
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: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
 no for versions of FreeBSD beyond 6.3 its in base and you dont need to
 install it seperately to upgrade between versions.
 freebsd-update -r 7.1-RELEASE upgrade
 seems to have an effect where 7.0-RELEASE no longer does. I have CCed
 freebsd-stable@ on this to see if anyone knows if this is intended or a
 mistake.


 Vince

# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

The getting of the public key seems to be the issue no matter how i go about 
trying to upgrade .. so my question now is, why is this and are there other 
mirror sites that can be used ?

Below is my Uname -a output if it has any relevance..

FreeBSD  6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug  7 17:32:22 EST 2008 
shinjii@:/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

no for versions of FreeBSD beyond 6.3 its in base and you dont need to
install it seperately to upgrade between versions.
freebsd-update -r 7.1-RELEASE upgrade
seems to have an effect where 7.0-RELEASE no longer does. I have CCed
freebsd-stable@ on this to see if anyone knows if this is intended or a
mistake.


Vince



# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

The getting of the public key seems to be the issue no matter how i go about 
trying to upgrade .. so my question now is, why is this and are there other 
mirror sites that can be used ?


Below is my Uname -a output if it has any relevance..

FreeBSD  6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug  7 17:32:22 EST 2008 
shinjii@:/usr/obj/usr/src/sys/GENERIC  amd64
  
No idea if the fact you are on a -STABLE branch will matter (it could 
well, the box I tried to use the 7.0-RELEASE tag on was a -STABLE box 
too,) but  my test seems to get different results to yours.
Possibly an issue with the freebsd-update servers/mirrors? more likely 
that it doesnt support upgrading from an arbitrary point in the -STABLE 
tree.


10:05:58 /usr/src/sys/i386/compile/LOBSTER) 0 # freebsd-update -r 
7.1-RELEASE upgrade

Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... 
done.

Fetching metadata index... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games
src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue
src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin
world/base world/catpages world/dict world/games world/info
world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
src/cddl src/compat world/doc

Does this look reasonable (y/n)? n
(10:06:53 /usr/src/sys/i386/compile/LOBSTER) 0 # uname -a
FreeBSD lobster.unsane.co.uk 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: 
Wed Jun 18 07:33:20 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



I would upgrade to a -RELEASE branch from source then try again.

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


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
 I would upgrade to a -RELEASE branch from source then try again.

 Vince


change my releng to 7 in the supfile and do a csup then do world  kernel and 
go from there ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

I would upgrade to a -RELEASE branch from source then try again.

Vince




change my releng to 7 in the supfile and do a csup then do world  kernel and 
go from there ?
  

RELENG_7_0  for the -RELEASE
7 is -STABLE

Vince

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
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: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
On Friday 08 August 2008 20:09:03 Vincent Hoffman wrote:
 Warren Liddell wrote:
  I would upgrade to a -RELEASE branch from source then try again.
 
  Vince
 
  change my releng to 7 in the supfile and do a csup then do world  kernel
  and go from there ?

 RELENG_7_0  for the -RELEASE
 7 is -STABLE

 Vince

csup running on 7_0 system all ready backed up so lets see how well this all 
goes.

Much tnxs to all who have supplied info on this, greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.x to 7.x

2008-08-07 Thread Warren Liddell
 The easiest way to do the upgrade (if you are using a GENERIC kernel) is
 to use Freebsd-update (http://www.daemonology.net/freebsd-update/)

 It's a pretty powerful tool which allows you to do binary updates for
 FreeBSD.

 To upgrade between major versions you would want to check out this page:
 http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
 .html.

If i have read the man pages correct the command im using being ...

# freebsd-update upgrade -r 7.0-CURRENT
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

Are there more mirrors or am i missing something here ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.x to 7.x

2008-08-07 Thread Vincent Hoffman

Warren Liddell wrote:

The easiest way to do the upgrade (if you are using a GENERIC kernel) is
to use Freebsd-update (http://www.daemonology.net/freebsd-update/)

It's a pretty powerful tool which allows you to do binary updates for
FreeBSD.

To upgrade between major versions you would want to check out this page:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html.



If i have read the man pages correct the command im using being ...

# freebsd-update upgrade -r 7.0-CURRENT
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

Are there more mirrors or am i missing something here ?
  
Yes, 7.0-CURRENT doesnt exist. freebsd-update will do releases (with 
updates) not -CURRENT or -STABLE

use 7.0-RELEASE instead (which will get you 7.0-RELEASE-p3)
looking in my command history i used
freebsd-update -r 7.0-RELEASE upgrade
freebsd-update -r 7.0-RELEASE install

Vince

___
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: Upgrading from 6.x to 7.x

2008-08-07 Thread Warren Liddell
On Thursday 07 August 2008 23:18:34 Marc Coyles wrote:
 If i have read the man pages correct the command im using being ...
 
 # freebsd-update upgrade -r 7.0-CURRENT

 # sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade

 followed eventually by...

 # sh freebsd-update.sh -f freebsd-update.conf install

 I have just upgraded a 6.2 box to 7.0 Release following the instructions
 at
 http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
 .html to the letter without issue (other than bind needing to be
 reinstalled from ports afterwards)

 L8rs!
 Marci


# freebsd-update -r 7.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory

I then did a search for the sh file 

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
File does not exist or is not readable: freebsd-update.conf

freebsd-update is part of base system so there was no need to install it via 
the port etc .. or is there ?

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


Upgrading from 6.x to 7.x

2008-08-06 Thread Warren Liddell
I have read a lot of ways an issues with upgrading to 7.x from 6.x ... the 
main place that seemd ot have someewhat simple guidelines was 
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt  .. however 
i wanted to know if that is the most simplest an efficent way to go about the 
process ?

The reason i ask as this machine is a production system and cant afford for 
any down time or in theory anything to break to cause down time in the 
system.

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


RE: Upgrading from 6.x to 7.x

2008-08-06 Thread Rudi Kramer - MWEB
 Warren Liddell 
 I have read a lot of ways an issues with upgrading to 7.x from 6.x ...
the
 main place that seemd ot have someewhat simple guidelines was
 http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt  ..
however
 i wanted to know if that is the most simplest an efficent way to go
about the
 process ?
 
 The reason i ask as this machine is a production system and cant
afford for
 any down time or in theory anything to break to cause down time in the
 system.
 
 Any thoughts etc are always welcomed.

We have upgraded quite a few FreeBSD 6.2 and 6.3 servers to 7.0 and the
only problems we've had have been caused by admin-input :-)

!!!ACHTUNG  DANGER!!! !!!GEWAAR !!! INKOZI

Any upgrade or patching can potentially lead to a non-functioning
server. The best way to do an upgrade is pre-test the upgrade on similar
hardware, same software and also the same FreeBSD version.

So load up a FreeBSD 6.2 server, install all the apps you use on your
production server  and then go through the upgrade steps and make sure
that everything is working before you go ahead with the live update.
This also gives you good practice. Backups are also essential in case
the sever dies and you need to get it back in a hurry.

Now back to updating:

The doc by Ralf looks very comprehensive but also very complicated; it
also differs slightly from the FreeBSD handbook.
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.htm
l)

The easiest way to do the upgrade (if you are using a GENERIC kernel) is
to use Freebsd-update (http://www.daemonology.net/freebsd-update/)

It's a pretty powerful tool which allows you to do binary updates for
FreeBSD. 

To upgrade between major versions you would want to check out this page:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html.


The second more difficult method which is recommended by the FreeBSD
handbook and slightly tweaked by me is as follows:

1) Get the latest source 

# cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/

2) Edit the supfile, replace CHANGE_THIS.FreeBSD.org with your closet
mirror
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CV
SUP-MIRRORS)

#csup /usr/local/etc/stable-supfile

3) less /usr/src/UPDATING and check for any warnings, notes, letters to
the editor etc.

4) Perform Update:

#  cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# reboot
# cd /usr/src
# mergemaster -p
# make installworld
# mergemaster - (all files except those that have been manually edited)
# reboot

!done!

If you have a custom kernel you would change Step #4 to the following:

#  cd /usr/src
# make -j10 buildworld
# make buildkernel KERNCONF=kernelname
# make installkernel KERNCONF=kernelname
# reboot
# cd /usr/src
# mergemaster -p
# make installworld
# mergemaster - all files except /etc/hosts, /etc/motd, /etc/passwd,
# reboot

!!done!!

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