Grant Select on sys.dba_role_priv to the user; error
version 10204It's the user's request: Add: select sys.dba_role_priv to: ROLE vas_user;
I was just wondering what I'm doing wrong? How to fix?
SQL > grant Select on sys.dba_role_priv to vas_user;
Grant Select on sys.dba_role_priv to vas_user
*
ERROR on line 1:
ORA-00942: table or view does not exist
I was just wondering what I'm doing wrong?
incorrect spelling
How to fix?
Use the correct name
SQL> desc dba_role_priv
ERROR:
ORA-04043: object dba_role_priv does not exist
SQL> desc dba_role_privs
Name Null? Type
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GRANTEE VARCHAR2(30)
GRANTED_ROLE NOT NULL VARCHAR2(30)
ADMIN_OPTION VARCHAR2(3)
DEFAULT_ROLE VARCHAR2(3)
Tags: Database
Similar Questions
-
GRANT SELECT on a table to the user / role changes for the tab last_DDL
Hello
Is grant select (or any private object) to the user/role a DDL statement?
GRANT SELECT on a table to the user / role changes the last_DDL to the table.
1 > is this expected behavior?
2 > no way in which we can grant select on a table by another user, without changing the DDL? (for example create view).
The test is performed:
Prior to the issuance:
OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
------- ---------------------- ---------- ------------- --------------------
AR HZ_CUSTOMER_PROFILES 8 MAY 00 13 MARCH 13 2003-06 - 26:12:41:29
Grant statement:
GRANT SELECT ON "AR". "' HZ_CUSTOMER_PROFILES ' TO 'AR_VIEW ';
Note: AR_VIEW is a role, I tried granting also directly to the user.
After the grant:
OBJECT_NAME CREATED TIMESTAMP LAST_DDL_TIME OWNER
------- ---------------------- ---------- ------------- --------------------
AR HZ_CUSTOMER_PROFILES 8 MAY 00 21 MARCH 13 2003-06 - 26:12:41:29
Old thread, discuss whether Grant is DDL or not, but no documented conclusions.
( )
Please help in the assessment above.
-Best regards,.
ManiIt's the DOF.
After all, this isn't DML, it implicitly committed and you cannot use it directly in PL/SQL: features of DDL. :-)
-
How to set values in a select list dynamically according to the user action
Hello
I'm new to Apex. With the help of Apex 4.0 on Oracle 10 g. In my page, I will have a list of selected countries. According to the user selection value I have to display the States / provinces of this country in another selection list. States have to fetch the state_list table and the province of province_list table.
Can someone tell me how to do this.
n advance thanksHello
LoV using cascading as detailed here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_item.htm#HTMDB05014Kind regards
-
I'm familiar with Oracle databases, but still learning my way around PeopleSoft administration.
After validating the connection information of database with sqlplus from the same platform, psadmin application server start command generated an error message in the console.
tmboot: CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler
After the attempt failed to start the 8.49 application server, the journal entries were:
PSAPPSRV.55837058 (0) [28/09/15 09:30:31] (4) the Configuration of server settings: {Journal
Ging level = 5, sql trace = 12319, mask of trace sql client = 12319, peoplecode trace = 0,
mask trace client PC = 4095, timeout = 300, County recycling = 2000, max such svc fail
ures = 2, ORACLE, database name database type of == 'DBXX', database server = ", id = user
'PXXXXX', connect id is "CXXXXXX"}
...
PSAPPSRV.55837058 (0) [28/09/15 09:30:32] (1) GenMessageBox (0, 0, M): If the database
gnon: could not sign database DBXX with user PXXXXX.
PSAPPSRV.55837058 (0) [09:30:32 ago] (0) 28/09/15 start the server failed
PSWATCHSRV.6685110 (0) [28/09/15 09:30:33] closing
PSADMIN.58196170 (0) [28/09/15 09:30:39] (0) attempt to end on the dbxx field boot
While the connectivity of sqlplus had tested OK from a client, PeopleSoft Signon pside.exe two levels on the same client Windows resulted in Invalid User ID and password for the access code.
The psaccessprfl table had been updated with the connection of data validated by using a platform application server dms shell script.
The area has been configured using the application server platform psadmin. UserId, UserPswd, ConnectID and ConnectPswd had been entered and verified. Passwords have been encrypted by the suite.
The psoprdefn table showed correct SYMBOLICID uppercase and ACCTLOCK is zero on behalf of PXXXXX.
The psaccessprfl table showed too correct SYMBOLICID.
The psdbowner table showed the DBNAME and OWNERID both uppercase.
The values encrypted in the database matched other environments on the same server platform.
Why app server not sign to the Oracle database?
Using the pscfg.exe, Manager of the Windows client configuration utility, I selected the 5 first checkboxes dialog SQL Trace on the left side of the tab of the Trace, I entered the name and location of the trace people tools to create and store the output of client sessions on the same tab. Then tried another connection to the database, using the pside.exe utility. The text resulting in the newly created text file showed the last executed statement was a select on the table psdbowner. I removed my trace entries using pscfg.exe to stop tracing.
Using the information provided by the last executed statement, I ran a request and discovered that the length (dbname) for the value of the column in the psdbowner table was one character longer than the expected value.
After update the column value by removing the end interval, the utility psadmin on the server worked without error.
-
As I start my custom domain name (HC92), I get the following:
exec PSWATCHSRV EI o '.\LOGS\stdout' '.\LOGS\stderr' - A - ID - 54217 d TESTSERV s PSWATCHSRV: process id = 1636... Has begun.
exec PSAPPSRV '.\LOGS\stdout' EI '.\LOGS\stderr'[email protected] s PSAPPSRV d o: process id = 2656... Has begun.
exec PSAPPSRV '.\LOGS\stdout' EI '.\LOGS\stderr'[email protected] s PSAPPSRV d o: process id = 2644... Has begun.
exec PSSAMSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSSAMSRV TESTSERV: process id = 2832... Has begun.
exec PSSAMSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSSAMSRV TESTSERV: process id = 2692... Has begun.
exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 2448... Has begun.
exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 496... Has begun.
exec PSANALYTICSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSANALYTICSRV TESTSERV: process id = 2964... Has begun.
exec PSRENSRV o '.\LOGS\stdout"e".\LOGS\stderr"- A – d s PSRENSRV TESTSERV: process id 2356 =... Has begun.
exec PSMONITORSRV EI o '.\LOGS\stdout' '.\LOGS\stderr' - A - ID - 54217 d TESTSERV s PSMONITORSRV: process id = 1056... Has begun.
exec JSL o '.\LOGS\stdout"e".\LOGS\stderr"- A – n //PSOFT_PC:9000 m 5 - M7-I have 5-j ANY - x 40 s 10 - c 1000000 w JSH: failed.
tmboot: CMDTUX_CAT:827: ERROR: fatal error occurred; launch the user error handler
tmshutdown - qy
==============ERROR!================
Try to start met domain errors! See TUXEDO log for more details.
==============ERROR!================
----------------------------
Domain LOG FILE
----------------------------
PSADMIN.1088 (0) [2015-01 - 13 T 17: 06:34.774] (0) attempt to Begin priming on domain HC92
PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.056] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/2
PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.056] (3) detected time zone is Pacific SA Daylight saving time
PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:46.134] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSAPPSRV_2\
PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:47.056] (2) App Server host lag is DB + 0 0:00:00 (ORACLE PSHRDMO)
PSAPPSRV.2656 (0) [2015-01 - 13 T 17: 06:51.196] (0) server started
PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.603] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/1
PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.603] (3) detected time zone is Pacific SA Daylight saving time
PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.665] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSAPPSRV_1\
PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:51.837] (2) App Server host lag is DB + 0 0:00:00 (ORACLE PSHRDMO)
PSAPPSRV.2644 (0) [2015-01 - 13 T 17: 06:52.415] (0) server started
PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.728] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/101
PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.728] (3) detected time zone is Pacific SA Daylight saving time
PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:52.790] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSSAMSRV_101\
PSSAMSRV.2832 (0) [2015-01 - 13 T 17: 06:53.087] (0) server started
PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.415] (0) PeopleTools version 8.54 (Windows) from. Tuxedo server is APPSRV 99/100
PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.415] (3) detected time zone is Pacific SA Daylight saving time
PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.493] (0) used Cache Directory: C:\PS _CFG_HOME\appserv\HC92\CACHE\PSSAMSRV_100\
PSSAMSRV.2692 (0) [2015-01 - 13 T 17: 06:53.806] (0) server started
PSRENSRV.2356 [2015-01 - 13 T 17: 06:56.743] (0) st PeopleTools version 8.54 (Windows) arting . Tuxedo server is RENGRP 92/101
PSRENSRV.2356 [2015-01 - 13 T 17: 06:56.759] (3) switch to the new log file * C:\PS_CFG_H OME\appserv\HC92\LOGS\PSRENSRV_0113.LOG *
PSADMIN.1088 (0) [2015-01 - 13 T 17: 07:13.698] (0) attempt to end HC92 field boot
* C:\PS_CFG_HOME\appserv\HC92\LOGS\PSRENSRV_0113.LOG *.
-Begin PSRENSRV boot-
PSRENSRV.2356 (0) [2015-01 - 13 T 17: 06:57.273] (3) (NET.113): RenRequest customer service request succeeded
PSRENSRV.2356 (0) [2015-01 - 13 T 17: 06:57.843] (3) (NET.113): RenRequest customer service request succeeded
2356.2708 [2015-01 - 13 T 17: 07:02.075] (WARN) nsmain: off the server immediately asked
----------------------------
SMOKING LOG FILE
----------------------------
170634.PSOFT_PC! PSADMIN.1088: Start the start on domain HC92 attempt
170639.PSOFT_PC! tmadmin.556.2400.-2: TMADMIN_CAT:1330: INFO: command: start - a
170641.PSOFT_PC! tmboot.2392.2544.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS201 0, 64-bit
170641.PSOFT_PC! tmboot.2392.2544.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is to t to 120 seconds
170641.PSOFT_PC! tmboot.2392.2544.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
170643.PSOFT_PC! BBL.2340.1680.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit, Patch level (none)
170643.PSOFT_PC! BBL.2340.1680.0: LIBTUX_CAT:262: INFO: Standard master boot
170645.PSOFT_PC! tmboot.1488.2464.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS201 0, 64-bit
170645.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is to t to 120 seconds
170645.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
170645.PSOFT_PC! PSWATCHSRV.1636.2816.-2: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170645.PSOFT_PC! PSWATCHSRV.1636.2816-2: LIBTUX_CAT:262: INFO: Standard main starting
170645.PSOFT_PC! PSAPPSRV.2656.592.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170645.PSOFT_PC! PSAPPSRV.2656.592.0: LIBTUX_CAT:262: INFO: Standard main starting
170651.PSOFT_PC! PSAPPSRV.2644.2804.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170651.PSOFT_PC! PSAPPSRV.2644.2804.0: LIBTUX_CAT:262: INFO: main starti Standardng
170652.PSOFT_PC! PSSAMSRV.2832.2208.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170652.PSOFT_PC! PSSAMSRV.2832.2208.0: LIBTUX_CAT:262: INFO: main starti Standardng
170653.PSOFT_PC! PSSAMSRV.2692.2668.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170653.PSOFT_PC! PSSAMSRV.2692.2668.0: LIBTUX_CAT:262: INFO: main starti Standardng
170653.PSOFT_PC! PSANALYTICSRV.2448.2180.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit
170653.PSOFT_PC! PSANALYTICSRV.2448.2180.0: LIBTUX_CAT:262: INFO: main s Standardtarting
170654.PSOFT_PC! PSANALYTICSRV.496.2476.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit
170654.PSOFT_PC! PSANALYTICSRV.496.2476.0: LIBTUX_CAT:262: INFO: Standard main stsurglace
170655.PSOFT_PC! PSANALYTICSRV.2964.1536.0: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit
170655.PSOFT_PC! PSANALYTICSRV.2964.1536.0: LIBTUX_CAT:262: INFO: main s Standardtarting
170656.PSOFT_PC! PSRENSRV.2356.2708.-2: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64-bit
170656.PSOFT_PC! PSRENSRV.2356.2708-2: LIBTUX_CAT:262: INFO: key start Standarding
170658.PSOFT_PC! PSMONITORSRV.1056.2212.-2: 13/01/2015: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit
170658.PSOFT_PC! PSMONITORSRV.1056.2212-2: LIBTUX_CAT:262: INFO: main s Standardtarting
170658.PSOFT_PC! JSL.640.904.0: 13/01/2015: Version Tuxedo 12.1.3.0.0_VS2010, 64 -bit
170658.PSOFT_PC! JSL.640.904.0: LIBTUX_CAT:262: INFO: Standard master boot
170658.PSOFT_PC! JSL.640.904.0: INFO: version JOLT Jolt 12.1.1.0 Oracle Listener
170659.PSOFT_PC! JSL.640.904.0: JOLT_CAT:1568: "INFO: threshold of Compression is tot-1000000 '
170659.PSOFT_PC! JSL.640.904.0: JOLT_CAT:1242: ' ERROR: Bad Internet type listning address provided: //PSOFT_PC:9000 '
170659.PSOFT_PC! JSL.640.904.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
170659.PSOFT_PC! tmboot.1488.2464.-2: CMDTUX_CAT:825: ERROR: process to PSOFT JSL _Pc failed with / t tperrno (TPESYSTEM - internal system error)
170659.PSOFT_PC! tmboot.1488.2464.-2: tmboot: CMDTUX_CAT:827: ERROR: fatal error met, launch the user error handler
170710.PSOFT_PC! BBL.2340.1680.0: CMDTUX_CAT:26: INFO: The BBL out of system
170713.PSOFT_PC! PSADMIN.1088End attempt to boot on domain HC92
-------------------------------------------------------------
SETTINGS FOR THE DOMAIN
------------------------------------------------------------
----------------------------------------------
Menu quick access - configure area: HC92
----------------------------------------------
Characteristic parameters
========== ==========
(1) pub/Sub servers: No. 17) DBNAME: [PSHRDMO]
(Server 2) Quick: No. 18) DBTYPE: [ORACLE]
(Query servers 3): No. 19) user name: [PS]
((4) shock: Yes 20) UserPswd: [PS]
((5) Jolt relay: No. 21) Networkid: [TESTSERV]
((6) WSL: No. 22) AddToPATH: [C:\app\psoft\product\11.2.0\dbhome_1\BIN]
(PC 7 debugger): No. 23) ConnectID: [people]
(Event notification 8): Yes 24) ConnectPswd: [people]
[(Serveurs de 9) MCF: No. 25) DomainConnectPswd:]
(10 assembler) Perf: No. 26) Port of WSL: [7000]
((11) Analytics servers: Yes 27) JSL Port: [9000]
(Bridge 12) areas: No. 28) Port of JRAD: [9100]
(13) the server events: No.
Actions
=========
(14) load config as shown
(15) custom configuration
(16) the settings of the environment
(h) aid for this menu
(q) to return to the previous menu
TIP: Enter 17 to change DBNAME, then 14 to load
Enter the selection (1-28, h or q):
--------------------------------------------------------------
ENVIRONMENT SETTINGS
--------------------------------------------------------------
C:\Users\psoft > set
ALLUSERSPROFILE = C:\programdata
APPDATA = C:\Users\psoft\AppData\Roaming
CommonProgramFiles = c: files
CommonProgramFiles (x 86) = c: Program Files (x 86) \Common Files
CommonProgramW6432 = c: files
COMPUTERNAME = PSOFT_PC
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK = NO
HOMEDRIVE = C:
HOMEPATH = \Users\psoft
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_25
JAVA_OPTS = "" - Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID = 1.0 - Xms32 m - Xmx64m " "
LOCALAPPDATA = C:\Users\psoft\AppData\Local
LOGONSERVER = \\PSOFT_PC
NUMBER_OF_PROCESSORS = 2
OS = Windows_NT
Path = C:\Program Files\Java\jdk1.8.0_25\bin
; C:\app\psoft\product\11.2.0\dbhome_1\bin
; C:\app\psoft\product\11.2.0\dbhome_2\bin
; C:\Windows\System32; C:\Windows
; C:\windows\System32\Wbem
; C:\Windows\system32\WindowsPowerShell\v1.0\
; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\bin
; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\jre\bin\server
; C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010\jre\bin
PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_IDENTIFIER = Intel64 family 6 model 58 Stepping 9 GenuineIntel
PROCESSOR_LEVEL = 6
PROCESSOR_REVISION = 3 a 09
ProgramData = ProgramData
ProgramFiles = c: Program Files
ProgramFiles (x 86) = c: Program Files (x 86)
ProgramW6432 = C:\Program Files
PROMPT = $P$ G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PS_APP_HOME = C:\HC9.2
PS_CFG_HOME = C:\PS_CFG_HOME
PS_HOME = C:\PT8.54
PUBLIC = C:\Users\Public
SESSION = Console
SystemDrive = C:
SystemRoot = C:\Windows
TEMP = C:\Users\psoft\AppData\Local\Temp
TMP = C:\Users\psoft\AppData\Local\Temp
TUXDIR=C:\app\tuxedo\tuxedo12.1.3.0.0_VS2010
USERDOMAIN = PSOFT_PC
USERNAME = psoft
USERPROFILE = C:\Users\psoft
windir = C:\Windows
windows_tracing_flags = 3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
_JAVA_OPTIONS =-Xmx512M
Found this post:
ISNAT_CAT:1242: ERROR: Bad Internet type of listening address
"The problem has been resolved after that I changed my name from ZEMEROV_A to ZEMEROV computer.
Hyphens are not allowed for regular internet names. The only Microsoft DNS server
allows hyphens. Obviously TUXEDO checks the internal Web address syntax.
But I don't know why my IP (10.57.70.246) has failed.
In any case, the issue is resolved. Make sure that TUXEDO documentation recommends-
When using the name of the server host you talk server. This is case and sensitive syntax. »
Where as: I changed my host name of psoft_pc to psoftpc and I changed the same on TNSNAMES and everything worked without problems.
I'll mark this issue is resolved.
Thank you.
-
Multi select values in Lov in the user setting page
Hello
I want to select muliple parameter of the user through LOV values and want to display the data in the report page based on multiple selected values.
Can someone please guide me how I can implement it in the report of the APEX.
Thanks in advance.
Concerning
Prabhat MishraPrabhat,
You said:
I get all the data during the passage of several as 1092980,10031186 input parameter values.
If I understand correctly; : P4_valor_sel returns a value of session separated by commas.
This version of your code can not work?
SELECT * FROM table_name WHERE INSTR (',' || :p4_valor_sel || ',', ',' || table_name.fieldname || ',') > 0
The f
-
Syntax of GRANT: grant SELECT on table privileges to a user on a remote database
Hello
I have two databases: DEV1 and DEV2. Dev1 is my source database and DEV2 is the target database. There is a table in the diagram A on Dev1. I created a DBLINK PUBLIC 'TESTDBLINK' in the diagram B on DEV2 that connects to figure A on DEV1.
Machine of Table for the database schema
DEV1 AN EMP 192.168.210.10
Database Machine Lik database schema
DEV2 B TESTDBLINK 192.168.210.11
How to SELECT on the schema Table EMP (DEV1) diagram b the DEV2 privileges? What is the syntax?
Sign up for example in the form of scheme A on DEV 1
SQL > GRANT SELECT ON EMP to? * *
Thanks for your contributions
HarryDo not give this table in diagram A diagram B.
Inside the diagram B, you can just issue a select statement as follows:
select * from table@db-link-to-A
Oracle connects to the remote instance by using the credentials of the scheme A, and since A is the owner of this table, Oracle can already access the table.
-
Automatically select a TextInput box, so the user must first select with the mouse
Hi guys,.
Is it possible to automatically set the cursor to an area of TextInput in Flex 3? So that users can start writing without selecting the TextInputBox with the mouse?
Like Google does on its homepage!
Thank you
K
Just use setFocus().
Example:
myTextArea.setFocus ();
Simply call this initialization program.
-
Hi all
I created a temporary tablespace and user help below sqls
> sqlplus "virtue sysdba".
> create tablespace REXAMPLE DATAFILE "rexample.dbf" SIZE 100 M REUSE AUTOEXTEND ON;
> create user testuser identified by testuser;
> CHANGE the testuser user DEFAULT TABLESPACE REXAMPLE;
> ALTER user testuser temp TABLESPACE TEMPORARY;
> ALTER user testuser QUOTA UNLIMITED ON REXAMPLE;
> change the testuser user ACCOUNT UNLOCK;
> GRANT RESOURCES, CONNECT to testuser;
> GRANT recovery_catalog_owner to testuser;
Now, I'm trying to drop this user as below.
> sqlplus "virtue sysdba".
> drop TABLESPACE REXAMPLE including CONTENT AND DATA files;
> drop user testuser waterfall;
But I get the error message
ORA-01940: cannot delete a user who is currently logged on
Why is it so? No work around.
Thank youORA-01940: cannot delete a user who is currently logged on
Check the error message please. Check the session views from $ V using the system or for your user sysdba user connected.
Concerning
Asif Kabir -
Dynamic insertion within the procedure error
Hi allI use under oracle database on HP - UX.
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE Production 10.2.0.5.0
AMT for HP - UX: 10.2.0.5.0 - Production Version
NLSRTL Version 10.2.0.5.0 - ProductionI'm not able to run the procedure below and it returns the error. The insert in the procedure returns error. If I execute manually only the insert statement, it works well.
Can someone help me with this issue?Procedure
===========
create or replace procedure test_proc
as
v_sql varchar2 (2000);
Start
v_sql: =' insert into TABLE1 (select owner, object_type, object_name, "S", "Y" of dba_objects@LINK1 )
where owner = "ABC" and object_type = "TABLE" less
Select the owner, object_type, object_name, "S", "Y" from dba_objects where owner = "ABC" and object_type = "TABLE") ';immediately run v_sql;
commit;
end;
/exec test_proc;
Error:
===========ERROR on line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SYSTEM. TEST_PROC", line 8
ORA-06512: at line 1user running this procedure doesn't have permission to read data from DBA_OBJECTS. Grant select permission on that to the user running this procedure and it should work.
Onkar
-
Planner linking not post other than the user sys
Hello
The below mentioned job scheduler works successfully from the SYS user, but fails in the attempt of another user.
Start
SYS. DBMS_SCHEDULER. () CREATE_JOB
job_name = > 'RUN_DDL_JOB ',.
start_date = > SYSDATE,.
repeat_interval = > NULL,
End_date = > NULL,
job_class = > 'DEFAULT_JOB_CLASS ',.
job_type = > 'EXECUTABLE. "
job_action = > "c:\windows\system32\cmd.exe /c C:\Anjan\run_ddl.bat > C:\Anjan\run_ddl.log',"
auto_drop = > TRUE,
enabled = > TRUE);
end;
In the User_Scheduler_Job_Run_Details table, error message below is,.
ORA-27370: slave to the job could not launch an EXECUTABLE type work
ORA-27300: dependent operation of the OS: access enforcement officer failed with the State: 2
ORA-27301: OS Error Message: the system cannot find the specified file.
ORA-27302: an error occurred in: 6a sjsec
ORA-27303: additional information: the system cannot find the specified file.
I found below thread similar to the problem, but no solution found.
I use Oracle 10.2.0.1.
Thank you
AnjanYou can create the position of OEM Planner (Business Manager)
Logged in as SYS to EM
On the Administration tab > Scheduler option > link jobsThen create the job, you will find the OWNER under the NAME field, create the work by providing appropriate parameter values.
Take a look at this below
BEGIN
() sys.dbms_scheduler.create_job
job_name => ""ADMIN"". "" TEST_JOB' '.
job_type-online "PLSQL_BLOCK."
job_action => ' begin
-Insert here the PL/SQL code
end;',
start_date-online systimestamp to the time zone '+ 6:00 ',
job_class-online "DEFAULT_JOB_CLASS."
observations-online "test job"
auto_drop => FALSE,
enabled-online TRUE);
END;In your scenario that should be: job_name => ' 'your_USER. RUN_DDL_JOB"", "
change the prefix of your code, the i.e:user_name of schema name that you want to run the taskThis problem is related with the privileges on the work of the Planner, when your job owner is SYS, and if the user HR has no privilege to run the created SYSTEM of jobs, he is unable to perform this work as HR.
by creating employment by above way you actually create work for your user name and give him the privilege to run.You should look at these privileges below
JOB SCHEDULER OBJECTS: The following privileges are necessary to perform procedures in the DBMS_SCHEDULER package.
CREATE JOB to create jobs, schedules and programs in the scheme of the dealer
CREATE ANY JOB create, modify or delete jobs, schedules and programs in any schema
Note: This extremely powerful privilege allows the recipient to run code as any other user. She should be granted with caution.RUN ANY PROGRAM use any program in a job in the scheme of the dealer
EXECUTE ANY CLASS specify no job in a job class in the schema of the dealer
SCHEDULER to MANAGE create, modify or delete no matter what group of class, window or workPublished by: adnanKaysar on April 12, 2010 17:16
-
ORA-01994: GRANT failed: failed to add the users to the public password file
Snoussi,
our applications 11.5.10.2 and db 9.2.0.6 whenever I'm in the process of grant dba privileges to rman user sys, I get the below error
ORA-01994: GRANT failed: failed to add the users to the public password file
I created the password file and I've changed remote_login_passwordfile = NONE for remote_login_passwordfile = EXCLUSIVE lock
in initSID.ora then I bounced DB but its showing again.
SQL > show the distance parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
real chain of remote_archive_enable
remote_dependencies_mode string TIMESTAMP
remote_listener chain
Remote_login_passwordfile string NONE
REMOTE_OS_AUTHENT boolean FALSE
remote_os_roles boolean FALSE
SQL >
Here is my information in initSID.ora file.
----------------------------------------------
#############################################################################
#
# END OF THE CBO SETTINGS SECTION
#
#############################################################################
#---FIN OF REQUIRED OPTIMIZER PARAMETERS-
#
# Client settings.
#
Remote_login_passwordfile = EXCLUSIVE lock
#EMOTE_LOGIN_PASSWORDFILE = exclusive lock
IFile=/U05/Oracle/visdb/9.2.0/DBS/VIS_linux2_ifile.ora
[oracle@linux2 dbs] $
Published by: HumanDBA on June 9, 2009 04:06Danny,
Do you use a spfile to start the database? If Yes, then you must change this setting in the spfile so (issue "show the spfile parameter' to check).
Kind regards
Hussein -
Form field: the user selects a single cell in a table?
I have a table I'll turn it into a form where the user can select multiple cells. When the user is finished, it will present in the usual way.
I want the user to be able to select multiple cells, and have sectionals outlined in red, by the small illustration that I've included here. I can't seem to find a way to do it, even if it is obviously very simple. Ideas? The table below is just a mock-up of what I want the form to look like after the user has selected the cells which are framed in red. Borders appear only when the user has clicked on it.
If these cells will be interactive form fields, the user will not be able to select several fields at the same time. What is possible change the border color when the user clicks in a field while holding down a modifier (shift, Ctrl) key. A simple example, the following script into a text field Mouse Up event will change the border color of the field to red when the SHIFT key is pressed while clicking on the field, but the change will be apparent once the field has lost focus. He will return to transparency if the SHIFT key is held down while you click on the field:
Script mouse upwards to the text field
event.target.strokeColor = event.shift? Color.Red: color.transparent;
-
Impdp import does not the privileges of the user
Hi guys,.
IM using expdp/impdp to a schema of 11.1 11.2 database, following importation, I realized that some of the packages are not valid... I did some research and discovered that oracle has not granted privileges to the user (such as
GRANT SELECT ON "SYS". "' V_$ SESSTAT ' TO
GRANT SELECT ON "SYS". "' V_$ STATNAME ' TO
GRANT EXECUTE ON "SYS". "" DBMS_AQADM ' TO
is this a normal behavior of the impdp to jump the sys privileges?It's true.
Let me quote documents"Restrictions".
...
Subsidies on belonged to the SYS schema objects are never exported. » -
How to get more information about the users in oracle 11g
Hi all
I need to know more information on users in oracle 11g.
1. how to check when user times last connection to the database.
2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also
3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?
4. how to check while he was reset his password, the last time.
Please correct me if am wrong. Thank you
Concerning1. how to check when user times last connection to the database.
AUDIT
2. If the user account is blocking why it is blocked? If it is locked trying Loing with wrong password how to check how many times he tried with wrong password... and other reasons also
Check the profile of this user and attr.
3 reaction strives to select user expire date is to show the value empty... we can check expire date by querys or we need to check the profile?
SQL> select EXPIRY_DATE from dba_users ; EXPIRY_DA --------- 24-SEP-11 24-SEP-11 24-SEP-11 24-SEP-11 24-SEP-11 24-SEP-11 24-SEP-11 23-MAY-13 24-SEP-11 24-SEP-11 24-SEP-11
check
EXPIRY_DATE in dba_users is null4. how to check while he was reset his password, the last time.
SELECT SYS PTIME. THE USER$;
Maybe you are looking for
-
iMac (late 2009) as screen for Mac Mini
Hi, I want to buy a new Mac Mini, and I want to use my iMac (late 2009) as screen. I want to know if it is posible, and, if so, what cable do I need to buy
-
Indicators clears when stops Subvi
Hi all. I have a problem with a Subvi, which contains as an output terminal, a graph and a table. When I run the vi everything is ok, but when I stop, erase them and resets to the initial value (0). I noticed that if I disconnect the indicators termi
-
Authentication RSA on ASA key error
Hello I'm trying to authenticate cisco 851 on ASA 5520 with MS CA digital certificates. had this error: CRYPTO_PKI (make trustedCerts list) CRYPTO_PKI:check_key_usage: ExtendedKeyUsage OID = 1.3.6.1.5.5.8.2.2 CRYPTO_PKI:check_key_usage: ExtendedKeyUs
-
Messages from blackBerry Smartphones ghost...
Yesterday, I got 5 messages 'ghosts' on my BB. This morning I deleted an app and rebooted - removing the battery. Now, I have 6 ghosts. Whenever I reboot, the number increases. How can I find to get rid of them? Thank you.
-
After the trial period, I assessed that the trial version has no added value for us compared to the old version and the price of it.Since the old version has been deleted automatically by the trial version, I have a problem.We bought it at the end of