Oracle Create tablespace error, ORA-01119: Create database file; ORA-27040: File creation error, unable to create file; O/s-error: (OS 3) The system could not find the specified path.

Source: Internet
Author: User
Scenario: Create a table space in Oracle, assuming the space name is tbsp_1, the file location is d:\app\administrator\oradata\orcl/, and the space size is 10M.

Steps:

To create SQL:
CREATE tablespace tbsp_1 datafile ' e:/oracle/product/10.2.0/tablespaces/weblogic.dbf ' SIZE 10M;

However, the following error message appears:
Error message:
ORA-01119: Error creating database file ' e:/oracle/product/10.2.0/tablespaces/weblogic.dbf '
ORA-27040: File creation error, unable to create file
OSD-04002: Unable to open file
O/s-error: (OS 3) The system could not find the specified path.

The solution is as follows:

Error Analysis:--------------------------The main problem with this error is that the file directory address that created the tablespace did not specify the correct

First, locate the Oracle installation directory file on my computer, as shown in the following figure:

Then modify the SQL statement "CREATE tablespace tbsp_1 datafile ' e:/oracle/product/10.2.0/tablespaces/weblogic.dbf ' SIZE 10M;" The file location in, and the modified statement is as follows:

CREATE tablespace tbsp_1 datafile ' d:\app\administrator\oradata\orcl/jcs_1_0_data.dbf ' SIZE 10M;

Executes the statement.

Finally, we see the table space Tbsp_1 created successfully in the following figure.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.