Putting a row into a pageable cache failed with error 9 and error message
Hi Guys,
I am fetting the follwoing message when the job is scheduled.
Putting a row into a pageable cache failed with error <9> and error message <Db::put: Bad file descriptor>
I read the forum and Manoj has suggested to one of the forum member to change the size of the Pcache setting through the server manager. But I do not see the setting there. can any one please let me know where exactly I can see and increase the size of the Pcache.
Thanks
Hi
I've had the same problem. We know from other (more meaingful) error messages that we ran out of space for the Pageable Cache, but we've just increased it by 50GB and still get the same error.
Anyone??
Btw i don't think you there is a setting for PCache size - it will just use all the free disk you have on the drive where you have located the PCache directory.
Richard
Similar Messages
-
Cache Synchronization with JMS and a Message Driven Bean (MDB)
If I understand correctly, Toplink ueses the following configuration info to find the target to publish its session messages to a JMS server (having its URL as below) which provides the JNDI service that Toplink needs to look up the topic:
<cache-synchronization-manager>
<clustering-service> oracle.toplink.remote.jms.mdb.JMSPublishingOnlyClusteringService
</clustering-service>
<should-remove-connection-on-error>false</should-remove-connection-on-error>
<!-- both of the following tags are user specified and must correspond to -->
<!-- the settings that the user has made, manually, to the JMS Service -->
<jms-topic-connection-factory-name> jms/TopLinkTopicConectionFactory
</jms-topic-connection-factory-name>
<jms-topic-name>jms/TopLinkCacheSynchTopic</jms-topic-name>
<!-- both of the following tags will be required if OracleAS TopLink -->
<!-- is not running in the same JVM as the JNDI service that is hosting the JMS Topic -->
<naming-service-url>ormi://localhost:23791</naming-service-url>
<naming-service-initial-context-factory> com.evermind.server.rmi.RMIInitialContextFactory </naming-service-initial-context-factory></cache-synchronization-manager>
The MDB also uses the same JNDI service provided by the JMS server to listen to the topic which is named in the ejb-jar.xml file:
<enterprise-beans>
<message-driven>
<display-name>TopLink clustering MDB</display-name>
<ejb-name>TopLinkClusteringMDB</ejb-name>
<ejb-class>com.mycompany.mdb.ClusteringMDB</ejb-class>
<transaction-type>Container</transaction-type>
<message-driven-destination> <destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
<env-entry>
<description>TopLink session name</description>
<env-entry-name>tl_session_name_for_mdb</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>Employee_Session</env-entry-value>
</env-entry>
<resource-ref> <description>description</description>
<res-ref-name>jms/TopLinkTopicConectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name> jms/TopLinkCacheSynchTopic</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type> </resource-env-ref>
</message-driven></enterprise-beans>
To do this, the EJB container that hosts the above MDB needs to be configured to know where the JMS server is by using the above URL same as in the Toplink sessions.xml file.
I am not clear that who provides the JNDI service for the Toplink session name lookup used by the MDB:
// Obtain the Session name configured in the environment variable
String sessionName = (String) myEnv.lookup(TOPLINK_SESSION_NAME);
session = SessionManager.getManager().getSession(sessionName);
so that the MDB can find the currently running Toplink session and communicate with it.
Can anybody help answer my above question and correct my understandings?
Many thanks!Although TopLink is running in the application serverâs VM, the only notable integration points with the server are for JTA and user-defined data sources. All of the work performed to get a session via SessionManager occurs solely within TopLink. When the call is made to retrieve a session, you arenât getting the âactiveâ session identified by âEmployee_Sessionâ that is registered with the application server, rather a new session is created using the definition that exists for âEmployee_Sessionâ in sessions.xml.
When the call âsession = SessionManager.getManager().getSession(âEmployee_Sessionâ)â is made, the SessionManager simply looks for sessions.xml at the root level of its deployed jars or classpath, then looks for the âEmployee_Sessionâ tag within sessions.xml. If a session exists in the file with that name then a TopLink session object is created and returned.
Note that setting an environment entry as mentioned above simply allows for the session name to be declared dynamically. The call to âmyEnv.lookup(âtl_session_name_for_mdbâ)â simply asks the beanâs environment for the <env-entry-value> that matches the <env-entry-name>. That string is then used in SessionManager (no different than a hard coded value would be) to identify the session in sessions.xml that is to be loaded.
I hope this makes sense. -
Import (imp) failing with IMP-00010 error
Hi Experts,
I am doing import to Windows from an export dump that was taken on Solaris 10. But the import is failing with the following error.
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
I checked the source and target oracle versions and NLS_LANG parameter.
In both the databases NLS_LANG parameter is set to AMERICAN only. But the oracle versions are different
Source
OS : Solaris 10
Oracle version : *11.2.0.2*
Export dump : exp_CAAU2.dmp.gz (Export taken by zipping)
Target
OS : Windows server 2003
Oracle Version : *10.2.0.2.0*
While importing into windows env, it is failing..
Please let me know the reason why the import is failing?
Can i upgrade the target oracle version to 11.2.0.2 to succeed the import?Hi,
The IMP indicates this this error is coming from the old imp. This dump file could be from the expdp utility, which would require you to use the impdp utility.
Source
OS : Solaris 10
Oracle version : 11.2.0.2
Export dump : exp_CAAU2.dmp.gz (Export taken by zipping)
Target
OS : Windows server 2003
Oracle Version : 10.2.0.2.0
While importing into windows env, it is failing..
What really matters here is the compatibility level. If your source and target compatibility levels are the same, then with Data Pump, the dumpfile created on the source, would work on the target. If the compatibility levels are different, then use expdp with the version parameter set to the compatibility level of the target.
Please let me know the reason why the import is failing?Check the suggestions above first.
Can i upgrade the target oracle version to 11.2.0.2 to succeed the import?It could help, but first check to see if you are using the right utility and then check the compatibility versions.
Dean -
BRBACKUP fails with 'BR0301W SQL error -980 at location BrbDbLogOpen'
Hello mates,
BRBACKUP on our Portal systems fails with the following error:
EP Version: 600
Platform: HP-Unix (ia64 hp server rx7640)
Oracle: 920_64
BRTOOLS 6.40 (40)
BR0301W SQL error -980 at location BrbDbLogOpen
BR0324W Insertion of database log header failed
Here is the exerpt from the logfile:
==============================================
BR0051I BRBACKUP 6.40 (40)
BR0055I Start of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0477I Oracle pfile /oracle/GGF/920_64/dbs/initGGF.ora created from spfile /oracle/GGF/920_64/dbs/spfileGGF.ora
BR0925I Public synonym SAP_SDBAH created successfully for table SAPGGFDB.SDBAH
BR0925I Public synonym SAP_SDBAD created successfully for table SAPGGFDB.SDBAD
BR0925I Public synonym SAP_MLICHECK created successfully for table SAPGGFDB.MLICHECK
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0319I Control file copy created: /oracle/GGF/sapbackup/cntrlGGF.dbf 8052736
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-30
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-31
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301E SQL error -980 at location BrComprDurGet-1
ORA-00980: synonym translation is no longer valid
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0054I BRBACKUP terminated with errors
============================================
I am not able to find any relevant solutions in SMP so far.
Please help find a solution.
Thanks & Regards,
ManojHello ,
Am trying to take the online backup using brtools in my portal server but giving below error:
BR0051I BRBACKUP 7.00 (24)
BR0055I Start of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0484I BRBACKUP log file: /oracle/EPP/sapbackup/bdzqskqc.and
BR0477I Oracle pfile /oracle/EPP/102_64/dbs/initEPP.ora created from spfile /oracle/EPP/102_64/dbs/spfileEPP.ora
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '# 0 0 0 0 0 0 0 ALL online
disk ---k-c 7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0319I Control file copy created: /oracle/EPP/sapbackup/cntrlEPP.dbf 7397376
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-32, SQL statement:
'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-33, SQL statement:
'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301E SQL error -1031 at location BrComprDurGet-1, SQL statement:
'OPEN curs_6 CURSOR FOR'
'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DC
OR FUNCT = 'DCM') ORDER BY FUNCT'
ORA-01031: insufficient privileges
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0054I BRBACKUP terminated with errors
Please suggest/guide
Regards,
AMS Team -
TSQL code that causes table data to be deleted rather than fail with a compilation error
Afternoon,
I recently did this by accident and it felt as though it should have failed with a compilation error rather than run
A query of the form
delete from jobs
where id in
select id from calibrations
will delete all rows in the jobs table when the id column exists in the jobs table, but not the calibrations table. This should fail with a compilation error.
the following sql can be used to generate a test database to show the problem
USE [test]
GO
/****** Object: Table [dbo].[calibrations] Script Date: 28/11/2014 13:32:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[calibrations](
[JobId] [int] NULL,
[textfield] [nvarchar](50) NULL
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[jobs] Script Date: 28/11/2014 13:32:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[jobs](
[Id] [int] NOT NULL,
[Name] [nchar](10) NULL
) ON [PRIMARY]
GO
INSERT [dbo].[calibrations] ([JobId], [textfield]) VALUES (1, N'something')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (1, N'a ')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (2, N'b ')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (3, N'c ')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (4, N'd ')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (5, N'e ')
GO
INSERT [dbo].[jobs] ([Id], [Name]) VALUES (6, N'f ')
GO
Simon
simonwill delete all rows in the jobs table when the id column exists in the jobs table,
but not the calibrations table. This should fail with a compilation error.
Hello Simon,
That's a bug in your T-SQL Statement, not in SQL Server. The Statement as it is valid and column "id" exists, so why should it fail on compilation?
And that is the reason why we always should use full qualified object name, e.g. like
delete from jobs AS J
where J.id in
select SUB.id from calibrations AS SUB
and this Statement should fail on compilation.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Token-based server access validation failed with an infrastructure error
Hi
We have a new Win 2008 Enterprise x64 server running SQL 2008
When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
"Token-based server access validation failed with an infrastructure error"
What needs to be configured here for this to work ?
Thanks
BruceHi,
I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
Background
1- An Active Directory (AD) account was created for a user [Domain\UserA]
2- A SQL login was created for the account above and then granted access to a number of databases
3- The AD account was renamed/modified to [Domain\UserB]
At this stage the user would encounter an error when connecting to the server
The sql log show this error message
Error: 18456, Severity: 14, State: 11.
Message
Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: xxx]
Action on Server 1 SQL (the one with the problem)
1- Dropped the user from the databases
2- Re-Created the login from the windows account [Domain\UserB]
3- Created the user in the respective databases
But the user still unable to connect to the server
Investigation
On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
But it does not match the SID in the AD
The rest of the servers all have the correct SIDs
When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
I can't specify the SID when creating the SQL login because it is using the Windows account
Your ideas on how to fix this problem are much appreciated
Regards,
DGL -
Windows 2008 R2 backup fails with event 521 error code 2155348001
Windows Server 2008 R2 SP1. Hyper-V role installed.
OS on drive C. All VMs stored on Drive D.
I am attempting to run a Bare Metal backup of the host system to a network share.
Drive D is not included in the backup job. I am getting the following error:
Log Name: Application
Source: Microsoft-Windows-Backup
Date: 1/10/2014 11:28:52 PM
Event ID: 521
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: SHAQTUS.scdl.local
Description:
The backup operation that started at '2014-01-11T04:08:50.683000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348001'. Please review the event
details for a solution, and then rerun the backup operation once the issue is resolved.
Reviewing event details, as suggested, does not offer any solution.
I have tried the suggested solutions in other similar threads of increasing the timeout value with the registry entry.
This does not work.
I have not tried reregistering the VSS writers manually, as the only links I have found are for server 2003/2008 (not R2) and explicitly state that they won’t work on higher versions of the OS, since they now utilize manifests and the manual procedure could
cause problems for those servers. Haven't found similar procedures for 2008 R2.
I have been able to narrow this down a bit.
A Windows 2008 R2 SP1 server with Hyper-V installed – backup to a network share is successful;
Install the DPM 2012 agent – same backup fails with the 2155348001 error.
We use DPM 2012 to backup VMs, but DPM cannot perform a bare metal backup/restore of server and the 2012 version no longer has the DPMSRT feature.
I prefer to run Bare Metal Backup to a file server share.
Stuck on this one.
RickHi,
The issue is related to DPM, I would suggest you ask for help from DPM forums:
http://social.technet.microsoft.com/Forums/en-US/home?forum=dataprotectionmanager
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Windows 8 USB recovery fails with CTOERROR.flg error
Windows 8 recovery using HP supplied USB recovery device failed with CTOERROR.flg error.
[22:53:29.29] ChkErrBB.CMD : Detect some error during PININST_BBV.
[22:53:29.31] ChkErrBB.CMD : Check c:\system.sav\logs\BurnBootWarn.log
[22:53:29.31] ChkErrBB.CMD : or, check c:\system.sav\logs\BurnBootMerge.log
I have tried all the scenarios which are described in this forum but no success.
Can anyone suggest to which date should i reset the BIOS or anyother workarounds??
I have run diagnostic tests on Memory and Disks and both are fine.
* There is a big problem with the HP recovery manager which fails to recover windows. Many have reported in this forum and other forums....but HP has failed to attend this issue and fix the problem in their recovery manger or atleast show a workaround to restore the windows.
My laptop was drastically slow after the reinstall from the HP support.....and now when i decided to reset and recover the windows.....it fails. Unfortunately my laptop is out of warranty.
This is pushing me away from any HP and will never ever buy or recommend anyone to buy a HP product.
History about previous issue with this laptop:
Order # BDRN598901
Order # BDTP356101
* I had an issue with the HP recovery manager in creating recovery disc. I did contact the HP support as my warranty was still in place. They took my laptop and reinstalled the OS and sent it back to me.
Even after that i could not create a recovery disk and they send me a USB recovery device.
Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment
BDTP356101 USB - WINDOWS 8 64B RECOVERY KIT SW FULFILLMENT POSTAL DELIVERY GROUND Shipped 05/05/2014 POSTAL SERVICE (STANDARD)
Service Order Product Service Event Order Status Estimated Delivery Date *MM/DD/YYYY Track this Shipment BDRN598901 HP ENVY 4-1115DX TouchSmart Ultrabook BOX PLUS PICKUP & REPAIR, 2 DAY SHIPPING Shipped 04/30/2014 FED-EX NEXT DAY (AFTERNOON)
Thanks,
KB29Set the date in BIOS to 1/02/2012. Save & Exit. Boot with Recovery, let it run through the process- but on the first reboot initiated by recovery enter BIOS again to insure date is still set to 2012. If not change it again, then let recovery resume.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!
Zap the PRAM and Reset the SMC, then try again.
-
Package failed with run time error: " GETWA_NOT_ASSIGNED".
Hi,
One of our custom package is failing with run time error " GETWA_NOT_ASSIGNED". We are getting this error after refresh. Infact this package is working fine both in production and Dev, but in QA system it giving runtime error.
Here with I am pasting run time error details. Please see...If any one have any idea or clue or if you have faced this kind of error.
Thanks is advance.
Error Details.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_UJK_CUSTOM_LOGIC===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
You attempted to access an unassigned field symbol
(data segment 32774).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
Regards, TrineHi Trine,
the error is about some field you are trying to map using field-simbols, that is diferent in the other system.
Go to the code program in the st22, there you will see when the erros occurs e what field gives the error.
Best Regards,
António -
Backup Fails with Invalid RECID Error
Hi All,
Please help me to understand Caution -section
below text is from
[http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
Backup Fails with Invalid RECID Error: Solution 2
This solution is more difficult than solution 1:
To create the control file with SQL*Plus:
1. Connect to the target database with SQL*Plus. For example, enter:
% sqlplus 'SYS/oracle@trgt AS SYSDBA'
2. Mount the database if it is not already mounted:
SQL> ALTER DATABASE MOUNT;
3. Back up the control file to a trace file:
SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
# The following commands will create a new control file and use it
# to open the database.
# Data used by the recovery manager will be lost. Additional logs may
# be required for media recovery of offline data files. Use this
# only if the current version of all online logs are available.
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS ARCHIVELOG
-- STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXDATAFILES 32
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 '/oracle/oradata/trgt/redo01.log' SIZE 25M,
GROUP 2 '/oracle/oradata/trgt/redo02.log' SIZE 25M,
GROUP 3 '/oracle/oradata/trgt/redo03.log' SIZE 500K
-- STANDBY LOGFILE
DATAFILE
'/oracle/oradata/trgt/system01.dbf',
'/oracle/oradata/trgt/undotbs01.dbf',
'/oracle/oradata/trgt/cwmlite01.dbf',
'/oracle/oradata/trgt/drsys01.dbf',
'/oracle/oradata/trgt/example01.dbf',
'/oracle/oradata/trgt/indx01.dbf',
'/oracle/oradata/trgt/tools01.dbf',
'/oracle/oradata/trgt/users01.dbf'
CHARACTER SET WE8DEC
# Take files offline to match current control file.
ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
# Configure RMAN configuration record 1
VARIABLE RECNO NUMBER;
EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
DEBUG 255');
# Recovery is required if any of the datafiles are restored backups,
# or if the last shutdown was not normal or immediate.
RECOVER DATABASE
# All logs need archiving and a log switch is needed.
ALTER SYSTEM ARCHIVE LOG ALL;
# Database can now be opened normally.
ALTER DATABASE OPEN;
# Commands to add tempfiles to temporary tablespaces.
# Online tempfiles have complete space information.
# Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
# End of tempfile additions.
5. Shut down the database:
SHUTDOWN IMMEDIATE
6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
STARTUP NOMOUNT
CREATE CONTROLFILE ...;
EXECUTE ...;
RECOVER DATABASE
ALTER SYSTEM ARCHIVE LOG CURRENT;
ALTER DATABASE OPEN ...;
Caution:
If you do not open with the RESETLOGS option,
then two copies of an archived redo log for a given log sequence number may
exist--even though these two copies have completely different contents.
For example, one log may have been created on the original host and the other on the new host.
If you accidentally confuse the logs during a media recovery,
then the database will be corrupted but Oracle and RMAN cannot detect the problem.Please help me to understand Caution -section
Caution:
If you do not open with the RESETLOGS option,
then two copies of an archived redo log for a given log sequence number may
exist--even though these two copies have completely different contents.
For example, one log may have been created on the original host and the other on the new host.
If you accidentally confuse the logs during a media recovery,
then the database will be corrupted but Oracle and RMAN cannot detect the problem.As per my understanding it says. If you don't open database with RESETLOGS option then there may be archived logs with log sequence number which is already archived on the source host. This may happen due to difference in RECIDs. Now when the database needs media recovery for this particular log sequence, you may provide any of them. So in this case, RMAN and Oracle will not be able to differentiate the two files and can accept any of the archived log files during recovery. Since the contents of two archived logs are different, because they are generated at different times and they contains different transactions. So, internally it corrupts your database.
Rgds. -
Hi!
We have 5 Exchange 2013 servers and when I’m trying to run a script that includes the cmd-let Get-MessageTrackinglog with StartDate = the first of the month and with EndDate = the end of the month I get the following error message after
a couple of hours. The script is run on the server SERVER01 and goes through the Message Tracking logs of all Exchange servers. I have tried the script on other servers and get the same result.
Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.
[Server=SERVER01, TimeStamp = 918/2014 19:32:34]
For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo
: OperationStopped: (server01.domain.com:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName
: server01.domain.com
I have gone through “about_Remote_Troubleshooting Help topic”, but can’t find anything related to my issue. There is nothing in the Application or the Windows PowerShell log either.
/HenrikHi Henado
Check the time on your Exchange server(s) relative to the DCs and ensure they are in correct sync
Use another account which is assigned the Organization Management permission and log to to the server run the command in shell and see the results
Run
Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010
Set-Adserversettings -ViewEntireForest $True and then run message tracking command and see the results
If none of the above helps you may need to remove and re-install the WinRM and see the results
Good Luck :)
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com -
Background job failing with license check error
Hi Experts
In our ERP 6.0 system ,all the background jobs are failing with license check error.
Have checked the license in SLICENSE and the license is fine.
There is no warning while users are loggign in ,but when any background job is runing its failing with error
Job started
Logon not possible (error in license check)
Job cancelled after system exception ERROR_MESSAGE
Also performed the license test which is failing
F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
\XX1_DVEBMGS00_host_xx
Protocol saplicense test:
Read sapsytem name
ok, sapsytem name = XX1
Read message server host
ok, host = hostname
Read message server service port
ok, service port = sapmsXX1
Connect to message server
ok, connect done
Read hardware key from message server
ok, got hardware key
Detach from message server
ok, detached
Check hardware key
ok, hardware key = T0343073854
Connect to database
ok, connected
Check license
ok, check done
Disconnect database
ok, database disconnected
test result: license test failed
LICENSE system: XX1 hardware key: T0343073854 expiration_date:
installation no: key:
userlimit: 0 productid: R3_BASIS
system-nr:
license expired ***
Please suggest how to troubleshoot.
Regards
Ajay@Michael
In SLICENSe the Hardware key field is not BLUE or BLACK and its showing the exact hardware key which i can see at OS level with saplicense -get command.
@Jagadish
Note is good refrence, i reiinstalled the Digitally signed license with saplikey command and it was successful.
But still the license test is failing at OS Level..below is the command prompt output.
===================================================================
F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplikey -install C:\license_script_XX.txt pf
=F:\usr\sap\XX\SYS\profile\XX_DVEBMGS00_mngsez148079
SAP License Key Administration - Copyright (C) 2003 SAP AG
2 SAP license key(s) successfully installed.
F:\usr\sap\XX\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
\MD1_DVEBMGS00_mngsez148079
Protocol saplicense test:
Read sapsytem name
ok, sapsytem name = XX1
Read message server host
ok, host = host
Read message server service port
ok, service port = sapmsXX1
Connect to message server
ok, connect done
Read hardware key from message server
ok, got hardware key
Detach from message server
ok, detached
Check hardware key
ok, hardware key = T0343073854
Connect to database
ok, connected
Check license
ok, check done
Disconnect database
ok, database disconnected
test result: license test failed
LICENSE system: XX1 hardware key: T0343073854 expiration_date:
installation no: key:
userlimit: 0 productid: R3_BASIS
system-nr:
license expired ***
============================================================
@Juan
The hardware key was changed and we requested a new license with new hardware key,system was runing fine for couple of weeks with all background jiobs for SPAM./SAINT Ok .We performed EHP4 on this system.
But now this issue is here,so i guess we should troubleshoot.
Please let me know any other pointers.
Regards
Ajay
PS In SLICENSE new installed license is fine and all users can login. -
Hi,
I am trying to install certificate services on a windows 2008 server (R2 ENT SP1) with a PCIe nCipher HSM module installed on it. The version of nCipher SW is = 11.30. It is a RootCA, and I am trying to use a key that is already stored in the HSM (I
have done this before with a PCI HSM (older HW version)). I select “Use existing private key” and “Select an existing private key on this computer” on the wizard, then i change the CSP to nCipher and click on "search" the key I am looking for
appears and I select that one. I repeat, I have done this before and it works with a PCI HSM module.
The installation is finished before being prompted to insert the operator cards, and it ends with two errors:
<Error>: Active Directory Certificate Services setup failed with the following error: Overlapped I/O operation is in progress. 0x800703e5 (WIN32: 997)
And:
<Error>: Active Directory Certificate Services setup failed with the following error: The group or resource is not in the correct state to perform the requested operation.
0x8007139f (WIN32: 5023)
The servermanager.log says:
1856: 2014-07-23 18:27:48.195 [CAManager] Sync: Validity period units: Years
1856: 2014-07-23 18:27:48.928 [Provider] Error (Id=0) System.Runtime.InteropServices.COMException (0x800703E5): CCertSrvSetup::Install: Overlapped I/O operation is in progress. 0x800703e5 (WIN32: 997)
at Microsoft.CertificateServices.Setup.Interop.CCertSrvSetupClass.Install()
at Microsoft.Windows.ServerManager.CertificateServer.CertificateServerRoleProvider.Configure(InstallableFeatureInformation featureInfo, DiscoveryResult discoveryResult, ChangeTracker changeTracker)
1856: 2014-07-23 18:27:48.928 [Provider] CAErrorID: 0, CAErrorString: 'Active Directory Certificate Services setup failed with the following error: Overlapped I/O operation is in progress.
0x800703e5 (WIN32: 997)'
1856: 2014-07-23 18:27:48.928 [Provider] Adding error message.
1856: 2014-07-23 18:27:48.928 [Provider] [STAT] For 'Certification Authority':
And:
1856: 2014-07-23 18:27:49.053 [CAWebProxyManager] Sync: Initializing defaults
1856: 2014-07-23 18:27:49.162 [Provider] Error (Id=0) System.Runtime.InteropServices.COMException (0x8007139F): CCertSrvSetup::Install: The group or resource is not in the correct state to perform the requested operation. 0x8007139f (WIN32: 5023)
at Microsoft.CertificateServices.Setup.Interop.CCertSrvSetupClass.Install()
at Microsoft.Windows.ServerManager.CertificateServer.CertificateServerRoleProvider.Configure(InstallableFeatureInformation featureInfo, DiscoveryResult discoveryResult, ChangeTracker changeTracker)
1856: 2014-07-23 18:27:49.162 [Provider] CAErrorID: 0, CAErrorString: 'Active Directory Certificate Services setup failed with the following error: The group or resource is not in the correct
state to perform the requested operation. 0x8007139f (WIN32: 5023)'
1856: 2014-07-23 18:27:49.162 [Provider] Adding error message.
Has anyone experienced this before? Am I missing something here?
Any help will be very appreciated
Thanks in advance
Best regards
Alejandro Lozano VillanuevaHi, thanks for your support.
I have been playing around a bit with some ncipher commands and found this:
C:\Program Files (x86)\nCipher\nfast\bin>cspcheck.exe
cspcheck: fatal error: File key_mscapi_container-1c44b9424a23f6cddc91e8a065241a0
9aa719e4f (key #1): 0 modules contain the counter (NVRAM file ID 021c44b9424a23f
6cddc91)
cspcheck: information: 2 containers and 2 keys found.
cspcheck: fatal error occurred.
If I perform the same command on the original server (the server with the original kmdata folder and with the running RootCA services):
E:\nfast\bin>cspcheck.exe
cspcheck: information: 2 containers and 2 keys found.
cspcheck: everything seems to be in order.
Strange?
Moreover, when I do a csptest.exe command (also on both servers, i find this)
On the new server:
C:\Program Files (x86)\nCipher\nfast\bin>csptest.exe
nCipher CSP test software
=========================
Found the nCipher domestic CSP named 'nCipher Enhanced Cryptographic Provider'
Provider name: nCipher Enhanced Cryptographic Provider
Version number: 1.48
User key containers:
Container 'csptest.exe' has no stored keys.
Container 'Administrator' has no stored keys.
Machine key containers:
Container '352dd28a-17cb-4c6f-b6e4-bf39bcf75db5' has a 2048-bit signature key.
Container 'ROOTCA' has no stored keys.
Container 'csptest.exe' has no stored keys.
While in the old server:
E:\nfast\bin>csptest.exe
nCipher CSP test software
=========================
Found the nCipher domestic CSP named 'nCipher Enhanced Cryptographic Provider'
Provider name: nCipher Enhanced Cryptographic Provider
Version number: 1.40
User key containers:
Container 'csptest.exe' has no stored keys.
Machine key containers:
Container '352dd28a-17cb-4c6f-b6e4-bf39bcf75db5' has a 2048-bit signature key.
Container 'ROOTCA' has a 2048-bit signature key.
Container 'csptest.exe' has no stored keys.
As you can see, the container called ROOTCA, which is the one that I use during the installation, says it has no stored keys. While on the old server, it says it contains a key. Why is this happening? I dont know, I am copying the complete
key management folder from one server to another and initialize the security world with that folder as I always do, and i dont have any errors during this procedure.
Do you know what could be the cause of this? or how can I fix this? Thanks a lot, best regards.
Alejandro Lozano Villanueva -
Hi
DECLARE @XMLA nvarchar(3000)
, @DateSerial nvarchar(35);
-- Change date to format YYYYMMDDHHMMSS
SET @DateSerial = CAST(GETDATE() AS DATE);
--SELECT @DateSerial
Set @XMLA =
N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
<ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
<KeyErrorLimit>-1</KeyErrorLimit>
<KeyNotFound>IgnoreError</KeyNotFound>
<NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
</ErrorConfiguration>
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<Object>
<DatabaseID>MultidimensionalProject5</DatabaseID>
<CubeID>giri</CubeID>
<MeasureGroupID>Fact Internet Sales</MeasureGroupID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>';
EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
iam executive the query when iam getting below error.
[Execute SQL Task] Error: Executing the query "DECLARE
@XMLA nvarchar(3000)
, @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
how to solve this error;
please help meWhat are you trying to do? What sort of data source is SHALL-PCAdventureWorksDw?
When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
If you explain why you think this would work in the first place, maybe we can help you.
Erland Sommarskog, SQL Server MVP, [email protected]
Maybe you are looking for
-
Quicktime video does not display?
I have designed several sites that have Quicktime videos but they do not play. Does Quicktime not work on the iPhone? The videos on Apple were the only ones online that we were able to play.
-
I have tried 4 days to get iTunes 10.4 working on my Win7 x64 machine. I purchased a new iPhone4 and after syncing it the first time, I can't connect to the iTunes store. When I try to run iTunes Help, I get this message "iTunes Help is unavailable
-
(Laptop runing W XP SP3.) Firefox 3.6.10 died, I mean totally dead. It does not launch from any of the icons in the desktop or the quick launch bar, nor does it launch in safe mode either. I uninstalled it and tried with 4 older versions of Firefox t
-
I want to play DVD through my computer to my SONY LCD. I'm going to connect the tv using a HDMI cable. But where I'm connecting it too there are the usual red and white audio inputs. I don't see that on my soundcard. First of all what are all the inp
-
MBP 13, 10.6.8, desktop larger than monitor
About 4 or 5 days ago, my 13" MBP started something weird. The desktop image doesn't fit on the monitor. If I move the mouse to the edge of the screen, the image shifts in that direction. e.g. if the menu bar is showing, then the dock is not until