I am trying to install private-cloud/v4.50.00 and getting below error
I still see the user id is coming as blank.
Cannot open: https://:@software.apigee.com/apigee-repo.rpm. Skipping.
[root@ivapp1303685 etc]# sudo bash /tmp/bootstrap_4.50.00.sh apigeeuser=xxxx apigeepassword=-xxxx
Apigee bootstrap 1.0-38 (OPDK_5000, 2020.11.30,19:31)
=== Obtaining creds for software.apigee.com:
=== Begin work ...
=== Checking for presence of misc commands:
=== Checking distro:
=== Checking architecture:
=== Checking OS:
=== Checking SELinux status
=== Configuring package manager:
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
+ rpm -qa apigee*
+ rpm -e apigee-repo
error: package apigee-repo is not installed
(error can be ignored)
+ rpm -e apigeeprio-repo
error: package apigeeprio-repo is not installed
(error can be ignored)
+ yum install --nogpgcheck -y https://:***@software.apigee.com/apigee-repo.rpm
Loaded plugins: fastestmirror, list-data, priorities, versionlock
Cannot open: https://:@software.apigee.com/apigee-repo.rpm. Skipping.
Error: Nothing to do
bootstrap_4.50.00.sh: Error: Repo configuration failed
I was able to download the bootstrap file and also if i hard code the user id and password and run yum install it works. So for sure there is no connectivity issue and credentials are correct.
#curl https://software.apigee.com/bootstrap_4.50.00.sh -o /tmp/bootstrap_4.50.00.sh
# yum install --nogpgcheck -y https://xxxxx:xxxxx@software.apigee.com/apigee-repo.rpm
# yum install --nogpgcheck -y https://xxxxxxx:-xxxxx@software.apigee.com/apigee-repo.rpm
Loaded plugins: fastestmirror, list-data, priorities, versionlock
apigee-repo.rpm | 4.6 kB 00:00:00
Examining /var/tmp/yum-root-DtbGiE/apigee-repo.rpm: apigee-repo-1.0-6.x86_64
Marking /var/tmp/yum-root-DtbGiE/apigee-repo.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package apigee-repo.x86_64 0:1.0-6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================
Installing:
apigee-repo x86_64 1.0-6 /apigee-repo 2.6 k
Transaction Summary
=====================================================================================================================================================================
Install 1 Package
Total size: 2.6 k
Installed size: 2.6 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : apigee-repo-1.0-6.x86_64 1/1
Verifying : apigee-repo-1.0-6.x86_64 1/1
Installed:
apigee-repo.x86_64 0:1.0-6
Complete!
This command works.
I am running both commands as root. Not sure why the below command is not working.
sudo bash /tmp/bootstrap_4.50.00.sh apigeeuser=xxxx apigeepassword=-xxxx
You could also try running without apigeeuser=xxxx apigeepassword=-xxxx and letting it prompt you. If that fails, you could try adding -x after bash to see what's going on
Chris, thanks for the reply. I was able to find out that the user ID was not coming up because of perl modules missing on the server. After i added the perl modue in path it worked.
However the installation is still failing
If i run the same command directly it works.
I see its trying to open wrong url and that could be the reason why its failing.
if you look at above url there is a DOT at the end after rpm.
Are you looking at this part?
+ yum install --nogpgcheck -y https://:***@software.apigee.com/apigee-repo.rpm Loaded plugins: fastestmirror, list-data, priorities, versionlock Cannot open: https://:@software.apigee.com/apigee-repo.rpm. Skipping.
The issue here appears to be that the username URL component is empty, and not the full stop.