Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl: No such file or directory on installDBBinaries.sh 94 #2852

Open
rolkey opened this issue Aug 22, 2024 · 5 comments
Open

perl: No such file or directory on installDBBinaries.sh 94 #2852

rolkey opened this issue Aug 22, 2024 · 5 comments

Comments

@rolkey
Copy link

rolkey commented Aug 22, 2024

image

  • error
12.15 A log of this session is currently saved as: /tmp/OraInstall2024-08-22_12-48-10PM/installActions2024-08-22_12-48-10PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location.
12.32 /opt/install/installDBBinaries.sh: line 94: /opt/oracle/product/12.1.0.2/dbhome_1/perl/bin/perl: No such file or directory
12.32 mv: cannot stat '/opt/oracle/product/12.1.0.2/dbhome_1/perl': No such file or directory
@oraclesean
Copy link
Contributor

perl is installed via the installPerl.sh script. The highlighted text in the screenshot shows that installDBBinaries.sh checks for the version on line 94. If that command fails, it runs the $INSTALL_DIR/$PERL_INSTALL_FILE on the next line. The double pipe (||) is the bash "if there's a non-zero return code, run the next command" while the backslash (\) is a line continuation.

Since the $ORACLE_HOME/perl/bin/perl -v version check isn't redirected to stdout, this will return the error you're seeing, but it's followed by execution of the perl install script:

# $ORACLE_HOME/perl/bin/perl -v || echo "Error handler"
/opt/oracle/product/12.1.0.2/dbhome_1/perl/bin/perl: No such file or directory
Error handler

@rolkey did the image build fail, or is your concern that the display of the error message is confusing?

@eyaneylii
Copy link

Hi @oraclesean @yunus-qureshi

I'm having the same issue while trying to apply the last patch p36538667 of version 19.3.0 I had attached error
( /opt/oracle/product/19c/dbhome_1/OPatch/opatchauto: line 44: /opt/oracle/product/19c/dbhome_1/perl/bin/perl: No such file or directory)

Note: under one_offs I have p6880880_190000_Linux-x86-64.zip and under release_update I have p36538667_190000_Linux-x86-64.zip

image

@yunus-qureshi
Copy link
Member

@eyaneylii please list the steps with the full command lines that you are attempting

@eyaneylii
Copy link

eyaneylii commented Oct 11, 2024

@yunus-qureshi Thanks for your response
As mentionned I placed under one_offs p6880880_190000_Linux-x86-64.zip and under release_update I have p36538667_190000_Linux-x86-64.zip
under the extensions/ folder I run below command :
./buildExtensions.sh -a -x patching -b oracle/database:19.3.0.0-ee -t "oracle/database:19.3.0.0-ee-P" "--build-arg SLIMMING=false"
and that's where I encountered the shared issue

@oraclesean
Copy link
Contributor

Will you please copy/paste the full text output generated by buildExtensions.sh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants