Re: Fwd: upgrading remote server

2009-10-20 Thread Artifex Maximus
Hello!

On Mon, Oct 19, 2009 at 11:29 PM, John Almberg  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 way to do this is to go through the
> list, one by one, and either (1) delete unused ports or (2) upgrade ports
> that seem to need it.
>
> This is going to take quite a bit of time... am I missing something (other
> than the fact that I should have been doing this all along?)
>
>

That is a time consuming process indeed. Don't forget this is a major
version update. You must upgrade all ports because there is possibly some
change in library versions, API or any other part of system. Might use:

portmaster -a -f

which direct portmaster to process all ports and force rebuild of all ports.
And again read /usr/src/UPGRADING and /usr/ports/UPGRADE for more
information.

Bye,
a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fwd: upgrading remote server

2009-10-19 Thread Adam Vande More
On Mon, Oct 19, 2009 at 4:29 PM, John Almberg  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 way to do this is to go through the
> list, one by one, and either (1) delete unused ports or (2) upgrade ports
> that seem to need it.
>
> This is going to take quite a bit of time... am I missing something (other
> than the fact that I should have been doing this all along?)


man portmaster


>
>
> -- John
>
>


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 unused ports or (2) upgrade 
ports that seem to need it.


This is going to take quite a bit of time... am I missing something 
(other than the fact that I should have been doing this all along?)


-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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:


--
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
===> lib (install)
===> lib/csu/amd64 (install)
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
install: crt1.o: No such file or directory
*** Error code 71

Stop in /usr/src/lib/csu/amd64.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
#


Ah well, tomorrow is another day!

-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 strictly necessary.  If you're the only 
person on it, it certainly should be fine to boot multi-user after 
installing the new kernel.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fwd: upgrading remote server

2009-10-18 Thread Paul Schmehl
--On October 18, 2009 6:53:04 PM -0400 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.

It looks like only one file system is mounted... nothing in /usr for
instance. I should be able to figure out how to mount the others, but my
brain is done for today. Will tackle this fresh tomorrow, but good
progress, I think!


After you boot into single user mode, type mount -a.  Then cd to /usr/src 
and run mergemaster -p.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 
instance. I should be able to figure out how to mount the others, but my 
brain is done for today. Will tackle this fresh tomorrow, but good 
progress, I think!


Thank goodness for that serial port thingy... not sure how I would have 
booted into single user mode, otherwise.


-- John




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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.


Can I make a 7.2 kernel using this 6.3 custom kernel configuration 
file? Or should I start with the 7.2 generic, and somehow customize it 
correctly?


I've been looking at the custom  configuration file... so far, I can 
see that it:


1. adds PF to the kernel
2. deletes unneeded drivers, like unused RAID cards and unused serial 
interfaces.


Or should I just try the GENERIC kernel, and maybe just add PF to it?

The 7.2 GENERIC kernel includes PF, but not ALTQ.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 kernel using this 6.3 custom kernel configuration file? 
Or should I start with the 7.2 generic, and somehow customize it correctly?


I've been looking at the custom  configuration file... so far, I can see 
that it:


1. adds PF to the kernel
2. deletes unneeded drivers, like unused RAID cards and unused serial 
interfaces.


Or should I just try the GENERIC kernel, and maybe just add PF to it?

-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fwd: upgrading remote server

2009-10-18 Thread Paul Schmehl
--On October 18, 2009 7:02:34 PM +0100 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...



Google IPKVM.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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:

http://www.digi.com/products/serialservers/portservertsmei.jsp#overview

Basically, this box needs its own internet connection. You can ssh into 
it. I think it has some sort of embedded Linux system.


Then the box has two serial port connectors -- this is a real rs-232 
type interface, that most servers have, but hardly any desktops have 
anymore.


You plug the serial connector into the computer and that's it. Knock on 
wood, I've never needed it, but I bought it for just this sort of thing.


My build-world is finally done, so going to see if it works, now...

-- John

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 had servers housed in a different data center a few years back, I
had good luck with APC PDU units (http://bit.ly/TQHjv) to remotely
power-cycle servers, and I also used a serial console server like one of
these: http://bit.ly/uoptY

This way, if you kill your network interface on a server, you still have
a way to get in and fix it without physically traveling to the data center.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK21q/0sRouByUApARAg89AJ0Wg9HLH18eDQdDKGzQd+AewqRi2ACfXtjX
3noLHY8iHn9c+1tkkGFs2lI=
=QNQl
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 :
>>> 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 additional
>> information.
>
> Updating the source tree was no problem. So far so good. I'm running 'make
> buildworld' right now.
>
> Luckily I have a remote serial port thingy, so I should be able to login to
> the box, even if ssh doesn't come up after reboot.
>
> Pretty interesting, though I'd be a lot more nervous if this box had live
> applications running... Which is why it was still on 6.2!
>
> Hopefully after this I'll feel more comfortable doing major upgrades,
> instead of just running freebsd-update.
>
> -- John
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>



--
() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions



-- 
() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"