-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/bin/sh: /opt/oracle/oraInventory/orainstRoot.sh: No such file or directory #2472
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
Comments
i have the same error, i use fedora 37 x86_64, use docker: Step 19/24 : RUN $ORACLE_BASE/oraInventory/orainstRoot.sh && $ORACLE_HOME/root.sh ERROR: Oracle Database container image was NOT successfully created. REPOSITORY TAG IMAGE ID CREATED SIZE |
1 similar comment
i have the same error, i use fedora 37 x86_64, use docker: Step 19/24 : RUN $ORACLE_BASE/oraInventory/orainstRoot.sh && $ORACLE_HOME/root.sh ERROR: Oracle Database container image was NOT successfully created. REPOSITORY TAG IMAGE ID CREATED SIZE |
I have the same error: Please note my environment: ubuntu 22.0.x, podman not docker, use user mode instead of root. --> c7a8afb8796 ERROR: Oracle Database container image was NOT successfully created. Please kindly help |
Are you setting the env vars mentioned here? |
I got it. |
I know it's been a while since this was posted but could be useful... In my case, I am running Dockers in Macbook M1 so I created a new builder virtualizing x86 architecture building an Oracle Database 19.3.0.0 Enterprise and Standalone (No RAAC) image using a local Oracle Linux 8 image that I created without any problem.
I followed the following recommendation from this document (OracleRealApplicationCluster-README)
So I added the variable in the initial ENV section of my Dockerfile. WALLET_DIR="" \
# Execute the below command to validate OS version and then export CV_ASSUME_DISTID to the supported version of OEL for 19c
CV_ASSUME_DISTID=OEL8
# Use second ENV so that variable get substituted
ENV PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch/:/usr/sbin:$PATH \
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib \
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
|
I have the same error when building 19c,os is Ubuntu 22.04.3 LTS and Docker Engine version is 24.0.6.
|
The
If there's less than 8G on the physical filesystem, check the contents with:
Repeated builds add to the size of the cache. Eventually, To clean up the cache, run:
Use You can also move the contents of |
Hi,
|
@Amwidtf try running the commands I posted originally:
|
I encountered the same error myself. I attempted to resolve it by trying both versions 21.3.0 and 19.3.0, assuming that the issue might have been version-related. After extensive attempts at debugging, I identified both the problem and the solution. The issue stemmed from the Oracle binary installation, although it did not generate any error during the build process. The error was actually triggered by the ulimit nofile configuration. To rectify this, I edited the file Originally, the command looked like this: Now, the revised command appears as follows: |
According to oracle#2472 Changed line in script according to comment oracle#2472 (comment)
I am working on M3 Pro chip with Docker Desktop, and I had exactly the same issue: There was a very small mistake that I was doing. The DB Zip file(LINUX.ARM64_1919000_db_home), which I downloaded from Oracle website was Zero Bytes size. There was some issue in the download. Make sure that size of file is around 2.2GB. When I redownloaded the file, and used that one, error vanished. |
Hi All , I am getting this error while building a docker can anyone suggest me this for mac: 30.08 ln: target '/home/oracle/' is not a directory: No such file or directory1 warning found (use docker --debug to expand):
88 |
|
Hey,
Hope everyone is well, have a bit of an issue.
I am using bitbucket runner to run a pipeline to create the 19c image on docker, and its failing with orainstRoot.sh missing,
I am don't have any errors on the installation so I am guessing its working now.
can anyone help on this, I am running this on oraclelinux:8-slim because oraclelinux:7-slim gave me few issues on no having proper kernel parameters, Thank you.
docker build --build-arg DB_EDITION=$DB_EDITION --progress=plain -t $CONTAINER_REGISTRY_HOST/$NAME_PREFIX/$CONTAINER_NAME:$IMAGE_VERSION -f ../../$NAME_PREFIX/ds-db/Dockerfile ../../$NAME_PREFIX/ds-db
The text was updated successfully, but these errors were encountered: