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 · 1 comment
Open

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

rolkey opened this issue Aug 22, 2024 · 1 comment

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?

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

2 participants