Error in creating directory
i am using the following command to create a directory in Oracle:-
CREATE OR REPLACE DIRECTORY DATALOAD AS ‘D:\temp\udump’
ERROR at line 1:
ORA-00911: invalid character
How, can we remove the error? Please, help in solving the doubt.
regards
For eg., the directory 'DATALOAD' is not showing under D:\temp\udump path.Alas you have misunderstood the purpose of DIRECTORY objects in Oracle. They are a way of referring to OS paths abstractly, for instance in calls to UTL_FILE or when creating External Tables.
This is useful for all sorts of reasons. It's safer and easier that setting UTL_FILE_DIR in the init.ora parameters. It's hand if we want our application to run on different operating systems, or just on servers with different directory structures.
What CREATE DIRECTORY does not do is actually create the OS directory; it's just creating a mapping. You have to create the OS directory yourself, using the tool appropriate to your platform, Explorer in your case.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/
Similar Messages
-
Backup failed with Error: (-50) Creating Directory
Repeats ad nauseum.
This is backing up to a second internal drive that is an exact duplicate (in terms of HD model and size).
Does anyone know what Error -50 means? Lack of permissions? Invalid name (doesn't seem like it)?
8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Starting standard backup
8/30/08 9:06:37 AM /System/Library/CoreServices/backupd Backing up to: /Volumes/Sliffy Time/Backups.backupdb
8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Error: (-50) Creating directory 2008-08-30-090658.inProgress
8/30/08 9:06:58 AM /System/Library/CoreServices/backupd Failed to make snapshot container.
8/30/08 9:07:03 AM /System/Library/CoreServices/backupd Backup failed with error: 2Hi Glenn,
Thanks for the suggestion. Nope, it's not listed. The only thing listed is my Time Machine volume.
After a reboot, Time Machine seems to be working. It's making backups on schedule and the logs look good, not reporting any strangeness.
A bit bummed about these phantom errors that go away on reboot. I'll keep on eye on the error/reboot frequency.
Rob -
Error Cannot create directory /tmp/ .xorg.conf72
During an install of Solaris 10 (as a virtual machine) I was attempting to run /usr/X11/bin/xorgconfig
I received the following error:
Cannot create directory /tmp/ .xorg.conf72
Any Ideas as to how I could fix the problem?Hi,
So, try to create this folder by your hands before create the track and assign all permissions to sap admin user.
It will solve this issue.
regards,
Luciano -
Authentication error while creating directory server through dscc
Hi
I am getting authentication error while creating a DS from dscc on windows box on a linux RHEL4 server.However I do not get an authentication issue when creating a ds on solaris box from same dscc.
Can someone guide me what might be the issue?
Thanks
AartiHi,
Please check there is no firewall issue between your windows client to Linux directory server. You may be able to login via dscc but when you create DS instance, your dscc agent port might be an issue not able to talk to Directory server because of firewall. -
Error while creating database using DBCA
Hi,
I installed Oracle10gR2 on my windows machine.Now am creating a database with dbca but just after i click the finish button it gives me the error -
Cannot create directory "F:\oracle\cfgtoollogs\dbca\ora10g" where F:\oracle is the directory where i have installed Oracle 10g and ora10g is the database name.
I have full permission on the folders.Can anyone please let me know what is the problem here.
Regards,
SomdHi OrionNet,
At last i could create the database successfully.But these are the issues I faced and am listing down the solution so that it can help others too.
1.I could not find the Administrative Tools-> Local security Policy --> Local Policies --> User Right Assignment in the Windows Vista Home Premium.I went and checked many blogs and forums on where is it located.It seems it is not included in the home premium and people are having a tough time working out the round abouts.
2.The problem was that my UAC (User Account Control) in the Windows Security Center was turned on which was not allowing me to create the database.I turned it off,and it created the db smoothly.
Thanks a lot for your help..I really appreciate it :)
Regards,
Somd -
Cannot create directory Bonjour
Tried to install itues and get the same error "cannot create directory program files/Bonjour. A file with this name already exists...etc.
I searched for such a file, deleted it , but still get the same errorr. I unistalled itunes, tried to reinstall an older version...same error...
Any thoughts?Hello. Have you attempted to just install Bonjour by itself?
http://support.apple.com/downloads/Bonjourfor_Windows_1_05
Also if you need to go to Control panel and uninstall Bonjour, Reboot, then come back and install latest Bonjour at link above. Followed by iTunes if it installs. -
Hi Guys,
Any one please help i am getting an error during creating directory in procedure. Below is the code and error
I am using windows XP, oracle 10g, sql developer and sql plus.
code: -
create or replace
procedure checking as
filing UTL_File.File_Type;
create or replace directory dir as 'c:\temp';
begin
filing := UTL_File.Fopen(dir,'check.txt','w');
UTL_File.put_line(filing, 'Test');
UTL_File.FClose(filing);
End;
error
Error(5,1): PLS-00103: Encountered the symbol "CREATE" when expecting one of the following: begin function package pragma procedure subtype type use <an identifier> <a double-quoted delimited-identifier> form current cursor
ThanksSQL> create or replace procedure myproc1
2 as
3 begin
4 execute immediate 'create or replace directory MYDIR as ' || '''' || '/oracle/arch' || '''';
5 end;
6 /
Warning: Procedure created with compilation errors.
SQL> show error
Errors for PROCEDURE MYPROC1:
LINE/COL ERROR
4/1 PLS-00103: Encountered the symbol "CREATE" when expecting one of
the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge
<a single-quoted SQL string> pipe
SQL> create or replace procedure myproc1
2 as
3 begin
4 execute immediate 'create or replace directory MYDIR as ' || '''' || '/oracle/arch' || '''';
5 end;
6 /
Procedure created.
SQL> exec myproc1;
PL/SQL procedure successfully completed.
SQL> -
Time Machine Error - Back up Directory
I have searched the forum but didn't see anything specific on this. I have recently purchased the Time Capsule to go along with Time Machine and am having problems backing up after the first back up. Was able to complete the first back up but subsequent backups gives me an error "Time Machine Error. Unable to complete backup. Can not create back up directory."
Has anyone seen this and if so, have they determined a fix? I have unmounted and mounted drive. I looked for any .com.apple preferences that are related to Time Machine and found none. Might be the problem but I can't find solution.
Thanks in advance.locmi01 wrote:
Error: (-50) Creating directory 2009-02-02-085042.inProgress
Failed to make snapshot container.
Backup failed with error: 2
This is fairly unusual. Here's other threads with what seems to be similar scenarios: http://discussions.apple.com/thread.jspa?messageID=8761039�
http://discussions.apple.com/thread.jspa?messageID=8508064�
As you'll see, the first one was a failing disk drive; the second never had a resolution posted (people often don't tell us what fixed their problems). So I'd be inclined to suspect your drive, since you've tried both USB and FW, pretty much ruling out cables, ports, loose connections, etc.
How long did you use this disk before the problems started?
Did you erase and format it, or use it as it came?
Do you have any of the "heavy-duty" disk repair apps, like DiskWarrior? I'm not really familiar with them, but some are far more rigorous than DU. -
Error while creating request list Unable to detect the SAP system directory
We are upgrading SAP BW (NW 7.0 EHP1) to SAP BW (NW 7.3)
source OS: Windows 2008 R2, source DB: MSSQL server 2008 R2 SP1 CU3
I had started the upgrade by running: STARTUP.BAT
I had started the DSUGui on the server (CI / DB on the same server) from: D:\usr\sap\BP1\upg\sdt\exe\DSUGui.bat
I ran both programs (run as administrators).
Once SAP Gui connects and was able to create userid/ password and when ready to start the initialization phase (click next)
gives me the error
Error while creating request list - see preceeding messages. Unable to detect the SAP system directory on the local host
I had tried STARTUP.BAT "jce_policy_zip=Z:\export-import\downloads\jce_policy-6' and still the same error.
I had started DSUGui.bat with trace and the trace file contents are
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[2.0.7.1006]/>
<!NAME[D:
usr
sap
bp1
upg
sdt
trc
server.trc]/>
<!PATTERN[server.trc]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
<!ENCODING[UTF8]/>
<!LOGHEADER[END]/>
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:102) [Thread[ExecuteWorker,5,main]]: Execution of command com.sap.sdt.engine.core.communication.CmdActionEvent@376433e4 failed: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.CmdActionEvent [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
at com.sap.sdt.dsu.service.req.DSURequestListBuilder.persistSystemInfo(DSURequestListBuilder.java:277)
at com.sap.sdt.dsu.service.DSUService.createRequestList(DSUService.java:338)
at com.sap.sdt.dsu.service.controls.DSUListener.actionNext(DSUListener.java:144)
at com.sap.sdt.dsu.service.controls.DSUListener.actionPerformed(DSUListener.java:67)
at com.sap.sdt.server.core.controls.SDTActionListener$Listener.actionPerformed(SDTActionListener.java:46)
at com.sap.sdt.engine.core.communication.CmdActionEvent.actOnEvent(CmdActionEvent.java:43)
at com.sap.sdt.engine.core.communication.CmdEvent.execute(CmdEvent.java:69)
at com.sap.sdt.engine.core.communication.ExecWorker.handleCmd(ExecWorker.java:36)
at com.sap.sdt.engine.core.communication.AbstractWorker.run(AbstractWorker.java:93)
I could not get Upgrade started. Any help is appreciated
Thanks
PrathapDid you get this solved?
I have the same problem -
Error 7 occurred at Create Folder in Create Directory Recursive.vi-
Recieved following message when attemoting to create source distribution
Error 7 occurred at Create Folder in Create Directory Recursive.vi->ABAPI Dist Create Directory Recursive.vi->ABAPI Dist Chk for Destinations.vi->ABAPI Copy Files and Apply Settings.vi->SDBEP_Invoke_Build_Engine.vi->SDBUIP_Build_Invoke.vi->SDBUIP_Build_Rule_Editor.vi->SDBUIP_Item_OnDoProperties.vi->SDBUIP_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.Hello,
Could you please list which options you are selecting when building a
source distribution (I am assuming you are using LabVIEW 8.0?).
Do you get this error when clicking on "Generate Preview" button when configuring source distribution properties?
Under "Distribution Settings" category, could you try checking the
"Disconnect type definitions and remove unuses polymorphic VI
instances" option and see if that helps with the build process?
Also I suggest Mass Compiling your VIs (Tools -> Advanced -> Mass Compile) before creating a source distribution.
If these do not help, could you attach your project with all the VIs it contains here?
Thank you and best regards,
Shakhina P.
Applications Engineer
National Instruments -
Hi,
I'm trying to create directory using sql command in apex. But it is throwing an error as 'Insufficient privileges'
So whom I have to ask for privilege to create a directory?
Thanks,
Anoo..Good morning Anoo,
You should check with your DBA to make sure that APEX_PUBLIC_USER has create directory rights.
Don.
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :) -
Can not create directory error while creating database
i am creating database using dbca in oel but when i try to do so i get an error saying can not create directory pawii
and pawii is the sid
actually oracle is installed on u01 and i am creating database in u02
but this error is not allowing me to create database but when i try to create database in uo1 the database installed successfully but this is not happening when i try to create database in another mount point u02987018 wrote:
so finally i had solved the problem myself as people like rukbat are very unhelpful in nature here
all we had to do is we had to change the group of the folder to oracle and oinstall where we are going to create our new database :)Actually he tries to be quite helpful. But sometimes the help you need isn't the help you want.
"When you need me but do not want me, then I must stay. When you want me but no longer need me, then I have to go." (Nanny McPhee) -
Geting error while creating a dir through CREATE DIRECTORY command
Hi Gurus,
When I'm trying to create a dir through this command with logged in as SYS
CREATE DIRECTORY pump_dir AS 'd:\temp\pump_dir';
I'm getting the error
Error starting at line 1 in command:
CREATE DIRECTORY pump_dir AS 'd:\temp\pump_dir'
Error at Command Line:1 Column:18
Error report:
SQL Error: ORA-00955: name is already used by an existing object
00955. 00000 - "name is already used by an existing object"
Any ideas how I can create a dir and grant access to a different user.
Thanks
Amitava.amitavachatterjee1975 wrote:
I checked and there is no such directory. I guess it is not that simple, the error I mean.Actually it is , please see,
ORA-00955: name is already used by an existing object
Cause: An attempt was made to create a database object (such as a table, view, cluster, index, or synonym) that already exists. A user's database objects must have distinct names.
Action: Enter a unique name for the database object or modify or drop the existing object so it can be reusedSo as Sb mentioned, check that which object is using the same name that you are trying to assign to this directory object and either rename or drop the object if you want to use the same name only. If not, you can always use another distinct name for this directory object .
Aman.... -
Hi, I have been having problems with Internet Explorer 8 using Windows 7 so wanted to install Firefox but unable to as get a message saying error creating directory c:\programme files (x86)\mozilla firefox\searchplugins
Thank you guig2! Followed your bleepingcomputer.com link above and found the problem was my permissions on C:\Users\Bill\AppData\Local/Temp. It was not "Full Control" for my User or Administrator. Updated the two lines to permit full control for folder, subfolder and files. Ran perfect.
-
Create directory error on a VMS system
Ok, I am trying to load some date into a CLOB field within a small table I have created. Here is how I attempted to accomplish this and the result (and to add insult to injury, it is on a VMS system!):
CREATE TABLE js_holder (
js_name varchar(30),
js_body CLOB );
CREATE DIRECTORY foos as 'USR$DISK:[CLEMENSD.SQL_EDIT]';
CREATE OR REPLACE PROCEDURE Load_CLOB IS
dest_clob CLOB;
in_file BFILE := BFILENAME('foos', 'supernote.js');
dst_offset number := 1 ;
src_offset number := 1 ;
lang_ctx number := DBMS_LOB.DEFAULT_LANG_CTX;
warning number;
BEGIN
DBMS_OUTPUT.ENABLE(100000);
INSERT INTO js_holder(js_name, js_body)
VALUES('supernote', empty_clob())
RETURNING js_body INTO dest_clob;
DBMS_LOB.OPEN(in_file, DBMS_LOB.LOB_READONLY);
DBMS_LOB.LoadCLOBFromFile(
DEST_LOB => dest_clob,
SRC_BFILE => in_file,
AMOUNT => DBMS_LOB.GETLENGTH(in_file),
DEST_OFFSET => dst_offset ,
SRC_OFFSET => src_offset,
BFILE_CSID => DBMS_LOB.DEFAULT_CSID,
LANG_CONTEXT => lang_ctx,
WARNING => warning );
DBMS_LOB.CLOSE(in_file);
COMMIT;
DBMS_OUTPUT.PUT_LINE('Loaded File using DBMS_LOB.LoadCLOBFromFile.');
END;
then the following:
SQL> set serveroutput on
SQL> exec Load_CLOB
SQL> exec load_clob
BEGIN load_clob; END;
ERROR at line 1:
ORA-22285: non-existent directory or file for FILEOPEN operation
ORA-06512: at "SYS.DBMS_LOB", line 672
ORA-06512: at "BANINST1.LOAD_CLOB", line 13
ORA-06512: at line 1
SQL>Wow you've sure got a lot of threads going on this one (Ok Waz zup? and VMS, create directory and the chamber of secrets
My first question is have you checked to ensure that the file and directory permissions will allow oracle to read the file you want? Have you tried dumping your supernote.js file in the jobsub directory, or chaning it's (and/or the directories) protections?
From the documentation for create directory: "Oracle Database does not verify that the directory you specify actually exists. Therefore, take care that you specify a valid directory in your operating system. In addition, if your operating system uses case-sensitive path names, be sure you specify the directory in the correct format."
Maybe you are looking for
-
Safari frequently quits unexpectedly. Can anyone help??
Okay, so this, among many other notifications comes up when safari quits unexpectedly. The rainbow wheel goes for a while and then everything shuts down. I have seen that putting certain files on the desktop or deleting them has fixed the problem for
-
I have enabled airplay from my ipad to my apple tv and I am only getting the audio and no picture?
-
How to upload and download a query
Hi all, I have created a query and attached a transaction to it through the program which got generated in the background. . But when i downloaded and uploaded the same query into another server,the program generated from the query gets changed and t
-
RFC error "No authorization to send IDOCs with message type ..."
Hi all, I have now tried just about everything I could think of, applied all the notes mentioned on this forum but still no luck. Can anyone please help ... I have got a file to idoc scenario, the status in the sxmb_moni is successful, but the outbou
-
Some Schedule jobs are not running in Oracle 10g
i have total of 8 Schedules jobs in Oracle 10g test database which were not in sync with prod database . So i re-created all of them again and then enbled them . but some 4 of them didnt ran on their NEXT_RUN_DATE . Showing NULL on LAST_START_DATE an