Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Hi folks, If I understand the process of upgrading FreeeBSD correctly, after running: make buildworld make buildkernel make installkernel I then need to reboot into single user mode (which can only be done if I'm physically standing at the machine, right?), and then finally: adjkerntz -i

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 5:03 PM, Ed Flecko wrote: Hi folks, If I understand the process of upgrading FreeeBSD correctly, after running: make buildworld make buildkernel make installkernel I then need to reboot into single user mode (which can only be done if I'm physically standing at the

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? 2.) How do I rebuild the ports? Ed ___ freebsd-questions@freebsd.org mailing

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Rebooting single user ensures that most daemons aren't launched, as well as

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Dropping into single user mode is highly recommended especially if you're upgrading from, say, 8.1 to 8.2 (a minor version upgrade). If

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Patrick Gibson
If you're using a fairly recent version of FreeBSD, why not just use the built-in freebsd-update? freebsd-update upgrade -r 8.2-RELEASE freebsd-update install reboot freebsd-update install Patrick On Wed, Mar 2, 2011 at 8:03 AM, Ed Flecko edfle...@gmail.com wrote: Hi folks, If I understand

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Ed Flecko
Patrick, It's my understanding that if you have a custom kernel, you can't use the binary update method. Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Lowell Gilbert
Damien Fleuriot m...@my.gd writes: On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Rebooting single user ensures that

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 6:56 PM, Patrick Gibson wrote: If you're using a fairly recent version of FreeBSD, why not just use the built-in freebsd-update? freebsd-update upgrade -r 8.2-RELEASE freebsd-update install reboot freebsd-update install Patrick freebsd-update works only with GENERIC

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Warren Block
On Wed, 2 Mar 2011, Damien Fleuriot wrote: Dropping to single user is not strictly necessary, in fact I never do. buildworld buildkernel installkernel reboot mergemaster -p installworld mergemaster -F rebuild your ports reboot Some of these steps are best practices. If you're lucky and

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Damien Fleuriot
On 3/2/11 7:07 PM, Lowell Gilbert wrote: Damien Fleuriot m...@my.gd writes: On 3/2/11 5:15 PM, Ed Flecko wrote: Thanks Damien. :-) Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this?

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread David Brodbeck
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Lowell Gilbert
Damien Fleuriot m...@my.gd writes: On 3/2/11 7:07 PM, Lowell Gilbert wrote: I do this all the time too, but if the new kernel doesn't boot, you end up in more trouble than needing an extra reboot. The reboot part is definitely important -- you can reboot into multiuser mode and do the

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Roland Smith
On Wed, Mar 02, 2011 at 05:20:33PM +0100, Damien Fleuriot wrote: 2.) How do I rebuild the ports? Either you rebuild them by hand, one after another... It kind of depends what kind of upgrade you are doing. When upgrading to another minor version (say from 8.1 to 8.2) no port rebuilds

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 5:18 PM, Nerius Landys nlan...@gmail.com wrote: On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy,

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0 in FreeBSD) and is powered whenever the power cord is plugged-in. As

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Maxim Khitrov
On Wed, Mar 2, 2011 at 7:10 PM, Nerius Landys nlan...@gmail.com wrote: I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0

Re: Fwd: upgrading remote server

2009-10-20 Thread Artifex Maximus
Hello! On Mon, Oct 19, 2009 at 11:29 PM, John Almberg jalmb...@identry.com wrote: Okay! After a lot of googling/reading I successfully upgraded to 7.2, now I'm trying to upgrade ports... I ran portmaster -L and got a long list of ports that need upgrading... From my reading, it seems like

Re: Fwd: upgrading remote server

2009-10-19 Thread John Almberg
Okay! After a lot of googling/reading I successfully upgraded to 7.2, now I'm trying to upgrade ports... I ran portmaster -L and got a long list of ports that need upgrading... From my reading, it seems like the only way to do this is to go through the list, one by one, and either (1) delete

