Error ORA-20987 creating users with apex_util.create_user.
Hello. I need to copy users from one summit to the other.@apex4 is a DBlink apex 4 initial installation, I need to create users on a new server apex4, where I am loged and run this script:
declare
users of cursor is
Select *.
of apex_040100.wwv_flow_fnd_user@apex4
where user_name <>'ADMIN ';
Start
for you in a loop users
(. Create_user) APEX_UTIL
p_user_id = > u.user_id,.
p_user_name = > u.user_name,
p_first_name = > u.first_name,
p_last_name = > u.last_name,
p_description = > u.description,
p_email_address = > u.email_address,
p_web_password = > '1234'.
p_web_password_format = > 'CLEAR_TEXT');
end loop;
end;
I tried to connect with apex_public_user and sys as sysadmin, but I still get the same error:
ORA-20987: APEX - unauthorized access (package for the undefined security group variable). -Contact your administrator of the application.
ORA-06512: en "APEX_040100.WWV_FLOW_ERROR", line 704
ORA-06512: en "APEX_040100.WWV_FLOW_ERROR", line 1008
ORA-06512: en "APEX_040100.WWV_FLOW_FND_USER_API", line 24
ORA-06512: en "APEX_040100.WWV_FLOW_FND_USER_API", line 617
ORA-06512: en "APEX_040100.HTMLDB_UTIL", linea 1395
ORA-06512: in linea 8
Thanks in advance and sorry for my English.
Published by: Andres Vilallave on 2012-ene-31 12:48
Published by: Andres Vilallave on 31-ene-2012 12:49
Hello
When you run this code?
If you run this code in SQL client like SQL * Plus or SQL Developer this post might help
Re: installation of the runtime: how to create users?
Kind regards
Jari
http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
Tags: Database
Similar Questions
-
Error ORA-00911 create a view with PL/SQL
Hello. Working with SQL Developer, I'm writing a procedure that creates a view.
After a compilation successful, whenever I try to run it, I get an error ORA-00911 and I'm not able to find the reason.
Here is my code. Thanks in advance.
CREATE OR REPLACE PROCEDURE "DWH_STAR"."STORICO_DATA" ( DATA_INPUT IN VARCHAR2 )AS BEGIN EXECUTE IMMEDIATE ' CREATE OR REPLACE FORCE VIEW DWH_STAR.V_PORT_STOR_DATA (DATA_DESC, CLIENTE_KEY, PRODOTTO_KEY, AGENTE_KEY, TIPOLOGIA_KEY, NUM_ORDINE, NUM_UNITA, RICAVO_LORDO, RICAVO_NETTO, COSTO_STD_TOTALE, GROSS_PROFIT) AS SELECT dt.DATA_DESC, fv.CLIENTE_KEY, fv.PRODOTTO_KEY, fv.AGENTE_KEY, fv.TIPOLOGIA_KEY, fv.NUM_ORDINE, SUM (NUM_UNITA) NUM_UNITA, SUM (RICAVO_LORDO) RICAVO_LORDO, SUM (RICAVO_NETTO) RICAVO_NETTO, SUM (COSTO_STD_TOTALE) COSTO_STD_TOTALE, SUM (GROSS_PROFIT) GROSS_PROFIT FROM F_VENDUTO fv, D_TEMPO dt WHERE fv.TEMPO_KEY = dt.TEMPO_KEY AND TO_NUMBER(TO_CHAR(dt.DATA_DESC,''YYYYMMDD'')) <=' || DATA_INPUT ||' GROUP BY fv.CLIENTE_KEY, fv.PRODOTTO_KEY, fv.AGENTE_KEY, fv.TIPOLOGIA_KEY, fv.NUM_ORDINE, dt.DATA_DESC ORDER BY dt.DATA_DESC, fv.CLIENTE_KEY, fv.PRODOTTO_KEY, fv.AGENTE_KEY, fv.TIPOLOGIA_KEY, fv.NUM_ORDINE; UNION SELECT dt.DATA_DESC, fs.CLIENTE_KEY, fs.PRODOTTO_KEY, fs.AGENTE_KEY, fs.TIPOLOGIA_KEY, fs.NUM_ORDINE, - SUM (NUM_UNITA) NUM_UNITA, - SUM (RICAVO_LORDO) RICAVO_LORDO, - SUM (RICAVO_NETTO) RICAVO_NETTO, - SUM (COSTO_STD_TOTALE) COSTO_STD_TOTALE, - SUM (GROSSO_PROFIT) GROSS_PROFIT FROM F_SPEDITO fs, D_TEMPO dt WHERE (fs.CAUSA_RESO_KEY = 0 AND fs.TEMPO_KEY = dt.TEMPO_KEY AND TO_NUMBER(TO_CHAR(dt.DATA_DESC,''YYYYMMDD'')) <=' || DATA_INPUT ||' ) GROUP BY fs.CLIENTE_KEY, fs.PRODOTTO_KEY, fs.AGENTE_KEY, fs.TIPOLOGIA_KEY, fs.NUM_ORDINE, dt.DATA_DESC ORDER BY dt.DATA_DESC, fs.CLIENTE_KEY, fs.PRODOTTO_KEY, fs.AGENTE_KEY, fs.TIPOLOGIA_KEY, fs.NUM_ORDINE ' ; END; /
delete the order and the semicolon (;) of the first select statement. I hope you know that the operator union the same set of columns to be selected.
But try to avoid to create objects on the fly, unless and until it is absolutely necessary and inevitable.
Concerning
REDA
Published by: R.Subramanian on June 21, 2010 07:52
Published by: R.Subramanian on June 21, 2010 07:53
-
problem of creating user with SYSTEM default tablespace
Hi guru
When I am creating the user with table space default 'SYSTEM' I get the following error message
and when I change EXAMPLE its created as follows table spaceSQL> create user chetan 2 indentified by c 3 default tablsespace SYSTEM 4 temporary tablespace TEMP 5 quota 20 m on SYSTEM 6 password expire; indentified by c * ERROR at line 2: ORA-00922: missing or invalid option
so my question is. Is it not possible to create a new user with systemtablesapce?SQL> create user chetan 2 identified by c 3 default tablespace EXAMPLE 4 temporary tablespace TEMP 5 quota 15m on EXAMPLE 6 password expire; User created.
Thanks in advance
Chetanyou have a typo on line 2:
SQL> create user chetan 2 indentified by c
identified ?
so my question is. Is it not possible to create a new user with systemtablesapce?
Yes, you can
SQL> create user vivek identified by l default tablespace system 2 ; User created.
-
Error ORA - 00604 DB creation with DBCA
Hello
I want to create an instance of database with MS Windows 8.1 64bits.
So I installed the Standard Edition 12.1.0.1.16 database (12.1.0.1.0 and Patch16). Now, when I create an instance I get the error ORA-00604 in the script cloneDBCreation.sql to the command ' modify AL32UTF8 database character set INTERNAL_CONVERT '.»
Has anyone an idea what is the problem?
Thanks in advance.
Kind regards
Martin
12.1.0.2 is only available under EA right now - see MOS Doc 1905806.1
-
Hello
Run immediately is to give different results
But,SQL> declare 2 v varchar2(30):='SAL'; 3 Begin 4 execute immediate 'update emp set :1=1000 where empno=7900' using v; 5 end; 6 / declare * ERROR at line 1: ORA-01747: invalid user.table.column, table.column, or column specification ORA-06512: at line 4
Can someone kindly explain to me the reason.SQL> declare 2 v varchar2(30):='SAL'; 3 Begin 4 execute immediate 'update emp set ' ||v||'=1000 where empno=7900'; 5 end; 6 / old 7900 new 7900 PL/SQL procedure successfully completed.
I need to accomplish a task using the first way.
What could be the solution to the above ORA error?
Thank youColumn names cannot be used as a bind variable.
If you do not need to do this using method 1 as method 1 does not work by design.
On the other hand, you need replace the literal (7500,7900) with a variable binding.--------
Sybrand Bakker
Senior Oracle DBA -
Error ORA-27418 creating the calendar for DBMS_SCHEDULER
Hello world
Im trying to set up a schedule for dbms_scheduler on Oracle 11 g 2 test user sys like this server:
run DBMS_SCHEDULER. () CREATE_SCHEDULE
repeat_interval = > ' FREQ = DAILY; BYHOUR = 10:30 '.
start_date = > to_timestamp_tz ('2013-03-11 Europe/Berlin ',' YYYY-MM-DD TZR').
schedule_name = > 'FULLBACKUP_DAILY');
But I get an error ORA-27418 and ORA-06512:
DBMS_SCHEDULER BEGIN. CREATE_SCHEDULE (repeat_interval = > ' FREQ = DAILY;) BYHOUR = 10:30 ', start_date = > to_timestamp_tz ('2013-03-11 Europe/Berlin ',' YYYY-MM-DD TZR'), schedule_name = > 'FULLBACKUP_DAILY'); END;
*
FEHLER in line 1:
ORA-27418: Syntaxfehler in Wiederholungsintervall oder Kalender
ORA-06512: in 'SYS. DBMS_ISCHED ', line 997 '.
ORA-06512: in 'SYS. DBMS_SCHEDULER', line 1486
ORA-06512: In line 1
I had no right as sys to configure a scheduler or forgot to activate something?
Thanks for the help!
Kind regards
DavidHello
Could you try following interval?
repeat_interval => 'FREQ=DAILY;BYHOUR=10;BYMINUTE=30'
Kind regards
-
IOM 9.1.0.1:-create user with approval.
Guru, Experts,
I am currently using IOM 9.1.0.1, and I want to create the user features to be working with approval. Whenvr a user or xelsysadm attempts to create the user and it must then ask for approval/Rejact then only it will create or deny the operation.
Thank you
Hemant.(1) create a dummy resource, say 'CREATE the RESOURCE USER IOM'... It should be of type 'Order of the organization' and not 'Order for User. Create a model organization, such as CREATE USER ORGANIZATION or better ORGANIZATION OF USER OPERATIONS too for the sole purpose of acceptance of the application.
In the form of resources either in the form of object, take all required attributes such as user login, first name, last name, organization etc.
(2) establish an approval process: say "assign system Admin Approval '.
(3) in the assignment tab, assign the task to the Group--> SYSTEM ADMINISTRATOR (or any other group of your business condition)
Optionally, you can even send emails too.
(4) in the process of commissioning, in the stream, flow, the shape of the object in your process.
(5) in the "Create a user" task, call tcUserOperationsIntf.createUser () and pass all from processes form...
(6) raises 'request '... Fill in the data... And then approve it... The user must be created...
(7) in the CREATE USER ORGANIZATION profile resource, the IOM CREATE USER the RESOURCE and the process shape shows all the attributes of the user.
-
Create users with permissions to read only a few dashboards
Hi all
Works with OBI EE, I created dashboards and I want to know the steps to create users in order to
give each of them certain permissions (read-only, select or change). I just tried and I might add a new group of
users, but I was not able to create a new user.
To add a secure way to present my work, have more than one user (Administrator) would help me
manage all dashboards and give each user the ability to view only the edge associated with its activity type.
Any ideas...
Kind regards.Hello
For users to create and give certain permissions to them, please follow the steps mentioned below:
1 > connect to Administration and open the RPD in online mode.
2 > click on manage---> security
3 > it will show a window which displays users, groups, etc.
4 > select user.
5 > on the side right window right click and select new user.
6 > a window will appear where you must type the user name, the description, and the password, and then click ok
7 > your user name is created. Now save the RPD.
8 > connection to presentation Services with the user you just created. This will create the user in your presentation.
9 > now logg off and connect with the administrator user.
10 > now go into the settings---> Administration---> interactive dashboards to manage and give the permissions you want. -
Error ORA-01115 creating the materialized view
Hi friends,
When I create a materialized view it by throwing some error
CREATE THE PNR_RES_MV MATERIALIZED VIEW
TABLESPACE FAS
NOCACHE
LOGGING
NOCOMPRESS
NOPARALLEL
IMMEDIATE CONSTRUCTION
REFRESH THE STRENGTH TO DEMAND
WITH THE PRIMARY KEY
AS
SELECT C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR,-, B.LEG_NMBR, C_PAX_NMBR
COUNT (CASE WHEN TRIM (B.CURRENT_STATUS_CD) = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "OR C_CHANGE_OR_CANCELL_IND IS NULL) THEN 1 OTHER TRAILING NULL) CONFIRMED_COUNT,.
COUNT (CASE WHEN (B.CURRENT_STATUS_CD) TRIM = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "or C_CHANGE_OR_CANCELL_IND IS NULL) null THEN 1 OTHER END) cancELLED_COUNT
OF PNR_RES_LEG_PAX_MV B, PNR_RES HAS
WHERE A.PNR = B.PNR
AND a.CREATION_DATE = b.CREATION_DATE
- and A.BOOKING_OFFC_NMBR = '1F'
- AND C_PNR = 'XE76V. '
AND A.FILE_UPDATE_DATE. A.UPDATE_DATE IN (SELECT MAX (D.FILE_UPDATE_DATE |)) (UPDATE_DATE) OF PNR_RES D WHERE D.PNR = B.PNR AND D.CREATION_DATE = B.CREATION_DATE)
GROUP OF C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR;When executing it it gives this error
ORA-01115: reading block IO file error 4 (block # 63757)
ORA-01110: data file 4: ' D:\APP\IGT\ORADATA\ORCL\USERS01. DBF'
ORA-27070: async read/write failed
OSD-04006: ReadFile() failure, unable to read the file
S/O-error: (27 OS) the drive cannot find the sector requested.And I checked through RMAN
RMAN > validate the audit logic datafile 4;
From post 11 March 14
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 127 type device = DISK
channel ORA_DISK_1: starting from the data file validation
channel ORA_DISK_1: datafile (s) for specification validation
Enter a number of file datafile = 00004 name = D:\APP\IGT\ORADATA\ORCL\USERS01. DBF
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure to validate the command channel ORA_DISK_1 11/03/2014 13:0
04:12
ORA-19501: read error on the file 'D:\APP\IGT\ORADATA\ORCL\USERS01. DBF', block numbe
r 63745 (block size = 8192)
ORA-27070: async read/write failed
OSD-04016: error queuing an asynchronous i/o request.
S/O-error: (27 OS) the drive cannot find the sector requested.Please suggest me what to do it is a mistake to associate related database or OS. DB version is - 11 GR 2
Kind regards
Arya
This is the error message that you should focus:
> O/S-error: (27 OS) the drive cannot find the sector requested.
Run disk checker utilities, eventually the file system is damaged.
Hemant K Collette
-
I have a server ESX 3 and I am connected using root for the virtual server Centert account. I want to add a user to access the admin web pages, but there is no users/groups tab when I select the host in the left frame. No idea why and how can I allowed?
Thank you
Your vCenter server is a member of this domain? If so, you can add users directly. If this isn't the case, then you must go to your Vcenter windows machine. Create local windows inside of vCenter machine users. Then, use these user accounts to apply permissions on virtual machine objects in the vi client.
-KjB
VMware vExpert
-
create user with access to only 5 tables
Hello
8.1.7
Win 2003 Server
I created a user and granted ir create session privilege. I have given access to this user for only 5 tables. When I check more later, the other tables also receive access. How can I avoid this problem and provide access to the selected tables. I guess that these other tables were given access by the public. How to remove this user
Best regardsValy says:
Hello8.1.7
Win 2003 ServerI created a user and granted ir create session privilege. I have given access to this user for only 5 tables. When I check more later, the other tables also receive access. How can I avoid this problem and provide access to the selected tables. I guess that these other tables were given access by the public. How to remove this user
Best regards
If you actually gave grants to the public then always this user can access this table. This is why you must revoke these privileges to the public, but first consider this: this can problem your application?
-
error ORA-1652 on tablespace with the amount of available space
Can someone help me understand what is happening with this "ORA-1652: unable to extend segment temp of 128 in tablespace DWH_REP_DATA? Database is 11g (windows 2008)
It seems that my tablespace has 15 free g but it is short of space. The size of the tablespace file = the maximum tablespace file size. If there is so much space why not is not it used? Another addition disc more table space how to fix this?
View of datafile: Online status
Size of the file (Mo) 32 750.00
Auto expand Yes
Increment (MB) 10.00
Maximum file size (MB) 32,767.00
Thank you for taking my question!
KathieIf the related tables is permanent, it means that you have a great race of DDL statement that allocated a temporary segment in a permanent tablespace: given that the statement failed due to lack of space, temporary segment has been released.
See http://coskan.wordpress.com/2007/12/05/temp-segments-in-normal-datafile-ora-1652/.You need to increase the permanent size of the tablespace or attempt to modify the DDL statement so it needs less temporary space.
-
IOM Provisioning - OID Create User fails with a weird error
Hello
I have the auto layout installation service using access policies, the user is to created in IOM, then he's trying to delivery to the OID.
I get the following error while trying to create the user in the OID. The "Create a user" task is rejected status with the error "Could not create user".
DEBUG, December 6, 2010 14:07:33, 573, [XL_INTG. OID], com.thortech.XL.Integration.OID.tcUtilOIDUserOperations: getMultiValues(): COMPLETED
DEBUG, December 6, 2010 14:07:33, 574, [XL_INTG. OID], com.thortech.XL.Integration.OID.tcUtilOIDUserOperations: escapeCharactersDN(): STARTED
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID],====================================================
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID,] ERROR in com.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) generic Exception Exception:
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID],====================================================
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID],====================================================
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID],
ERROR, December 6, 2010 14:07:33, 575, [XL_INTG. OID],====================================================
DEBUG, December 6, 2010 14:07:33, 575, [XL_INTG. Election of OID], com.thortech.XL.Integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) with the code: USER_CREATION_FAILED
DEBUG, December 6, 2010 14:07:33, 575, [XL_INTG. OID], com.thortech.XL.Integration.OID.tcUtilOIDUserOperations: disconnectLDAP(): STARTED
I mentioned the following post:
IOM - OID Direct Provisioning of users newly created via the err access policy
Mistakes are similar, but it seems that in my case the container DN is updated using the adapters to prepopulate.
Any ideas to fix it?
Concerning
Vijay ColinI would recommend to sniff the connection (http://iamreflections.blogspot.com/2010/08/how-i-learned-to-stop-worring-and-love.html) or decompile the connector.
Newspapers are not very useful.
Best regards
/ Martin -
When you try to install the Blackberry software, I get an error "could not create ' users\locals1 ~ \Temp"-unzip operation cancelled. " How can I fix it? I am the only user, and I have administrator permissions.
Try right click on the system icon and then click on run as administrator and see if that helps.
(t which does not help and because the problem is the installation software Blackberry, pleaee transfer your question in the Forum program at the: http://social.answers.microsoft.com/Forums/en-US/vistaprograms/threads , where programs other than Vista experts will be more than happy to help you with your problem.) There may be a special procedure to install the Blackberry software that requires additional or different steps.
I also suggest that you contact Blackberry technical support to see if they can help you - they must be very willing to help you (as they otherwise lose a sale, as you can return it for a refund if you do not it works properly).
I hope this helps.
Good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Hi all
OS: Win XP
DB: 11.2.0.1
I installed an oracle in my system. Created a database test and try ti create a user, but is in error.
SQL > create user test identified by the test.
create user identified by test test
*+
ERROR on line 1:
ORA-01031: insufficient privileges
I connected through "sys as sysdba.
What can be the problem?
Kind regards.OK... I got the link to disable DV.
http://www.filibeto.org/Sun/lib/nonsun/Oracle/10.2.0.1.0/B19306_01/server.102/b25166/dvdisabl.htm#BAJICEFE
Now I'm able to create user...!
Thnks... !!!
Maybe you are looking for
-
Songs downloaded on my iphone through apple's music is no longer sync iTunes on my Mac.
Songs, that I had downloaded from apple's music on my phone used to automatically appear in my library in itunes on my mac, but for some reason some do no more. I tried to sync the phone with itunes when connected via USB but that does nothing either
-
How to add to my HP Pavilion Elite HPE-590uk Usb 3.0
Hi does anyone know if I can improve my HP Pavilion Elite HPE-590uk for usb 3.0 and if so could you recommend a product that I could buy to do this. Thanks in advance.
-
Re: Camileo S10 - very slow when the SD card is in.
My Camileo S10 was working fine for months with my 8 GB ScanDisk Ultra II memory card.Now, when I start the camera, it is very slow to start and operate (a few second delay for each operations). When I remove the card SD and trun on the camera, it wo
-
G7 2017 Pavilion: display driver has stopped working and has recovered
I received this message at least twice this month. In addition, the laptop freezes several times a day. Not sure if the two problems are related. Thanks for any help you provide. Ana
-
Output in two ways at the same time
Hi guys,. I have a problem with the sending of two outputs (two different) rule once a conidition on true case. Here is a picture of the program (program attached as well): As you can see, I'm having the output of command to write to two different wa