Config(8) Version = 400018 version req: 400019

Config(8) Version = 400018 version req: 400019

Post by Bloui » Fri, 10 May 2002 03:26:00



Hi,

I didn't install the ports package when I installed FreeBSD.

I went ahead and:

        1.)used the ports-supfile in the /usr/share/examples/cvsup/
        directory and cp ports-supfile /ports-supfile

        2.) changed my cvsup server to cvsup14.freebsd.org

        3.) hashed # ports-all

        4.) unhashed ports-base

        5.) mkdir /usr/sup THEN cp
        /usr/share/examples/cvsup/refuse.README /usr/sup/readme
        THEN deleted all the text and left all the lines in there
        without comments spaces or tabs in front.

        6.) cd / THEN cvsup -g -L 2 ports-supfile

A few minutes later it was done. I then realized I had NOT included
the:
        src-all

command in my ports-supfile so I went ahead and added src-all right
under the:

        *default release=cvs tag=.

and then did cvsup -g -L 2 /ports-supfile.

After about 30 minutes it was done... I cp
cp /usr/src/sys/i386/conf/GENERIC /OCBSD THEN edited it and deleted
what I didnt need.

I then cd /usr/src THEN make buildkernel KERNCONF=OCBSD and pressed
return.

I got the error config(8) version 400018: required version 400019 -
Kernel is out of sync with your config(8)

I then went ahead and tried

        pkg_add config
        pkg_add conf