Re: Fwd: upgrading remote server

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:29 PM, John Almberg jalmb...@identry.com wrote: Okay! After a lot of googling/reading I successfully upgraded to 7.2, now I'm trying to upgrade ports... I ran portmaster -L and got a long list of ports that need upgrading... From my reading, it seems like the only

upgrading remote server

2009-10-18 Thread John Almberg
I just reinstalled a server that was out for repair. It's on the network in the data center, but no applications are running on it, yet. I thought this would be a perfect time to upgrade the OS. It's currently running 6.2 Release, I want to bring it up to 7.2 Release. I'd like to do this

Re: upgrading remote server

2009-10-18 Thread Artifex Maximus
Hello! On Sun, Oct 18, 2009 at 5:08 PM, John Almberg jalmb...@identry.com wrote: I've been reading the upgrade chapter in Absolute FreeBSD, and it seems like the best option is to download the source files for 7.2 and upgrade from sources. I've done it several times via ssh between major

Re: upgrading remote server

2009-10-18 Thread John Almberg
I've been reading the upgrade chapter in Absolute FreeBSD, and it seems like the best option is to download the source files for 7.2 and upgrade from sources. I've done it several times via ssh between major and minor versions without any problems. You should read /usr/src/UPDATING for any

Fwd: upgrading remote server

2009-10-18 Thread Jeronimo Calvo
quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh... 2009/10/18 John Almberg jalmb...@identry.com: I've been reading the upgrade chapter in

Re: Fwd: upgrading remote server

2009-10-18 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeronimo Calvo wrote: quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh... Hi Jeronimo, When I

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
Jeronimo Calvo wrote: quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh... I had to look it up... Here's what I have:

Re: Fwd: upgrading remote server

2009-10-18 Thread Paul Schmehl
--On October 18, 2009 7:02:34 PM +0100 Jeronimo Calvo jeronimocal...@googlemail.com wrote: quiet interesting that serial port thingy! do you know the name of it btw? I will be interested to install on of them... and start saving some money going to my office :D when i can not use even ssh...

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
My build-world is finally done, so going to see if it works, now... H'mmm... I have a question about the kernel configuration file... I am currently using a customer kernel. Unfortunately, this machine was installed by someone before my time, so I don't know the details. Can I make a 7.2

Re: Fwd: upgrading remote server

2009-10-18 Thread LoH
John Almberg wrote: My build-world is finally done, so going to see if it works, now... H'mmm... I have a question about the kernel configuration file... I am currently using a customer kernel. Unfortunately, this machine was installed by someone before my time, so I don't know the details.

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
The 7.2 GENERIC kernel includes PF, but not ALTQ. Okay, that's good to know. Thanks. Well, I was able to boot the new kernel in single user mode, but when I tried to run mergemaster -p, it couldn't find mergemaster. It looks like only one file system is mounted... nothing in /usr for

Re: Fwd: upgrading remote server

2009-10-18 Thread Paul Schmehl
--On October 18, 2009 6:53:04 PM -0400 John Almberg jalmb...@identry.com wrote: The 7.2 GENERIC kernel includes PF, but not ALTQ. Okay, that's good to know. Thanks. Well, I was able to boot the new kernel in single user mode, but when I tried to run mergemaster -p, it couldn't find

Re: Fwd: upgrading remote server

2009-10-18 Thread Warren Block
On Sun, 18 Oct 2009, John Almberg wrote: The 7.2 GENERIC kernel includes PF, but not ALTQ. Okay, that's good to know. Thanks. Well, I was able to boot the new kernel in single user mode, but when I tried to run mergemaster -p, it couldn't find mergemaster. Booting to single-user isn't

Re: Fwd: upgrading remote server

2009-10-18 Thread John Almberg
After you boot into single user mode, type mount -a. Then cd to /usr/src and run mergemaster -p. This worked, thanks. mergemaster -p then ran fine with no errors, but when I tried 'make installworld', it stopped on this error: --