Weird problem recovering stickies database
So I have read everything pertinent about recovering Stickies from the very persnickety Time Machine a la Lion. I completely understand going to the latest backup>Users>username>StickiesDatabase. Here's my problem--in spite of the fact that my computer has a name and I have a login setup, there is no user name in my Time Machine backup. When I click on Users, I have two choices: setup and Shared. My actual user name doesn't appear anywhere. So how on earth do I find my Stickies?! I need to recover only that file for a different computer. Possible additional problem--the other computer is running Snow Leopard. Is there help for my dilemma?
Thanks, Apple community!
> What about this "Please check the KNLDIAG/KNLMSG file for a more detailed error description..." stuff?
> I know that there are diag files stored under "Program Filessapdbindep_datawrkdbnameDIAGHISTORY" but I dont know what to do with them since they are also very big.
Ok, the KNLMSG file (as you're already using MaxDB 7.7) is the log file of your database.
The files in the DIAGHISTORY folder are error analysis files that had automatically been copied to this location for later analysis. Just ignore these for now.
So - any entries in the KNLMSG file? You can display it in the DB Studio as "Database Messages".
> About the version I am using: 7.7.06.09 - Maybe it is because the backup was created with a different version? How can I figure out what version it was?
Hmm... depends.
You can get the version of the database backed up by showing the label of the backup.
To do this in DB Studio open the "Administration" and move to tab page "Backup".
There display the "Templates"-list at the lower end of the tab page.
Mark the template that points to your backup and right click it.
In the context menu choose "Show label..."
If you're already a bit comfortable with the command line interface, you may also just use this tab page or open the dbmcli tool and run this command:
medium_labeloffline <name or your medium>
But more important than that really is the error log (KNLMSG) I asked for.
regards,
Lars
p.s.
there is a very good SDN WIKI section on MaxDB trouble shooting:
[https://wiki.sdn.sap.com/wiki/display/MaxDB/SAPMaxDBSupport+Guide]
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/maxdb/standardproblemsituations]
Similar Messages
-
Where can I find the Stickies database (content) in OS 10.8 and above. I recovered my hard drive from Time machine and it loaded the app but not the content.
How to Recover StickiesDatabase From Time Machine
-
Problem in recovering a database on another machine
Dear All,
I need your help in restoring and recovering a database on another machine. I don't have access to old machine to get logfile or archivelogs. I have taken full backup using RMAN. I have restored the database using rman sucessfully and trying to recover the database. RMAN have't restored the logfile. Database version is 8.1.7.4, OS is Solaris 8. In recovery, its showing the problem in rbs file. I'm showing all command and error. Just give me any idea that how to recover it sucessfully.
SVRMGRL>recover database using backup controlfile until cancel;
ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
specify log : {RET}...
cancel
ORA-01547: warning: Recover succeeded but open resetlogs would get error below
ORA-01194: file 2 needs more recovery to be consistent
ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
This RBS file size is 7GB. Is it the reason of problem. Even I tried until time, but its also has same error.
SVRMGRL>recover database using backup controlfile until time '2005-08-16:20:10:00';
ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
specify log : {RET}...
cancel
ORA-01547: warning: Recover succeeded but open resetlogs would get error below
ORA-01194: file 2 needs more recovery to be consistent
ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
Why its asking for archive file which generated on 19th, when I'm trying to recover until 16th only.
Regards
RakeshHi.
What is the size of the redo logs in the database. With a small amount of transactions, there might be redo in this particular archived file from two days back. The timestamp of the archivelogfiles does not indicate that all redo in the file is from this day. It might have changes several days back if no logswitch occured inbetween.
So, if I were you, I would provide all archivelogs required to get the datafiles consistent.
As a matter of fact, if archived redo is in the following folder :
/u07/oraexp/PROD/arch/
I would use recover database until time and press return for all archived logs svrmgrl comes up with.
I assume that the database was closed normally prior to taking the offline backup.
Good luck.
Rgds
Kjell Ove -
Problem in recovering the database!!!
Hi All,
I created a new database and wanted to restore the backup of another database into it, I created the required tablespaces and started restore of backup from RMAN using
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=orcl,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
restore controlfile from 'c-1179279249-20090511-02';
alter database mount;
release channel 'dev_0';
The controlfile got restored successfully, then I tried to restore & recover the database
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
restore database;
recover database;
release channel 'dev_0';
The restore was successful, but when I tried to open the database with resetlogs option
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 1136286903 generated at 05/11/2009 02:08:22 needed for thread1
ORA-00289: suggestion : */arch/archivelog/1_8493_651861624.dbf*
ORA-00280: change 1136286903 for thread 1 is in sequence #8493
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '+DATADG/orcl/datafile/system.295.686609187'
ORA-01112: media recovery not started
The recovery process is looking for */arch/archivelog/1_8493_651861624.dbf* this archivelog, but this archivelog file is not present at that location, the restore process should have restored all the archivelogs as well, actually no archivelogs got restored, how can I recover the database without archivelog logs? it is not possible at all.
PLEASE tell me how can I make the database work?Thanks Hemant !!!
I restored the archivelogs using the script below
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=central,OB2BARLIST=DAILY_HISDBS01_ORACLE-DB_ONLINE_5W,OB2BARHOSTNAME=hisdbs01.kfmc.med)';
restore ARCHIVELOG FROM TIME 'SYSDATE-5' UNTIL TIME 'SYSDATE';
release channel 'dev_0';
then recoverd the database and applied the requested archivelog file and opened the database with resetlogs, it is now successfully recovered upto the point I wanted it to be. -
How can I open a Snow Leopard Stickies Database on Tiger?
I have a problem. My MBP running 10.6.x Snow Leopard is in the shop getting fixed. In the meantime I am using my backed-up files on an iBook running 10.4.11 Tiger. I desperately need some data from my Stickies on the MPB, where the Stickies Database was created in Snow Leopard. But Stickies on 10.4.11 will not open the database. Any idea how to recover that data?
I just solved my own problem:
Turns out that, when the Stickies app is closed, the StickiesDatabase file shows up in user/Library
Just copy and paste in same location on new computer, 10.6.4 or earlier.
Works like a charm (for me)
thanks -
How to recover the database when some of the archive log file get deleted.
I am facing a problem with Oracle database, which is related to archivelogs.
Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
When the database was in running condition, disk got full, so some archivelogs were deleted manually.
After this they restarted the DB, and now DB is not coming up. Errors are as follows:
SQL> startup
ORACLE instance started.
Total System Global Area 1444383504 bytes
Fixed Size 731920 bytes
Variable Size 486539264 bytes
Database Buffers 956301312 bytes
Redo Buffers 811008 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
1
ORA-00289: suggestion :
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00280: change 215548705 for thread 1 is in sequence #1107
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00308: cannot open archived log
'/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL>
1. How to recover the database and bring it online
Any help will be highly appreciated.
With Regards
Hemant Joshi
Edited by: hem_Kec on Sep 7, 2008 9:07 AMHi,
Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss. -
Recover Standby Database suggests wrong filename
Hi,
I am running Oracle Database 10g Release 10.2.0.3.0 - 64bit Production Standard Edition on Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3))
I've created a physical standby database, but since I am running Standard Edition, I am not using the DataGuard features. I use the rsync utility to copy over the archivelogs to the standby database, and I apply them periodically to the standby database.
The standby database is started this way :
startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
alter database mount standby database;
And the archives are applied this way :
recover standby database;
AUTO
(AUTO for the command to apply all available archive logs automatically, using the suggested paths and filenames)
My problem is that once in a while (maybe once every 2-3 weeks), the suggested filename does not have the same format as the rest of the time. I then have to manually specify the correct filename and it goes fine after that.
Example :
In this example, you will see that it is first looking for sequence 22907 (o1_mf_1_22907_5n3m1xrf_.arc), then 22908 (o1_mf_1_22908_5n3m4kf0_.arc) [Notice the format of the file name] and then tries to look for sequence 22909, but looks for filename ".o1_mf_1_22909_5n3md1h5_.arc.qXMz5s"
Mon Jan 4 06:22:01 2010
ALTER DATABASE RECOVER standby database
Media Recovery Start
Managed Standby Recovery not using Real Time Apply
ORA-279 signalled during: ALTER DATABASE RECOVER standby database ...
Mon Jan 4 06:22:02 2010
ALTER DATABASE RECOVER CONTINUE DEFAULT
Mon Jan 4 06:22:02 2010
Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/o1_mf_1_22907_5n3m1xrf_.arc
Mon Jan 4 06:24:20 2010
ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Mon Jan 4 06:24:20 2010
ALTER DATABASE RECOVER CONTINUE DEFAULT
Mon Jan 4 06:24:20 2010
Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/o1_mf_1_22908_5n3m4kf0_.arc
Mon Jan 4 06:24:46 2010
ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Mon Jan 4 06:24:46 2010
ALTER DATABASE RECOVER CONTINUE DEFAULT
Mon Jan 4 06:24:46 2010
Media Recovery Log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/.o1_mf_1_22909_5n3md1h5_.arc.qXMz5s
Errors with log /oraarch/oracle/flash_recovery_area/GIGA10G/archivelog/2010_01_04/.o1_mf_1_22909_5n3md1h5_.arc.qXMz5s
ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
Mon Jan 4 06:24:46 2010
ALTER DATABASE RECOVER CANCEL
Mon Jan 4 06:24:46 2010
Media Recovery Canceled
Completed: ALTER DATABASE RECOVER CANCEL
Can someone explain to me why is this happening please ?
Thanks a lot,
Mat@fjfranken
Yes. If I manually enter the name of the file for the sequence requested instead of passing the suggested fielname, it works fine.
And the log_archive_format is not defined, I am using the flash_recovery_area and let Oracle manage this automatically.
@Hemant K Chitale
Unfortunately, those sequences are not listed anymore in the V$ARCHIVED_LOG view.
Well, I think the the problem might be related to files that are being written to at some time...
Thanks,
Mat -
Hello All,
The disk failure caused our production data on the disk to be resotred with the backup data available and recovered through RMAN with cotrolfile , and no catalog DB is configured.
I had the restored the spfile and control file then recovered the database,
startup nomount;
RESTORE SPFILE FROM ' path ' ;
Shutdown immediate;
startup nomount
Restore controfile from autobackup;
restore database;
[AT POINT , A MESSAGE PROMPTED LIKE " failur of restored command - some targets not found" (thinking may be few archives are not found, i proceeded to incomeplete recovery of DB) ]
recover database;
Finished reocvery .
Now in the Grid control i see that 60 blocks of a particular datafile are corrupted and needs recovery. Do i need to get the data file resotred again and recover it or any simple way to recover this data file
When i perform the block recovery , it says recovery failed and when i run the data file recovery it succeeds. Please provide you inputs to recover the database as it is production BI database and pretty critical to our client.
Thanks for your valuable time in advance.
Regards,
Ran G.These is a common problem if the object are created due to NOLOGGIN option. If you check most of the object which are facing block corruption is indexes .
Use the below query to check the objects :
It will map each block from v$database_block_corruption to either a segment or if the block is free.
$ sqlplus / as sysdba
set pagesize 2000
set linesize 250
SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file#
, greatest(e.block_id, c.block#) corr_start_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(e.block_id+e.blocks-1, c.block#+c.blocks-1)
- greatest(e.block_id, c.block#) + 1 blocks_corrupted
, null description
FROM dba_extents e, v$database_block_corruption c
WHERE e.file_id = c.file#
AND e.block_id <= c.block# + c.blocks - 1
AND e.block_id + e.blocks - 1 >= c.block#
UNION
SELECT s.owner, s.segment_type, s.segment_name, s.partition_name, c.file#
, header_block corr_start_block#
, header_block corr_end_block#
, 1 blocks_corrupted
, 'Segment Header' description
FROM dba_segments s, v$database_block_corruption c
WHERE s.header_file = c.file#
AND s.header_block between c.block# and c.block# + c.blocks - 1
UNION
SELECT null owner, null segment_type, null segment_name, null partition_name, c.file#
, greatest(f.block_id, c.block#) corr_start_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1) corr_end_block#
, least(f.block_id+f.blocks-1, c.block#+c.blocks-1)
- greatest(f.block_id, c.block#) + 1 blocks_corrupted
, 'Free Block' description
FROM dba_free_space f, v$database_block_corruption c
WHERE f.file_id = c.file#
AND f.block_id <= c.block# + c.blocks - 1
AND f.block_id + f.blocks - 1 >= c.block#
order by file#, corr_start_block#;
Below oracle support note will help you :
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution (Doc ID 794505.1)
The Gains and Pains of Nologging Operations (Doc ID 290161.1)
SQL> select d.NAME as DBF_NAME, t.NAME as TS_NAME, d.UNRECOVERABLE_CHANGE# as NOLOG_CHNG#, to_char(d.UNRECOVERABLE_TIME, 'Dy DD-Mon-YYYY HH24:MI:SS') as NOLOG_TIME from V$DATAFILE d join V$TABLESPACE t on d.TS# = t.TS# order by t.NAME;
Thanks,
gssdba.wordpress.com -
Problem with NSR database recovery
Hi
We use Networker to backup our databases.
When we try and recover a database (using the DBMGui) the Networker software is asking for the incorrect tape to be loaded.
The parameter NSR_EBIDTYPE is set to NSAVETIME. The correct information is being passed to networker but, as I said, the wrong tape is being requested by Networker.
If I use the SSID for the recover command (from mminfo) the correct tape is used.
I have tried to use the pipe2file command to extract the files from tape into a file.
pipe2file -d pipe2file -p
.\pipe\SID.0 -f c:\temp\sid_file.0
The recover command is
recover -v -s notworkerserver -S 903454371 -iY
.\pipe\SID.0
The recover process does begin to retrieve the data, however, no file appears in c:\temp . Am I not using the command correctly ??
Any help would be appreciated.
Regards
Doug> When we try and recover a database (using the DBMGui) the Networker software is asking for the incorrect tape to be loaded.
>
> The parameter NSR_EBIDTYPE is set to NSAVETIME. The correct information is being passed to networker but, as I said, the wrong tape is being requested by Networker.
>
> If I use the SSID for the recover command (from mminfo) the correct tape is used.
Hi Doug,
sounds like the problem is wit the Networker software, not with MaxDB...
> I have tried to use the pipe2file command to extract the files from tape into a file.
> pipe2file -d pipe2file -p
.\pipe\SID.0 -f c:\temp\sid_file.0
>
> The recover command is
> recover -v -s notworkerserver -S 903454371 -iY
.\pipe\SID.0
>
> The recover process does begin to retrieve the data, however, no file appears in c:\temp . Am I not using the command correctly ??
The command looks OK - do you know whether the recover command already provided some data to the pipe?
You may use the "-showspeed" option of "pipe2file" to get an impression on the progress.
regards,
Lars -
Our primary linux 10g db is in standard edition and we would like to manually create a standby database
After copying the control and datafiles from primary to standby database, started the standby instance ..
SQL> startup nomount pfile=/path/to/pfile/initSID.standby
SQL> alter database mount standby database;
SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
How do I resolve this problem? Log sequence 833 is the current log on the primary db, archive log haven't been written yet. When I try to "alter database open read only" on the standby db, I get an error "ORA-01156: recovery in progress may need access to file".
I then went back to my primary database, which already had another log switch to 834, log 833 is now available, I then moved that archive log file to the standby db. Try to recover standby database again, but still got errors..
SQL> startup nomount pfile=/path/to/pfile/initSID.standby
SQL> alter database mount standby database;
SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
SQL> alter database open read only;
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
Would something please explain this to me? What am I doing wrong? Thanks in advance.I copied the missing archive log over to standby db, still got the same error.
1) SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
I also tried..
2) SQL> recover standby database using backup controlfile until cancel;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
Edited by: user10427867 on Aug 28, 2009 5:56 AM -
Really weird problem with Usage Tracking!
Hi guys
We are running OBIEE 11.1.1.6.5 on Exalytics and allmost all is fine and dandy. We have though one weird problem. When we first enabled usage tracking, we sudddenly got some errors on some of our dashboards, saying that we didn't have the privilegies to create temporary tables. Allright we got our user (which is a shared user) the privilegies to create temporary tables, and the reports with the problems started working again! Awesome! But low and behold - then Usage Tracking stopped working, not a single mentioning in the logfiles about it. Maybe an error or, the acknowledgement that Usage Tracking has started, which is the normal.
So basically we are running without Usage Tracking because the reports that gives us the problems are deemed more important... which they might be, but thats different story...
Any ideas to what is going on here? We have collected Usage Tracking data, while the reports were broke, so im quite confident that the setup is correct. But why would it stop, when giving "create table" privilege to our shared user?
Best regards, JacobWhat is the setting for UsageTrackingDirectInsert?
Have you tried chaging the output to file instead of database?
Please see:
http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/usage_track.htm#i1017237
Section 9.3, "Setting Up a Log File to Collect Information for Usage Tracking"
Michael
PS:
Hi Christian! :) -
Problems with Sybase Database for Collection Manager in SCE2020
We have problems with Sybase Database for Collection Manager in a SCE2020. The status is:
[root@btl-sce-cm log]# ~scmscm/setup/alive.sh STATUS OK [root@btl-sce-cm monitor]# ./monitor.sh -a -d Test: 01db_up.sh. Status: FAIL. Message: DB is not running Test: 02cm_up.sh. Status: PASS. Message: CM is running Test: 03free_db.sh. Status: PASS. Message: 99% free space in data db Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter TAAdapter [root@btl-sce-cm monitor]# ~scmscm/scripts/dbtables.sh /home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: is a directory Executing query ... /home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: is a directory [root@btl-sce-cm monitor]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 149559596 138280700 3681636 98% / /dev/sda1 101086 20685 75182 22% /boot none 1036624 0 1036624 0% /dev/shm
We restored the Sybase database, but we have problems to access the database from Collection Manager and we can't obtain reports from SCE 2020.
Here is the info:
Problem Details: The SCA Reporter cannot generate Reports, the CM diagnostics show the following:
[root@btl-sce-cm ~]# ~scmscm/setup/alive.sh STATUS OK
[root@btl-sce-cm ~]# ~scmscm/scripts/dbfree.sh
Name % Data Free % Log Free
Database 55 99
[root@btl-sce-cm ~]# ~scmscm/scripts/dbtables.sh
/home/scmscm/scripts/common.sh: line 43: /root/cm/bin/cm: No such file or directory Executing query ...
/home/scmscm/scripts/dbtables.sh: line 83: /root/cm/bin/cm: No such file or directory
[root@btl-sce-cm ~]# ~scmscm/setup/monitor/monitor.sh -d -a
Test: 01db_up.sh. Status: FAIL. Message: DB is not running
Test: 02cm_up.sh. Status: PASS. Message: CM is running
Test: 03free_db.sh. Status: PASS. Message: 55% free space in data db
Test: 04free_log.sh. Status: PASS. Message: 99% free space in log db
Test: 05cm_persistent_buffers.sh. Status: FAIL. Message: The following directory/ies have more than 500 files in them - JDBCAdapter
Message was edited by: EMILIO MENCIATomo:
we have problems with our reports in Collection Manager again. We reboot the CM, but the problems continue.
This is the log of the CM. What can be the problem? Thanks tomo
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of User Accounts during current sample period: 3.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of User Accounts since startup: 3.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Configured Number of User Connections during current sample period: 200.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Configured Number of User Connections since startup: 200.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Number of User Connections during current sample period: 15.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum Number of User Connections since startup: 18.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of user seat licenses used during current sample period: 1.
Nov 3 11:49:18 localhost sybase_init: 00:00000:00012:2011/11/03 11:49:18.00 server Maximum number of user seat licenses used since startup: 3.
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.78 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.86 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.92 server Error: 1608, Severity: 18, State: 4
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 9 19:21:49 localhost sybase_init: 00:00000:00069:2011/11/09 19:21:49.94 kernel extended error information: hostname: btllt0012 login: pqb_admin
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel Cannot send, host process disconnected: btllt0012 suid: 3
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server Error: 1608, Severity: 18, State: 4
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 9 19:41:10 localhost sybase_init: 00:00000:00086:2011/11/09 19:41:10.01 kernel extended error information: hostname: btllt0012 login: pqb_admin
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server Error: 632, Severity: 20, State: 2
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 server Attempt to move memory with an incorrect length
of -794444483. Maximum allowed length is 16384.
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel ************************************
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel SQL causing error : =
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel ************************************
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel curdb = 4 tempdb = 2 pstat = 0x10000
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel lasterror = 632 preverror = 0 transtate = 3
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel curcmd = 0 program =
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.16 kernel extended error information: hostname: btl-sce-cm login: pqb_admin
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d40ca3 pcstkwalk+0x31b(0x9a78fdbc, 0x9a78fb6c, 0x0000270f, 0x00000002, 0x9a78fb6c)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d40832 ucstkgentrace+0x13a(0x68a4006f, 0x00000002, 0x0000270f, (nil), (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08ce346d ucbacktrace+0x5d((nil), 0x00000001, (nil), 0x00000003, 0x20202020)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x082f19b8 terminate_process+0xa5c((nil), 0xffffffff, 0x9a7904c4, 0x08349a96, 0x00000278)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08349acb close_network+0xf(0x00000002, 0x9ced1ea0, 0x9a790544, 0x0834902e, 0x00000006)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08349aad hdl_default+0x45(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0x9a7904fc)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0834902e ex_raise+0x18a(0x00000006, 0x00000020, 0x00000014, 0x00000002, 0xd0a5bd3d)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08357c9b memmove_error+0x27(0xd0a5bd3d, 0x00004000, 0xffffffff, 0x0896b8a4, 0x9e3d7cfc)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0833e54e recvhost+0xbe(0x9a7909ec, 0xd0a5bd3d, 0x00000018, 0x9e44d5d8, 0x9e44d52c)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08339160 recvchars+0x74(0x9ced2a1c, 0xd0a5bd3d, 0x9a7909ec, 0x000000ff, (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0831e237 tdsrecv_declare+0x207(0x00000010, 0x9cecb914, 0x9a7911b4, 0x0832dd5f, (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel [Handler pc: 0x0x0863eca4 ut_handle installed by the following function:-]
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x0832e3a9 conn_hdlr+0xe49(0x00000030, 0x9a7911c8, 0x895eed31, (nil), (nil))
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel pc: 0x08d33984 kpexit((nil), (nil), (nil), 0x9a020900, 0x00000070)
Nov 23 08:35:23 localhost sybase_init: 00:00000:00011:2011/11/23 08:35:23.25 kernel end of stack trace, spid 11, kpid 1755578479, suid 3
AFTER RESTART
ov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel SySAM: Checked out license for 1 ASE_CORE (2010.04040/permanent/148F 853E 92A9 E302).
Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel This product is licensed to: CISCO SYSTEMS, and OEM license from Sybase, Inc.
Nov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel Checked out license ASE_CORENov 28 09:19:06 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:06.50 kernel Adaptive Server Enterprise (Small Business Edition)
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.02 kernel Using config area from primary master device.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.17 kernel Locking shared memory into physical memory.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.22 kernel Internal run-time model set for Linux - Native
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using 1024 file descriptors.
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Adaptive Server Enterprise/15.0.2/EBF 14331/P/Linux Intel/Linux 2.4.21-47.ELsmp i686/ase1502/2486/32-bit/FBO/Thu May 24 08:15:50 2007
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Confidential property of Sybase, Inc.Nov 28 09:19:07 localhost messagebus: messagebus startup succeeded
Nov 28 09:19:07 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Copyright 1987, 2007
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Sybase, Inc. All rights reserved.
Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Unpublished rights reserved under U.S. copyright laws.
Nov 28 09:19:08 localhost rhnsd: Red Hat Network Services Daemon running with check_in interval set to 240 minutes.
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel
Nov 28 09:19:08 localhost rhnsd[27742]: Red Hat Network Services Daemon starting up.
Nov 28 09:19:08 localhost rhnsd: rhnsd startup succeeded
Nov 28 09:19:08 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel This software contains confidential and trade secret information of Sybase,
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Inc. Use, duplication or disclosure of the software and documentation by
Nov 28 09:19:09 localhost cups-config-daemon: cups-config-daemon startup succeeded
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel the U.S. Government is subject to restrictions set forth in a license
Nov 28 09:19:09 localhost haldaemon: haldaemon startup succeeded
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel agreement between the Government and Sybase, Inc. or other written
Nov 28 09:19:09 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel agreement specifying the Government's rights to use the software and any
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel applicable FAR provisions, for example, FAR 52.227-19.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using /opt/sybase as the 'SYBASE' environment variable, found during startup.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.26 kernel Using OCS-15_0 as the 'SYBASE_OCS' environment variable, found during startup.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel ASE booted on Linux release 2.6.9-78.0.13.ELsmp version #1 SMP Wed Jan 7 17:52:47 EST 2009.
Nov 28 09:19:10 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Using '/opt/sybase/ASE-15_0/pqbsyb1.cfg' for configuration information.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Logging ASE messages in file '/opt/sybase/ASE-15_0/install/pqbsyb1.log'.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.29 kernel Platform TCP network is forced to IPv4-only.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.32 kernel ASE booted with TCP_NODELAY enabled.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel SSL Plus v5.0.4 security modules loaded successfully.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.35 kernel Network and device connection limit is 1009.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server Number of blocks left for proc headers: 12760.
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:07.65 server Proc header memory allocated 2552 pages for each per engine cache
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server Size of the 16K memory pool: 307200 Kb
Nov 28 09:19:11 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 server Memory allocated for the default data cache cachelet 1: 307200 Kb
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Enabling Linux Native Kernel asynchronous disk I/O strategy.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Initializing virtual device 0, '/opt/sybase/data/master.dat' with dsync 'on'.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.16 kernel Virtual device 0 started using asynchronous i/o.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.17 server Loaded default Unilib conversion handle.
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.56 kernel Worker Thread Manager is not enabled for use in ASE.
Nov 28 09:19:12 localhost fstab-sync[28568]: removed all generated mount points
Nov 28 09:19:12 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel Either the config parameter 'use security services' is set to 0, or ASE does not support use of external security mechanisms on this platform. The Security Control Layer will not be initialized. No external security mechanisms will be supported.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.58 kernel Unix interval timer enabled for sysclk interrupts.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.85 kernel Begin processing to generate RSA keypair.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel Completed processing to generate RSA keypair.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel Encryption provider initialization succeeded on engine 0.
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 kernel engine 0, os pid 27618 online
Nov 28 09:19:13 localhost sybase_init: 00:00000:00000:2011/11/28 09:19:08.94 server No active traceflags
Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.08 kernel libomni1 - Component Integration Services: usin
g 'Sybase Client-Library/15.0/P-EBF14165 ESD #7/DRV.15.0.3/Linux Intel/Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-093/OPT/Wed Dec 13 21:46:44 2006'
Nov 28 09:19:13 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.10 server Opening Master Database ...
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.66 server Loading ASE's default sort order and character set
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.83 server Recovering database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.92 server Started estimating recovery log boundaries for database 'master'.
Nov 28 09:19:14 localhost kernel: mtrr: type mismatch for d8000000,2000000 old: uncachable new: write-combining
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Database 'master', checkpoint=(1831, 20), first=(1831, 20), last=(1831, 32).
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Completed estimating recovery log boundaries for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Started ANALYSIS pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Completed ANALYSIS pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Log contains all committed transactions until 2011/11/27 13:28:54.20 for database master.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:09.96 server Started REDO pass for database 'master'. The total number of log records to process is 13.
Nov 28 09:19:14 localhost fstab-sync[28716]: added mount point /media/cdrecorder for /dev/scd0
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Redo pass of recovery has processed 4 committed and 0 aborted transactions.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Completed REDO pass for database 'master'.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Recovery of database 'master' will undo incomplete nested top actions.
Nov 28 09:19:14 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.12 server Started recovery checkpoint for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.38 server Completed recovery checkpoint for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:10.56 server Started filling free space info for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.24 server Completed filling free space info for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server Started cleaning up the default data cache for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.26 server Completed cleaning up the default data cache for database 'master'.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:11.42 server Checking external objects.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server Database 'master' is now online.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.40 server The transaction log in the database 'master' will use I/O size of 16 Kb.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.67 server Warning: ASE_HA has no valid license and therefore is not initialized.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.73 server server name is 'pqbsyb1'
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.90 server Activating disk 'sysprocsdev' of size 126976 KB.
Nov 28 09:19:15 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel Initializing virtual device 1, '/opt/sybase/data/sysprocs.dat' with dsync 'on'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 kernel Virtual device 1 started using asynchronous i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.95 server Activating disk 'systemdbdev' of size 49152 KB.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel Initializing virtual device 2, '/opt/sybase/data/sybsysdb.dat' with dsync 'on'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 kernel Virtual device 2 started using asynchronous i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:12.99 server Activating disk 'apricot_data1' of size 35082660 KB.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel Initializing virtual device 3, '/opt/sybase_data/apticotdata.dat' with dsync 'off'.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 kernel Virtual device 3 started using asynchronous (with DIRECTIO) i/o.
Nov 28 09:19:16 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.02 server Activating disk 'apricot_log1' of size 2980002 KB.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel Initializing virtual device 4, '/opt/sybase_data/apricotlog.dat' with dsync 'off'.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 kernel Virtual device 4 started using asynchronous (with DIRECTIO) i/o.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.04 server Activating disk 'tempdb_dev' of size 1048576 KB.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel Initializing virtual device 5, '/opt/sybase_data/tempdb.dat' with dsync 'off'.
Nov 28 09:19:17 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.09 kernel Virtual device 5 started using asynchronous i/o.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.30 server Recovering database 'sybsystemdb'.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.32 server Started estimating recovery log boundaries for database 'sybsystemdb'.
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Database 'sybsystemdb', checkpoint=(843, 106), first=(843, 106), last=(843, 106).
Nov 28 09:19:18 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Completed estimating recovery log boundaries for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Started ANALYSIS pass for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Completed ANALYSIS pass for database 'sybsystemdb'.
Nov 28 09:19:19 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemdb.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.40 server Started REDO pass for database 'sybsystemdb'. The total number of log records to process is 1.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Completed REDO pass for database 'sybsystemdb'.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Recovery of database 'sybsystemdb' will undo incomplete nested top actions.
Nov 28 09:19:20 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.41 server Started recovery checkpoint for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.46 server Completed recovery checkpoint for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.58 server Started filling free space info for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.69 server Completed filling free space info for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Started cleaning up the default data cache for database 'sybsystemdb'.
Nov 28 09:19:21 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Completed cleaning up the default data cache for database 'sybsystemdb'.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.70 server Boot Count: 13
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:13.81 server Checking external objects.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:14.18 server The transaction log in the database 'sybsystemdb' will use I/O size of 16 Kb.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.59 server Completed recovery checkpoint for database 'model'.
Nov 28 09:19:22 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.70 server Started filling free space info for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.72 server Completed filling free space info for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server Started cleaning up the default data cache for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.74 server Completed cleaning up the default data cache for database 'model'.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:15.77 server Checking external objects.
Nov 28 09:19:23 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.07 server The transaction log in the database 'model' will use I/O size of 16 Kb.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server Database 'model' is now online.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server The logical pagesize of the server is 16 Kb.
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server 0 dump conditions detected at boot time
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:16.08 server Clearing temp db
Nov 28 09:19:24 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:18.37 server Processed 27 allocation unit(s) out of 262 units (allocation page 6656). 10% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:19.51 server Processed 53 allocation unit(s) out of 262 units (allocation page 13312). 20% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:20.81 server Processed 79 allocation unit(s) out of 262 units (allocation page 19968). 30% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:22.19 server Processed 105 allocation unit(s) out of 262 units (allocation page 26624). 40% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:23.52 server Processed 131 allocation unit(s) out of 262 units (allocation page 33280). 50% completed.
Nov 28 09:19:25 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:24.96 server Processed 158 allocation unit(s) out of 262 units (allocation page 40192). 60% completed.
Nov 28 09:19:27 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:27.08 server Processed 184 allocation unit(s) out of 262 units (allocation page 46848). 70% completed.
Nov 28 09:19:29 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:29.94 server Processed 210 allocation unit(s) out of 262 units (allocation page 53504). 80% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.01 server Processed 236 allocation unit(s) out of 262 units (allocation page 60160). 90% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.57 server Processed 262 allocation unit(s) out of 262 units (allocation page 66816). 100% completed.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.84 server The transaction log in the database 'tempdb' will use I/O size of 16 Kb.
Nov 28 09:19:32 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:32.86 server Database 'tempdb' is now online.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.06 server Recovering database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.08 server Started estimating recovery log boundaries for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Database 'sybsystemprocs', checkpoint=(6333, 93), first=(6333, 93), last=(6333, 93).
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed estimating recovery log boundaries for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started ANALYSIS pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed ANALYSIS pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Log contains all committed transactions until 2011/10/25 09:55:36.72 for database sybsystemprocs.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started REDO pass for database 'sybsystemprocs'. The total number of log records to process is 1.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Completed REDO pass for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Recovery of database 'sybsystemprocs' will undo incomplete nested top actions.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.14 server Started recovery checkpoint for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.18 server Completed recovery checkpoint for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.20 server Started filling free space info for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.39 server Completed filling free space info for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server Started cleaning up the default data cache for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.40 server Completed cleaning up the default data cache for database 'sybsystemprocs'.
Nov 28 09:19:33 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:33.41 server Checking external objects.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.04 server The transaction log in the database 'sybsystemprocs' will use I/O size of 16 Kb.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.09 server Database 'sybsystemprocs' is now online.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel network name localhost.localdomain, interface IPv4, address 10.1.1.33, type tcp, port 4100, filter NONE
Nov 28 09:19:34 localhost sybase_init: 00:00000:00008:2011/11/28 09:19:34.23 kernel network name localhost.localdomain, interface IPv4, address 127.0.0.1, type tcp, port 4100, filter NONE
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the size of '128K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the size of '16K' pool in 'default data cache' to benefit recovery performance. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the '128K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server Recovery has tuned the '16K' pool in 'default data cache' by changing its 'local async prefetch limit' from 10 to 80. The original configuration will be restored at the end of recovery.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.74 server The server will recover databases serially.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.81 server Recovering database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.82 server Started estimating recovery log boundaries for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Database 'apricot', checkpoint=(2358271, 12), first=(2358271, 11), last=(2358275, 172).
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Completed estimating recovery log boundaries for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Started ANALYSIS pass for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Completed ANALYSIS pass for database 'apricot'.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Log contains all committed transactions until 2011/11/28 09:16:20.68 for database apricot.
Nov 28 09:19:34 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:34.89 server Started REDO pass for database 'apricot'. The total number of log records to process is 846.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server Redo pass of recovery has processed 2 committed and 138 aborted transactions.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.10 server Completed REDO pass for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server Recovery of database 'apricot' will undo incomplete nested top actions.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.11 server Started recovery checkpoint for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.29 server Completed recovery checkpoint for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.35 server Started filling free space info for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.47 server Completed filling free space info for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server Started cleaning up the default data cache for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.51 server Completed cleaning up the default data cache for database 'apricot'.
Nov 28 09:19:35 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:35.55 server Checking external objects.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.30 server The transaction log in the database 'apricot' will use I/O size of 16 Kb.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.31 server Database 'apricot' is now online.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server Recovery has restored the value of 'local async prefetch limit' for '128K' pool in 'default data cache' from '80' to 'DEFAULT'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.34 server Recovery has restored the value of 'local async prefetch limit' for '16K' pool in 'default data cache' from '80' to 'DEFAULT'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.40 server Recovery has restored the original size for '128K' pool and '16K' pool in 'default data cache'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.44 server Recovery complete.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server ASE's default unicode sort order is 'binary'.
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server ASE's default sort order is:
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server 'bin_iso_1' (ID = 50)
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server on top of default character set:
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server 'iso_1' (ID = 1).
Nov 28 09:19:36 localhost sybase_init: 00:00000:00001:2011/11/28 09:19:36.46 server Master device size: 240 megabytes, or 122880 virtual pages. (A virtual page is 2048 bytes.)
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel Cannot send, host process disconnected: btl-sce-cm suid: 3
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server Error: 1608, Severity: 18, State: 3
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 server A client process exited abnormally, or a network error was encountered. Unless other errors occurred, continue processing normally.
Nov 28 09:34:40 localhost sybase_init: 00:00000:00109:2011/11/28 09:34:40.95 kernel extended error information: hostname: btl-sce-cm login: pqb_admin
Nov 28 09:38:27 localhost sshd(pam_unix)[29201]: session opened for user root by (uid=0) -
Up to what time can I recover my database?
I have lost all of my current controlfiles and I have to recover my database using a backup controlfile. Up to what time can I recover my database?---------No.204
In another thread you said you had your OCP. What test are these questions for?
Along the same line as your other asking what is next, have you tried recreating this problem? It is one thing to be able to give an answer, being able to actually perform the work is what your future employer is looking for. -
Problems with DUPLICATE DATABASE when datafile was added after full backup
Hi,
I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
Starting restore at 10-10-2009 18:00:38
released channel: t1
released channel: t2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
Of course if I try to perform a restore/recover of the source database it works without problems:
RMAN> restore database;
Starting restore at 13.10.09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
.....The datafile 43 is recreated and then redo is applied over.
So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
Thanks in advance for any answers.
Regards,
JureHi Jure,
I have hit exactly the same problem during duplication.
Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
run
backup incremental level 0
format 'bk_%d_%s_%p_%t'
filesperset 4
database not backed up;
(I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
Regards,
Tycho -
Hi,
I am having a weird problem with my message driven bean. I developed a MDB to handle some calculations and database operations which takes about two minutes. If I send one message and the MDB is doing ok. But when I send second message to the same queue and the first message is still be processing, the instance of MDB which processing the first message was interrupted by second MDB instance. The value of variables in first instance was changed by second MDB instance. Then I got lots of SQLExceptions because of this.
Looks like two MDB instances were sharing the same memory! I am not sure what I did is wrong. If I send second message after the first is finished, I got no problem.
BTW, I use XAConnectionFactory and AUTO_ACKNOWLEDGE. I have 10 beans in the session pool. I am using Queue, not Topic.
Thanks,
Richard ZhangAn MDB is, essentially, a Stateless Session Bean. If you are keeping state
in instance variables, you are going to have problems with concurrency. Make
the variables local to the onMessage() routine.
Bill
"Richard Zhang" <[email protected]> wrote in message
news:24872664.1103837737402.JavaMail.root@jserv5...
> Hi,
>
> I am having a weird problem with my message driven bean. I developed a MDB
to handle some calculations and database operations which takes about two
minutes. If I send one message and the MDB is doing ok. But when I send
second message to the same queue and the first message is still be
processing, the instance of MDB which processing the first message was
interrupted by second MDB instance. The value of variables in first instance
was changed by second MDB instance. Then I got lots of SQLExceptions because
of this.
> Looks like two MDB instances were sharing the same memory! I am not sure
what I did is wrong. If I send second message after the first is finished, I
got no problem.
>
> BTW, I use XAConnectionFactory and AUTO_ACKNOWLEDGE. I have 10 beans in
the session pool. I am using Queue, not Topic.
>
> Thanks,
>
> Richard Zhang
Maybe you are looking for
-
How to make backwards navigation through slide shows possible?
Hi, I just made my first Encore DVD slide show and spent hours trying to figure out how to do this without a luck. The DVD is one Main Menu with buttons to different slide shows that are all set to manual advance. The end action of each slide show ta
-
Business Objects In Portal Content Studio
Hi All, I Installed a business package for CRM in EP 6.0 SP09 and I created aliases SAP_BW and SAP_CRM for the CRM and BW systems and assigned roles to users and was accessing them. The Business Objects Folder in Portal content studio was empty e
-
Ship to address on the service contract
Hello The service contracts are getting created without ship to address from OM and IB. Is there a way to get the ship to on to service contract automatically? Regards Srini
-
Alternative SHOW form for XML's
Hi techies, I have made a XML news form with two SHOW forms. I need to show one group of users the first one the other group the other one. Has anyone a idea? I have been searching on SDN and could only find this procedure 1) Create a news form in th
-
Is it possible to restore an ipad from icloud backup of an iphone?
I don't know if this is technically possible. We have several iOs devices associated with one apple id, an iphone, ipad, and ipod. I wanted to know if I can delete all the stuff from my ipad and restore it with stuff from the iphone. Thanks for any