Both came back with files not found or cannot access these files :(


stable-supfile found *default release=cvs tag=RELENG_4 so I went
ahead into my custom ports-supfile and changed:

        *default release=cvs tag=.

        TO

        *default release=cvs tag=RELENG_4

And after another 30-50 minutes it was DONE.

I went ahead and followed the make buildkernel KERNCONF=OCBSD...
SAME ERROR :( I then tried the old method and did /usr/sbin/config
OCBSD and I got ../../compile/OCBSD does not exist or got conf file
not in sync with kernel.

You guys told me NOT to re-install FreeBSD and I dont want to after
I got everything working nice and steady :`(```````````````

What did I do wrong and how can I fix this evil mistake? I waited
till everything was running SMOOTHLY and then finally yesterday
like at 8pm I tried to compile and build the KERNEL and it failed
with the error message up top... I have spent like HOURS AND HOURS
trying to figure it out...

Is there a way to reverse and go back to my old KERNEL without
having to re-install FreeBSD and losing everything you guys helped
me with :(

I even tried compiling the standard GENERIC kernel to see if I had
made a mistake setting up my custom KERNEL and still.. got the same
results as explained above...

Please Help me oh loyal red daemon followers!

BLouis

 
 
 

Config(8) Version = 400018 version req: 400019

Post by Bloui » Fri, 10 May 2002 03:33:58


Im sorry I found a few typos in my original post so they are here
fixed:

Quote:>    5.) mkdir /usr/sup THEN cp
>    /usr/share/examples/cvsup/refuse.README /usr/sup/readme

Correction 01: cp /usr/share/examples/cvsup/refuse.README
/usr/sup/refuse

Quote:

> I then went ahead and tried

>    pkg_add config
>    pkg_add conf

Correction 02:

        pkg_add -r config
        pkg_add -r conf

Quote:> Both came back with files not found or cannot access these files :(


 
 
 

Config(8) Version = 400018 version req: 400019

Post by Lowell Gilber » Fri, 10 May 2002 04:02:19



> After about 30 minutes it was done... I cp
> cp /usr/src/sys/i386/conf/GENERIC /OCBSD THEN edited it and deleted
> what I didnt need.

> I then cd /usr/src THEN make buildkernel KERNCONF=OCBSD and pressed
> return.

> I got the error config(8) version 400018: required version 400019 -
> Kernel is out of sync with your config(8)

You can't do a buildkernel on new source without a buildworld first.
See the FreeBSD handbook.
 
 
 

Config(8) Version = 400018 version req: 400019

Post by Bloui » Fri, 10 May 2002 06:13:52




>> I then cd /usr/src THEN make buildkernel KERNCONF=OCBSD and pressed
>> return.

> You can't do a buildkernel on new source without a buildworld first.
> See the FreeBSD handbook.

Ah... thanks a lot Lowell... such a simple answer...

I went ahead and entered:

        make buildworld

Oh man... this takes longer than downloading.... Im then going to
enter:

        make installworld

While this was going on I realized I could have just typed in

        make world

I will continue on and enter make installworld AFTER my make
buildworld finishes (93 minutes so far :/ ) and I will then
continue with the other steps on updating the kernel.

I will say what happens afterwards!

Thanks for the input Lowell,

BLouis

 
 
 

Config(8) Version = 400018 version req: 400019

Post by charo » Fri, 10 May 2002 12:32:55



> Is there a way to reverse and go back to my old KERNEL without
> having to re-install FreeBSD and losing everything you guys helped
> me with :(

        ls -slag /kernel.GENERIC        <-- check its still there

        chflags noschg /kernel
        mv /kernel /kernel.bak
        cp /kernel.GENERIC /kernel      <-- or kernel.old

        shutdown -r now

other stuff

        cvsup -g stable-supfile
        cd /usr/src
        make buildworld                  <-- these are the missing bits
        make installworld
        mergemaster
        cd /usr/src/sys/i386/conf
        cp GENERIC MYKERN
        vi MYKERN       <-- pull in values from LINT as required
        config -r MYKERN     <-- check for errors , read the messages
        cd ../../compile/MYKERN
        make depend && make && make install && make clean && shutdown -r now

        or (make depend <-- check for error, make <-- check for errors, etc etc)

--
A vacuum is a hell of a lot better than some of the stuff that nature
replaces it with.
                -- Tennessee Williams

 
 
 

Config(8) Version = 400018 version req: 400019

Post by Bloui » Fri, 10 May 2002 18:09:58


Charon,

Thank you very much for your detailed instructions.

I decided to try the new kernel source "once again" before I
re-verted to my old KERNEL.

After the 5th time (very time consuming - and as you can tell... im
VERY DETERMINED to get this to work) I realize that the make
buildworld fails at the /etc/sendmail section and fails with the
freebsd.cf file while its doing the .m4 function....

I get one more line saying (i think) chmod 444 /etc/sendmail then I
get my trusty ocbsd# prompt :(

Is this because sendmail is running or what gives? I know I did the
cvsup right because I followed the instructions in the handbook AND
the instructions given by Charon...

If its because sendmail IS running and I have to disable it... do I
have to do that in my rc.conf file or do I even have to disable it
at all?

I would appreciate some input on this... I have tried 5 times

sleep :(

Thanks in advance anyone that helps,

BLouis

Quote:

>> Is there a way to reverse and go back to my old KERNEL without
>> having to re-install FreeBSD and losing everything you guys helped
>> me with :(

>         ls -slag /kernel.GENERIC        <-- check its still there

>         chflags noschg /kernel
>         mv /kernel /kernel.bak
>         cp /kernel.GENERIC /kernel      <-- or kernel.old

>         shutdown -r now

> other stuff

>         cvsup -g stable-supfile
>         cd /usr/src
>         make buildworld                  <-- these are the missing bits
>         make installworld
>         mergemaster
>         cd /usr/src/sys/i386/conf
>         cp GENERIC MYKERN
>         vi MYKERN       <-- pull in values from LINT as required
>         config -r MYKERN     <-- check for errors , read the messages
>         cd ../../compile/MYKERN
>         make depend && make && make install && make clean && shutdown -r now

>         or (make depend <-- check for error, make <-- check for errors, etc etc)

 
 
 

Config(8) Version = 400018 version req: 400019

Post by Blue » Sat, 11 May 2002 03:37:22


After battlin' with this source upgrade I realized that the username

        smmsp

is needed for the new version of sendmail... which means that I have to
create the username or the 'make world' command fails miserably :(

Would using the:

        pkg_add -r sendmail

command take care of making the required user names for me?

Im sorry... I just had a "great night"... I misunderstood the handbook and
went ahead and copied the information in /usr/src/etc (master.passwd group)
and entered it into the files of the same name in my /etc directory.

When I rebooted my computer... my kernel wouldnt load :(

I had to re-install my FreeBSD because I didnt know how to get away from
booting back in... i tried everything I could think of for now :(

Could someone please point me in the right direction?

I would use /stand/sysinstall and enter the users manually... but I'm still
a little confused as to how to read the information provided in both
group & master.passwd files in the /usr/src/etc section.

How do I figure out what password to use and should I name the group smmsp
and the UID 25? I have been looking for info all over the place... the
handbook is very vague on the subject.

Would using the pkg_add -r sendmail command work?

Thanks

Blue

I realied I needed to create the user smmsp



> Charon,

> Thank you very much for your detailed instructions.

> I decided to try the new kernel source "once again" before I
> re-verted to my old KERNEL.

> After the 5th time (very time consuming - and as you can tell... im
> VERY DETERMINED to get this to work) I realize that the make
> buildworld fails at the /etc/sendmail section and fails with the
> freebsd.cf file while its doing the .m4 function....

> I get one more line saying (i think) chmod 444 /etc/sendmail then I
> get my trusty ocbsd# prompt :(

> Is this because sendmail is running or what gives? I know I did the
> cvsup right because I followed the instructions in the handbook AND
> the instructions given by Charon...

> If its because sendmail IS running and I have to disable it... do I
> have to do that in my rc.conf file or do I even have to disable it
> at all?

> I would appreciate some input on this... I have tried 5 times

> sleep :(

> Thanks in advance anyone that helps,

> BLouis

>>> Is there a way to reverse and go back to my old KERNEL without
>>> having to re-install FreeBSD and losing everything you guys helped
>>> me with :(

>>         ls -slag /kernel.GENERIC        <-- check its still there

>>         chflags noschg /kernel
>>         mv /kernel /kernel.bak
>>         cp /kernel.GENERIC /kernel      <-- or kernel.old

>>         shutdown -r now

>> other stuff

>>         cvsup -g stable-supfile
>>         cd /usr/src
>>         make buildworld                  <-- these are the missing bits
>>         make installworld
>>         mergemaster
>>         cd /usr/src/sys/i386/conf
>>         cp GENERIC MYKERN
>>         vi MYKERN       <-- pull in values from LINT as required
>>         config -r MYKERN     <-- check for errors , read the messages
>>         cd ../../compile/MYKERN
>>         make depend && make && make install && make clean && shutdown -r now

>>         or (make depend <-- check for error, make <-- check for errors, etc etc)

 
 
 

Config(8) Version = 400018 version req: 400019

Post by Bloui » Sat, 11 May 2002 15:48:11




>>>         ls -slag /kernel.GENERIC        <-- check its still there

>>>         chflags noschg /kernel
>>>         mv /kernel /kernel.bak
>>>         cp /kernel.GENERIC /kernel      <-- or kernel.old

>>>         shutdown -r now

>>> other stuff

>>>         cvsup -g stable-supfile
>>>         cd /usr/src
>>>         make buildworld                  <-- these are the missing bits
>>>         make installworld
>>>         mergemaster
>>>         cd /usr/src/sys/i386/conf
>>>         cp GENERIC MYKERN
>>>         vi MYKERN       <-- pull in values from LINT as required
>>>         config -r MYKERN     <-- check for errors , read the messages
>>>         cd ../../compile/MYKERN
>>>         make depend && make && make install && make clean && shutdown -r now

>>>         or (make depend <-- check for error, make <-- check for errors, etc etc)

I figured out my misake! I was doing everything right... except
that I was NOT using FreeBSD 4.5 - RELEASE. I was using FreeBSD 4.4
- RELEASE which had a different setup for sendmail and was making
my make installworld fail. Man... I swear... hey... lots of reading
and 27 hours later (hahaha)... and I did it finally.

I ended up downloading the FreeBSD 4.5-Release Mini ISO and
installed it on from the internet and everything works just fine. I
was trying to figure out why it wasn't working on the 4.4-Release.

Anyways thanks a lot peeps... I'm sure you guys were as confused as
I was because I said I was using 4.5 and was actually on 4.4.

:)~~~~~~~~~~~~~~~~~~

BLouis

- Show quoted text -

 
 
 

Config(8) Version = 400018 version req: 400019

Post by Chuck Swige » Fri, 17 May 2002 03:56:55



> After battlin' with this source upgrade I realized that the username

>    smmsp

> is needed for the new version of sendmail... which means that I have to
> create the username or the 'make world' command fails miserably :(

> Would using the:

>    pkg_add -r sendmail

> command take care of making the required user names for me?

Try running 'mergemaster'-- it will (or should) take care of adding the
required user and group for smmsp.

Quote:> How do I figure out what password to use and should I name the group smmsp
> and the UID 25? I have been looking for info all over the place... the
> handbook is very vague on the subject.

Yes, you probably should use a UID and GID of 25 for consistencies' sake.  But
you don't need to give the 'smmsp' user a valid password or shell for sendmail
to work, if you want to add them by hand.

-Chuck


       -------------+-------------------+-----------------------------------
       "The human race's favorite method for being in control of the facts
        is to ignore them."  -Celia Green