Re: How to repair a system?

2004-04-24 Thread Peter Ulrich Kruppa
On Fri, 23 Apr 2004, Daan Hoogland wrote:

>
> On 23-apr-04, at 17:01, Peter Ulrich Kruppa wrote:
>
> > On Fri, 23 Apr 2004, Daan Hoogland wrote:
> >
> >> Once again,...
> >>
> >> I have a system on which make buildworld won't work.
> > Why doesn't it work?

I cvsup'ed and rebuild my -CURRENT last night and didn't see any
errors this morning. So, if your problem persists, you should
mail [EMAIL PROTECTED] and ask them. A missing subdirectory
shouldn't be a big thing to repair.

Regards,

Uli.
>
> crunchgen: make error: cd: can't cd to
> /usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/spanish
>
> crunchgen: make error: cd: can't cd to
> /usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian
>
> Run "make -f rescue.mk" to build crunched binary.
> *** Error code 1
>
> Stop in /usr/5.2/src/rescue/rescue.
> *** Error code 1
>
> Stop in /usr/5.2/src/rescue.
> *** Error code 1
>
> Stop in /usr/5.2/src.
> *** Error code 1
>
> Stop in /usr/5.2/src.
> *** Error code 1
>
> Stop in /usr/5.2/src.
>
> I include text from an earlier posting here:
>
> On 29-mrt-04, at 11:36, Odhiambo Washington wrote:
>
> > * Daan Hoogland <[EMAIL PROTECTED]> [20040329 11:56]: wrote:
> >> ls,
> >>
> >> I am building the cvs version of freebsd on a openbrick machine. My
> >> present installation is a 5.0 version with a broken su. su - gives a
> >> bus error. When i throw away usr/obj and usr/src, cvsup all possible
> >> things, and do a make build world, the machine works for a day or so
> >> and then stops. First I had with the following messages:
> >
> >
> > Don't run -CURRENT.
> > Use RELENG_5_2 for cvsup.
>
> After another day of tiring waiting I can say that this approach makes
> no difference, except that I now get the first error again:
>
> crunchgen: make error: cd: can't cd to
> /usr/obj/usr/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian
>
> Run "make -f rescue.mk" to build crunched binary.
> *** Error code 1
>
> as before: Some other languages preceding and some levels of nested
> makes following.
>
>
> > I am asking this, because this would probably be the simpliest
> > way to do an unattended upgrade.
> >
> > Uli.
> >
> >> I am thinking of
> >> doing a binary install on the system, but my only access to the system
> >> is ssh. So I am thinking of copying an image over and running
> >> sysinstall to install a new set of binaries and libraries.
> >>
> >> Can this be done?
> >> Is it the way to go?
> >> What image should I use?
> >> (Where to find sysinstall on it?)
> >>
> >> a.i.v.d,
> >>
> >> D.A.A.N.
> >>
> >> ___
> >> [EMAIL PROTECTED] mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
> >>
> >
> > +---+
> > |Peter Ulrich Kruppa|
> > | Wuppertal |
> > |  Germany  |
> > +---+
> >
> >
> a.i.v.d,
>
> D.A.A.N.
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to repair a system?

2004-04-23 Thread Daan Hoogland
On 23-apr-04, at 17:01, Peter Ulrich Kruppa wrote:

On Fri, 23 Apr 2004, Daan Hoogland wrote:

Once again,...

I have a system on which make buildworld won't work.
Why doesn't it work?
crunchgen: make error: cd: can't cd to 
/usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/spanish

crunchgen: make error: cd: can't cd to 
/usr/obj/usr/5.2/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian

Run "make -f rescue.mk" to build crunched binary.
*** Error code 1
Stop in /usr/5.2/src/rescue/rescue.
*** Error code 1
Stop in /usr/5.2/src/rescue.
*** Error code 1
Stop in /usr/5.2/src.
*** Error code 1
Stop in /usr/5.2/src.
*** Error code 1
Stop in /usr/5.2/src.

