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
Similar Messages
-
VM auto start in a single server pool with only local hard disk repository
I searched the forum but can't find anything similar.
Basically, part of the dev environment I have is just starting to use Oracle VM to have a nice centralized place to manage the VMs and managed server.
Those environment doesn't have shared storage and all VMs are stored under local hard disk. (as just having several VMs to share the resource in a single server)
So there is only one server in the server pool.
What should be the best way to set up VM auto-start when this single server is rebooting or start from boot up?
Should I just set up a symlink of /OVS/running_pool/vm1/vm.cfg to /etc/xen/auto/vm1.cfg ?
(p.s. I can't set up HA mode in the single server pool since this is ocfs2.local, it will fail)
Thx in advance.After some testing, I'm now using a traditional way (for single server with local repository)
auto start VM in dom0 during server starts up:
ln -s /OVS/running_pool/vmname/vm.cfg /etc/xen/auto/vmname
auto shutdown VM in dom0 during server shut down:
- edit /etc/sysconfig/xendomains
change the line:
XENDOMAINS_SAVE=/var/lib/xen/save
to
XENDOMAINS_SAVE=
I also change XENDOMAINS_RESTORE from true to false
Now when I need to reboot/power down the server via OVM, I can just go ahead and do it without migrating..and xendomains will shutdown all my VMs and start them up next time. -
Auto-start application on Container/Server restart
What's the easiest was to have the container auto-launch a specific application whenever it is started/restarted? I assume this would also happen if the entire server were rtestarted?
_mikeHello,
If you put a server in your project and you put the servlet at auto-start your application will start automatically when the server will start.
To do that you just have to use the element:
<load-on-startup>1</load-on-startup>
in the servlet tag.
server.xml:
<application name="foo" path="../applications/foo.ear" auto-start="true" />
http-web-site.xml:
<web-app application="foo" name="foo-web" load-on-startup="true" root="/foo" />
Regards
Tugdual Grall -
Auto-start OC4J process after Linux reboot
Oracle 11gR2, OC4J 10g (10.1.3.5.0), RHEL5 64 bit
Hi All,
I am trying to figure out how to get my oc4j process start at boot time. I already have a dbora script setup. I tried adding the following line to my dbora/dbstart script but it did not do anything:
#!/bin/sh
# chkconfig: 345 99 10
description: Oracle auto start-stop script.
ORACLE_OC4J_HOME=/u02/oc4j
JAVA_HOME=/usr/java/jdk1.6.0_21/
su - $ORACLE_OWNER -c "$ORACLE_OC4J_HOME/bin/oc4j -start"
I read somewhere that I may need to put the entire path like:
/usr/bin/java -jar /path/to/oc4j.jar &
Just not sure where and how to put that path in the file.
Thanks for your help all.
JrOraDBAHi,
To run oc4j in the background, on Linux
Execute the following command:
nohup ./oc4j -start &
to run oc4j in the background. The 'nohup' command ignores the hangup signal (closing the terminal window) and enables oc4j to continue running in the background.
In rare cases, oc4j will not shutdown cleanly with the standard command:
./oc4j -shutdown -port 23791 -oc4jadmin <admin_pwd>
In those cases, try the following command:
java -jar admin_client.jar deployer:oc4j:localhost oc4jadmin <admin_pwd> -shutdown
to stop the oc4j service.
Thanks,
Sharmela -
Auto startup of WLS on server reboot
I need to know if there is a way to get the WLS 8.1 (SP2) to start automatically
on reboot of a
Solaris 2.9 V280 server. It looks to me that a console window has to be "up"
for the WLS
server to stay up and I'm not sure how this is going to work if I create a S90bea
script
in /etc/rc2.d directory to run the startWebLogic.sh script. Any suggestions?
Thanks in advance.
Larry FitzgeraldI'm not sure I understand your specific problem. Can you provide some details.
WLS does not require its admin console to be running, and it can be run in the background. (ie started via nohup from an init script.)
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Auto starting iTines on OS X tiiger server
Hi,
I'm running iTunes on my Tiger server under the Admin user. 99.9% of the time I don;t actually listen to music from the admin user, I use either the AppleTV downstairs or the mac mini in the back room.
question- I always have to log on as admin and start iTunes and have it displayed on the monitor before either the AppleTV or mac mini can talk to it. If i minimize iTunes on the server, i get a "cannot connect" message on either of the other two devices.
How can i auto start iTunes on the server when it boots up so that the other devices can talk to it without me having to login and fire it up explicitly?
TIA
alexI'm not too familiar with server and I'm not sure if there's a way to auto login. you could look in system preferences. But I'm fairly sure under system preferences there is a "login items." You can add iTunes there and it will launch when you login.
-
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 muchgeeter 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. -
Auto start CLS on server reboot?
I've found that while I leave CLS running with the AlwaysOn scenario it won't resume operation after a server reboot, say for maintenance or other action. Besides setting up some kind of Powershell scheduled task that runs on boot is there a way to enable
CLS to run automatically when the server starts up? That way we can reliably have logging enabled on the server during all of its uptime.Hi,
Which startup type did you set for Lync Server Centralized Logging Service Agent? If you set to Automatic you can try to change to Automatic (Delayed Start) restart server and wait minutes to have a test.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
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 -
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 -
Automatically start VMs after server reboot
Hello,
I use a OVM server (3.0.3) without clustering, and I'm doing failure simulations before going to production.
When the server reboots after a electrical failure, all VM are in "offline" state, and I need to acknowledge all events before be able to start them (thanks the forum for this information).
I would like to automatically boot the VM after the reboot, is there a way to do this ?
Thanks,
TMHave you tried to put a symlink to the vm.cfg in /etc/xen/auto? That works independent of VM Manager. I beleive VM Manager will update the machine to running in that situation. If not, at least your machines are running while you sort out the problems with VM Manager.
ln -s /OVS/Repository/<repositoryUUID>/VirtualMachines/<vmUUID>/vm.cfg /etc/xen/auto/<simplename>
Where repositoryUUID (hopefully the only one because the manager doesn't display it)
vmUUID shows as ID on the Info page for the VM
simplename is any name you like. I chose the name that shows as Name on the machine's Info page.
Let us know if the Manager figures it out OK or if you have to jump through some hoops to get it to show "running" for these VMs. -
Auto start bi services on reboot
Any suggestions on the best way to auto start the BI services like OC4J, SAW, SA, Scheduler using scripting when the server is reboot? Maybe include a delay between each and check each service is up.
/apps/OracleBI/setup/
nohup ./oc4j -start > nohup_oc4j_start.out &
./run-sa.sh start
./run-saw.sh start
./run-sch.sh start
Thanks for the help!!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 -
Oracle8i on Windows 2000 Server - Oracle Instance don't auto start
I've installed the Oracle 8.1.7 on a Dell Pentium III server running Windows 2000 Server operational system. During the installation the Oracle Instance was started up, but after I reboot the computer, the Oracle Listener service and the Oracle service was started in automatic mode but the Oracle Instance do not started though.
My Oracle DBA teacher ask me to run Oradim and edit the Oracle configuration startup parameters. I did, but it didn't solve the problem. The values on Windows registry of the ORA_<SID>_AUTOSTART key is "true". The Dba Studio also gets information form the Oracle server and all the fields seems to be correct with auto-start option, but it didn't work out.
Can someone point me to any text I can read about installation troubles on Windows 2000 Server ?
Thanks in advance.
Jayme.Hi
I don't have an 8i db to test on but I think it works the same as on 9i.
Check the following parameters in your registry in the key HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0:
ORA_<YOUR_SID>_AUTOSTART=TRUE
ORA_<YOUR_SID>_PFILE=<full path and file name of your init file> -
Its really rare that i am able so autostart my infrastructure and middle tier( both on same server) at system startup. I dont know with i do something wrong or is there problem with appserver
Right now i have autostart disabled but now i am facing aanother problem. I started listener and then asdb (infrastructure database) and opmn is showing status of HTTP_server as BOUNCE, before this i used emctl start iasconsole command which started my enterprose manager and also started all opmn managed processes but startus of my HTTP_Server was "Stop" and it was not working, i restarted my server and now before startign iasconsole i started opmn using "opmnctl start" command and then when i look at the status of all components, all are down but status of HTTP_Server is "Bounce"
How to solve this.
should i use some other method to start all components ?
RegardsHi,
i have posted the script i use to start application server 10g (9.0.4) after server reboot in this post
Oracle App Server Recovery process after System restrat
have a look
Best Regards
Rui Madaleno -
Issue with starting the emctl dbconsole
Hello All,
I need your help related to the below issue with the emctl, I am using Oracle 11g R2 on windows XP.
My enterprise manager was working well.
But at some day i was not able to start the dbconsole with error net msg
A service specific error occurred: 1.
More help is available by typing NET HELPMSG 3547.
I fixed the issue by modifying the file : C:\app\oracle\product\11.2.0\dbhome_1\VirtualXP-20239_windb\sysman\config
agentTZRegion=+03:00 instead of agentTZRegion=Europe/Minsk
But again i faced an issue that localhost_windb is not found so i made a new copy of the folder VirtualXP-20239_windb but with name localhost_windb.
Now the emctl start dbconsole is working with result sucsseful
but the emctl staus dbconsole returning that the enterprise manager 11g is not running and i am not able to access my EM.
Any solution..
your help plsHello
It looks like the name of your host has been changed. Have you changed the hostname intentionally or do you use DHCP service for naming your system? You should use a static IP and hostname for DB system (please refer to installation requirements).
If your hostname has been changed, DBControl needs to be dropped and re-created.
Please read MOS [ID 467598.1] The Database Console Fails to Start After a Change in the Hostname:
Please read MOS [ID 278100.1] How To Drop, Create And Recreate DB Control In A 10g/11g Database
Regards
Gokhan
Maybe you are looking for
-
Can anyone help me understand how PhotoStream works on older Macs (that are not compatible with iCloud)? I recently started sharing photos from my MacBookPro (OS 10.7.5) and my OS devices. Family members who have newer Macs and/or OS devices can acc
-
I'm putting together a slide show/movie - All looks well on the laptop. but when I show on a TV the colors esp. the reds just explode... What to do? Thank you I'm sure it's something to do with the differences... and a simple setting but I can'f find
-
I have a question about the capabilities of WSIF Bindings. In our current environment we have several session beans that we want to invoke from a BPEL process. We would like to invoke the session bean using a local interface and not the remotee inter
-
Item level Workflow Hold..
Hi, i am working an item-level SC workflow ( WS14500015 ). i would like to know is there any way to hold the last step which in workflow template is using for create follow on document in backend system, until i will recieve some text data from th
-
is there a way other than using those compilers to ocnvert class files to exe files? thanx