error when doing make installworld
Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! So I rebooted again into multi-user mode and here I tried the mergemaster -p but it failed with: === lib/libcom_err/doc (install) lockf -k /usr/share/info/dir install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install -o root -g wheel -m 444 com_err.info.gz /usr/share/info === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** 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. [EMAIL PROTECTED] /usr/src]# So, what to do now??? O yeah, I've been running my system from securelevel=3, so maybe that has something to do with this also. Any help will be appreciated... (Yes, it's Christmas eve, I know, but hey that gives me a lot of time to check things out). Thanks ps is this bad? Should I start evacuate all my important files while I'm still able to? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when doing make installworld
On Sunday 24 December 2006 07:46, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! The filesystem is not mounted in single user mode. You need to do a mount -a which will read /etc/fstab and mount the slices. After that you can cd normally. Also, you should not do a make installworld in multi-user. You should do that step in single user before you run mergemaster. Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point. Believe me I've been there. Beech So I rebooted again into multi-user mode and here I tried the mergemaster -p but it failed with: === lib/libcom_err/doc (install) lockf -k /usr/share/info/dir install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install -o root -g wheel -m 444 com_err.info.gz /usr/share/info === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** 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. [EMAIL PROTECTED] /usr/src]# So, what to do now??? O yeah, I've been running my system from securelevel=3, so maybe that has something to do with this also. Any help will be appreciated... (Yes, it's Christmas eve, I know, but hey that gives me a lot of time to check things out). Thanks ps is this bad? Should I start evacuate all my important files while I'm still able to? -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpErUZljsqAI.pgp Description: PGP signature
Re: error when doing make installworld
Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else becuase of your quote: Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point Unquote How am I able to find out if the new kernel will boot then? Because I have done this a few times alreadybut I don't like to be biten:-) A nice Christmas eve too:-) Dino --- Beech Rintoul [EMAIL PROTECTED] wrote: On Sunday 24 December:46, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! The filesystem is not mounted in single user mode. You need to do a mount -a which will read /etc/fstab and mount the slices. After that you can cd normally. Also, you should not do a make installworld in multi-user. You should do that step in single user before you run mergemaster. Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point. Believe me I've been there. Beech So I rebooted again into multi-user mode and here I tried the mergemaster -p but it failed with: === lib/libcom_err/doc (install) lockf -k /usr/share/info/dir install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install -o root -g wheel -m 444 com_err.info.gz /usr/share/info === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** 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. [EMAIL PROTECTED] /usr/src]# So, what to do now??? O yeah, I've been running my system from securelevel=3, so maybe that has something to do with this also. Any help will be appreciated... (Yes, it's Christmas eve, I know, but hey that gives me a lot of time to check things out). Thanks ps is this bad? Should I start evacuate all my important files while I'm still able to? -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when doing make installworld
On Sunday, 24 December, 2006 at 08:46:15 -0800, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! Probably because /usr wasn't mounted. Try mount -a and then cd /usr/src Cheers, Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error when doing make installworld
On Sunday 24 December 2006 09:00, Dino Vliet wrote: Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else becuase of your quote: Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point Unquote How am I able to find out if the new kernel will boot then? Because I have done this a few times alreadybut I don't like to be biten:-) A nice Christmas eve too:-) Dino --- Beech Rintoul [EMAIL PROTECTED] wrote: On Sunday 24 December:46, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! The filesystem is not mounted in single user mode. You need to do a mount -a which will read /etc/fstab and mount the slices. After that you can cd normally. Also, you should not do a make installworld in multi-user. You should do that step in single user before you run mergemaster. Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point. Believe me I've been there. Beech So I rebooted again into multi-user mode and here I tried the mergemaster -p but it failed with: === lib/libcom_err/doc (install) lockf -k /usr/share/info/dir install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install -o root -g wheel -m 444 com_err.info.gz /usr/share/info === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** 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. [EMAIL PROTECTED] /usr/src]# So, what to do now??? O yeah, I've been running my system from securelevel=3, so maybe that has something to do with this also. Any help will be appreciated... (Yes, it's Christmas eve, I know, but hey that gives me a lot of time to check things out). Thanks ps is this bad? Should I start evacuate all my important files while I'm still able to? The proper way is: make buildworld make kernel (KERNCONF=YOURKERNEL) if custom reboot to single user If the new kernel doesn't boot reboot and hit the space bar at the boot prompt boot kernel.old If the new kernel boots OK mount -a cd /usr/src make installworld mergemaster exit The main thing is you don't want to install the new userland before finding out if the new kernel boots. If you install the userland it's very possible that your old kernel may not boot either. Then you're looking at re-installing the system so you can restore from backups. I've had to do that and while not hard, is very time consuming. Plus I lost everything between when I backed up and the date I restored. Also, please don't top post. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpFsf4b3g0fX.pgp Description: PGP signature
Re: error when doing make installworld
On Sunday 24 December 2006 16:42, Dino Vliet wrote: --- Beech Rintoul [EMAIL PROTECTED] wrote: On Sunday 24 December 2006 09:00, Dino Vliet wrote: Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else becuase of your quote: Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point Unquote How am I able to find out if the new kernel will boot then? Because I have done this a few times alreadybut I don't like to be biten:-) A nice Christmas eve too:-) Dino --- Beech Rintoul [EMAIL PROTECTED] wrote: On Sunday 24 December:46, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel kernconf=mykernel Normally I would then immediately follow this sequence with a mergemaster -p, make installworld and mergemaster -i and then reboot. However, this time I decided to check the handbook and saw that it recommended to do a boot into single user mode between the step -make installkernel kernconf=mykernel AND the step mergemaster -p. So I did it and when I rebooted and saw the beastie splash screen, I hit option 4. Then I had to press enter to get to the shell. When I did I noticed I couldn't cd into the /usr/src directory because the /usr/src directory was missing! The filesystem is not mounted in single user mode. You need to do a mount -a which will read /etc/fstab and mount the slices. After that you can cd normally. Also, you should not do a make installworld in multi-user. You should do that step in single user before you run mergemaster. Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point. Believe me I've been there. Beech So I rebooted again into multi-user mode and here I tried the mergemaster -p but it failed with: === lib/libcom_err/doc (install) lockf -k /usr/share/info/dir install-info --quiet --defsection=Programming development tools. --defentry=* libcom_err: (com_err).A Common Error Description Library for UNIX. com_err.info /usr/share/info/dir install -o root -g wheel -m 444 com_err.info.gz /usr/share/info === lib/libcrypt (install) install -C -o root -g wheel -m 444 libcrypt.a /usr/lib install -C -o root -g wheel -m 444 libcrypt_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libcrypt.so.3 /lib install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not permitted *** Error code 71 Stop in /usr/src/lib/libcrypt. *** 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. [EMAIL PROTECTED] /usr/src]# So, what to do now??? O yeah, I've been running my system from securelevel=3, so maybe that has something to do with this also. Any help will be appreciated... (Yes, it's Christmas eve, I know, but hey that gives me a lot of time to check things out). Thanks ps is this bad? Should I start evacuate all my important files while I'm still able to? The proper way is: make buildworld make kernel (KERNCONF=YOURKERNEL) if custom reboot to single user If the new kernel doesn't boot reboot and hit the space bar at the boot prompt boot kernel.old If the new kernel boots OK mount -a cd /usr/src make installworld mergemaster exit The main thing is you don't want to install the new userland before finding out if the new kernel boots. If you install the userland it's very possible === message truncated === Thanks Beech, you helped me out very well and I have learned a lot too. I will go on and update my notes because I had it all wrong. You're welcome. Please note that issues such as this are discussed in detail in the handbook. /usr/share/doc/en_US.ISO8859-1/books/handbook on your machine or http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html online. Also doing a google search will more
Re: make: permission denied error when doing make installworld
Mike Tibor [EMAIL PROTECTED] writes: (if this question is more appropriate for freebsd-stable, let me know) Not really. I'm trying update one of my servers, and can't get past a make: permission denied error when doing a make instalworld as root in single user mode. My sequence was this: cvsup make buildworld make buildkernel make installkernel shutdown now (go to single user mode) That should be shutdown -r now. You want to reboot into the new kernel. [This explains the problem, I think, because you're probably still running at a raised security level, even though you're in single-user mode.] make installworld I'm I missing something? I've run into this once before on another server, and just did a binary upgrade to get around it. The thing is, I've successfully upgraded along the -STABLE tree via this method countless times. / is mounted rw, and /usr/bin/make is executable. I suspect the permission denied errors are caused by system-immutable flags, not by file permissions. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make: permission denied error when doing make installworld
On 19 Sep 2003, Lowell Gilbert wrote: Mike Tibor [EMAIL PROTECTED] writes: I'm trying update one of my servers, and can't get past a make: permission denied error when doing a make instalworld as root in single user mode. My sequence was this: cvsup make buildworld make buildkernel make installkernel shutdown now (go to single user mode) That should be shutdown -r now. You want to reboot into the new kernel. [This explains the problem, I think, because you're probably still running at a raised security level, even though you're in single-user mode.] make installworld I'm I missing something? I've run into this once before on another server, and just did a binary upgrade to get around it. The thing is, I've successfully upgraded along the -STABLE tree via this method countless times. / is mounted rw, and /usr/bin/make is executable. I suspect the permission denied errors are caused by system-immutable flags, not by file permissions. Thanks for the reply Lowell. I actually just found the problem that was causing this just yesterday--when I built this box I'd set up a separate filesystem for /tmp and had mounted it with various options including noexec. After I rebooted into the new kernel, I did a make installworld without /tmp being mounted, and it worked just fine. The trick is going to be to remember this the next time. ;-) Thanks again, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make: permission denied error when doing make installworld
(if this question is more appropriate for freebsd-stable, let me know) I'm trying update one of my servers, and can't get past a make: permission denied error when doing a make instalworld as root in single user mode. My sequence was this: cvsup make buildworld make buildkernel make installkernel shutdown now (go to single user mode) make installworld I'm I missing something? I've run into this once before on another server, and just did a binary upgrade to get around it. The thing is, I've successfully upgraded along the -STABLE tree via this method countless times. / is mounted rw, and /usr/bin/make is executable. If anyone has any idea what I might be doing wrong, I'd greatly appreciate it if you could point me in the right direction. Thanks, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]