Configuring Oracle to start upon server reboot
Hi all,
I have a server running RH 4 with a single instance of Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit running on it.
I would like to configure the database to start and stop upon server reboot.
I have configured oratab
I have placed the following in: /etc/rc.d/rc5.d
lrwxrwxrwx 1 root root 15 May 4 2010 S99dbora -> ../init.d/dbora
I've set my ORACLE_HOME in dbora.
Nothing happened when I rebooted though. Can anyone point me in the right direction? Are their logs I can check to see if the script was even called?
Thanks very much
geeter wrote:
http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#CFAHAHGA
Linux is one of the OSes listed, but not the distribution.
Also isn't the sample dbora file supplied an init.d type script?Yes, but it does not conform to specification for init.d on RedHat kernels. The specs on a Debian distro is again different from that RedHat. Which is different from the original SVR4 (System V Release 4) standards.
I would not expect Oracle documentation to cover all these standards. It provides you with the basic init.d style script - it is up to you to implement that correctly so that it adheres to specs of your o/s for init.d startup and shutdown scripts.
So the doc is not wrong - merely not "complete" as it does not cover the finer details of differences in init.d implementation across Linux/Unix versions and distros.
I would also not use that dbora script as is - I would instead make a copy of an existing script and then customise that. This will ensure that the specs are met. For example, displaying the service name with a green OK or a red FAILED status simple needs one to include the default init.d script library. Similarly, you can use default/supplied checks for whether the network is up (required for starting the Oracle Listener) and so on.
The docs are an excellent start and reference - but it cannot cover every single detail. So it is not that the docs are wrong - but that you are expecting perhaps too much from the docs in this case.
Similar Messages
-
Oracle DB offline after server reboot / hardware failure
Hi,
We have a server that crashed due to hardware failure and although brought back up OK Oracle DB's are no longer mounting. I am not a DBA but it looks bad to me and it seems there are no backups. Can anyone suggest a course of action? This is Oracle 11G XE running on Centos 6. I have put as much detail in as I can and could really do with some advice.
[root@627963 trace]# sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 12 23:18:26 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL> connect sys as sysdba;
Enter password:
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2233344 bytes
Variable Size 893389824 bytes
Database Buffers 167772160 bytes
Redo Buffers 5541888 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 10571
Session ID: 62 Serial number: 3
SQL> startup /nomount
SP2-0714: invalid combination of STARTUP options
SQL> startup nomount
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
Alert_XE.log:
Thu Sep 12 21:26:18 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =19
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production.
Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/xe/dbs/spfileXE.ora
System parameters with non-default values:
sessions = 180
memory_target = 1G
control_files = "/u01/app/oracle/oradata/XE/control.dbf"
compatible = "11.2.0.0.0"
db_recovery_file_dest = "/u01/app/oracle/fast_recovery_area"
db_recovery_file_dest_size= 20G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers = 4
job_queue_processes = 4
audit_file_dest = "/u01/app/oracle/admin/XE/adump"
db_name = "XE"
open_cursors = 300
diagnostic_dest = "/u01/app/oracle"
Thu Sep 12 21:26:20 2013
PMON started with pid=2, OS id=21388
Thu Sep 12 21:26:20 2013
"alert_XE.log" 342L, 17231C
Thu Sep 12 21:26:20 2013
PSP0 started with pid=3, OS id=21390
Thu Sep 12 21:26:21 2013
VKTM started with pid=4, OS id=21392
VKTM running at (100ms) precision
Thu Sep 12 21:26:21 2013
GEN0 started with pid=5, OS id=21396
Thu Sep 12 21:26:21 2013
DIAG started with pid=6, OS id=21398
Thu Sep 12 21:26:21 2013
DBRM started with pid=7, OS id=21400
Thu Sep 12 21:26:21 2013
DIA0 started with pid=8, OS id=21402
Thu Sep 12 21:26:21 2013
MMAN started with pid=9, OS id=21404
Thu Sep 12 21:26:21 2013
DBW0 started with pid=10, OS id=21406
Thu Sep 12 21:26:21 2013
DBW1 started with pid=11, OS id=21408
Thu Sep 12 21:26:21 2013
DBW2 started with pid=12, OS id=21410
Thu Sep 12 21:26:21 2013
LGWR started with pid=13, OS id=21412
Thu Sep 12 21:26:21 2013
CKPT started with pid=14, OS id=21414
Thu Sep 12 21:26:21 2013
SMON started with pid=15, OS id=21416
Thu Sep 12 21:26:21 2013
RECO started with pid=16, OS id=21418
Thu Sep 12 21:26:21 2013
RECO started with pid=16, OS id=21418
Thu Sep 12 21:26:21 2013
MMON started with pid=17, OS id=21420
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Thu Sep 12 21:26:21 2013
MMNL started with pid=18, OS id=21422
starting up 4 shared server(s) ...
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Reusing ORACLE_BASE from an earlier startup = /u01/app/oracle
Thu Sep 12 21:26:21 2013
ALTER DATABASE MOUNT
Thu Sep 12 21:26:24 2013
Sweep [inc][21794]: completed
Sweep [inc][21793]: completed
Sweep [inc2][21794]: completed
Successful mount of redo thread 1, with mount id 2707110077
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Sep 12 21:26:25 2013
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
Started redo scan
Completed redo scan
read 93 KB redo, 34 data blocks need recovery
Started redo application at
Thread 1: logseq 241, block 21190
Recovery of Online Redo Log: Thread 1 Group 1 Seq 241 Reading mem 0
Mem# 0: /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_1_8kxhwjco_.log
Exception [type: SIGBUS, Non-existent physical address] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8, _wordcopy_bwd_dest_aligned()+280] [flags: 0x0, count: 1]
Errors in file /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_ora_21440.trc (incident=22593):
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+280] [SIGBUS] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8] [Non-existent physical address] []
Incident details in: /u01/app/oracle/diag/rdbms/xe/XE/incident/incdir_22593/XE_ora_21440_i22593.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x7C7FD5E7FFEC] [PC:0x444FE70, kcbs_dump_adv_state()+946] [flags: 0x0, count: 2]
Errors in file /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_ora_21440.trc (incident=22594):
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+946] [SIGSEGV] [ADDR:0x7C7FD5E7FFEC] [PC:0x444FE70] [Address not mapped to object] []
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+280] [SIGBUS] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8] [Non-existent physical address] []
Incident details in: /u01/app/oracle/diag/rdbms/xe/XE/incident/incdir_22594/XE_ora_21440_i22594.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Dumping diagnostic data in directory=[cdmp_20130912212627], requested by (instance=1, osid=21440), summary=[incident=22593].
Errors in file /u01/app/oracle/diag/rdbms/xe/XE/incident/incdir_22593/XE_ora_21440_i22593.trc:
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+946] [SIGSEGV] [ADDR:0x7C7FD5E7FFEC] [PC:0x444FE70] [Address not mapped to object] []
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+280] [SIGBUS] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8] [Non-existent physical address] []
PMON (ospid: 21388): terminating the instance due to error 397
System state dump requested by (instance=1, osid=21388 (PMON)), summary=[abnormal instance termination].
System State dumped to trace file /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_diag_21398.trc
Dumping diagnostic data in directory=[cdmp_20130912212628], requested by (instance=1, osid=21388 (PMON)), summary=[abnormal instance termination].
Instance terminated by PMON, pid = 21388
Thu Sep 12 21:39:03 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =19
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production.
Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/xe/dbs/spfileXE.ora
System parameters with non-default values:
sessions = 180
memory_target = 1G
control_files = "/u01/app/oracle/oradata/XE/control.dbf"
compatible = "11.2.0.0.0"
db_recovery_file_dest = "/u01/app/oracle/fast_recovery_area"
db_recovery_file_dest_size= 20G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers = 4
job_queue_processes = 4
audit_file_dest = "/u01/app/oracle/admin/XE/adump"
db_name = "XE"
open_cursors = 300
diagnostic_dest = "/u01/app/oracle"
Thu Sep 12 21:39:05 2013
PMON started with pid=2, OS id=2483
Thu Sep 12 21:39:05 2013
PSP0 started with pid=3, OS id=2489
Thu Sep 12 21:39:06 2013
VKTM started with pid=4, OS id=2546
VKTM running at (100ms) precision
Thu Sep 12 21:39:06 2013
GEN0 started with pid=5, OS id=2550
Thu Sep 12 21:39:06 2013
DIAG started with pid=6, OS id=2552
Thu Sep 12 21:39:06 2013
DBRM started with pid=7, OS id=2554
Thu Sep 12 21:39:06 2013
DIA0 started with pid=8, OS id=2556
And the tracefile:
Trace file /u01/app/oracle/diag/rdbms/xe/XE/trace/XE_ora_21440.trc
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe
System name: Linux
Node name: <blah>
Release: 2.6.32-358.14.1.el6.x86_64
Version: #1 SMP Tue Jul 16 23:51:20 UTC 2013
Machine: x86_64
Instance name: XE
Redo thread mounted by this instance: 1
Oracle process number: 24
Unix process pid: 21440, image: <blah>(TNS V1-V3)
*** 2013-09-12 21:26:25.858
*** SESSION ID:(62.3) 2013-09-12 21:26:25.858
*** CLIENT ID:() 2013-09-12 21:26:25.858
*** SERVICE NAME:() 2013-09-12 21:26:25.858
*** MODULE NAME:(<Blah> (TNS V1-V3)) 2013-09-12 21:26:25.858
*** ACTION NAME:() 2013-09-12 21:26:25.858
Thread 1 checkpoint: logseq 241, block 2, scn 8960531
cache-low rba: logseq 241, block 21190
on-disk rba: logseq 241, block 21377, scn 8979221
start recovery at logseq 241, block 21190, scn 0
*** 2013-09-12 21:26:25.869
Started writing zeroblks thread 1 seq 241 blocks 21377-21384
*** 2013-09-12 21:26:25.870
Completed writing zeroblks thread 1 seq 241
==== Redo read statistics for thread 1 ====
Total physical reads (from disk and memory): 4096Kb
-- Redo read_disk statistics --
Read rate (ASYNC): 93Kb in 0.01s => 9.13 Mb/sec
Longest record: 2Kb, moves: 0/242 (0%)
Change moves: 2/26 (7%), moved: 0Mb
Longest LWN: 8Kb, moves: 0/57 (0%), moved: 0Mb
Last redo scn: 0x0000.00890313 (8979219)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 262144
Longest hash chain = 1
Average hash chain = 34/34 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 377/542 = 0.7
*** 2013-09-12 21:26:25.872
KCRA: start recovery claims for 34 data blocks
*** 2013-09-12 21:26:25.873
KCRA: blocks processed = 34/34, claimed = 34, eliminated = 0
*** 2013-09-12 21:26:25.874
Recovery of Online Redo Log: Thread 1 Group 1 Seq 241 Reading mem 0
*** 2013-09-12 21:26:26.055
Exception [type: SIGBUS, Non-existent physical address] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8, _wordcopy_bwd_dest_aligned()+280] [flags: 0x0, count: 1]
Incident 22593 created, dump file: /u01/app/oracle/diag/rdbms/xe/XE/incident/incdir_22593/XE_ora_21440_i22593.trc
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+280] [SIGBUS] [ADDR:0x76FFFFF8] [PC:0x319A88A1B8] [Non-existent physical address] []
Incident 22594 created, dump file: /u01/app/oracle/diag/rdbms/xe/XE/incident/incdir_22594/XE_ora_21440_i22594.trc
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+946] [SIGSEGV] [ADDR:0x7C7FD5E7FFEC] [PC:0x444FE70] [Address not mapped to object] []
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+280] [SIGBUS] [ADDR:0x76FFFFFHi Guys,
I have copied a backup script below that it turns out has been running every night at midnight. Where does this go, how do I know if it has worked and how can I use it to restore?
#!/bin/sh
# The script assumes that user can connect using "/ as sysdba" and Flash
# Recovery Area is enabled.
# =================
# Backup procedure
# =================
# For database in NoArchiveLog mode, database is shutdown and an offline
# backup is done;
# For database in Archive log mode, online backup is done.
# During the backup procedure, the script stores flash recovery area
# location by saving complete initialization parameter to
# ?/dbs/spfile2init.ora file. This will be used during restore operation
# to find Flash Recovery Area location. If this file is lost, then user must
# enter Flash Recovery Area location during restore operation.
# Two backups are maintained in Flash Recovery Area and the corresponding
# log files for last two backup job are saved in
# $HOME/oxe_backup_current.log and $HOME/oxe_backup_previous.log
user=`/usr/bin/whoami`
group=`/usr/bin/groups $user | grep dba`
if test -z "$group"; then
if [ -f /usr/bin/zenity ]
then
/usr/bin/zenity --error --text="$user must be in the DBA OS group to backup the database."
elif [ -f /usr/bin/kdialog ]
then
/usr/bin/kdialog --error "$user must be in the DBA OS group to backup the database."
elif [ -f /usr/bin/xterm ]
then
echo "Operation failed. $user must be in the DBA OS group to backup the database."
echo -n "Press any key to exit"
read userinp
fi
exit 0
fi
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID=XE
export PATH=$ORACLE_HOME/bin:$PATH
TMPDIR=/tmp
rman_normlog=${TMPDIR}/rman_normlog$$.log
#Fix a logfile for current, previous run and spfile2init.ora
sqlplus /nolog > $rman_normlog << EOF
connect / as sysdba;
set echo off;
set head off;
set serveroutput on;
set linesize 515;
declare
l1 varchar2(512);
begin
l1 := dbms_backup_restore.normalizeFilename('spfile2init.ora');
dbms_output.put_line('-----------------');
dbms_output.put_line(l1);
dbms_output.put_line('-----------------');
end;
EOF
rman_spfile2init=`grep "spfile2init.ora$" $rman_normlog`
rm -f $rman_normlog
rman_backup_current=$HOME/oxe_backup_current.log
rman_backup_prev=$HOME/oxe_backup_previous.log
#Choose a temporary log for this run
rman_backup=${TMPDIR}/rman_backup$$.log
echo XE Backup Log > $rman_backup
#Check if flash recovery area is enabled
rman_fra=${TMPDIR}/rman_fra$$.log
sqlplus /nolog > $rman_fra << EOF
connect / as sysdba;
set head off;
set echo off;
set trimspool on;
set linesize 512;
select '$' || count(*) || '$' from v\$parameter
where upper(name)='DB_RECOVERY_FILE_DEST'
and value is not null;
EOF
fra=`grep "^$.*$" $rman_fra`
rm -f $rman_fra
if [ X$fra = X\$1\$ ]; then
failed=false;
else
failed=true
errstr="flash recovery area is not enabled"
fi;
if [ $failed = 'false' ] ; then
#Check the mode of database
rman_log_mode=${TMPDIR}/rman_log_mode$$.log
sqlplus /nolog > $rman_log_mode << EOF
connect / as sysdba;
set head off;
set echo off;
set trimspool on;
set linesize 512;
select '$' || log_mode || '$' from v\$database;
EOF
mode=`grep "^$.*$" $rman_log_mode`
rm -f $rman_log_mode
case $mode in
\$ARCHIVELOG\$)
echo "Doing online backup of the database."
rman target / >> $rman_backup << EOF
set echo on;
configure retention policy to redundancy 2;
configure controlfile autobackup format for device type disk clear;
configure controlfile autobackup on;
sql "create pfile=''$rman_spfile2init'' from spfile";
backup as backupset device type disk database;
configure controlfile autobackup off;
delete noprompt obsolete;
EOF
if [ $? = 0 ]; then
failed=false;
else
failed=true
errstr="RMAN error: See log for details"
fi;
rman target / >> $rman_backup << EOF
sql 'alter system archive log current';
EOF
\$NOARCHIVELOG\$)
echo "Warning: Log archiving (ARCHIVELOG mode) is currently disabled. If"
echo "you restore the database from this backup, any transactions that take"
echo "place between this backup and the next backup will be lost. It is"
echo "recommended that you enable ARCHIVELOG mode before proceeding so "
echo "that all transactions can be recovered upon restore. See the section"
echo "'Enabling ARCHIVELOG Mode...' in the online help for instructions."
echo "Backup with log archiving disabled will shut down and restart the"
echo -n "database. Are you sure [Y/N]?"
gotit=false
while ! $gotit; do
read userinp
if [ "$userinp" = "Y" -o "$userinp" = "y" -o \
"$userinp" = "n" -o "$userinp" = "N" ]; then
gotit=true
fi
done
if [ "$userinp" = "n" -o "$userinp" = "N" ]; then
rm -f $rman_backup
exit -1;
fi
echo "Backup in progress..."
rman target / >> $rman_backup << EOF
set echo on;
shutdown immediate;
startup mount;
configure retention policy to redundancy 2;
configure controlfile autobackup format for device type disk clear;
configure controlfile autobackup on;
sql "create pfile=''$rman_spfile2init'' from spfile";
backup as backupset device type disk database;
configure controlfile autobackup off;
alter database open;
delete noprompt obsolete;
EOF
if [ $? = 0 ]; then
failed=false;
else
failed=true
errstr="RMAN error: See log for details"
fi;
errstr="Unknown database mode $mode"
failed=true;
esac;
fi;
#Save the error string in the log
if [ $failed = 'true' ]; then
echo ${errstr}. >> $rman_backup
fi;
#Save the last run as previous
if [ -f $rman_backup_current ]; then
mv -f $rman_backup_current $rman_backup_prev
fi;
#Save the current run
mv -f $rman_backup $rman_backup_current
#Display the result to user
if [ $failed = 'true' ] ; then
echo '==================== ERROR ========================='
echo ' Backup of the database failed '
echo '==================== ERROR ========================='
echo ${errstr}.
echo Log file is at $rman_backup_current.
else
echo Backup of the database succeeded.
echo Log file is at $rman_backup_current.
fi
#Wait for user to press any key
echo -n "Press ENTER key to exit"
read userinp -
Listener not starting on server reboot
for securing listener I have done the following steps:
Created a separate account and group at OS level and brought listener.ora,lsnrctl and related files/directories under this account and group.
I have secured listener by setting password (change_password,save_config followed by reload) on Oracle 8.1.7 running on HP Unix 11.11. while giving save_config the listener.ora is automatically brought under its original user and group.But I manually change it back to the account and group I created.
On server reboot listener does not start automatically.
Please helpHere is the error message, please let me know the solution:
LSNRCTL for HPUX: Version 8.1.7.4.0 - Production on 09-SEP-2007 15:17:46
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting /....../oracle/v8/8.1.7/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 8.1.7.4.0 - Production
System parameter file is /...../oracle/v8/8.1.7/network/admin/listener.ora
Log messages written to /......./oracle/v8/8.1.7/network/log/listener.log
Attempted to listen on: (ADDRESS=(PROTOCOL=IPC)(KEY=.......world))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
HPUX Error: 1: Not owner -
Unable to configure Oracle Publisher in SQL SERVER 2008 R2
Hi, All,
I am trying to talk to my Oracle database from SQL server. I already had Oracle Client 11g installed in my SQL server.
Following the guidance in the technet on configuring the Distributer successfully. I now trying to configure the Publisher, by choosing "Adding Oracle Publisher" option. Then it prompt for the user id & password, I have enter the login (which
is replication user id created in Oracle). I encounter following error msg:
TITLE: Distributor Properties
Oracle server instance 'ssluat' cannot be enabled as a Publisher because of the following error:
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1&EvtSrc=Microsoft.SqlServer.Management.UI.ConfigureWizardErrorSR&EvtID=OraclePublisherValidateFailed&LinkId=20476
Quote:
ADDITIONAL INFORMATION:
Unable to run SQL*PLUS. Make certain that a current version of the Oracle client code is installed at the distributor. For addition information, see SQL Server Error 21617 in Troubleshooting Oracle Publishers in SQL Server Books Online. (Microsoft SQL Server,
Error: 21617)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=21617&LinkId=20476
Unquote
In fact I can run SQL*PLus from my c:\drive command prompt and the Path in Envinronment variable has set to "c:\app\product\11.2.0\client_1\bin". So I don't know why thing msg prompt?
I have search the guideline on this error in Technet and do what I can to troubleshoot but still got error.
Kindly pls help me.
Thank you.
Avelyn1.Make certain that a current version of the oracle client code is installed at the distributor”, please install corresponding version of Oracle
Client tools on Distributor Box
2.Are you able to connect to your Oracle server from the Distributor Box?if so,Distributor
box needs to have Oracle client tools installed on it before you can setup replication , I hope you have installed the Oracle client tools on Distributor Box. If yes, check if using SQLPlus you can connect manually to Oracle server or not from your Distributor
Box.
Moreover,Please refer the below
Before attempting to configure the Oracle Publisher, SQL Server verifies that SQL*PLUS is accessible through the system path on the Distributor. If SQL*PLUS cannot be loaded, the following error message is shown:
"Unable to run SQL*PLUS. Make certain that a current version of the Oracle client code is installed at the distributor."
Try to locate SQL*PLUS on the Distributor. For an Oracle 10g client install, the name of this executable is sqlplus.exe. It is typically installed in %ORACLE_HOME%/bin. To verify that the path of SQL*PLUS appears in the system path, examine the value of the
system variable Path:
Right-click My Computer, and then click Properties.
Click the Advanced tab, and then click Environment variables.
In the Environment Variables dialog box, in the System variables list, select the Path variable,
and then click Edit.
In the Edit System Variable dialog box: if the path to the folder that contains sqlplus.exe is not present in the Variable
value text box, edit the string to include it.
Click OK on each open dialog box to exit and save changes. -
Configuring oracle 11g and Appl.server
hello
we are beginners and need some step by step guide
to step our database envirnonment.
Since we have been working in an obsolete database(8i & dev6)
we are switching to the new version and hence unable to proceed .
1. Installed oracle 11g on a server with OS windows2003.we are able to
open the admin pages in a browser and created users and control files.
we have also imported one users data using dmp files.
2. Next we have sample application developed using Developer suite 10g .
In another PC we have installed OS windows xp and also installed only
application server 10g services for forms and reports.We have placed our sample fmx files
in this pc.
3. we are able able to open the file fmx from the browser on this pc and locally
(Lan) on other pcs by giving the url completely.
4. Next we want our remote office to open this file through the internet.
when we tried this we failed in our attempt.Hence please let us know
how to open the file from the internet.
5. Next we require one active server page to authenticate the user (from the Table
created in the database) and if ok open the sample fmx file .
Here we are struck and do not know how to proceed .
Please guide as how we have to go about with a sample script and
other details.
Thanks in advanceI do not intend to be insulting but your question reads something like: "my car doesn't start please tell me why?"
Did you see any error message displayed?
Did you look in the log files for error messages?
Can you ping the server?
Is there a firewall?
In other words you need to provide a lot more information before we can help you. Right now it could be anything from the battery is dead to it is out of petrol to some thief took the engine. <g> -
Configure Oracle Foms in Application Server 10.1.3
Hi All,
How to Install / Configure Oracle Forms/Reports service in 10g Application Server 10g Release 3
Abk
Edited by: Abk on Jul 8, 2009 1:16 PMHi
Thanks for your replay,
Currently we are using 10.1.2 with OC4J & Oracle Report 10g services.for running J2EE enterprise application in a stand alone environment. now we need to migrate this J2EE based enterprise application to 10g Release 3 or Higher version in a Clustered environment. Please suggest us, can I use 11g application server with clustered environment for OC4J & Report services. -
Oracle database performance after server reboot
hi masters,
this is not some kind of question, but a discussion. some statements come from our client that after weekly reboot of system, the oracle database performance is low for some time and increase after some time(say 2 days).
i think it is but obvious, because at reboot oracle flushes all cache, and temporary space, so it need to re parse the sql statements and perform some disc I/O's so it might need some time and hence performance will degrade.
but at the same time some people claim that after reboot their database performance is better than their normal performance for some days. it seems controversial that's why i am posting it here.
what might be the reason behind this?? prior can have a valid reason of hard parsing, but what with second case??
any clarification is highly appreciated...
thank you
regadrs
VDVikrant,
You should wait for some time buddy, its weekend ;-) .
this is not some kind of question, but a discussion. some statements come from our client that after weekly reboot of system, the oracle database performance is low for some time and increase after some time(say 2 days).i think it is but obvious, because at reboot oracle flushes all cache, and temporary space, so it need to re parse the sql statements and perform some disc I/O's so it might need some time and hence performance will degrade.
>
I would start from saying that checking the performance when the system just started, is a wrong approach. There would be lots of IOs , parsing, calculations(related to memory allocations) happening so there would be a delay/bad performance at that time. Very simple example can be parsing, another can be memory allocation. Oracle doesn't allocate the entire memory in the instance startup that is allocated to the memory areas but allocates just the bare minimum that is needed to start the instance and than after the startup, it keeps on allocating the memory. So surely enough, with the startup and after a while of it, there would be a different performance than that after the instance hsa already been started and the workload informations have started coming up.
Its correct that Oracle would deallocate all the caches with the reboot as the instance is on the memory(physical) and with the reboot , that would be flushed including the SGA which is allocated over it. Temporary tablespace is now not freed with the reboot. I guess its a rather illogical thing to do but that's what is there now. Oracle keeps the segment allocated even after the reboot is issued, hence the reason for larger temporary tablespaces.
>
but at the same time some people claim that after reboot their database performance is better than their normal performance for some days. it seems controversial that's why i am posting it here.
what might be the reason behind this?? prior can have a valid reason of hard parsing, but what with second case??
>
This should not come as a surprise once we understand what might be happening with this process. Assume a situation where you have undersized caches. For example, shared pool . which is very heavily used for database , if this is going to be undersized and you are not using automatic memory management, you won't be enjoying the dynamic management of this parameter. Now, if you do lots of parsing , thanks to your wrongly written queries, you would eventually end up filling up shared pool to its max thus leaving no space for incoming new hard parsed cursors. Here , if you can't manage to add more memory to add to it, the only solution left would be to flush the shared pool( as good as rebooting the db because this would do the same) and than make space for the new cursors. The performance is going to be better becausethe cursors would not be getting flushed out immediately and will be kept in the shared pool as long as its not filled up again.Once you have reached to limit of it, again there would be performance benefit. So there are always odds added to the statements like this that I rebuilt my index , I got better, I rebooted my server, my querie are much faster now. Most of the time when these kind of statements are given, they are based on what we have seen, without understading what actually might have happened. So I would siggest to hear the statement but not take them as a rule of thumb to follow.
Hope this all makes some sense for you and would help somewhat.
Aman.... -
Keep receiving closed alert upon server reboot
I have a new deployment of SCOM 2012 installed on a 2012 R2 windows servers. I am using SQL 2012 R2 standard edition.
Every time I reboot the server I get a notification with a resolution state of 'Closed'. If I check the alert the 'New' alert was created at the same time it was 'Closed'
Alert: Management Configuration Service failed to complete bootstrap procedure Resolution state: Closed
Details:
System.Data.SqlClient.SqlException (0x80131904): Cannot open database "OperationsManager" requested by the login. The login failed.
Login failed for user 'domain\serviceaccount'.
My guess is that the SQL services has not fully started when the SCOM services have started. What would be the best way to configure SCOM so I stop receiving these alerts?is your service account a member of the server's local admin group?
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway -
"Failed start target server" when install LC ES Weblogic edition
Hi all ,
I am using the LC configure manager to start LC server.
Weblogic Admin server already started , but target server start failed.
I want to login to weblogic admin console , I try weblogic/weblogic ,but it failed ..
Does anyone here know the default user/pass for weblogic . I do remember that I haven't set any user/password for weblogic during the turnkey install
ThanksMake sure you create JMX policies first : Adobe LiveCycle ES4 * 3.6 Creating JMX policies for database initialization
-Wasil -
Oracle 10G Db Starts-up After Server Reboot, BUT Goes DOWN After Some Time
Hi All,
I am really puzzled over this one. I have couple of servers running DB on them and I have used scripts to auto-enable them when server(s) reboot.
But there is one server where I see this funny behavior.
The DB comes-up after server reboot.
I can verify that in the startup logs and some more logs that I created.
I can see that LISTENER is able to communicate also.
But after a while, the DB shuts-down....!!
I have checked all the places I could. I have also tried to see the difference between this server and others (I did not install this one), but can not see any difference.
Is there anyway to find out (log) what is shutting down the DB??
Any help will be much appreciated as I am at my wits end.
Following is snap-shot from my logs:
Fri Mar 16 20:42:29 EDT 2007
Running dbstart.
Done with starting all, let's check status...
Fri Mar 16 20:42:42 EDT 2007
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 20:42:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 16-MAR-2007 00:46:56
Uptime 0 days 19 hr. 55 min. 46 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/10.2.0/Db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2.0/Db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.103.253.50)(PORT=1521)))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Current Status:
# date
Fri Mar 16 21:30:40 EDT 2007
# su - oracle -c "lsnrctl status"
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:30:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.103.253.50)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refusedI was just looking at that.. Thanks for the tip.
Following is what I see. But not sure what does it tell me?? Please help......
From alert_orcl.log:
<snip>
db_recovery_file_dest_size of 2048 MB is 0.00% 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.
Fri Mar 16 20:42:41 2007
Errors in file /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
Fri Mar 16 20:42:42 2007
Completed: ALTER DATABASE OPEN
From /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
# cat /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
/oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
ORACLE_HOME = /oracle/product/10.2.0/Db_1
System name: SunOS
Node name: gcars0j6
Release: 5.10
Version: Generic_118833-24
Machine: sun4u
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 15
Unix process pid: 7700, image: oracle@gcars0j6 (TNS V1-V3)
*** SERVICE NAME:() 2007-03-16 20:42:37.548
*** SESSION ID:(159.3) 2007-03-16 20:42:37.548
Thread 1 checkpoint: logseq 255, block 2, scn 8602014
cache-low rba: logseq 255, block 3
on-disk rba: logseq 255, block 767, scn 8602399
start recovery at logseq 255, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 382Kb in 0.16s => 2.33 Mb/sec
Total physical reads: 4096Kb
Longest record: 3Kb, moves: 0/1066 (0%)
Change moves: 1/8 (12%), moved: 0Mb
Longest LWN: 308Kb, moves: 0/29 (0%), moved: 0Mb
Last redo scn: 0x0000.0083431e (8602398)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 1925/2083 = 0.9
*** 2007-03-16 20:42:37.702
KCRA: start recovery claims for 149 data blocks
*** 2007-03-16 20:42:37.705
KCRA: blocks processed = 149/149, claimed = 149, eliminated = 0
*** 2007-03-16 20:42:37.706
Recovery of Online Redo Log: Thread 1 Group 2 Seq 255 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 2054/2074 = 1.0
Error in executing triggers on database startup
*** 2007-03-16 20:42:41.963
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15 -
Post server reboot , instance 1 crashes on starting the second one
Hi ,
We had a server reboot ( Solaris SPARC 64 bit) and had to shutdown the application running on RAC system on 2 servers.
now post the activity , we are trying to bring up the instances but whenever one comes up the other goes down.
If we try to start the second one , first goes down.
Oracle database version : 10.2.0.3.0
Alert logs for both have been mentioned below :
instance1:
Mon Jul 23 16:17:22 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
Interface type 1 bge0 58.2.35.0 configured from OCR for use as a public interface
Interface type 1 bge1 58.2.35.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
Autotune of undo retention is turned on.
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.3.0.
System parameters with non-default values:
processes = 400
__shared_pool_size = 956301312
shared_pool_size = 201326592
__large_pool_size = 16777216
__java_pool_size = 150994944
java_pool_size = 150994944
__streams_pool_size = 16777216
streams_pool_size = 16777216
sga_target = 1610612736
control_files = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
db_block_size = 8192
__db_cache_size = 452984832
db_cache_size = 167772160
compatible = 10.2.0.3.0
db_file_multiblock_read_count= 16
cluster_database = TRUE
cluster_database_instances= 2
thread = 1
instance_number = 1
undo_management = AUTO
undo_tablespace = UNDOTBS1
ldap_directory_access = PASSWORD
remote_login_passwordfile= EXCLUSIVE
db_domain = intranet.genpact.com
remote_listener = LISTENERS_ASDB
job_queue_processes = 10
background_dump_dest = /u01/app/orainf/admin/asdb/bdump
user_dump_dest = /u01/app/orainf/admin/asdb/udump
core_dump_dest = /u01/app/orainf/admin/asdb/cdump
audit_file_dest = /u01/app/orainf/admin/asdb/adump
db_name = asdb
open_cursors = 300
pga_aggregate_target = 848297984
aq_tm_processes = 1
Mon Jul 23 16:17:24 2012
Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
cluster interconnect IPC version:
VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
IPC Vendor 86 proto 76
Version 1.0
PMON started with pid=2, OS id=17279
DIAG started with pid=3, OS id=17281
Mon Jul 23 16:17:24 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_17281.trc:
ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x438100000000] [] []
PSP0 started with pid=4, OS id=17283
LMON started with pid=5, OS id=17285
LMD0 started with pid=6, OS id=17287
LMS0 started with pid=7, OS id=17289
LMS1 started with pid=8, OS id=17293
MMAN started with pid=9, OS id=17297
DBW0 started with pid=10, OS id=17299
LGWR started with pid=11, OS id=17301
CKPT started with pid=12, OS id=17303
SMON started with pid=13, OS id=17333
RECO started with pid=14, OS id=17338
CJQ0 started with pid=15, OS id=17340
MMON started with pid=16, OS id=17342
MMNL started with pid=17, OS id=17344
Mon Jul 23 16:17:26 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_17285.trc:
ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
Mon Jul 23 16:17:26 2012
LMON: terminating instance due to error 27550
Instance terminated by LMON, pid = 17285
Mon Jul 23 16:18:33 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
Interface type 1 bge0 58.2.35.0 configured from OCR for use as a public interface
Interface type 1 bge1 58.2.35.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
Autotune of undo retention is turned on.
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.3.0.
System parameters with non-default values:
processes = 400
__shared_pool_size = 956301312
shared_pool_size = 201326592
__large_pool_size = 16777216
__java_pool_size = 150994944
java_pool_size = 150994944
__streams_pool_size = 16777216
streams_pool_size = 16777216
sga_target = 1610612736
control_files = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
db_block_size = 8192
__db_cache_size = 452984832
db_cache_size = 167772160
compatible = 10.2.0.3.0
db_file_multiblock_read_count= 16
cluster_database = TRUE
cluster_database_instances= 2
thread = 1
instance_number = 1
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain = intranet.genpact.com
job_queue_processes = 10
background_dump_dest = /u01/app/orainf/admin/asdb/bdump
user_dump_dest = /u01/app/orainf/admin/asdb/udump
core_dump_dest = /u01/app/orainf/admin/asdb/cdump
audit_file_dest = /u01/app/orainf/admin/asdb/adump
db_name = asdb
open_cursors = 300
pga_aggregate_target = 848297984
aq_tm_processes = 1
Mon Jul 23 16:18:35 2012
Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
cluster interconnect IPC version:
VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
IPC Vendor 86 proto 76
Version 1.0
PMON started with pid=2, OS id=19523
DIAG started with pid=3, OS id=19525
Mon Jul 23 16:18:36 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_19525.trc:
ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x4C4500000000] [] []
PSP0 started with pid=4, OS id=19527
LMON started with pid=5, OS id=19529
LMD0 started with pid=6, OS id=19531
LMS0 started with pid=7, OS id=19533
LMS1 started with pid=8, OS id=19537
MMAN started with pid=9, OS id=19557
DBW0 started with pid=10, OS id=19573
LGWR started with pid=11, OS id=19576
CKPT started with pid=12, OS id=19578
SMON started with pid=13, OS id=19580
RECO started with pid=14, OS id=19582
CJQ0 started with pid=15, OS id=19584
MMON started with pid=16, OS id=19586
MMNL started with pid=17, OS id=19588
Mon Jul 23 16:18:37 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_19529.trc:
ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
Mon Jul 23 16:18:37 2012
LMON: terminating instance due to error 27550
Instance terminated by LMON, pid = 19529
Mon Jul 23 16:20:16 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
Interface type 1 bge0 58.2.35.0 configured from OCR for use as a public interface
Interface type 1 bge1 58.2.35.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
Autotune of undo retention is turned on.
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.3.0.
System parameters with non-default values:
processes = 400
__shared_pool_size = 956301312
shared_pool_size = 201326592
__large_pool_size = 16777216
__java_pool_size = 150994944
java_pool_size = 150994944
__streams_pool_size = 16777216
streams_pool_size = 16777216
sga_target = 1610612736
control_files = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
db_block_size = 8192
__db_cache_size = 452984832
db_cache_size = 167772160
compatible = 10.2.0.3.0
db_file_multiblock_read_count= 16
cluster_database = TRUE
cluster_database_instances= 2
thread = 1
instance_number = 1
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_domain = intranet.genpact.com
job_queue_processes = 10
background_dump_dest = /u01/app/orainf/admin/asdb/bdump
user_dump_dest = /u01/app/orainf/admin/asdb/udump
core_dump_dest = /u01/app/orainf/admin/asdb/cdump
audit_file_dest = /u01/app/orainf/admin/asdb/adump
db_name = asdb
open_cursors = 300
pga_aggregate_target = 848297984
Mon Jul 23 16:20:18 2012
Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
cluster interconnect IPC version:
VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
IPC Vendor 86 proto 76
Version 1.0
PMON started with pid=2, OS id=22860
DIAG started with pid=3, OS id=22870
Mon Jul 23 16:20:18 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_22870.trc:
ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x595600000000] [] []
PSP0 started with pid=4, OS id=22888
LMON started with pid=5, OS id=22892
LMD0 started with pid=6, OS id=22899
LMS0 started with pid=7, OS id=22901
LMS1 started with pid=8, OS id=22905
MMAN started with pid=9, OS id=22909
DBW0 started with pid=10, OS id=22911
LGWR started with pid=11, OS id=22913
CKPT started with pid=12, OS id=22915
SMON started with pid=13, OS id=22917
RECO started with pid=14, OS id=22919
CJQ0 started with pid=15, OS id=22921
MMON started with pid=16, OS id=22923
MMNL started with pid=17, OS id=22933
Mon Jul 23 16:20:20 2012
Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_22892.trc:
ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
Mon Jul 23 16:20:20 2012
LMON: terminating instance due to error 27550
Instance terminated by LMON, pid = 22892instance 2:
Mon Jul 23 16:20:30 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
WARNING 10.0.0.0 could not be translated to a network address error 1
Interface type 1 bge0 58.2.35.0 configured from OCR for use as a public interface
Interface type 1 bge1 58.2.35.0 configured from OCR for use as a public interface
WARNING: No cluster interconnect has been specified. Depending on
the communication driver configured Oracle cluster traffic
may be directed to the public interface of this machine.
Oracle recommends that RAC clustered databases be configured
with a private interconnect for enhanced security and
performance.
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
Autotune of undo retention is turned on.
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.3.0.
System parameters with non-default values:
processes = 400
__shared_pool_size = 721420288
shared_pool_size = 201326592
__large_pool_size = 16777216
__java_pool_size = 150994944
java_pool_size = 150994944
__streams_pool_size = 16777216
streams_pool_size = 16777216
spfile = /db01/asdb/asdb/spfileasdb.ora
sga_target = 1610612736
control_files = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
db_block_size = 8192
__db_cache_size = 687865856
db_cache_size = 167772160
compatible = 10.2.0.3.0
db_file_multiblock_read_count= 16
cluster_database = TRUE
cluster_database_instances= 2
thread = 2
instance_number = 2
undo_management = AUTO
undo_tablespace = UNDOTBS2
ldap_directory_access = PASSWORD
remote_login_passwordfile= EXCLUSIVE
db_domain = intranet.genpact.com
dispatchers = (PROTOCOL=TCP) (SERVICE=asdbXDB)
remote_listener = LISTENERS_ASDB
job_queue_processes = 10
background_dump_dest = /u01/app/orainf/admin/asdb/bdump
user_dump_dest = /u01/app/orainf/admin/asdb/udump
core_dump_dest = /u01/app/orainf/admin/asdb/cdump
audit_file_dest = /u01/app/orainf/admin/asdb/adump
db_name = asdb
open_cursors = 300
pga_aggregate_target = 848297984
aq_tm_processes = 1
Cluster communication is configured to use the following interface(s) for this instance
58.2.35.93
Mon Jul 23 16:20:32 2012
Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=28537
DIAG started with pid=3, OS id=28539
PSP0 started with pid=4, OS id=28541
LMON started with pid=5, OS id=28543
Mon Jul 23 16:20:33 2012
WARNING: Failed to set buffer limit on IPC interconnect socket
Oracle requires that the SocketReceive buffer size be tunable upto 1MB
Please make sure the kernel parameterwhich limits SO_RCVBUF value set by
applications is atleast 1MB
LMD0 started with pid=6, OS id=28545
LMS0 started with pid=7, OS id=28547
LMS1 started with pid=8, OS id=28551
MMAN started with pid=9, OS id=28555
DBW0 started with pid=10, OS id=28557
LGWR started with pid=11, OS id=28567
CKPT started with pid=12, OS id=28587
SMON started with pid=13, OS id=28594
RECO started with pid=14, OS id=28596
CJQ0 started with pid=15, OS id=28599
MMON started with pid=16, OS id=28605
MMNL started with pid=17, OS id=28608
Mon Jul 23 16:20:34 2012
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Mon Jul 23 16:20:34 2012
lmon registered with NM - instance id 2 (internal mem no 1)
Mon Jul 23 16:20:35 2012
Reconfiguration started (old inc 0, new inc 2)
List of nodes:
1
Global Resource Directory frozen
* allocate domain 0, invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Mon Jul 23 16:20:35 2012
LMS 0: 0 GCS shadows cancelled, 0 closed
Mon Jul 23 16:20:35 2012
LMS 1: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Post SMON to start 1st pass IR
Mon Jul 23 16:20:35 2012
LMS 1: 0 GCS shadows traversed, 0 replayed
Mon Jul 23 16:20:35 2012
LMS 0: 0 GCS shadows traversed, 0 replayed
Mon Jul 23 16:20:35 2012
Submitted all GCS remote-cache requests
Fix write in gcs resources
Reconfiguration complete
LCK0 started with pid=20, OS id=28770
Mon Jul 23 16:20:36 2012
ALTER DATABASE MOUNT
Mon Jul 23 16:20:36 2012
This instance was first to mount
Setting recovery target incarnation to 2
Mon Jul 23 16:20:40 2012
Successful mount of redo thread 2, with mount id 2392310356
Mon Jul 23 16:20:40 2012
Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE)
Completed: ALTER DATABASE MOUNT
Mon Jul 23 16:20:40 2012
ALTER DATABASE OPEN
This instance was first to open
Mon Jul 23 16:20:40 2012
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Mon Jul 23 16:20:41 2012
Started redo scan
Mon Jul 23 16:20:41 2012
Completed redo scan
509 redo blocks read, 149 data blocks need recovery
Mon Jul 23 16:20:41 2012
Started redo application at
Thread 2: logseq 1492, block 3
Mon Jul 23 16:20:41 2012
Recovery of Online Redo Log: Thread 2 Group 7 Seq 1492 Reading mem 0
Mem# 0: /db01/asdb/asdb/redo07a.log
Mem# 1: /db01/asdb/asdb/redo07b.log
Mon Jul 23 16:20:41 2012
Completed redo application
Mon Jul 23 16:20:41 2012
Completed crash recovery at
Thread 2: logseq 1492, block 512, scn 10435264045528
149 data blocks read, 149 data blocks written, 509 redo blocks read
Picked broadcast on commit scheme to generate SCNs
Mon Jul 23 16:20:42 2012
Thread 2 advanced to log sequence 1493
Thread 2 opened at log sequence 1493
Current log# 8 seq# 1493 mem# 0: /db01/asdb/asdb/redo08a.log
Current log# 8 seq# 1493 mem# 1: /db01/asdb/asdb/redo08b.log
Successful open of redo thread 2
Mon Jul 23 16:20:42 2012
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Mon Jul 23 16:20:42 2012
SMON: enabling cache recovery
Mon Jul 23 16:20:42 2012
Successfully onlined Undo Tablespace 5.
Mon Jul 23 16:20:42 2012
SMON: enabling tx recovery
Mon Jul 23 16:20:43 2012
Database Characterset is AL32UTF8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=24, OS id=29088
Mon Jul 23 16:20:46 2012
Completed: ALTER DATABASE OPENPlease suggest
Regards
KKHi ,
I have used the command ifconfig -a
below is the output :
chaning the original IP's with alphabets for security concerns
instance 1:
bash-2.05$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet XY.M.CD.93 netmask ffffff00 broadcast XY.M.CD.255
groupname orapub
bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet XY.M.CD.94 netmask ffffff00 broadcast XY.M.CD.255
bge0:3: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
inet XY.M.CD.151 netmask ffffff00 broadcast XY.M.CD.255
bge1: flags=39040803<UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY> mtu 1500 index 3
inet XY.M.CD.95 netmask ffffff00 broadcast XY.M.CD.255
groupname orapub
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet ZZ.0.0.1 netmask ff000000 broadcast ZZ.255.255.255
bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 0.0.0.0 netmask 0instance 2:
bash-2.05$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet XY.M.CD.96 netmask ffffff00 broadcast XY.M.CD.255
groupname orapub
bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet XY.M.CD.97 netmask ffffff00 broadcast XY.M.CD.255
bge0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
inet XY.M.CD.152 netmask ffffff00 broadcast XY.M.CD.255
bge1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
inet XY.M.CD.98 netmask ffffff00 broadcast XY.M.CD.255
groupname orapub
bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 0.0.0.0 netmask ff000000
bge3:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 10.0.0.3 netmask ff000000 broadcast ZZ.255.255.255Regards -
Node Manager not starting servicess after server reboot
We have WLS 10.1.3.5 with IDM/OAM(two domains in same server as its TEST environment) on Oracle Linux 5(64bit),when ever server reboots node manger is not starting managed servers.
I have enabled CrashRecoveryEnabled=true
Here is nodemanager.properties.
[oracle@oam nodemanager]$ cat nodemanager.properties
#Changed NM Listen Port
#Tue Mar 05 03:12:20 IST 2013
DomainsFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
LogLimit=0
DomainsDirRemoteSharingEnabled=false
PropertiesVersion=10.3
AuthenticationEnabled=true
NodeManagerHome=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager
javaHome=/u01/Oracle/Middleware/jdk160_24
JavaHome=/u01/Oracle/Middleware/jdk160_24/jre
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.sh
ListenAddress=
NativeVersionEnabled=true
ListenPort=5556
LogToStderr=true
SecureListener=false
LogCount=1
StopScriptEnabled=false
DomainRegistrationEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=true
StartScriptEnabled=true
LogFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50
here is my domain information in server.
=========================
[oracle@oam nodemanager]$ cat nodemanager.domains
#Domains and directories created by Configuration Wizard
#Tue Mar 05 05:24:37 IST 2013
OAMDomain=/u01/Oracle/Middleware/user_projects/domains/OAMDomain
IDMDomain=/u01/Oracle/Middleware/user_projects/domains/IDMDomainHi,
Entries in nodemanager.properties looks fine, but how are you testing this functionality?
If you will stop servers monitored by nodemanager, stop nodemanager and then reboot physical server, on startup if nodemanager is configured as daemon it will start nm process but will do nothing to managed server process.
To test "CrashRecoveryEnabled=true" kill the managed server pid and then stop/kill nodemanager process. Then perform physical server reboot, now if nm is configured as daemon process server reboot will start nodemanager. Once NM is up first thing it check is the server it was monitoring earlier and if under directory $WL_HOME/servers/<server>/data/nodemanager it finds "pid" and "lck" file it checks if that pid exists and if not then go for a restart of weblogic server instance.
This has worked for me...!
Thanks,
Ranjan
http://www.middlewaresupport.wordpress.com -
After a server reboot - How to ensure Database starts automatically
Hi all,
I have an Oracle9i database on Solaris 8. The Solaris server is a bit unstable at the moment ans sometimes reboots itself. I set the last column in the oratab file to Y (on Solaris, it's in /var/opt/oracle/oratab), but Oracle still doesn't automatically start after a reboot.
Does anyone know of any other settings that will enable the DB to auto-restart after a reboot?
RegardsFor Auto Startup and Shutdown of Database and Listener
1)
Login as root and modify /etc/oratab file and change last character to Y for apropriate database.
ORCL:/opt/oracle/111:Y
-------->> before changing it should look like ORCL:/opt/oracle/111:N
2)
As root user create new file "oracle" (init script for startup and shutdown the database) in /etc/init.d/ directory with following content:
#!/bin/bash
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
# chkconfig: 35 80 30
# description: Oracle Database startup script
# Source function library.
. /etc/rc.d/init.d/functions
ORACLE_OWNER="oracle"
ORACLE_HOME="/opt/oracle/111"
case "$1" in
start)
echo -n $"Starting Oracle DB:"
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
echo "OK"
stop)
echo -n $"Stopping Oracle DB:"
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
echo "OK"
echo $"Usage: $0 {start|stop}"
esac
3)
Execute (as root) following commands (First script change the permissions, second script is configuring execution for specific runlevels):
chmod 750 /etc/init.d/oracle
chkconfig add oracle level 035 -
Auto start emctl dbconsole on server reboots...
Hi All,
I am using Linux 5.3 Os and 10g (10.2.0.4) version of database.
I configured listener,db service and emctl service in auto start mode, means if my server gets rebooted then all these service should be up and running automatically.
this script is working fine but the issue is with "emctl" status.
after server reboots if I check emctl console through the url of "https://localhost:1158/em, then it is working .
but If I check manually this service through "emctl status dbconsole" it display as "not running", if I am going to start through "emctl start dbconsole" it display is already running.
now my question is: if this console is already up and running on machine reboots then why it disaply as "not running" when I check manually.
can any one suggest me?
Thanks,
Jigisha...Hi,
Have a look at the following threads.
Autostart of Services
Re: Autostart of Services
Auto Start Oracle Services didn't work
Re: Auto Start Oracle Services didn't work
Regards,
Hussein -
Error configuring and starting Managed Server in WebLogic 10.3
Hi,
I am able to configure and start the Managed Server on windows environment. I am trying to configure Managed Server on linux environment. I am configuring the Managed Server with custom keystore. When I configured the Managed Server I specified the keystore/trustsote information in the Keystores tab of the Admin Console for Managed Server settings. Specified Private Key Alias, Password in SSL tab.But when I am starting the Managed Server from command line, I see the process looking for demo trust files and failing.
Here is the command I run to start the Managed Server:
./startManagedWebLogic.sh MyManagedServer1 https://localhost.localdomain:8443
Below is the console output:
<Mar 11, 2015 12:37:44 PM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>
<Mar 11, 2015 12:37:45 PM PDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:beaadmin
Enter password to boot WebLogic server:
<Mar 11, 2015 12:37:53 PM PDT> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/wlserver_10.3/server/lib/DemoTrust.jks.>
<Mar 11, 2015 12:37:53 PM PDT> <Error> <Security> <BEA-090132> <Could not open the keystore file /opt/wlserver_10.3/server/lib/DemoTrust.jks for read access. Exception: java.io.FileNotFoundException: /opt/wlserver_10.3/server/lib/DemoTrust.jks (No such file or directory)>
<Mar 11, 2015 12:37:53 PM PDT> <Warning> <Security> <BEA-090164> <Failed to load trusted certificates from keystore /opt/wlserver_10.3/server/lib/DemoTrust.jks of type jks>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/jre1.6.0_45/lib/security/cacerts.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Mar 11, 2015 12:37:53 PM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:55 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:55 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
<Mar 11, 2015 12:37:55 PM PDT> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at https://localhost.localdomain:8443.>
<Mar 11, 2015 12:37:55 PM PDT> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<Mar 11, 2015 12:37:55 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 11, 2015 12:37:55 PM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Mar 11, 2015 12:37:55 PM PDT> <Notice> <LoggingService> <BEA-320400> <The log file /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<Mar 11, 2015 12:37:55 PM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log00015. Log messages will continue to be logged in /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log.>
<Mar 11, 2015 12:37:55 PM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log is opened. All server side log events will be written to this file.>
<Mar 11, 2015 12:37:56 PM PDT> <Error> <Security> <BEA-000000> <[Security:090837]The configured keystore location for the PKI Credential Mapper is either null or empty.>
<Mar 11, 2015 12:37:56 PM PDT> <Error> <Security> <BEA-000000> <[Security:090815]The password provided for the keystore configured for the PKICredential Mapper was null.>
<Mar 11, 2015 12:37:57 PM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 11, 2015 12:37:57 PM PDT> <Critical> <Security> <BEA-090403> <Authentication for user beaadmin denied>
<Mar 11, 2015 12:37:57 PM PDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user beaadmin denied
weblogic.security.SecurityInitializationException: Authentication for user beaadmin denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User beaadmin weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<Mar 11, 2015 12:37:57 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Mar 11, 2015 12:37:57 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Mar 11, 2015 12:37:57 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
Why is it looking for demotrust.jks file to start the Managed Server. We don't use the demo trust and cannot copy to the location it is referring to. I followed the solution provided at the below link:
http://serverfault.com/questions/106499/custom-trust-and-custom-identity-keystore-in-weblogic-10-3
There are 2 options given in the link. To update the boot.properties of the Admin Server and appending JAVA_OPTIONS to DomainEnv file. Both of these caused the failure of Admin Server. I couldn't bring up the server after these changes.I also came across posts talking about boot.properties for Managed Server. I don't see the security folder that has boot.properties for my Managed Server (verified it on both windows and linux boxes).
Thanks in advance.
-nn.Hi Faisal,
Here is the config.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd"
xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security"
xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<name>JCRMDomain</name>
<domain-version>10.3.4.0</domain-version>
<security-configuration xmlns:xacml="http://xmlns.oracle.com/weblogic/security/xacml">
<name>JCRMDomain</name>
<realm>
<sec:authentication-provider xsi:type="wls:default-authenticatorType">
<sec:control-flag>SUFFICIENT</sec:control-flag>
</sec:authentication-provider>
<sec:authentication-provider xmlns:ext="http://xmlns.oracle.com/weblogic/security/extension" xsi:type="ext:jcrm-authenticatorType">
<sec:name>JcrmAuthenticator</sec:name>
<sec:control-flag>SUFFICIENT</sec:control-flag>
</sec:authentication-provider>
<sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
<sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
<sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
<sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
<sec:credential-mapper xsi:type="wls:pki-credential-mapperType">
<sec:name>PKICredentialMapper</sec:name>
</sec:credential-mapper>
<sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
<sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
<sec:user-lockout-manager>
<sec:lockout-threshold>3</sec:lockout-threshold>
<sec:lockout-duration>15</sec:lockout-duration>
<sec:lockout-reset-duration>99999</sec:lockout-reset-duration>
</sec:user-lockout-manager>
<sec:deploy-role-ignored>false</sec:deploy-role-ignored>
<sec:deploy-policy-ignored>false</sec:deploy-policy-ignored>
<sec:fully-delegate-authorization>true</sec:fully-delegate-authorization>
<sec:security-dd-model>DDOnly</sec:security-dd-model>
<sec:combined-role-mapping-enabled>true</sec:combined-role-mapping-enabled>
<sec:name>myrealm</sec:name>
<sec:delegate-m-bean-authorization>false</sec:delegate-m-bean-authorization>
<sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator"
xsi:type="pas:system-password-validatorType">
<sec:name>JCRMPasswordValidator</sec:name>
<pas:max-password-length>31</pas:max-password-length>
<pas:min-password-length>15</pas:min-password-length>
<pas:min-numeric-characters>2</pas:min-numeric-characters>
<pas:min-lowercase-characters>2</pas:min-lowercase-characters>
<pas:min-uppercase-characters>2</pas:min-uppercase-characters>
<pas:min-non-alphanumeric-characters>2</pas:min-non-alphanumeric-characters>
</sec:password-validator>
<sec:deployable-provider-synchronization-enabled>false</sec:deployable-provider-synchronization-enabled>
</realm>
<default-realm>myrealm</default-realm>
<credential-encrypted>{AES}cpwhv2peqwl0Z8Ma1Jk7KlmC6d1gtCAqxnzrmR5ssybHpM9AUzbBRJ7rE7m4/7U16IHgsTMkcOr/5/abZJ4NeuHR45jdDK1EjFmnUuPssISmGkan3EIpCKHmPPIynVxh</credential-encrypted>
<node-manager-username>wdUXiuwL5A</node-manager-username>
<node-manager-password-encrypted>{AES}UDiZjaLOrm0y+/I9noQVURudpzmRKMBOQR2B8ofNIt8=</node-manager-password-encrypted>
</security-configuration>
<server>
<name>AdminServer</name>
<max-http-message-size>10000000</max-http-message-size>
<ssl>
<name>AdminServer</name>
<enabled>true</enabled>
<hostname-verifier xsi:nil="true"></hostname-verifier>
<hostname-verification-ignored>true</hostname-verification-ignored>
<client-certificate-enforced>false</client-certificate-enforced>
<listen-port>8443</listen-port>
<two-way-ssl-enabled>true</two-way-ssl-enabled>
<server-private-key-alias>localhost.localdomain</server-private-key-alias>
<server-private-key-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</server-private-key-pass-phrase-encrypted>
<ssl-rejection-logging-enabled>true</ssl-rejection-logging-enabled>
<allow-unencrypted-null-cipher>false</allow-unencrypted-null-cipher>
<use-server-certs>true</use-server-certs>
<jsse-enabled>true</jsse-enabled>
</ssl>
<listen-port-enabled>false</listen-port-enabled>
<web-server>
<keep-alive-secs>60</keep-alive-secs>
<https-keep-alive-secs>60</https-keep-alive-secs>
</web-server>
<listen-address/>
<java-compiler>javac</java-compiler>
<tunneling-enabled>true</tunneling-enabled>
<tunneling-client-ping-secs>45</tunneling-client-ping-secs>
<tunneling-client-timeout-secs>40</tunneling-client-timeout-secs>
<client-cert-proxy-enabled>false</client-cert-proxy-enabled>
<key-stores>CustomIdentityAndCustomTrust</key-stores>
<custom-identity-key-store-file-name>certstores/keystore</custom-identity-key-store-file-name>
<custom-identity-key-store-type>JKS</custom-identity-key-store-type>
<custom-identity-key-store-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</custom-identity-key-store-pass-phrase-encrypted>
<custom-trust-key-store-file-name>certstores/truststore</custom-trust-key-store-file-name>
<custom-trust-key-store-type>JKS</custom-trust-key-store-type>
<custom-trust-key-store-pass-phrase-encrypted>{AES}uSkLzfC74bMCEjomgVdHtVw47iZg8BN71g7cdKr+XHo=</custom-trust-key-store-pass-phrase-encrypted>
<overload-protection>
<panic-action>system-exit</panic-action>
<failure-action>force-shutdown</failure-action>
<server-failure-trigger>
<max-stuck-thread-time>600</max-stuck-thread-time>
<stuck-thread-count>3</stuck-thread-count>
</server-failure-trigger>
</overload-protection>
</server>
<server>
<name>MyManagedServer1</name>
<ssl>
<enabled>true</enabled>
<listen-port>8445</listen-port>
<server-private-key-alias>localhost.localdomain</server-private-key-alias>
<server-private-key-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</server-private-key-pass-phrase-encrypted>
</ssl>
<machine xsi:nil="true"></machine>
<listen-port>8444</listen-port>
<listen-port-enabled>true</listen-port-enabled>
<cluster xsi:nil="true"></cluster>
<web-server>
<web-server-log>
<number-of-files-limited>false</number-of-files-limited>
</web-server-log>
</web-server>
<listen-address></listen-address>
<key-stores>CustomIdentityAndCustomTrust</key-stores>
<custom-identity-key-store-file-name>certstores/keystore</custom-identity-key-store-file-name>
<custom-identity-key-store-type>JKS</custom-identity-key-store-type>
<custom-identity-key-store-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</custom-identity-key-store-pass-phrase-encrypted>
<custom-trust-key-store-file-name>certstores/truststore</custom-trust-key-store-file-name>
<custom-trust-key-store-type>JKS</custom-trust-key-store-type>
<custom-trust-key-store-pass-phrase-encrypted>{AES}uSkLzfC74bMCEjomgVdHtVw47iZg8BN71g7cdKr+XHo=</custom-trust-key-store-pass-phrase-encrypted>
<data-source>
<rmi-jdbc-security xsi:nil="true"></rmi-jdbc-security>
</data-source>
</server>
<production-mode-enabled>false</production-mode-enabled>
<embedded-ldap>
<name>JCRMDomain</name>
<credential-encrypted>{AES}LNAnq4qCQQmy9rCOMN+uIZVPq1bVvPrwQqqtOScZrnYmwESt9aruHNVy4IjqMWz7</credential-encrypted>
</embedded-ldap>
<administration-port-enabled>true</administration-port-enabled>
<configuration-version>10.3.4.0</configuration-version>
<admin-server-name>AdminServer</admin-server-name>
</domain>
It has 'CustomIdentityAndCustomTrust' for both Admin Server as well as managed Server in it.
Thanks,
nn
Maybe you are looking for
-
Cannot have multiple users logged in at once on a single client computer
I am running OSX 10.6 Snow Leopard Server on a Mac Pro, and have two iMacs (27.5") as clients in my workgroup. Computer A : Server Computer B, C : Client machines The problem is that when user1 is logged onto the server network drive (/Network/Server
-
Let addon run even after browser window is closed.
I want to use this addon - "Pushbullet" even after the browser window is closed. Such an option was available in Chrome when I used it last. I migrated to Firefox recently, and would like to know how to implement the same here. Thanks, Raj
-
I will soon be using my MBP (2GHZ, Core Duo, 1GB) for recording work in a Studio Composition major at school. When I bought my computer this past summer, Apple told me 1 GB of RAM would be a good amount for me. I think I will be running protools most
-
Why Songs duplicated - downloaded and shown as itunes in the clouds
Just downloaded iTunes 11. Approx 400 songs are shown with the cloud. I understand that it represents songs bought on other devices but not yet downloaded on the PC. But thats not the case.Each of the songs had been previously downloaded and therefor
-
Suffering an complie error when trying to compile java class in EBS11i
Hi, When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message: package javax.servlet does not exist cannot resolve symbol symbol : class HttpServletResponse It seems the javax.servlet p