Database starting problem?
Hi all
My database on oracle 9 ,on windows machine..
It is in no archivelog.
when I shut down the machine and startup again my database doesn't up automatically .
I have to start it manually every time by giving the startup command.
what is the procedure to start database automatically with machine startup?
In windows, oracle is started as a service.Check the service name of your database is mentioned as Automatic so that with thenext reboot of themachine, the service comes up automatically. This will bring your db up in the next startup of the machine.
Aman....
Similar Messages
-
Oracle Database Starting Problem
Hi all,
i am having database startup problems.
my database is working fine but when i try to connect as sysdba then i get the following error
Connected to an idle instance.
SQL> select status from v$instance;
select status from v$instance
ERROR at line 1:
ORA-01034: ORACLE not available
i have also checked the listener and it is also working fine.
Instance "orcl", status READY, has 3 handler(s) for this service...
The process is also shown by the pmon command, check through operating system command
ps -aef |grep pmon
oracle 3235 2816 0 18:08:15 pts/3 0:00 grep pmon
oracle 22425 1 0 12:01:57 ? 0:08 ora_pmon_orcl
Please let me know what to do.
regards,
Imran RazaHi Laura,
Please find below
bash-3.00$ echo $ORACLE_SID
orcl
bash-3.00$ ./lsnrctl status
LSNRCTL for Solaris: Version 10.1.0.5.0 - Production on 17-FEB-2009 18:58:55
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=silverApp0)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.1.0.5.0 - Production
Start Date 17-FEB-2009 11:51:42
Uptime 0 days 7 hr. 7 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/dba/OraHome1/network/admin/listener.ora
Listener Log File /oracle/dba/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=silverApp0)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl.silverapp0.com" has 1 instance(s).
Instance "orcl", status READY, has 3 handler(s) for this service...
The command completed successfully -
Database Started In Restricted Mode...
Dear Exports,
We are using Oracle 10gR2 on Windows server 2008. My database size is approximately 2tb. Now we are going to setup Dataguard for our primary. We started the database with the changer parameters for dataguard and create spfile from pfile. And started the database with Spfile. But after some time i noticed that the database started automatically in Restricted mode. As in our database Previously dataguard was configured, due to the some problem that setup is not working and the logs are not applied in Standby server. I thought may be for this reason database going to restricted mode automatically so i set the log_archive_dest_state_2='DEFFER' and Now I scanned the whore alert.log file and found the same situation of restricted is happening from Jan 2010. Please Suggest some solution how i can over come the problem.
The alertlog when i started the database recently...
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Fri Apr 12 19:12:39 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=14328
PSP0 started with pid=3, OS id=15420
MMAN started with pid=4, OS id=9092
DBW0 started with pid=5, OS id=12360
DBW1 started with pid=6, OS id=18112
LGWR started with pid=7, OS id=18360
CKPT started with pid=8, OS id=18448
SMON started with pid=9, OS id=17160
RECO started with pid=10, OS id=18512
CJQ0 started with pid=11, OS id=19324
MMON started with pid=12, OS id=14380
Fri Apr 12 19:12:40 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=2996
Fri Apr 12 19:12:40 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:12:41 2013
ALTER DATABASE MOUNT
Fri Apr 12 19:12:45 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:12:45 2013
Successful mount of redo thread 1, with mount id 1340307369
Fri Apr 12 19:12:45 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=5524
Fri Apr 12 19:12:45 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Apr 12 19:12:46 2013
ALTER DATABASE OPEN
Fri Apr 12 19:12:46 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=18, OS id=11964
ARC1 started with pid=19, OS id=13472
ARC2 started with pid=20, OS id=17960
ARC3 started with pid=21, OS id=18548
ARC4 started with pid=22, OS id=15660
ARC5 started with pid=23, OS id=15548
ARC6 started with pid=24, OS id=14720
ARC7 started with pid=25, OS id=15780
ARC8 started with pid=26, OS id=17992
ARC9 started with pid=27, OS id=17988
ARCa started with pid=28, OS id=19436
ARCb started with pid=29, OS id=16104
ARCc started with pid=30, OS id=6656
ARCd started with pid=31, OS id=6900
ARCe started with pid=32, OS id=10568
ARCf started with pid=33, OS id=16992
ARCg started with pid=34, OS id=14372
ARCh started with pid=35, OS id=18084
ARCi started with pid=36, OS id=5788
ARCj started with pid=37, OS id=4940
ARCk started with pid=38, OS id=18816
ARCl started with pid=39, OS id=14588
ARCm started with pid=40, OS id=16820
ARCn started with pid=41, OS id=8068
ARCo started with pid=42, OS id=18736
ARCp started with pid=43, OS id=8316
ARCq started with pid=44, OS id=5952
ARCr started with pid=45, OS id=16304
ARCs started with pid=46, OS id=14884
Fri Apr 12 19:12:46 2013
ARC0: Archival started
ARCt started with pid=47, OS id=19408
Fri Apr 12 19:12:46 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 117446
Current log# 10 seq# 117446 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117446 mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no FAL' ARCH
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no SRL' ARCH
Fri Apr 12 19:12:46 2013
ARC8: Becoming the heartbeat ARCH
Fri Apr 12 19:12:47 2013
Successful open of redo thread 1
Fri Apr 12 19:12:47 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:12:47 2013
SMON: enabling cache recovery
Fri Apr 12 19:12:48 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:12:48 2013
SMON: enabling tx recovery
Fri Apr 12 19:12:48 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=48, OS id=10048
Fri Apr 12 19:12:51 2013
Completed: ALTER DATABASE OPEN
Fri Apr 12 19:12:51 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_14380.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log
Fri Apr 12 19:13:26 2013
ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows NT Version V6.0 Service Pack 1
CPU : 16 - type 8664, 16 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:55999M/65533M, Ph+PgF:183151M/193356M
Fri Apr 12 19:13:26 2013
Starting ORACLE instance (restrict)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=18668
PSP0 started with pid=3, OS id=17668
MMAN started with pid=4, OS id=16896
DBW0 started with pid=5, OS id=18204
DBW1 started with pid=6, OS id=16976
LGWR started with pid=7, OS id=14552
CKPT started with pid=8, OS id=4480
SMON started with pid=9, OS id=10236
RECO started with pid=10, OS id=11832
CJQ0 started with pid=11, OS id=18844
MMON started with pid=12, OS id=15320
Fri Apr 12 19:13:27 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=14944
Fri Apr 12 19:13:27 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:13:27 2013
alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:13:31 2013
Successful mount of redo thread 1, with mount id 1340305111
Fri Apr 12 19:13:31 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=12880
Fri Apr 12 19:13:31 2013
Database mounted in Exclusive Mode
Completed: alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
alter database open
Fri Apr 12 19:13:31 2013
Beginning crash recovery of 1 threads
parallel recovery started with 15 processes
Fri Apr 12 19:13:31 2013
Started redo scan
Fri Apr 12 19:13:31 2013
Completed redo scan
735 redo blocks read, 211 data blocks need recovery
Fri Apr 12 19:13:31 2013
Started redo application at
Thread 1: logseq 117446, block 97761
Fri Apr 12 19:13:31 2013
Recovery of Online Redo Log: Thread 1 Group 10 Seq 117446 Reading mem 0
Mem# 0: G:\ORADATA\REDO10A.LOG
Mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:13:31 2013
Completed redo application
Fri Apr 12 19:13:32 2013
Completed crash recovery at
Thread 1: logseq 117446, block 98496, scn 7310601900
211 data blocks read, 211 data blocks written, 735 redo blocks read
Fri Apr 12 19:13:33 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=33, OS id=18508
ARC1 started with pid=34, OS id=14692
ARC2 started with pid=35, OS id=17728
ARC3 started with pid=36, OS id=12476
ARC4 started with pid=37, OS id=19228
ARC5 started with pid=38, OS id=11552
ARC6 started with pid=39, OS id=7576
ARC7 started with pid=40, OS id=6244
ARC8 started with pid=41, OS id=18468
ARC9 started with pid=42, OS id=18492
ARCa started with pid=43, OS id=10352
ARCb started with pid=44, OS id=15516
ARCc started with pid=45, OS id=18216
ARCd started with pid=46, OS id=5660
ARCe started with pid=47, OS id=18756
ARCf started with pid=48, OS id=17828
ARCg started with pid=49, OS id=8696
ARCh started with pid=50, OS id=17736
ARCi started with pid=51, OS id=16736
ARCj started with pid=52, OS id=13208
ARCk started with pid=53, OS id=12012
ARCl started with pid=54, OS id=19180
ARCm started with pid=55, OS id=16632
ARCn started with pid=56, OS id=17588
ARCo started with pid=57, OS id=11948
ARCp started with pid=58, OS id=18416
ARCq started with pid=59, OS id=17888
ARCr started with pid=60, OS id=2144
ARCs started with pid=61, OS id=14392
Fri Apr 12 19:13:33 2013
ARC0: Archival started
ARCt started with pid=62, OS id=19264
Fri Apr 12 19:13:33 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Fri Apr 12 19:13:33 2013
Thread 1 advanced to log sequence 117447 (thread open)
Thread 1 opened at log sequence 117447
Current log# 8 seq# 117447 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117447 mem# 1: H:\ORADATA\REDO08B.LOG
Successful open of redo thread 1
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no FAL' ARCH
Fri Apr 12 19:13:33 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no SRL' ARCH
Fri Apr 12 19:13:33 2013
ARCr: Becoming the heartbeat ARCH
Fri Apr 12 19:13:33 2013
SMON: enabling cache recovery
Fri Apr 12 19:13:33 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:13:33 2013
SMON: enabling tx recovery
Fri Apr 12 19:13:33 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=63, OS id=14896
Fri Apr 12 19:13:34 2013
Completed: alter database open
Fri Apr 12 19:13:34 2013
ALTER SYSTEM disable restricted session;
Fri Apr 12 19:13:35 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_15320.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:13:35 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Fri Apr 12 19:13:36 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
FAL[server, ARC0]: Error 12514 creating remote archivelog file 'stdby'
FAL[server, ARC0]: FAL archive failed, see trace file.
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Fri Apr 12 19:19:33 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:19:33 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 19:22:52 2013
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:09:34 2013
Error 12514 received logging on to the standby
Fri Apr 12 20:09:34 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:13:50 2013
Sat Apr 13 01:54:52 2013
Error 12514 received logging on to the standby
Sat Apr 13 01:54:52 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:35:12 2013
Error 12514 received logging on to the standby
Sat Apr 13 12:35:12 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:37:01 2013
ALTER SYSTEM SET log_archive_dest_state_2='DEFER' SCOPE=MEMORY;
Sat Apr 13 12:38:23 2013
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
Sat Apr 13 12:38:41 2013
ALTER SYSTEM SET db_recovery_file_dest_size='5G' SCOPE=MEMORY;
Sat Apr 13 12:38:41 2013
db_recovery_file_dest_size of 5120 MB is 39.82% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Sat Apr 13 15:42:21 2013
ORA-01555 caused by SQL statement below (SQL ID: 2zb70pwz9p06q, Query Duration=1365847941 sec, SCN: 0x0001.b3c0f735):
Sat Apr 13 15:42:21 2013
SELECT * FROM RELATIONAL("ORISSA_TRANSACTION"."SELLER_BIOMETRICS_TBL")
Sat Apr 13 15:48:37 2013
Thread 1 advanced to log sequence 117452 (LGWR switch)
Current log# 10 seq# 117452 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117452 mem# 1: H:\ORADATA\REDO10B.LOG
Sat Apr 13 20:31:00 2013
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=31, OS id=16196
to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION', 'KUPC$C_1_20130413203100', 'KUPC$S_1_20130413203100', 0);
kupprdp: worker process DW01 started with worker id=1, pid=66, OS id=16200
to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION');
Sun Apr 14 00:00:11 2013
Thread 1 advanced to log sequence 117453 (LGWR switch)
Current log# 8 seq# 117453 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117453 mem# 1: H:\ORADATA\REDO08B.LOG
Sun Apr 14 00:00:52 2013
Thread 1 advanced to log sequence 117454 (LGWR switch)
Current log# 9 seq# 117454 mem# 0: G:\ORADATA\REDO09A.LOG
Current log# 9 seq# 117454 mem# 1: H:\ORADATA\REDO09B.LOGlike you show in the alert.log:
PROBLEM
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
SOLUTION
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************choose one and try again. Post if you have more issues. -
Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem
Hi,
I failed to connect Tomcat 5.0.24 with Postgresql
7.4.2. The files created by me and the changes i had
made in the existing files are rates.jsp,
conversionDAO.java, web.xml and server.xml. The error
message on the top of the rest of it was "The value of
useBean class attribute converter.conversionDAO is
invalid". So far I found out that the coding for
database connectivity purpose in conversionDAO.java
cause the error. Another thing is Postgresql jdbc
driver is required to set in the CLASSPATH for the
java file to access the Postgresql database. I don't
know where should I put it in Tomcat for web
application. Anyway, I put it in
$CATALINA_HOME/shared/lib according the book i
refered. I do the database connectivity coding refer
to the Tomcat Kick Start book from Sams Publishing.
Below are the coding involved, please show me the
mistake i had made. Thank you.
----server.xml----
<Context path="/database"
docBase="${catalina.home}/webapps/database" debug="0"
reload="true">
<ResourceParams name="jdbc/conversion">
<parameter>
<name>username</name>
<value>myusername</value>
</parameter>
<parameter>
<name>password</name>
<value>mypassword</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.postgresql.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:postgresql://localhost/conversion</value>
</parameter>
</ResourceParams>
</Context>
----web.xml----
<servlet>
<servlet-name>conversionDAO</servlet-name>
<servlet-class>converters.conversionDAO</servlet-class>
</servlet>
<resource-ref>
<res-ref-name>jdbc/conversion</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
----conversionDAO.java----
public conversionDAO() throws SQLException,
NamingException
Context init = new InitialContext();
Context ctx = (Context)
init.lookup("java:comp/env");
DataSource ds = (DataSource)
ctx.lookup("jdbc/conversion");
con = ds.getConnection();
select = con.prepareStatement(
"SELECT rate FROM Exchange WHERE src= ? AND dst =Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
Errors log
2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
----more---- -
CRS on Redhat 5 auto-start problem
Dear all
Recently I tried to install Oracle 10gR2 on Redhat 5. I did research and took all the necessary actions to install it on Redhat. Everything went well, according to the documents and at the end of the installation, all the resources were up and running. However, after the install, only the VIP was up and ONS and GSD was in unknown format. When I stop the nodeapps and start it again, everything stars working. It seems that the problem is something to do with boot process. I tried to put some delay ( for OCR mount ) but still no luck. This is the result from crsd.log from node1 when node2 is down.. :
2009-06-24 22:00:07.461: [ default][3594852768]0CRS Daemon Starting
2009-06-24 22:00:07.461: [ CRSMAIN][3594852768]0Checking the OCR device
2009-06-24 22:00:07.464: [ CRSMAIN][3594852768]0Connecting to the CSS Daemon
2009-06-24 22:00:07.838: [ COMMCRS][1103116608]clsc_connect: (0x151f20d0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
2009-06-24 22:00:07.838: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
2009-06-24 22:00:07.838: [ CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2009-06-24 22:00:09.307: [ COMMCRS][1103116608]clsc_connect: (0x151f23b0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
2009-06-24 22:00:09.307: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
2009-06-24 22:00:09.307: [ CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2009-06-24 22:00:10.773: [ COMMCRS][1103116608]clsc_connect: (0x151f25c0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
2009-06-24 22:00:10.773: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
2009-06-24 22:00:10.774: [ CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2009-06-24 22:00:12.150: [ COMMCRS][1103116608]clsc_connect: (0x151f2880) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac1dr_crsdr))
2009-06-24 22:00:12.150: [ CSSCLNT][3594852768]clsssInitNative: connect failed, rc 9
2009-06-24 22:00:12.150: [ CRSRTI][3594852768]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2009-06-24 22:00:19.093: [ CRSD][3594852768]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
2009-06-24 22:00:19.093: [ CRSD][3594852768]0Active Version and Software Version are same
2009-06-24 22:00:19.093: [ CRSMAIN][3594852768]0Initializing OCR
2009-06-24 22:00:19.098: [ OCRRAW][3594852768]proprioo: for disk 0 (/u02/oradata/orcl/OCRFile), id match (1), my id set (503252545,1028247821) total id sets (1), 1st set (503252545,1028247821), 2nd set (0,0) my votes (2), total votes (2)
2009-06-24 22:00:19.128: [ OCRMAS][1228994880]th_master:12: I AM THE NEW OCR MASTER at incar 1. Node Number = 1
2009-06-24 22:00:19.129: [ OCRRAW][1228994880]proprioo: for disk 0 (/u02/oradata/orcl/OCRFile), id match (1), my id set (503252545,1028247821) total id sets (1), 1st set (503252545,1028247821), 2nd set (0,0) my votes (2), total votes (2)
2009-06-24 22:00:19.144: [ CRSD][3594852768]0ENV Logging level for Module: allcomp 0
2009-06-24 22:00:19.144: [ CRSD][3594852768]0ENV Logging level for Module: default 0
2009-06-24 22:00:19.145: [ CRSD][3594852768]0ENV Logging level for Module: COMMCRS 0
2009-06-24 22:00:19.145: [ CRSD][3594852768]0ENV Logging level for Module: COMMNS 0
2009-06-24 22:00:19.146: [ CRSD][3594852768]0ENV Logging level for Module: CRSUI 0
2009-06-24 22:00:19.146: [ CRSD][3594852768]0ENV Logging level for Module: CRSCOMM 0
2009-06-24 22:00:19.148: [ CRSD][3594852768]0ENV Logging level for Module: CRSRTI 0
2009-06-24 22:00:19.148: [ CRSD][3594852768]0ENV Logging level for Module: CRSMAIN 0
2009-06-24 22:00:19.149: [ OCRSRV][1249974592]th_select_handler: Failed to retrieve procctx from ht. constr = [363817168] retval lht [-27] Signal CV.
2009-06-24 22:00:19.149: [ CRSD][3594852768]0ENV Logging level for Module: CRSPLACE 0
2009-06-24 22:00:19.149: [ CRSD][3594852768]0ENV Logging level for Module: CRSAPP 0
2009-06-24 22:00:19.150: [ CRSD][3594852768]0ENV Logging level for Module: CRSRES 0
2009-06-24 22:00:19.150: [ CRSD][3594852768]0ENV Logging level for Module: CRSOCR 0
2009-06-24 22:00:19.151: [ CRSD][3594852768]0ENV Logging level for Module: CRSTIMER 0
2009-06-24 22:00:19.151: [ CRSD][3594852768]0ENV Logging level for Module: CRSEVT 0
2009-06-24 22:00:19.152: [ CRSD][3594852768]0ENV Logging level for Module: CRSD 0
2009-06-24 22:00:19.153: [ CRSD][3594852768]0ENV Logging level for Module: CLUCLS 0
2009-06-24 22:00:19.154: [ CRSD][3594852768]0ENV Logging level for Module: OCRRAW 0
2009-06-24 22:00:19.155: [ CRSD][3594852768]0ENV Logging level for Module: OCROSD 0
2009-06-24 22:00:19.155: [ CRSD][3594852768]0ENV Logging level for Module: CSSCLNT 0
2009-06-24 22:00:19.156: [ CRSD][3594852768]0ENV Logging level for Module: OCRAPI 0
2009-06-24 22:00:19.157: [ CRSD][3594852768]0ENV Logging level for Module: OCRUTL 0
2009-06-24 22:00:19.158: [ CRSD][3594852768]0ENV Logging level for Module: OCRMSG 0
2009-06-24 22:00:19.159: [ CRSD][3594852768]0ENV Logging level for Module: OCRCLI 0
2009-06-24 22:00:19.159: [ CRSD][3594852768]0ENV Logging level for Module: OCRCAC 0
2009-06-24 22:00:19.160: [ CRSD][3594852768]0ENV Logging level for Module: OCRSRV 0
2009-06-24 22:00:19.160: [ CRSD][3594852768]0ENV Logging level for Module: OCRMAS 0
2009-06-24 22:00:19.161: [ CRSMAIN][3594852768]0Filename is /u01/app/crs/crs/init/rac1dr.pid
[ clsdmt][1417812288]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac1drDBG_CRSD))
2009-06-24 22:00:19.506: [ CRSMAIN][3594852768]0Using Authorizer location: /u01/app/crs/crs/auth/
2009-06-24 22:00:19.760: [ CRSMAIN][3594852768]0Initializing RTI
2009-06-24 22:00:19.761: [CRSTIMER][1438792000]0Timer Thread Starting.
2009-06-24 22:00:19.770: [ CRSRES][3594852768]0Parameter SECURITY = 1, running in USER Mode
2009-06-24 22:00:19.770: [ CRSMAIN][3594852768]0Initializing EVMMgr
2009-06-24 22:00:19.996: [ COMMCRS][1449281856]clsc_connect: (0x15b1dc20) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
2009-06-24 22:00:21.860: [ CRSMAIN][3594852768]0CRSD locked during state recovery, please wait.
2009-06-24 22:00:22.494: [ CRSMAIN][3594852768]0CRSD recovered, unlocked.
2009-06-24 22:00:22.496: [ CRSMAIN][3594852768]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2009-06-24 22:00:22.604: [ CRSMAIN][3594852768]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=rac1dr-priv)(PORT=49896))
2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0Starting Threads
2009-06-24 22:00:22.607: [ CRSMAIN][3594852768]0CRS Daemon Started.
2009-06-24 22:00:23.732: [ CRSRES][1554180416]0startRunnable: setting CLI values
2009-06-24 22:00:23.821: [ CRSRES][1554180416]0Attempting to start `ora.rac2dr.vip` on member `rac1dr`
2009-06-24 22:00:23.822: [ CRSRES][1543690560]0startRunnable: setting CLI values
2009-06-24 22:00:23.935: [ CRSRES][1543690560]0Attempting to start `ora.rac1dr.vip` on member `rac1dr`
2009-06-24 22:00:30.657: [ CRSRES][1554180416]0Start of `ora.rac2dr.vip` on member `rac1dr` succeeded.
2009-06-24 22:00:30.705: [ CRSRES][1543690560]0Start of `ora.rac1dr.vip` on member `rac1dr` succeeded.
2009-06-24 22:00:31.408: [ CRSRES][1554180416]0startRunnable: setting CLI values
2009-06-24 22:00:31.410: [ CRSRES][1543690560]0startRunnable: setting CLI values
2009-06-24 22:00:31.647: [ CRSRES][1554180416]0Attempting to start `ora.rac1dr.gsd` on member `rac1dr`
2009-06-24 22:00:31.708: [ CRSRES][1543690560]0Attempting to start `ora.rac1dr.ons` on member `rac1dr`
2009-06-24 22:00:32.538: [ CRSEVT][1554180416]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.rac1dr.gsd! (timeout=600)
2009-06-24 22:00:32.538: [ CRSAPP][1554180416]0StartResource error for ora.rac1dr.gsd error code = -2
2009-06-24 22:00:32.573: [ CRSEVT][1543690560]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.rac1dr.ons! (timeout=600)
2009-06-24 22:00:32.573: [ CRSAPP][1543690560]0StartResource error for ora.rac1dr.ons error code = -2
2009-06-24 22:00:32.737: [ CRSEVT][1554180416]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.rac1dr.gsd! (timeout=600)
2009-06-24 22:00:32.737: [ CRSAPP][1554180416]0StopResource error for ora.rac1dr.gsd error code = -2
2009-06-24 22:00:32.837: [ CRSEVT][1543690560]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.rac1dr.ons! (timeout=600)
2009-06-24 22:00:32.837: [ CRSAPP][1543690560]0StopResource error for ora.rac1dr.ons error code = -2
2009-06-24 22:00:32.873: [ CRSRES][1554180416]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2009-06-24 22:00:32.873: [ CRSRES][1554180416][ALERT]0`ora.rac1dr.gsd` on member `rac1dr` has experienced an unrecoverable failure.
2009-06-24 22:00:32.873: [ CRSRES][1554180416]0Human intervention required to resume its availability.
2009-06-24 22:00:32.921: [ CRSRES][1543690560]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2009-06-24 22:00:32.921: [ CRSRES][1543690560][ALERT]0`ora.rac1dr.ons` on member `rac1dr` has experienced an unrecoverable failure.
2009-06-24 22:00:32.921: [ CRSRES][1543690560]0Human intervention required to resume its availability.
Any help is highly appreciated.
KamyCRS on RHEL 5.5 auto-start problem
hi all
Recently I install RAC Oracle 10gR2 on Red hat RHEL 5.5. “Two node cluster, iscsi storage, ocfs2 mounted files & ASM ”
I did research and took all the necessary actions to install it on Red hat. Everything went well, according to the documents and at the end of the installation, all the resources were up and running. However, after the install, only the VIP was up and ONS and GSD ,ASM and the other services was in unknown state. When I stop the CRS & start it –all again, everything stars working. Please friends I need to fix this problem because the cluster services and the client workstation are stopping when the servicers is relocated to node 1 after the server reboot because the CRS did not worked still on node and manual starting is taking time.
This is the result from crsd.log from node1 when node is online .
Name Type Target State Host
ora....SM1.asm application ONLINE UNKNOWN linux1
ora....X1.lsnr application ONLINE UNKNOWN linux1
ora.linux1.gsd application ONLINE UNKNOWN linux1
ora.linux1.ons application ONLINE UNKNOWN linux1
ora.linux1.vip application ONLINE ONLINE linux1
ora....SM2.asm application ONLINE ONLINE linux2
ora....X2.lsnr application ONLINE ONLINE linux2
ora.linux2.gsd application ONLINE ONLINE linux2
ora.linux2.ons application ONLINE ONLINE linux2
ora.linux2.vip application ONLINE ONLINE linux2
ora.mutdb.db application ONLINE ONLINE linux2
ora....b1.inst application ONLINE OFFLINE
ora....b2.inst application ONLINE ONLINE linux2
ora...._taf.cs application ONLINE ONLINE linux2
ora....db1.srv application ONLINE UNKNOWN linux1
ora....db2.srv application ONLINE ONLINE linux2
############################### CRS Log ON Node 1 ##################################
2010-05-27 11:54:57.357: [ default][3741415840][ENTER]0
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2004, Oracle. All rights reserved
2010-05-27 11:54:57.366: [ default][3741415840]0CRS Daemon Starting
2010-05-27 11:54:57.366: [ CRSMAIN][3741415840]0Checking the OCR device
2010-05-27 11:54:57.379: [ CRSMAIN][3741415840]0Connecting to the CSS Daemon
2010-05-27 11:54:57.783: [ COMMCRS][1107867968]clsc_connect: (0x8481ce0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
2010-05-27 11:54:57.783: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
2010-05-27 11:54:57.783: [ CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2010-05-27 11:54:59.182: [ COMMCRS][1107867968]clsc_connect: (0x8481f60) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
2010-05-27 11:54:59.182: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
2010-05-27 11:54:59.182: [ CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2010-05-27 11:55:00.569: [ COMMCRS][1107867968]clsc_connect: (0x84821f0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
2010-05-27 11:55:00.569: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
2010-05-27 11:55:00.569: [ CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2010-05-27 11:55:01.954: [ COMMCRS][1107867968]clsc_connect: (0x84824b0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_linux1_crs))
2010-05-27 11:55:01.954: [ CSSCLNT][3741415840]clsssInitNative: connect failed, rc 9
2010-05-27 11:55:01.954: [ CRSRTI][3741415840]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
2010-05-27 11:55:05.924: [ CRSD][3741415840]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
2010-05-27 11:55:05.924: [ CRSD][3741415840]0Active Version and Software Version are same
2010-05-27 11:55:05.924: [ CRSMAIN][3741415840]0Initializing OCR
2010-05-27 11:55:05.937: [ OCRRAW][3741415840]proprioo: for disk 0 (/u02/OCR_1.dbf), id match (1), my id set (1273042630,1936275375) total id sets (1), 1st set (1273042630,1936275375), 2nd set (0,0) my votes (1), total votes (2)
2010-05-27 11:55:05.938: [ OCRRAW][3741415840]proprioo: for disk 1 (/u03/OCR_2.dbf), id match (1), my id set (1273042630,1936275375) total id sets (1), 1st set (1273042630,1936275375), 2nd set (0,0) my votes (1), total votes (2)
2010-05-27 11:55:05.981: [ CRSD][3741415840]0ENV Logging level for Module: allcomp 0
2010-05-27 11:55:05.983: [ CRSD][3741415840]0ENV Logging level for Module: default 0
2010-05-27 11:55:05.994: [ CRSD][3741415840]0ENV Logging level for Module: COMMCRS 0
2010-05-27 11:55:05.996: [ CRSD][3741415840]0ENV Logging level for Module: COMMNS 0
2010-05-27 11:55:05.999: [ CRSD][3741415840]0ENV Logging level for Module: CRSUI 0
2010-05-27 11:55:06.001: [ CRSD][3741415840]0ENV Logging level for Module: CRSCOMM 0
2010-05-27 11:55:06.003: [ CRSD][3741415840]0ENV Logging level for Module: CRSRTI 0
2010-05-27 11:55:06.006: [ CRSD][3741415840]0ENV Logging level for Module: CRSMAIN 0
2010-05-27 11:55:06.008: [ CRSD][3741415840]0ENV Logging level for Module: CRSPLACE 0
2010-05-27 11:55:06.010: [ CRSD][3741415840]0ENV Logging level for Module: CRSAPP 0
2010-05-27 11:55:06.012: [ CRSD][3741415840]0ENV Logging level for Module: CRSRES 0
2010-05-27 11:55:06.015: [ CRSD][3741415840]0ENV Logging level for Module: CRSOCR 0
2010-05-27 11:55:06.017: [ CRSD][3741415840]0ENV Logging level for Module: CRSTIMER 0
2010-05-27 11:55:06.019: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [148436880] retval lht [-27] Signal CV.
2010-05-27 11:55:06.019: [ CRSD][3741415840]0ENV Logging level for Module: CRSEVT 0
2010-05-27 11:55:06.022: [ CRSD][3741415840]0ENV Logging level for Module: CRSD 0
2010-05-27 11:55:06.024: [ CRSD][3741415840]0ENV Logging level for Module: CLUCLS 0
2010-05-27 11:55:06.027: [ CRSD][3741415840]0ENV Logging level for Module: OCRRAW 0
2010-05-27 11:55:06.029: [ CRSD][3741415840]0ENV Logging level for Module: OCROSD 0
2010-05-27 11:55:06.032: [ CRSD][3741415840]0ENV Logging level for Module: CSSCLNT 0
2010-05-27 11:55:06.034: [ CRSD][3741415840]0ENV Logging level for Module: OCRAPI 0
2010-05-27 11:55:06.036: [ CRSD][3741415840]0ENV Logging level for Module: OCRUTL 0
2010-05-27 11:55:06.039: [ CRSD][3741415840]0ENV Logging level for Module: OCRMSG 0
2010-05-27 11:55:06.041: [ CRSD][3741415840]0ENV Logging level for Module: OCRCLI 0
2010-05-27 11:55:06.043: [ CRSD][3741415840]0ENV Logging level for Module: OCRCAC 0
2010-05-27 11:55:06.046: [ CRSD][3741415840]0ENV Logging level for Module: OCRSRV 0
2010-05-27 11:55:06.048: [ CRSD][3741415840]0ENV Logging level for Module: OCRMAS 0
2010-05-27 11:55:06.048: [ CRSMAIN][3741415840]0Filename is /u01/app/crs/crs/init/linux1.pid
[ clsdmt][1401583936]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=linux1DBG_CRSD))
2010-05-27 11:55:06.119: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149741888] retval lht [-27] Signal CV.
2010-05-27 11:55:07.002: [ CRSMAIN][3741415840]0Using Authorizer location: /u01/app/crs/crs/auth/
2010-05-27 11:55:07.008: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149755728] retval lht [-27] Signal CV.
2010-05-27 11:55:07.230: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [149740416] retval lht [-27] Signal CV.
2010-05-27 11:55:07.380: [ CRSMAIN][3741415840]0Initializing RTI
2010-05-27 11:55:07.380: [CRSTIMER][1422563648]0Timer Thread Starting.
2010-05-27 11:55:07.386: [ CRSRES][3741415840]0Parameter SECURITY = 1, running in USER Mode
2010-05-27 11:55:07.386: [ CRSMAIN][3741415840]0Initializing EVMMgr
2010-05-27 11:55:07.453: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150974816] retval lht [-27] Signal CV.
2010-05-27 11:55:07.474: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150975552] retval lht [-27] Signal CV.
2010-05-27 11:55:07.485: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150988032] retval lht [-27] Signal CV.
2010-05-27 11:55:07.723: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150998720] retval lht [-27] Signal CV.
2010-05-27 11:55:07.734: [ CRSMAIN][3741415840]0CRSD locked during state recovery, please wait.
2010-05-27 11:55:07.737: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [150997792] retval lht [-27] Signal CV.
2010-05-27 11:55:07.923: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [151007072] retval lht [-27] Signal CV.
2010-05-27 11:55:08.032: [ CRSMAIN][3741415840]0CRSD recovered, unlocked.
2010-05-27 11:55:08.032: [ CRSMAIN][3741415840]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
2010-05-27 11:55:08.051: [ CRSMAIN][3741415840]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=linux1-priv)(PORT=49896))
2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0Starting Threads
2010-05-27 11:55:08.055: [ CRSMAIN][3741415840]0CRS Daemon Started.
2010-05-27 11:55:08.204: [ CRSRES][1527462208]0StopResource: setting CLI values
2010-05-27 11:55:08.220: [ CRSRES][1527462208]0Attempting to stop `ora.linux1.vip` on member `linux2`
2010-05-27 11:55:08.515: [ CRSRES][1527462208]0Stop of `ora.linux1.vip` on member `linux2` succeeded.
2010-05-27 11:55:08.529: [ CRSRES][1527462208]0startRunnable: setting CLI values
2010-05-27 11:55:08.529: [ CRSRES][1527462208]0Attempting to start `ora.linux1.vip` on member `linux1`
2010-05-27 11:55:08.686: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154566384] retval lht [-27] Signal CV.
2010-05-27 11:55:14.000: [ CRSRES][1527462208]0Start of `ora.linux1.vip` on member `linux1` succeeded.
2010-05-27 11:55:14.231: [ CRSRES][1527462208]0startRunnable: setting CLI values
2010-05-27 11:55:14.272: [ CRSRES][1527462208]0Attempting to start `ora.linux1.LISTENER_LINUX1.lsnr` on member `linux1`
2010-05-27 11:55:14.426: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.linux1.LISTENER_LINUX1.lsnr! (timeout=600)
2010-05-27 11:55:14.426: [ CRSAPP][1527462208]0StartResource error for ora.linux1.LISTENER_LINUX1.lsnr error code = -2
2010-05-27 11:55:14.489: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.linux1.LISTENER_LINUX1.lsnr! (timeout=600)
2010-05-27 11:55:14.489: [ CRSAPP][1527462208]0StopResource error for ora.linux1.LISTENER_LINUX1.lsnr error code = -2
2010-05-27 11:55:14.495: [ CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2010-05-27 11:55:14.495: [ CRSRES][1527462208][ALERT]0`ora.linux1.LISTENER_LINUX1.lsnr` on member `linux1` has experienced an unrecoverable failure.
2010-05-27 11:55:14.495: [ CRSRES][1527462208]0Human intervention required to resume its availability.
2010-05-27 11:55:14.628: [ CRSRES][1527462208]0startRunnable: setting CLI values
2010-05-27 11:55:14.698: [ CRSRES][1527462208]0Attempting to start `ora.linux1.ASM1.asm` on member `linux1`
2010-05-27 11:55:14.836: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.linux1.ASM1.asm! (timeout=600)
2010-05-27 11:55:14.836: [ CRSAPP][1527462208]0StartResource error for ora.linux1.ASM1.asm error code = -2
2010-05-27 11:55:14.875: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.linux1.ASM1.asm! (timeout=600)
2010-05-27 11:55:14.875: [ CRSAPP][1527462208]0StopResource error for ora.linux1.ASM1.asm error code = -2
2010-05-27 11:55:14.881: [ CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2010-05-27 11:55:14.881: [ CRSRES][1527462208][ALERT]0`ora.linux1.ASM1.asm` on member `linux1` has experienced an unrecoverable failure.
2010-05-27 11:55:14.881: [ CRSRES][1527462208]0Human intervention required to resume its availability.
2010-05-27 11:55:15.051: [ CRSRES][1527462208]0CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.linux1.ASM1.asm'
2010-05-27 11:55:15.185: [ CRSRES][1527462208]0startRunnable: setting CLI values
2010-05-27 11:55:15.237: [ CRSRES][1537952064]0startRunnable: setting CLI values
2010-05-27 11:55:15.306: [ CRSRES][1558931776]0startRunnable: setting CLI values
2010-05-27 11:55:15.339: [ CRSRES][1527462208]0Attempting to start `ora.linux1.gsd` on member `linux1`
2010-05-27 11:55:15.397: [ CRSRES][1537952064]0Attempting to start `ora.linux1.ons` on member `linux1`
2010-05-27 11:55:15.407: [ CRSRES][1558931776]0Attempting to start `ora.mutdb.mutdb_taf.mutdb1.srv` on member `linux1`
2010-05-27 11:55:15.789: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.linux1.gsd! (timeout=600)
2010-05-27 11:55:15.789: [ CRSAPP][1527462208]0StartResource error for ora.linux1.gsd error code = -2
2010-05-27 11:55:15.808: [ CRSEVT][1537952064]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(start) timed out for ora.linux1.ons! (timeout=600)
2010-05-27 11:55:15.808: [ CRSAPP][1537952064]0StartResource error for ora.linux1.ons error code = -2
2010-05-27 11:55:15.812: [ CRSEVT][1558931776]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(start) timed out for ora.mutdb.mutdb_taf.mutdb1.srv! (timeout=600)
2010-05-27 11:55:15.812: [ CRSAPP][1558931776]0StartResource error for ora.mutdb.mutdb_taf.mutdb1.srv error code = -2
2010-05-27 11:55:15.838: [ CRSEVT][1527462208]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.linux1.gsd! (timeout=600)
2010-05-27 11:55:15.838: [ CRSAPP][1527462208]0StopResource error for ora.linux1.gsd error code = -2
2010-05-27 11:55:15.844: [ CRSEVT][1537952064]0CAAMonitorHandler :: 0:Action Script /u01/app/crs/bin/racgwrap(stop) timed out for ora.linux1.ons! (timeout=600)
2010-05-27 11:55:15.845: [ CRSAPP][1537952064]0StopResource error for ora.linux1.ons error code = -2
2010-05-27 11:55:15.849: [ CRSRES][1527462208]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2010-05-27 11:55:15.849: [ CRSRES][1527462208][ALERT]0`ora.linux1.gsd` on member `linux1` has experienced an unrecoverable failure.
2010-05-27 11:55:15.849: [ CRSRES][1527462208]0Human intervention required to resume its availability.
2010-05-27 11:55:15.859: [ CRSEVT][1558931776]0CAAMonitorHandler :: 0:Action Script /u01/app/oracle/product/10.2.0/db_1/bin/racgwrap(stop) timed out for ora.mutdb.mutdb_taf.mutdb1.srv! (timeout=600)
2010-05-27 11:55:15.860: [ CRSAPP][1558931776]0StopResource error for ora.mutdb.mutdb_taf.mutdb1.srv error code = -2
2010-05-27 11:55:15.863: [ CRSRES][1537952064]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2010-05-27 11:55:15.863: [ CRSRES][1537952064][ALERT]0`ora.linux1.ons` on member `linux1` has experienced an unrecoverable failure.
2010-05-27 11:55:15.863: [ CRSRES][1537952064]0Human intervention required to resume its availability.
2010-05-27 11:55:15.869: [ CRSRES][1558931776]0X_OP_StopResourceFailed : Stop Resource failed
(File: rti.cpp, line: 1698
2010-05-27 11:55:15.869: [ CRSRES][1558931776][ALERT]0`ora.mutdb.mutdb_taf.mutdb1.srv` on member `linux1` has experienced an unrecoverable failure.
2010-05-27 11:55:15.869: [ CRSRES][1558931776]0Human intervention required to resume its availability.
2010-05-27 11:55:20.450: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154578560] retval lht [-27] Signal CV.
2010-05-27 11:55:21.130: [ OCRSRV][1223256384]th_select_handler: Failed to retrieve procctx from ht. constr = [154578560] retval lht [-27] Signal CV.
I tired this solution it was on website “but it did not work”
下面是METALINK给出的解释:
I have checked the information provided. crsd is reporting timeouts when running the checking actions. The racgmain process on the other hand, executed by racgwrap, remain running so the number is increasing.This issue has been reported in Bug 7009245 ""RACGMAIN CHECK" PROCESS NOT TERMINATING", and drill down and determine the root cause this require to get a stack trace from racgmain process(es) as well as you should runOSWatcher with a specific parameters, finally the issue of Bug 7009245 has been fixed by the fix of Bug 6196746 (unpublished bug -- summary is "racgwrap spawns racgmain child process. crsd timeout kills racgwrap but bot racgmain")So please perform the following action plan that intend to solve the issue.
.ACTION PLAN
============
1. Stop CRS on this node.
2. Make a copy of racgwrap located under $ORACLE_HOME/bin and $CRS_HOME/bin
3. Edit the file racgwrap and modify the last 3 lines from:
.$ORACLE_HOME/bin/racgmain "$@"
status=$?
exit $status
.to:
.# Line added to test fix for Bug 6196746
exec $ORACLE_HOME/bin/racgmain "$@"
.4. Restart CRS and make sure that all the resources are startes
This should solve the issue. also if you are not able to stop CRS right now, you can try the
solution without crs stop/start.
BUT IT DID NOT WORK
###################################################3 -
Testdrive N4S with Fedora 8 - Database Start failure
Hello,
I installed the System N4S successfully on a Fedora 8, kernel 2.6.23, but Database start ends up with failure.
Message from startdb.log:
Starting XServer
12916 XSERVER Found other running x_server with version 'X64/LINUX 7.6.00 Build 018-123-119-055'
12902 XSERVER started, 'already...'
So 30. Dez 19:01:41 CET 2007
Starting database
Starting Database Instance...
Error! XUser not found!
Opening Database...
Error! XUser not found!
DB-log Files indicate some missing crypt-libs:
trc file: "/sapdb/data/wrk/niserver_machine64.trace", trc level: 1, release: "700"
Sun Dec 30 18:13:50 2007
ERROR => DlLoadLib: dlopen()= /sapdb/programs/lib/libsapcrypto.so: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success) [dlux.c 314]
ERROR => CDKLoadSAPCryptModule: Loading of /sapdb/programs/lib/libsapcrypto.so failed! [cdkapi.c 204]
This library was obviously not included in the testdrive.
However this seems to result only in a warning and to be not the real problem.
I saw somewhere already a comment advising an upgrade of the database-version because of some library conflicts with an other problem:
https://forums.sdn.sap.com/click.jspa?searchID=7692305&messageID=3719866
Can somebody advise on that topic?
Thank you and kind regards,
AxelDear Axel,
having no XUSERs (needed for database connection) makes an automated database start impossible. Can you check, if you have a XUSER file in the home directory of n4sadm?
$> su - n4sadm
#> cd
#> ls -la .XUSER.62
-rw------- 1 n4sadm sapsys 1724 Apr 20 2007 .XUSER.62
If it is there, but you can't connect to the database, it should make a copy of the old one with:
mv -a .XUSER.62 .XUSER.62.org
and create a new one, which you should do if the file isn't there as well:
/sapdb/programs/bin/xuser -U DEFAULT -u sapn4s,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U c -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U c_J2EE -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U w -u superdba,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
After executing the 4 commands, a new .XUSER.62 file will be there, which allows you to start the database.
Thanks,
Hannes -
WLI 7.0 samples database setup problem
I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
- provided valid database properties for oracle. Completed successfully - config.xml
for samples is updated.
2. Ran RunSamples script - Gives database connect problems and database is not created.
The user/pwd/machine name/SID are all correct.
I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
is "switchdb oracle"). This resets the database properties in config.xml to the defaults
- so obviously this is causing the connection problem.
Pls let me know what is going wrong here?
ThanksGarf,
You are correct in your analysis. When you run the 'RunSamples' script,
it will call switchdb and this causes the 'defaults' to be set in
config.xml. Running the wliconfig utility is the customer experience
BEA would like to have with regard to setting up the database. However,
the RunSamples script has not been updated to correctly reflect that the
customer would have already performed this step. When RunSamples calls
switchdb, it is getting the defaults from the following location:
<USER_DEFINED_DOMAIN>/dbInfo/<DATABASE>/setDBVars and setDBVarsExt files
So for example, if you accepted the default user directory and your
BEA_HOME is C:/bea and you were using the EAI Domain template calling
your domain eaidomain and your are using Oracle, you should update the
following files:
C:\bea\user_projects\eaidomain\dbInfo\oracle\setDBVars.cmd and
setDBVarsExt.cmd
Edit these files to reflect your DB connection properties.
When RunSamples calls switchdb, these properties will be used to update
the wliPool in config.xml. I hope this helps and sorry for the
inconvenience.
Cheers,
Chris
Garf wrote:
I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
- provided valid database properties for oracle. Completed successfully - config.xml
for samples is updated.
2. Ran RunSamples script - Gives database connect problems and database is not created.
The user/pwd/machine name/SID are all correct.
I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
is "switchdb oracle"). This resets the database properties in config.xml to the defaults
- so obviously this is causing the connection problem.
Pls let me know what is going wrong here?
Thanks -
Hi every body ..plz help me on this..
We are facing database termination problem in ECC6 production syste.
Database: Oracle 10.2, O/S: Windows 2003. Spam :27, SP level 13.
Error is:
Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
When we are performing backup then data base termination occuring freequently.
Give right solution as early as possible.
Thanks,
Nani.Hi,
Have a look at below snote which actually speaks about the oracle error codes
Snote : 546006
within the Snote it says :-
" If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
And as per your last update
" ORA-00206: error in writing (block 3, # blocks 1) of control file
ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
i think there is problem accessing the database control file. Hence you are facing the above problem.
I think if you recreate your control file i think, it should resolve the problem.
Hope it will be helpful to resolve your problem.
Rgds
Radhakrishna D S -
ALTER DATABASE START LOGICAL STANDBY APPLY INITIAL
I am using oracle 9.2.0.8 db version. I am trying to configure logical standby database. When I issue "ALTER DATABASE START LOGICAL STANDBY APPLY INITIAL" i get following error.
ERROR at line 1:
ORA-01427: single-row subquery returns more than one row
ORA-06512: at line 1Hello,
Please, have a look on the Alert log fille, and post the error message if any.
May be you'll have more information about the offending subquery.
Best regards,
Jean-Valentin -
How to automate the Oracle database start and shutdown process
How we can automate and oracle database start and stop procees with Linux start/shutdown process.
I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.Hi,
I can share my scripts:
1) /home/oracle/start_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
lsnrctl start
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
startup
exit
ENDSQL
emctl start dbconsole
isqlplusctl start
NOTE: emctl and isqlplus are optional
2) /home/oracle/stop_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
isqlplusctl stop
emctl stop dbconsole
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
shutdown immediate
exit
ENDSQL
lsnrctl stop
NOTE: emctl and isqlplus are optional
Then what you need:
1) K91oracle_stop (put it in the desired run level)
#!/bin/bash
# description: Stop Oracle before reboots
su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
2) S91oracle_start (put it in the desired run level)
#!/bin/bash
# description: Start Oracle after reboots
su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
Bye. -
Database configuring problem in setup of managed systems in SMD
Hello,
i'm doing the setup of a CRM 5.0 in SMD Abap+Java and the setup results returns following:
"Database configuration problem" with the exception:
java.lang.NullPointerException
at com.sap.smd.server.manager.SMDPluginProperties.setProperty(SMDPluginProperties.java:114)
at com.sap.smd.agent.plugins.database.ConfigurationTask.configureCustomProperties(ConfigurationTask.java:242)
at com.sap.smd.agent.plugins.database.ConfigurationTask.configureProperties(ConfigurationTask.java:370)
at com.sap.smd.agent.plugins.database.ConfigurationTask.execute(ConfigurationTask.java:124)
at com.sap.sup.admin.setup.AppCfgTasks.configureDbApp(AppCfgTasks.java:115)
at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:202)
at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:217)
at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:461)
at com.sap.sup.admin.setup.SapCluster.access$000(SapCluster.java:26)
at com.sap.sup.admin.setup.SapCluster$SetupRunner.run(SapCluster.java:669)
at java.lang.Thread.run(Thread.java:534)
Anybody knows which can be the problem?
Thanks a lot
CarlosHi Shriraj,
ensure that the installation path is correct. I only put /urs/sap/<SID> and you must put /usr/sap/<SID>/DV***/.
In my case with that the setup returns all in green.
I hope it helps you
Regards
Carlos -
SIMPLE Database Design Problem !
Mapping is a big problem for many complex applications.
So what happens if we put all the tables into one table called ENTITY?
I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
Definition of the table
ENTITY
EntityID > uniqueidentifier
EntityType > Tells the entityTypeName
Name >
LastName >
CompanyName > 300 attributeTypes
OppurtunityPeriod >
PS:There is also another table called RELATION that points the relations between entities.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
check the coloumn with WHERE _entityType='PERSON'
as there is is clustered index on entityType...there
is NO performance decrease.
there is also a clustered index on RELATION table on
relationType
when we say WHERE _entityType ='PERSON' or
WHERE relationType='CONTACTMECHANISM'.
it scans the clustered index first.it acts like a
table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
WHERE _entityType ='PERSON'
AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Have you ever thought of using constraints in your
modell? How would you realize those?
...in fact we did.We have arranged the generic object
model in an object database.The knowledge information
is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
But the data schema is held in the RDBMS with code
generation that creates a schema to hold data.If you think that this approach makes sense, why not.
But in able to have a efficent mapping and a good
performance we have thought about building only one
table.The problem is we know we are losing some space
but the thing is harddisk is much cheaper than RAM
and CPU.So our trade off concerated on the storage
cost.But I still wonder if there is a point that I
have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
PS: it is not wise effective using generic object
models also in object databases as CPU cost is a lot
when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
PS2: RDBMS is a value based system where object
databases are identity based.we are trying to be in
the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
C. -
Start problems Java EE 5 server
Hi, I cannot start the Java instance after installing the Java EE5 preview
Recive this error, same thing in MMC.
================================================
============== Starting System JP1 ==============
=================================================
=============== Starting database instance ...
The requested service has already been started.
More help is available by typing NET HELPMSG 2182
The MaxDB Database Starter, Version 7.6.00.33
Copyright 2000-2006 by SAP AG
OK
============== Starting central services instance
06.12.2006 20:16:53
Start
OK
06.12.2006 20:16:53
StartWait
OK
============== Starting java instance ...
06.12.2006 20:16:54
Start
OK
06.12.2006 20:17:09
StartWait
FAIL: process jstart.exe J2EE Server not running
============== Start operation timed out !
Press any key to continue . . .
C:\SAP\JP1\SYS\exe\run>Now its partly running still not all processes is up
trc file: "C:SAPJP1JC00workdev_jstart", trc level: 1, release: "710"
sysno 00
sid JP1
systemid 560 (PC with Windows NT)
relno 7100
patchlevel 0
patchno 0
intno 20063500
make multithreaded, Unicode, optimized
profile C:SAPJP1SYSprofileJP1_JC00_L3AMD73
pid 7112
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, JM
arguments :
arg[ 0] : C:SAPJP1SYSexe
unjstart.exe
arg[ 1] : pf=C:SAPJP1SYSprofileJP1_JC00_L3AMD73
F
F Mon Dec 11 11:19:49 2006
F SfCJdkConfig::get: JDK home directory is set by profile
F Java home: C:SAPJP1SYSexe
unsapjvm_5
F SfCJdkConfig::get: Java VM type is set by profile
F Java VM type: server
F ********************************************************************************
F Java SDK properties (C:SAPJP1JC00workjstart.jdk)
F root directory : C:SAPJP1SYSexe
unsapjvm_5
F vendor : SAP AG
F version : 1.5.0_07-b00
F cpu : x86
F java vm type : server
F jvm library name : jvm.dll
F library path : C:SAPJP1SYSexe
unsapjvm_5jre inserver;C:SAPJP1SYSexe
unsapjvm_5jre in
F executable path : C:SAPJP1SYSexe
unsapjvm_5 in
F ********************************************************************************
I MtxInit: 30002 0 2
F JsfCreateShm: ShmCreate(79, 4096, ATTACH) failed (rc = 3 SHM segment doesn't exist)...
F SfCInstanceManager::newState: starting run level 1.
F ********************************************************************************
F Java process properties:
F section name : deployment
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : Deploy_offline
F home directory : C:SAPJP1JC00j2eecluster
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F ********************************************************************************
F Java process properties:
F section name : flightrec
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : flight_recorder
F home directory : C:SAPJP1JC00/j2ee
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F SfCInstanceManager::newState: starting nodes of run level 1.
F
F Mon Dec 11 11:19:50 2006
F ********************************************************************************
F Starting process: C:SAPJP1SYSexe
unjstart.exe
F arg[ 1] = -nodeId=0
F arg[ 2] = pf=C:SAPJP1SYSprofileJP1_JC00_L3AMD73
F arg[ 3] = -DSAPINFO=JP1_00_jstart
F arg[ 4] = -hostvm
F arg[ 5] = -nodeName=deployment
F arg[ 6] = -file=C:SAPJP1SYSexe
unstartup.properties
F arg[ 7] = -jdkFile=C:SAPJP1JC00workjstart.jdk
F arg[ 8] = -traceFile=C:SAPJP1JC00workdev_deployment
F arg[ 9] = -javaOutFile=C:SAPJP1JC00workjvm_deployment.out
F env : JStart/ReserveSize=0x40000000
F exePath : PATH=C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F libPath : PATH=C:SAPJP1SYSexe
unsapjvm_5jre inserver;C:SAPJP1SYSexe
unsapjvm_5jre in;C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F stdout : C:SAPJP1JC00workstd_deployment.out
F stderr : C:SAPJP1JC00workstd_deployment.out
F console : no
F debugger: no
F nice : yes
F ********************************************************************************
F Process started with pid 8228
F ********************************************************************************
F
F Mon Dec 11 11:20:04 2006
F SfCEventDispatcher::handleSignal: got signal 13 SIGCHLD.
F
F Mon Dec 11 11:20:04 2006
F SfCEventDispatcher::sendSignal SIGCHLD (pid=8228, rc=0)
F JsfRecoverDynShm: for process 0.
F JsfRecoverDynShm: for process 0 done (rc = 0 ok).
F SfCInstanceManager::newState: run level 1 completed.
F SfCInstanceManager::newState: starting run level 2.
F ********************************************************************************
F Java process properties:
F section name : bootstrap
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : Instance_bootstrap
F home directory : C:SAPJP1JC00j2eecluster
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F ********************************************************************************
F Java process properties:
F section name : flightrec
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : flight_recorder
F home directory : C:SAPJP1JC00/j2ee
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F SfCInstanceManager::newState: starting nodes of run level 2.
F ********************************************************************************
F Starting process: C:SAPJP1SYSexe
unjstart.exe
F arg[ 1] = -nodeId=0
F arg[ 2] = pf=C:SAPJP1SYSprofileJP1_JC00_L3AMD73
F arg[ 3] = -DSAPINFO=JP1_00_jstart
F arg[ 4] = -hostvm
F arg[ 5] = -nodeName=bootstrap
F arg[ 6] = -file=C:SAPJP1SYSexe
unstartup.properties
F arg[ 7] = -jdkFile=C:SAPJP1JC00workjstart.jdk
F arg[ 8] = -traceFile=C:SAPJP1JC00workdev_bootstrap
F arg[ 9] = -javaOutFile=C:SAPJP1JC00workjvm_bootstrap.out
F env : JStart/ReserveSize=0x40000000
F exePath : PATH=C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F libPath : PATH=C:SAPJP1SYSexe
unsapjvm_5jre inserver;C:SAPJP1SYSexe
unsapjvm_5jre in;C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F stdout : C:SAPJP1JC00workstd_bootstrap.out
F stderr : C:SAPJP1JC00workstd_bootstrap.out
F console : no
F debugger: no
F nice : yes
F ********************************************************************************
F Process started with pid 9116
F ********************************************************************************
F
F Mon Dec 11 11:21:10 2006
F SfCEventDispatcher::handleSignal: got signal 13 SIGCHLD.
F
F Mon Dec 11 11:21:10 2006
F SfCEventDispatcher::sendSignal SIGCHLD (pid=9116, rc=0)
F JsfRecoverDynShm: for process 0.
F JsfRecoverDynShm: for process 0 done (rc = 0 ok).
F SfCInstanceManager::newState: run level 2 completed.
F
F Mon Dec 11 11:21:11 2006
F SfCInstanceManager::newState: starting run level 3.
F ********************************************************************************
F ICM process properties:
F section name : icm
F config file : C:SAPJP1SYSexe
unicm.properties
F node name : ICM
F home directory : C:SAPJP1JC00work
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F ********************************************************************************
F ********************************************************************************
F Java process properties:
F section name : flightrec
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : flight_recorder
F home directory : C:SAPJP1JC00/j2ee
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F ********************************************************************************
F Java process properties:
F section name : ID4413750
F config file : C:SAPJP1JC00j2eeclusterinstance.properties
F node name : server0
F home directory : .
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : true
F debugger active : false
F ********************************************************************************
F ********************************************************************************
F Java process properties:
F section name : flightrec
F config file : C:SAPJP1SYSexe
unstartup.properties
F node name : flight_recorder
F home directory : C:SAPJP1JC00/j2ee
F shutdown timeout : 122000 ms
F exit timeout : 7000 ms
F debuggable : false
F debugger active : false
F ********************************************************************************
F SfCInstanceManager::newState: starting nodes of run level 3.
F ********************************************************************************
F Starting process: C:SAPJP1SYSexe
unicman
F arg[ 1] = pf=C:SAPJP1SYSprofileJP1_JC00_L3AMD73
F arg[ 2] = -nodeId=0
F arg[ 3] = -f
F arg[ 4] = C:SAPJP1JC00workdev_icm
F exePath : PATH=c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F libPath : PATH=c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F stdout : C:SAPJP1JC00workstd_icm.out
F stderr : C:SAPJP1JC00workstd_icm.out
F console : no
F debugger: no
F nice : yes
F ********************************************************************************
F Process started with pid 9712
F ********************************************************************************
F ********************************************************************************
F Starting process: C:SAPJP1SYSexe
unjstart.exe
F arg[ 1] = -nodeId=1
F arg[ 2] = pf=C:SAPJP1SYSprofileJP1_JC00_L3AMD73
F arg[ 3] = -DSAPINFO=JP1_00_jstart
F arg[ 4] = -hostvm
F arg[ 5] = -nodeName=ID4413750
F arg[ 6] = -file=C:SAPJP1JC00j2eeclusterinstance.properties
F arg[ 7] = -jdkFile=C:SAPJP1JC00workjstart.jdk
F arg[ 8] = -traceFile=C:SAPJP1JC00workdev_server0
F arg[ 9] = -javaOutFile=C:SAPJP1JC00workjvm_server0.out
F env : JStart/ReserveSize=0x60000000
F exePath : PATH=C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F libPath : PATH=C:SAPJP1SYSexe
unsapjvm_5jre inserver;C:SAPJP1SYSexe
unsapjvm_5jre in;C:SAPJP1SYSexe
unsapjvm_5 in;c:sapdbprograms in;c:sapdbprogramspgm;C:Program FilesThinkPadUtilities;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIBMInfoprint Select;C:Notes;C:Program FilesXLView;C:lotuscompnent;C:Utilities;C:Program FilesIBMPersonal Communications;C:Program FilesIBMTrace Facility;C:Program FilesThinkPadConnectUtilities;C:WINDOWSDownloaded Program Files;"C;Program FilesHummingbirdConnectivity7.00Accessories"
F stdout : C:SAPJP1JC00workstd_server0.out
F stderr : C:SAPJP1JC00workstd_server0.out
F console : no
F debugger: no
F nice : yes
F ********************************************************************************
F Process started with pid 10176
F ********************************************************************************
Web server error
503 Service not available
Error: -6
Version: 7010
Component: ICM J2EE Dispatcher
Date/Time: Mon Dec 11 11:22:33 2006
Module: http_j2ee2.c
Line: 714
Server: L3AMD73_JP1_00
Error Tag:
Detail: Dispatcher running but no server connected
© 2001-2005, SAP AG
any ideas? -
Database connection problem when i try store the values in JTable
Hi Sir,
I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
"Invalid Cursor State".I need to solve this problem.pls. do help me.
I will provide u with the code.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.util.*;
import java.sql.*;
public class DataBaseVector extends JPanel
//Container contentPane=getContentPane();
JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
Image i1;
String url="jdbc:odbc:Ananth";
Vector col=new Vector();
Vector rows=new Vector();
Vector rdata=new Vector();
Connection conn;
public DataBaseVector()
//super("JTable With ScrollBars");
this.setLayout(new BorderLayout());
UIManager.put("ScrollBar.track",Color.red);
UIManager.put("ScrollBar.thumb",Color.blue);
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection(url); // Is there any problem here?
Statement st=conn.createStatement();
ResultSet rs=st.executeQuery("Select * from AccountMaster");
// rs is the result set obtained
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
for(int i=1;i<=cols;i++)
col.addElement(rsmd.getColumnName(i));
rdata.addElement(rs.getString(i));
rows.addElement(rdata);
}catch(Exception e)
System.out.println("The Error Message was:"+e.getMessage());
JTable jt=new JTable(rows,col);
int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
JScrollPane jsp=new JScrollPane(jt,v,h);
this.add(jsp,BorderLayout.CENTER);
this.add(jsb, BorderLayout.SOUTH);
this.add(jsb1, BorderLayout.EAST);
public static void main(String args[])
JFrame jf=new JFrame();
JPanel frame=new DataBaseVector();
jf.getContentPane().add(frame);
jf.setSize(800,600);
jf.setVisible(true);
Thanx,
m.ananthuThe problem is ResultSet.next() is not called.
Try this and modify the table creation as you need.
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
while(rs.next()) {
for(int i=1;i<=cols;i++)
col.addElement(rsmd.getColumnName(i));
rdata.addElement(rs.getString(i));
rows.addElement(rdata);
Hope this helps -
On my Windows Vista PC I run several Adobe programs: the CS3 suite, Illustrator9, Reader9, but also Photoshop7 and ImageReady7. Two days ago suddenly all Adobe programs refused to start, including the Reader . Apparently, there was a problem with the licences. I have downloaded the LicenceRecovery program from Adobe Support, and having run it, as expected, all programs did run again.......except for one: Photoshop7. Every time when I start the program, it begins loading all the necessary modules, but then a Windows error message appears, saying that the program stopped running, that there is a problem (?) and that I have to close the program.
I've tried several times to de-install and re-install Photoshop7 and ImageReady7 (they both came on the same disc). Every time Set-up congratulates me that I have succesfully installed the programs, while in fact the start problem persists. ImageReady starts, Photoshop does'nt. As Photoshop7 is now an oudated program, Adobe's helpdesk refuses me to help . I suspect that something in the Windows Registry has been corrupted (by LicenceRecovery?), but I have no idea where to look for. Has anyone encountered this problem before, and If so what was the solution?Google is your friend.
https://discussions.apple.com/thread/1197195?start=0&tstart=0
Photoshop 7 no longer works in Leopard OSX 10.5
Photoshop 7 was released in March 2002, it is now 10 years old.
Sorry for your problems, but you have only 2 possible solutions:
Roll back the OS to an earlier version
Upgrade to a newer version of Photoshop (to save some money you could just get Photoshop Elements instead)
You might want to download a trial version to Photoshop Elements to see if it does what you need before spending any money.
Good Luck
Maybe you are looking for
-
My husband and I had been sharing an iTunes account, which meant that when he synced his iPhone, all his apps and music appeared on mine as well, and vice versa. This was annoying, so I created my own account and have changed the Apple id on my phon
-
How do I uninstall 10.5.7?
Is there a way to uninstall 10.5.7 and go back to 10.5.6? I know it is possible to revert back on a PC, so I am thinking that it is probably possible on a Mac too, but I cannot figure out how. Any help would be appreciated. Thanks, Jonathan
-
Needs to be fixed immediately...
I brought the phone with me in the car the other day. It was very sunny and I couldn't see it well. I changed the settings but it didn't matter. I had people with me who had Blackberry's whose screens were blowing mine away. It was so bad they we
-
Call a function in the shell SWF from a imported SWF
We have flash set up as a shell to take lesson data from XML and display it frame by frame. We import SWF files when the XML tells it to to be displayed on the frame. How can I get the imported SWF file to call a function in the shell.... basically h
-
Drop DB control, error: Could not connect to SYS, ORA-12541
Hi All, I am new to Oracle. I am struggling to solve this problem for 2 days, but still couldn't get it done. I post my problem here and wish every guru in this forum to offer some help. Any suggestions are greatly appreciated. I have Oracle 10.2.0.3