I include text from an earlier posting here:

On 29-mrt-04, at 11:36, Odhiambo Washington wrote:

* Daan Hoogland <[EMAIL PROTECTED]> [20040329 11:56]: wrote:
ls,

I am building the cvs version of freebsd on a openbrick machine. My
present installation is a 5.0 version with a broken su. su - gives a
bus error. When i throw away usr/obj and usr/src, cvsup all possible
things, and do a make build world, the machine works for a day or so
and then stops. First I had with the following messages:


Don't run -CURRENT.
Use RELENG_5_2 for cvsup.
After another day of tiring waiting I can say that this approach makes 
no difference, except that I now get the first error again:

crunchgen: make error: cd: can't cd to 
/usr/obj/usr/src/rescue/rescue/../../contrib/tcsh/nls/ukrainian

Run "make -f rescue.mk" to build crunched binary.
*** Error code 1
as before: Some other languages preceding and some levels of nested 
makes following.


I am asking this, because this would probably be the simpliest
way to do an unattended upgrade.
Uli.

I am thinking of
doing a binary install on the system, but my only access to the system
is ssh. So I am thinking of copying an image over and running
sysinstall to install a new set of binaries and libraries.
Can this be done?
Is it the way to go?
What image should I use?
(Where to find sysinstall on it?)
a.i.v.d,

D.A.A.N.

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

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+

a.i.v.d,

D.A.A.N.

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


Re: How to repair a system?

2004-04-23 Thread Peter Ulrich Kruppa
On Fri, 23 Apr 2004, Daan Hoogland wrote:

> Once again,...
>
> I have a system on which make buildworld won't work.
Why doesn't it work?
I am asking this, because this would probably be the simpliest
way to do an unattended upgrade.

Uli.

> I am thinking of
> doing a binary install on the system, but my only access to the system
> is ssh. So I am thinking of copying an image over and running
> sysinstall to install a new set of binaries and libraries.
>
> Can this be done?
> Is it the way to go?
> What image should I use?
> (Where to find sysinstall on it?)
>
> a.i.v.d,
>
> D.A.A.N.
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to repair a system?

2004-04-23 Thread Matthew Seaman
On Fri, Apr 23, 2004 at 09:27:04AM +0200, Daan Hoogland wrote:

> I have a system on which make buildworld won't work. I am thinking of 
> doing a binary install on the system, but my only access to the system 
> is ssh. So I am thinking of copying an image over and running 
> sysinstall to install a new set of binaries and libraries.

I would strongly advise you not to attempt doing something like this
remotely over ssh(1).  Chances are what will happen is the machine
will crash and end up in an unbootable state.

In order to upgrade a system you really have to have access to the
system console.  That means either you have to be right in front of
the machine, or you have to use a serial console either with a console
server or by connecting it via a null-modem cable to a nearby machine.
 
> Can this be done?

Probably not.  

> Is it the way to go?

Not if your job or your company depends on it.  Not unless you enjoy pain.

> What image should I use?

Well, the choice at the moment would seem to be 4.9-RELEASE, 4.10-RC1
or 5.2.1-RELEASE.  If you can wait for a few weeks, 4.10-RELEASE will
be available.  That is what I'd go for first on a machine being used
as a serious server.  However, 5.2.1-RELEASE while still a developer
preview is getting well on the way towards stability.  You might need
it if you have hardware unsupported under 4.x.

> (Where to find sysinstall on it?)

Under 4.x it's in /stand/sysinstall

Under 5.x it's in /usr/sbin/sysinstall

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


How to repair a system?

2004-04-23 Thread Daan Hoogland
Once again,...

I have a system on which make buildworld won't work. I am thinking of 
doing a binary install on the system, but my only access to the system 
is ssh. So I am thinking of copying an image over and running 
sysinstall to install a new set of binaries and libraries.

Can this be done?
Is it the way to go?
What image should I use?
(Where to find sysinstall on it?)
a.i.v.d,

D.A.A.N.

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