bootstrap.sh failed to install with Bootstrap failed.
Total bootstrap.log file follows
ln: 0653-421 /bin/bash exists.
Specify -f to remove /bin/bash before linking.
Bootstrap failed
Comments (11)
-
-
reporter Not that I know of? We use PHP products, and I just installed update to that. Could that have added this?
-
reporter I just noted this;
GNU bash, version 3.00.16(1)-release (powerpc-ibm-aix5.1)
Copyright (C) 2004 Free Software Foundation, Inc.
bash-3.00$
-
Ahhhhhh! You had previously installed AIX rpms. We need to account for that in the bootstrap. I’ll make sure it is updated. For now, you can run
ln -sf /QOpenSys/pkgs/bin/bash /bin/bash
to fix the problem. That’s the last step of the bootstrap, so everything else is good. -
reporter OK IT WORKED!
/QOpenSys/pkgs/bin/bash --version
GNU bash, version 4.4.23(1)-release (powerpc-ibm-os400)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
\$now just do post installation tasks? Also how do I get “yum” working? It says “<user>” which is the “group user token” ← Sorry I’m a n00b but there is no “start here, do this THEN this” list of things to do for this stuffs.
-
Also how do I get “yum” working? It says “<user>” which is the “group user token”
Sorry, I don’t understand what this means. Can you paste in the full output?
Hopefully we cover enough of the beginner questions in our docs: https://bitbucket.org/ibmi/opensource/src/master/
-
reporter The bootstrap still errors with the same error after running “
ln -sf /QOpenSys/pkgs/bin/bash /bin/bash
“ but the version seems to be “4.4.23“ now which is a change from 3.00.16. So now, I’m trying to install packages, or do post installation from this and the call failed in CL on iSeries, in the instructions. Should I be running that in QP2TERM or QSH?“call qsys2.set_pase_shell_info('*DEFAULT', '/QOpenSys/pkgs/bin/bash');“
-
Once you run the bootstrap once, you should never need to do it again. I mentioned before that the
ln
was the last step in the bootstrap and that everything should already be installed, sorry if it wasn’t clear you didn’t have to (and shouldn’t) run it again.The statement your posted above is an SQL statement. You can run it from ACS Run SQL Scripts,
STRSQL
CL command, or any other way you can think of to run SQL on the IBM i system. You can’t run it from a CL prompt, though, since it’s not a CL command.
-
reporter here’s what I got when poking around;
yum list available
https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: [Errno 14] curl#6- "getaddrinfo() thread f
ailed to start
"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ibm. Please verify its path and try again
\$I tried installing nodeds12
yum install nodejs12
https://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: [Errno 14] curl#6- "getaddrinfo() thread f
ailed to start
"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ibm. Please verify its path and try againAngry system…
-
reporter Figured it out.
WRKENVVAR<enter>
add envvar “QIBM_MULTI_THREADED“ with value of “Y”
the QSH environment is suddenly thread capable, and able to get the packages.
-
- changed status to resolved
Thanks for opening this issue! Glad to see you have resolution, and we have added enhancements to the bootstrap installer based on this experience.
- Log in to comment
Did you previously run the bootstrap on this system?