ORA-27369 Error when running Scheduler jobs
We have an Oracle 11g Standard Edition (11.1.0.7) instance running on virtualized Oracle Enterprise Linux, hosted on VMWare. Every external job submitted via the Scheduler ends with the above error, although the jobs all run to completion - all steps are completed.
All of the external jobs are executed by a specific shell script that dynamically queries a table in the database with all the steps/programs that need to be executed. This varies from job to job. The script receives several parameters that are used to extract the task information.
If we run the same script from the OS, with the same parameters, the script runs to completion and no error is raised. We have tested this exhaustively and have never had the script raise any OS level errors.
Even a simple external script (e.g. a one-line shell script with something like "sleep 10") returns the same error code. The alert log always shows the same error text for every job:
ORA-12012: error on auto execute of job 73527
ORA-27369: job of type EXECUTABLE failed with exit code: No child processes
In our company we have at least 3 other similar 11g SE/Enterprise Linux/VMWare installations, and ours is the only one with this issue. I have had an open SR with Oracle support since January 2010 on this problem, but that has been an endless cycle of questons, replys, information requests, and requests for more info. No progress whatsoever. Since the jobs run to completion, it is not preventing us from workign with the scheduler, but the end users have become a little complacent with the "Error" status attached to their jobs so if one really fails, it may get missed.
The only difference we know of between our installation and the other similar installs is that we use Arcserve Agent for Linux to do (cold) backups to a remote Arcserve host. The other 3 sites use other backup software.
What we have observed is the following:
1. If we simply bounce the database, the problem persists.
2. If we shut down and restart the virtual server OS, the problem persists.
3. If we shut down the VMWare host server (and all the other VM's on that host!) and restart it, the problem persists.
4. If we shut down the virtual server OS and make a significant change to the server (e.g. add a new virtual disk) and restart it, the scheduler runs fine and no error is reported. But only until the next backup cycle. Then the problem returns and is persistent until the next time we make a similar significant change in the host virtual machine.
With no clear suggestions from Oracle Support, we are at our wit's end as to what we might be able to do to resolve this issue. There does appear to be a cause and effect link to Arcserve, but implementing a different backup solution is not an option at this time.
I wanted to post this issue in the hope that someone may have a tip or suggestion that could lead to a solution.....
I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ;
Similar Messages
-
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
ORA-06502 - Error when running "Ask The Expert 0.9"
Hi ,
I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Error Unable to write activity log.
I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
The debug function of the application show the following commands before the error ocurrs:
0.01:
0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
0.01: alter session set nls_language="AMERICAN"
0.01: alter session set nls_territory="AMERICA"
0.01: NLS: CSV charset=WE8MSWIN1252
0.01: ...NLS: Set Decimal separator="."
0.01: ...NLS: Set NLS Group separator=","
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Setting session time_zone to -03:00
0.02: NLS: Language=en-us
0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
0.02: ...ok to reuse builder session for user:nobody
0.03: ...Application session: 6648566035252817, user=nobody
0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 103, page 1
0.03: Fetch session state from database
0.03: Branch point: BEFORE_HEADER
0.03: Fetch application meta data
0.04: Computation point: BEFORE_HEADER
0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
0.04: ...Performing function body computation
0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
0.06: Processing point: BEFORE_HEADER
0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
0.06: Encountered unhandled exception in process type PLSQL
0.06: Show ERROR page...
0.06: Performing rollback...
Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
Thanks,
Sergio CoutinhoHi,
I don´t know if it help the analisis, but i collect some informations about my environment:
1) HTML DB version
3.0.1
2) Database version
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
3) Database server operating system (as well, if 32-bit or 64-bit)
Solaris 5.9 - 64 bits
4) Database Parameters:
PARAMETER VALUE
NLS_CALENDAR GREGORIAN
NLS_CHARACTERSET WE8ISO8859P1
NLS_COMP BINARY
NLS_CURRENCY $
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_DUAL_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_LANGUAGE AMERICAN
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS .,
NLS_RDBMS_VERSION 10.2.0.1.0
NLS_SORT BINARY
NLS_TERRITORY AMERICA
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
generating error when running in my environment?
Thanks for the help !
Sergio -
Error while running schedule jobs in oim 11 gr2
Hello,
I have create the custom schedule job.for which i have create the java call and the plugin.xml file and i have successfully register it to oim
,then i have create the metadata scheduler xml and import it to mds using wlst.
then i have cretae the schedule job in oim advance tab.but when i run that task the console propmt the error
<Jun 13, 2013 5:47:19 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000> <XSD Validation Exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot f
ind the declaration of element 'scheduledTasks'.>
<Jun 13, 2013 5:48:51 PM IST> <Error> <oracle.iam.transUI.impl> <BEA-000000> <ADP ClassLoader failed to load: com.oracle.demo.oim.scheduled.NotificationDemoSc
heduledTask>
please help how to resolve this error
regards,
TusharCheck your scheduler xml. I hope XSD validation exception points to invalid scheduler xml file. It should look something like this sample
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>Lookup Recon Scheduled Task</name>
<class>oracle.iam.samples.schtasks.LookupReconScheduledTask</class>
<description>Lookup recon Scheduled Task</description>
<retry>5</retry>
<parameters>
<string-param required="true" helpText="Name of the Lookup code">Lookup Code Name</string-param>
</parameters>
</task>
</scheduledTasks> -
EPMCSS-00000 error when running a job at Workspace
Hi Gurus,
I am facing an error at workspace when trying to run a job with my username as following :
[2015-03-31T15:31:14.866-03:00] [EPMRAF] [ERROR] [] [oracle.EPMRAF.com.sqribe.transformer.SAConfig] [host: bihost.petrobras.com.br]
[nwaddr: 10.30.52.26] [tid: 59] [userId: sapandes] [ecid: 0000Kll6WmaAxGw_wD5EiW1Kytos0009cx,0:5]
[SRC_CLASS: com.sqribe.transformer.SAConfig] [session_id: g85V33u7-0000014c71175b4b-0000-ea1e-0a1e341a]
[subject: userJohnDoe] [SRC_METHOD: log:?] [originator_name: JF1] AUTHEN_CSSLoginFailed[[
Mar 31 15:31:14.866
Login failed for . Error Code: EPMCSS-00000. Message: EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN] com.brio.one.services.authentication.CSSAuthenticationException: Login failed for . Error Code: EPMCSS-00000. Message: EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN]
at com.brio.one.common.utils.CommonIdlUtility.convert(Unknown Source)
at com.brio.one.common.utils.CommonIdlUtility.convertCorbaException(Unknown Source)
at com.brio.one.common.utils.CommonIdlUtility.convertCorbaException(Unknown Source)
at com.brio.one.services.proxy.BusinessServiceProxy.convertCorbaException(Unknown Source)
at com.brio.one.services.sessionmanager.proxy.SessionManagerProxy.createSession(Unknown Source)
at com.brio.one.client.impl.ServerClient.createClient(Unknown Source)
at com.brio.one.client.impl.ServerClient.createSubjectClient(Unknown Source)
at com.sqribe.transformer.utils.ConversionRoutines.getUserContext(Unknown Source)
at com.sqribe.transformer.RunAsyncJobFactoryCommand.execute(Unknown Source)
at com.sqribe.transformer.SessionCommand.execute(Unknown Source)
at com.sqribe.transformer.ClientThread.run(Unknown Source)
[AUTHEN_CSSLoginFailed]: EPMCSS-00000, , EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN]]]
However I've got to run this same job when I log as admin user, but my username (userJohnDoe) belongs a group with admin provision in all environment.
I've already checked out the permission to my group at all folders in Workspace and set it to "Full Control", but the error still persists....
Does anyone could help me on that ?
My environment is at 11.1.2.0 version in a linux box.
Regards
ThanksAre you having issues only with a particular job or all the job? Also checking shared services security client log would give you more details.
Thx
Vivek -
Error while running scheduled job fromEnterprise Manager--Please help ASAP
BEGIN
Hi,
I have created a scheduled job using the below code.
BEGIN
sys.dbms_scheduler.create_job(
job_name => '"M2RT6"."INCR_REFRESH_M2RT6"',
job_type => 'PLSQL_BLOCK',
job_action => 'begin
REFRESH_REPORTS_POETIC(''M2PT6'',''INCR'');
end;',
start_date => systimestamp at time zone 'US/Eastern',
job_class => 'DEFAULT_JOB_CLASS',
auto_drop => FALSE,
enabled => TRUE);
END;
And I tried to execute this job from Enterprise Manager.
I got the below error:
java.sql.SQLException:
ORA-02800: Requests timed out
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 2
Help needed urgently. Thanks for the resolution inadvance.
Thanks,
Sudheer.VempaliHi,
This is the bug in Oracle. Most of the times, restarting Oracle database may fix the issue.
Basically, an existing bug needs the oracle database restarts in a regular basis.
Restarting oracle database will flushes the database buffer cache.
Thanks,
Sudheer.Vempali -
OIM 11 - Error while running scheduled job "Evaluate User Policies"
Hello,
We are trying to run the OOTB scheduled job " EValuate User Policies" with the default parameters. Job history shows the execution status success but diagnostic logs throw the following error. And the users donot get provisioned to their resources based on the access policies.
We are on OIM 11 BP05.
[2013-01-30T10:11:47.072-05:00] [oim_server1] [NOTIFICATION] [IAM-0080006] [oracle.iam.platform.kernel.impl] [tid: Thread-1033] [userId: oiminternal] [ecid: 3f3dc64898fb7625:-13c8cd5d:13c88a6943c:-8000-0000000000000002,1:26684] [APP: oim#11.1.1.3.0] Orchestration process moved to failed stage, and the corresponding error is - {0}[[
oracle.iam.platform.kernel.EventFailedException: Operation - EVALUATE_POLICIES that is submitted as part of the orchestration is not supported.
at oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:53)
at oracle.iam.platform.kernel.impl.DefaultActionHandler.execute(DefaultActionHandler.java:41)
at sun.reflect.GeneratedMethodAccessor5717.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:30)
at $Proxy254.execute(Unknown Source)
at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1036)
at oracle.iam.platform.kernel.impl.OrchProcessData.runEvents(OrchProcessData.java:644)
at oracle.iam.platform.kernel.impl.OrchProcessData.executeEvents(OrchProcessData.java:227)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.resumeProcess(OrchestrationEngineImpl.java:764)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.process(OrchestrationEngineImpl.java:519)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:459)
at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.orchestrate(OrchestrationEngineImpl.java:378)
at oracle.iam.accesspolicy.impl.AccessPolicyServiceInternalImpl.evaluatePoliciesForUser(AccessPolicyServiceInternalImpl.java:78)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5730.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy574.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5727.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy164.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5726.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy421.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalDelegate.evaluatePoliciesForUser(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrEvaluatePolicies$PolicyEvalWorker.run(tcTskUsrEvaluatePolicies.java:319)
at java.lang.Thread.run(Thread.java:662)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask$XLSchedulerThread.run(SchedulerBaseTask.java:157)
[2013-01-30T10:11:47.081-05:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: Thread-1030] [userId: oiminternal] [ecid: 3f3dc64898fb7625:-13c8cd5d:13c88a6943c:-8al.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalEJB_bgsblp_AccessPolicyServiceInternalRemoteImpl.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5727.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy164.evaluatePoliciesForUserx(Unknown Source)
at sun.reflect.GeneratedMethodAccessor5726.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
at $Proxy421.evaluatePoliciesForUserx(Unknown Source)
at oracle.iam.accesspolicy.api.AccessPolicyServiceInternalDelegate.evaluatePoliciesForUser(Unknown Source)
at com.thortech.xl.schedule.tasks.tcTskUsrEvaluatePolicies$PolicyEvalWorker.run(tcTskUsrEvaluatePolicies.java:319)
at java.lang.Thread.run(Thread.java:662)
at com.thortech.xl.scheduler.tasks.SchedulerBaseTask$XLSchedulerThread.run(SchedulerBaseTask.java:157)
Any answer is highly appreciated.
Thanks,
MBiswalOk, did you reimported the /metadata/iam-features-accesspolicy/event-definition/EventHandlers.xml from the BundlePatch folder?
Have you followed Addendum to OIM 11.1.1.5.6 Bundle Patch 06 Readme (Doc ID 1543504.1)? -
DBACOCKPIT job error when running backup job to LAN network folder
Hello all
I have set up a network location through MSSQL Server Management Studio from
Server Objects -> Backup devices
and using SQL Server Managemnt Studio i can backup Full or Log to that network locaion.
When in SAP using DBACOCKPIT i can see the backup device which i defined in the SQL but when i run a job to backup FULL or LOG then i get the following error :
SQL Job information ******************************
Jobname: SAP CCMS Full DB Backup of master,msdb,GDW [20110725095438-1-095438]
Type: TSQL
DB-Name: GDW
For Run: 20110725 09:54:38
Job history information *****************************
Stepname: CCMS-step 1
Command: declare @exeStmt nvarchar(2000) exec gdw.sap_backup_databases @dbList=
"master,msdb,GDW",@r3Db="GDW",@bDev="@FisticFULL",@expDays= 27,@jobNam
e= "SAP CCMS Full DB Backup of master,msdb,GDW [20110725095438-1-09543
8]",@bkupChecksum="N",@bkupCompress="N",@bkupType="F",@nativeBkup="N",
@exeDate = "20110725095438",@bkupSim = "N",@format = 0,@init = 0,@bkup
Db = "master",@unload = 0,@exeStmt = @exeStmt OUTPUT
Status: (failure)
Message: 2528
Severity: 15
Duration: 0 hours(s) 0 min(s) 0 sec(s)
Last msg: Executed as user: NT AUTHORITY\SYSTEM. Must declare the scalar variabl
e "@FisticFULL". [SQLSTATE 42000] (Error 137) Incorrect syntax near t
he keyword 'with'. If this statement is a common table expression, an
xmlnamespaces clause or a change tracking context clause, the previous
statement must be terminated with a semicolon. [SQLSTATE 42000] (Erro
r 319) DBCC execution completed. If DBCC printed error messages, cont
act your system administrator. [SQLSTATE 01000] (Error 2528). The ste
p failed.
<----
End of Job Step History -
>
Job history information *****************************
any ideas?
thx in advanceHello Marcus
I went to the link which you mentioned and there is nothing mentioned about hot to give rights to the user NTAUTHORITY\SYSTEM in order to do network backup.
I have done the following:
at server A which i my backup server i have a folder which i have it shared with full permissions for everyone.
At the SECURITY there is also full rights for everyone and for local admins.
From Server B i went to services and i stoped the SQL SERVER service and i set it up to log on with a user which has Administrator rights in the DOMAIN.
From server B i logged on with administrator and i defined at the SQL Server Management Studio at Server Objects -> Backup devices a new backup device with the network path.
The thing is that i have to go with windows explorer to the network location of where i want to do backup in order to put my domain username and password and after i can run the backup by the SQL Server Management Studio.
Do you know where do i need to give authority to NTAUTHORITY\SYSTEM in order for my backup to work from the SAP - DBACOCKPIT?
thx in advance. -
ORA-03113 error when running the Java stored proc demos
Hi there,
Has anyone else run into this issue. When attempting to transfer an object type from Java to Oracle - through a Java stored proc - the session crashes with:
ORA-03113: end-of-file on communication channelLooking in the trace file generated the error message looks something like:
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0x8fe04468] [SIGTRAP] [unknown code] [0x8FE59034] [] []
Current SQL statement for this session:
select pointruntime.jdistance(point(1, 2), point(2, 3)) from dual
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+764 call ksedst 0 ? 2C4F4A ? 2C ? 98968000 ?
DB02C ? 27A50000 ?
ssexhd+956 call ksedmp 3 ? 0 ? 8FE5E790 ? 5905870 ?
8FE0434C ? 40895E4 ?
0x9012c860 call ssexhd 5 ? BFFEEF70 ? BFFEEFB0 ? 0 ?
0 ? 0 ?As you can see from the trace snippet above, I was attempting to run one of the Oracle Java stored procedure demos. Has anyone successfully run those demos? Specifically the ones where complex types (table objects or the Point object) are passed back to Oracle from the JVM.
I would appreciate some help with this. The code works fine in a Windows or Solaris environment but barfs on Apple. Truly annoying....
Anyone?
Thanks in advance,
AlexYes,
Apologies for not stating that information, Steve. Was a bit naughty of me! I guess the reason I didn't was because I just wanted to hear if anyone else running Oracle on Mac received such errors when executing the Java stored proc demos (specifically, the execution of PointRuntime.jDistance). Nevertheless, here's the relevant info from the trace file:
Dump file /Users/oracle/admin/sandbox/udump/sandbox_ora_1861.trc
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
ORACLE_HOME = /Users/oracle/product/10.1.0/db
System name: Darwin
Node name: maczilla.local
Release: 8.3.0
Version: Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
Machine: Power Macintosh
Instance name: sandbox
Redo thread mounted by this instance: 1
Oracle process number: 10
Unix process pid: 1861, image: [email protected] for the Java version, according to the readme file in the javavm directory, I am running 1.4.1:
1.5 Java Compatibility
This release has been thoroughly tested with Sun's Java Compatibility
Kit for the JDK 1.4.1. Oracle is committed to OracleJVM keeping pace
with Java and other Internet standards. -
ORA-20000 error when executing background jobs in BI System
Hello Experts,
We newly installed NW2004s System. Few BI related background jobs are showing Error no: 4 or Error no: 3 in SM50. Also few BI related background jobs are giving error "ORA-20000 occurred when executing SQL statement (parse error offset=0)". Please let me know what does Error 4 or 3 mean in SM50 and how to resolve Ora-20000 error?
ThanksThis may be to do with insufficient authorization for the user (for creating statistics for example). Check OSS note 963760.
-
ORA-22275 error when running a USER_DATASTORE index on CLOB column
Running Oracle 9.2.0.8
Getting the following errors thrown for every row in the table when creating the index:
DRG-12604: execution of user datastore procedure has failed
DRG-50857: oracle error in drsinopen
ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275
ORA-06512: at "SYS.DBMS_LOB", line 347
ORA-06512: at "CRT_DEV.MULTI_INDEX_EN_PRC", line 27
ORA-06512: at "CTXSYS.CTXSYS_MULTI_INDEX_EN_PRC", line 7
ORA-06512:
Index scripts:
ctx_ddl.create_preference( 'crt_user_datastore_en', 'user_datastore' );
ctx_ddl.set_attribute( 'crt_user_datastore_en', 'procedure', 'ctxsys_multi_index_en_prc' );
ctx_ddl.set_attribute('crt_user_datastore_en', 'output_type', 'CLOB');
CTX_DDL.create_preference('CRT_PREF_EN','BASIC_WORDLIST');
ctx_ddl.set_attribute('CRT_PREF_EN','FUZZY_MATCH','ENGLISH');
ctx_ddl.set_attribute('CRT_PREF_EN','STEMMER','ENGLISH');
ctx_ddl.set_attribute('CRT_PREF_EN','SUBSTRING_INDEX','TRUE');
CTX_DDL.create_section_group('CRT_HTML_SECTION','HTML_SECTION_GROUP');
CTX_DDL.add_zone_section('CRT_HTML_SECTION', 'title', 'TITLE');
ctx_ddl.create_preference('CRT_LEXER_EN', 'BASIC_LEXER');
ctx_ddl.set_attribute('CRT_LEXER_EN', 'skipjoins', '-');
ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_text', 'YES');
ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'base_letter', 'YES');
ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_stems', 'ENGLISH');
ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'index_themes', 'YES');
ctx_ddl.set_attribute ( 'CRT_LEXER_EN', 'theme_language', 'ENGLISH');
CREATE INDEX MULTI_CONTENT_EN_IDX ON CONTENTS
(top_content_html_en)
INDEXTYPE IS CTXSYS.CONTEXT
parameters ('filter ctxsys.null_filter DATASTORE crt_user_datastore_en LEXER CRT_LEXER_EN wordlist CRT_PREF_EN section group CRT_HTML_SECTION');I have issued the following grants:
grant execute on CTXSYS.ctxsys_multi_index_fr_prc to CRT;
grant execute on CTXSYS.ctxsys_multi_index_en_prc to CRT;
grant execute on CRT_DEV.multi_index_fr_prc to CTXSYS;
grant execute on CRT_DEV.multi_index_en_prc to CTXSYS;CRT is the index owner schema
CRT_DEV is the schema owning the user_datastore procedure. (Could this be the problem?) Should the procedure reside in the same schema as index owner?
Here are my procedures:
CTXSYS stub:
CREATE OR REPLACE PROCEDURE ctxsys_multi_index_en_prc (
rid IN ROWID,
tlob IN OUT CLOB
IS
BEGIN
crt_dev.multi_index_en_prc (rid, tlob);
END;Actual procedure:
CREATE OR REPLACE PROCEDURE multi_index_en_prc (rid IN ROWID, tlob IN OUT CLOB)
IS
BEGIN
FOR c1 IN (SELECT '<TITLE>'
|| cc.content_category_name_en
|| '</TITLE>' content_title,
c.content_html_content_en, c.top_html_content_en
FROM content_categories cc, CONTENTS c
WHERE cc.content_category_id = c.content_category_id
AND c.ROWID = rid)
LOOP
DBMS_LOB.writeappend (tlob, LENGTH (c1.content_title),
c1.content_title);
DBMS_LOB.append (dest_lob => tlob, src_lob => c1.top_html_content_en);
DBMS_LOB.append (dest_lob => tlob,
src_lob => c1.content_html_content_en
END LOOP;
END multi_index_en_prc;I can run the following test script, and get no errors:
declare
rid rowid;
tlob clob;
begin
dbms_lob.CREATETEMPORARY(tlob,false);
CRT_DEV.multi_index_en_prc('AAAC0UAAMAAAAMAAA2',tlob);
dbms_output.put_line(dbms_lob.GETLENGTH(tlob));
dbms_output.put_line(dbms_lob.substr(tlob,25));
dbms_lob.FREETEMPORARY(tlob);
end;Output:
25
<TITLE>References</TITLE>
I'm at a total loss on the cause of the error.
Any help/tips is appreciated!
Thanks
Edited by: pl_sequel on Feb 9, 2010 11:25 AMThanks Roger.
I did add those in... DBA insists that didn't matter, since explicit "select" privs were granted to CRT_DEV to select CRT tables. He did say that a length check was required on the CLOBS before appedning them to the destination lob (tlob) to prevent NULL lob locators being appended and raising the exception.
In any case, it works now... however, unsure if it's due to the schema prefix on the tables, or the lob length checks... -
ORA-01005 error when running app on standalone server
Hello All:
When I run an application on stand alone weblogic 10.3 server, I am getting error:
ORA-01005: null password given; logon denied.
In IDE it is running well and password field is filled checkboxes Save Password, Deploy Password checked in Database Connection.
Thanks,
SNikiforovTry searching the forum for ORA-01005...
-
ORA-01017 error, when running Complete configuration of Maintenance Wizard
Hi Gurus,
Maintenance wizard version: 2.19 (latest)
DB: 10.2.0.1
Linux:
Upgrade assistance for R12
Im trying to complete the first step:
1-Complete configuration of Maintenance Wizard (Required)
It gives me errors:
Checking that Remote EOF_HOME is only a directory name, not a path...
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0640: Not connected
SP2-0670: Internal number conversion failed
Usage: { EXIT | QUIT } [ SUCCESS | FAILURE | WARNING | n |
<variable> | :<bindvariable> ] [ COMMIT | ROLLBACK ]
** ERROR!!! **
** Project node configuration has FAILED with the problem(s) below:!!! **
** Invalid value for REMOTE_EOF_HOME.
** Solution: Remove all slashes in the value for REMOTE_EOF_HOME.
** The value must be a simple directory name, not a path.
** Please have the Project Administrator return to the Modify Project
** screen, change the value for REMOTE_EOF_HOME and re-run Step
** 1 of the Configuration category.
** DO NOT PROCEED WITH ANY OTHER STEPS UNTIL YOU RESOLVE THE PROBLEMS SHOWN **
** ABOVE. ALL OTHER STEP EXECUTION DEPENDS ON A SUCCESSFUL PROJECT NODE **
** CONFIGURATION. **
** ONCE YOU HAVE RESOLVED THE PROBLEMS SHOWN ABOVE, YOU MUST RE-RUN THIS **
** STEP AGAIN. **
I've checked all the forums before posting. Please advise
Thanks & Regards,
Rv
Edited by: Kiran Jakka on May 11, 2012 8:05 AMYes this is what I do, but still receive "Insufficient privileges to write to that location". So I am forced to use normal file system to be able to continue.
After that I run into the current problem saying OMS configuration failed (see details....) and I try:
./opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=uxlpgrid01:6200
3 of 5 processes started.
ias-instance id=EnterpriseManager0.uxlpgrid01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OC4J/home/default_island
Error
--> Process (pid=0)
no port available from the port range
failed to start a managed process after the maximum retry limit
no port available from the port range
no port available from the port range
Log:
none
ias-component/process-type/process-set:
OC4J/OC4J_EMPROV/default_island
Error
--> Process (pid=0)
no port available from the port range
failed to start a managed process after the maximum retry limit
no port available from the port range
no port available from the port range
Log:
none
Then:
./opmnctl status
Processes in Instance: EnterpriseManager0.uxlpgrid01
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 23861 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 27021 | Alive
OC4J | home | N/A | Down
OC4J | OC4J_EM | 10403 | Alive
OC4J | OC4J_EMPROV | N/A | Down
WebCache | WebCache | 23872 | Alive
WebCache | WebCacheAdmin | 23863 | Alive
Overwhelming :-(
Thanks for helping
Askia. -
Error when running scheduled refresh from SQL Azure data
I have a PowerPivot that connects to a SQL Azure database table. I added the username and password in the PowerPivot connection. It refreshed fine manually straight from PowerPivot. However, when I upload the excel file to Power BI
and I schedule a refresh, it fails with the following error message:
Sorry, something went wrong. Please try again. Correlation ID: d43f07fc-cc0c-461c-b25e-68e866a2a911
I went through this FAQ (http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/scheduled-refresh-faq-HA104180763.aspx#_Toc388441416)
and the steps have me also saving the password in the connection string. However the connection string (under tab Data->Connections) is grayed-out and I am unable to enter the password.
Thanks for your help...Hi,
When you refresh in Excel client, do you get a prompt for the password?
What worked for me in the past, is the following process:
1. Within PowerPivot, get the data but don't save the password there.
2. Once you get the data go back to Excel, switch to Data ribbon >> Connections, and select the connection(s) that were created in PowerPivot and select to save the password.
3. Refresh the data (it will prompt for the password), save the file.
4. Just to be sure, open the file again, refresh and see that it is not prompting for a password.
GALROY -
ORA-21700 Error when running C# stored procedure to do a spatial query
Hi All
I'm having trouble running a C# stored procedure that (via another object) that falls over running a spatial query with the following error.
OAR-21700 object does not exist or is marked for delete
If I take the sql of the spatial query out and run it separately in SqlPlus it runs as expected.
If I use the object that executes the spatial query via NUnit (i.e. executed on the client, rather than the server) it also works as expected.
Can anyone help? Is there some issue using Oracle Spatial queries with the Oracle Database Extensions for .NET?I can indeed. Here is a slightly simplified version:
SELECT secondary_catch.mi_prinx AS primarykey
FROM mapinfo_data.secondary_catch
WHERE sdo_relate (secondary_catch.geoloc,
(SELECT geoloc
FROM training_6.building_polygons
WHERE building_id = 10002507117),
'mask=anyinteract querytype=WINDOW'
) = 'TRUE'
Interestingly, if I attempt to run this query inside a C# stored procedure using the implicit context connection (i.e. OracleConnection.ConnectionString = "context connection=true") it fails with the error I described above.
If however I create a new connection and connect as a regular user on my database, the query works correctly.
So in that sense I have a workaround, but I'd like to avoid using it if I can as creating a new explicit connection is an overhead I can do without.
Maybe you are looking for
-
Printer sharing with Equium A200
Hi, have aquired a Equium A200 and have connected it wirelessly to another PC in my house via a wireless modem router. I have the connection sorted and all works ok, except when I try and printer share. The printer connected to my older pc is an epso
-
I'm using OS 10.4.3 and DVD Player 4.6. My dvd drive will not read pre-recorded disk or blamk disc. Could it be software related? G4 Mac OS X (10.4.3)
-
Calling a BSP application from another
Hello, I have not a lot experince in bsp's programming. I am trying to call a bsp applicattion from another one. Do you know how can I do it?. Thanks in advance. Javier.
-
Dear All, camera is not working i have trying to tack picture but facing the problems after push the camera button this massage are showing "Could not start the camera. Close other applications and try opening the camera again" Model No. Curve 8320
-
Cannot see STROKE commands...
I used to enter the stroke thickness on my side panel, along with perimeter position, etc. Now, when I click it open (or hit F10) . . . it opens fully empty of options; it's all diappeared. Is there any way I can bring it all back (I've tried resetti