LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-15-2004, 09:40 AM   #16
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30

I have attempted to make buildworldw however BSD errored out... this time with error code 1. I am now running make kernel and all seems to be happy so far... I'm assuming that this will bring me back to rebooting and running emergemaster again. Is this correct?

Should this be the case, can someone please let me know the best way to do this in terms of what I actually need to keep/merge? I stongly feel this is where the problem occurred.

Thanks again for the help from everyone. Your help has been unfallable.

Gsee
 
Old 09-15-2004, 10:32 AM   #17
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
I guess I spoke too soon. The make kernel went for quite a while but then errored out around the
install: wheel: Invalid argument section... which is actually the same place as the buildworld was complaining about. Is there a way I can just scrap this section and re build it completely?
 
Old 09-15-2004, 01:05 PM   #18
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Delete /usr/src/* and cvsup the supfile for the stable OS as you did before. Skip mergemaster and do;

Configure your supfiles.
cvsup -g L2 <os supfile>

make buildworld
make kernel
<reboot>
make installworld

Post results.

That will get the generic kernel. Once that's working, you can configure the kernel if needed.
 
Old 09-16-2004, 01:35 AM   #19
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
For future readers of this thread, -X- (I think) meant for a space a between 'L' and '2'

Gsee
 
Old 09-16-2004, 05:29 AM   #20
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
-L is just another command line parameter for showing various levels of text output listing. Use as -L 2 or -L2, or just leave it out completely.

To see how it works, sup your docs as
cvsup -g <doc sup file>
You'll see some text response. Now that your docs are uptodate, you can see how cvsup -L works. Do the following commands and watch the output.

cvsup -g -L2 <doc supfile>
cvsup -g -L 2 <doc supfile>
You'll see the same output.

cvsup -g -L0 <doc supfile> (that is a zero)
cvsup -g -L 0 <doc supfile> (that is a zero)
You'll see no output.

cvsup -g <doc supfile>
The text output amount is between -L0 and -L2, which is -L1, the default.

Last edited by -X-; 09-16-2004 at 05:40 AM.
 
Old 09-16-2004, 08:54 AM   #21
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
I still received the error

mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/i386/usr/include
mtree: line 6: unknown group wheel
*** Error code 1


Stop in /usr/src.

As per suggestion I the 'base' folder and /usr/src

Any further ideas?

Gsee
 
Old 09-16-2004, 12:08 PM   #22
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
This is a test.. right?

err..... (growling here now....)

You completely remove everything in /usr/src/, as rm -rf /usr/src/* ?

Post your supfile you used for the cvsup <os supfile>
Don't post comments, lines starting with #, and such.

Post your make.conf, just the stuff used, no comments.

Are you performing this as root?

I think you've done something during mergemaster...
If you've done some naughty things, you may need to start all over.

Post your /etc/group file.
 
Old 09-16-2004, 05:51 PM   #23
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
I'm not able to get the files until tonight/this evening (about 10 hours from now). When I get there I shall post the files as per your request. I'm VERY sure I've done something during the mergemaster process, is there anyway of scrapping what was done there? If this is going to go for too much longer I"ll rebuild the server... again and try it then. What am/was I supposed to do during the mergemaster? I tried reading up on it but couldn't really make much sense of what was written. I don't mind persevering with the problems and helping everyone find a way to fix it for later reference, but if it would just be easier and more agreeable to everyone I don't mind rebuilding. Thanks again for your continual help.

Gsee
 
Old 09-17-2004, 07:39 PM   #24
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
Ok, I bit the bullet and have re-installed BSD. This time I'll not be doing the mergemaster. In such a case, what will I need to do to compensate not running mergemaster?

Gsee
 
Old 09-18-2004, 04:19 AM   #25
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
On your clean system, skipping mergemaster will be okay.

I know you were ready to get down the road on this. I was looking into your last problem and the source of the problem. It looked like the source was looking for gname=wheel. The wheel group may have been remove when you were doing the mergemaster. Who knows, adding wheel may have fixed the problem, or could have produced additional problems.
 
Old 09-22-2004, 09:33 PM   #26
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
Finally I have had the time to rebuild and update my FreeBSD 5.2.1 box. I have followed these steps as listed at the top of page 2 of this thread:

"Configure your supfiles.
cvsup -g L2 <os supfile>

make buildworld
make kernel
<reboot>
make installworld"

I was asked to post my results. My results as far as I'm concerned are that it worked, there were no errors and the best thing... it still boots!! What other results were you wanting?

Gsee
 
Old 09-23-2004, 06:32 AM   #27
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Just to see if you are up. Thanks.
 
Old 09-23-2004, 09:34 AM   #28
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
Ok... well, it looks like everything is fine - there seems to be a problem with Samba in that there were only half the files in the ports folder - so I downloaded it and extracted it... now I can't find where it went... this is something I should be able to sort out though..

My last question is: In future instances, what do I need to do to do the cvsup? is the mergemaster necessary? If so, what am I supposed to do during that process?

Thank you again for all your unfailing help! Very very much appreciated!!

Gsee
 
Old 10-08-2004, 06:53 PM   #29
Gsee
Member
 
Registered: Mar 2004
Location: Australia
Distribution: FreeBSD, OpenBSD, Gentoo, Debian
Posts: 153

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Gsee

My last question is: In future instances, what do I need to do to do the cvsup? is the mergemaster necessary? If so, what am I supposed to do during that process?
Hi guys, sorry to bug you again with this one. I've been reading up on the mergemaster process but can't see what I did wrong the first time. Is there any chance I can get a simple explanation as to what should happen or what I need to do?

The server has been running great (up until the power failure - but even that was relatively painless - just a long fsck process). But I'm wanting to know what I need to do for the cvsup merge and what overall process I should follow when it isn't on a "clean install"

Thanks again guys.

Gsee
 
Old 10-08-2004, 08:19 PM   #30
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
There's no idea what went wrong. Just read the Handbook and follow the steps.

Make a backup of /etc /home /usr/local/etc first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 09:58 PM
Error creating make file for knoda ?????? glenn69 Linux - Newbie 4 08-25-2004 05:08 PM
Changing Gentoo's make.conf file jiggywiggy Linux - Newbie 2 02-07-2004 05:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
creating a valid modules.conf file qanopus Linux From Scratch 4 04-18-2003 02:45 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration