Unable to run Fortune sample after server reboot
Hi,
I have installed Application server 6.5 on Solaris 9. After installation, I am able to run the fortune sample to verify success installation.
However, after server reboot, I am not able to drun the fortune sample again. Access log on Iplanet web server shows error code 504. Can anyone help me?
Thanks.
The above steps resolved the problem - This is posted in case someone else suffers from the same issue.
Similar Messages
-
Unable to run the local bussiness server - Error during startup of BPA
When i installed the BPA tool and started the 'LOCAL' server in oracle BPA Network. I am getting an error saying 'Unable to run the local bussiness server'. Then i checked the log and found the foolowing errors. Please suggest !
LoG File 1:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2009-03-10 22:18:53,199 [ ARIS Server Site Startup process ]
2009-03-10 22:18:53,199
2009-03-10 22:18:53,324 Started profile Private@17057
2009-03-10 22:18:53,324 Started profile Public@17055
2009-03-10 22:18:53,324 Started profile Agent@17058
2009-03-10 22:18:53,339
2009-03-10 22:18:53,339 Starting ARIS Nameservice 10.1.3.4.271679(Public)
2009-03-10 22:18:53,339
2009-03-10 22:18:53,339 Starting ARIS Eventservice 10.1.3.4.271679(Private)
2009-03-10 22:18:53,355
2009-03-10 22:18:53,355 Starting ARIS Nameservice 10.1.3.4.271679(Private)
2009-03-10 22:18:53,355
2009-03-10 22:18:53,355 Starting DB event initialisation 10.1.3.4.271679(Private)
2009-03-10 22:18:53,417 - event channel is created
2009-03-10 22:18:53,433
2009-03-10 22:18:53,433 Starting Aris LockService 10.1.3.4.271679(Private)
2009-03-10 22:18:53,433 - using mapping 'com.idsscheer.aris.server.dl.mapimpl.ora.AMapping'
2009-03-10 22:18:53,448 - using url 'jdbc:oracle:thin:@LOCALHOST:1521:orcl'
2009-03-10 22:21:53,459 Launch of Aris LockService failed!
2009-03-10 22:21:53,459
2009-03-10 22:21:53,459 [ There have been ERRORS, ARIS Server Site is going down ... ]
2009-03-10 22:21:53,459 Terminating ARIS Server Site ...
2009-03-10 22:21:53,459 Shutting down DB event initialisation ...
2009-03-10 22:21:53,475 Shutting down ARIS Nameservice ...
2009-03-10 22:21:53,475 Shutting down ARIS Eventservice ...
2009-03-10 22:21:53,475 Shutting down ARIS Nameservice ...
2009-03-10 22:21:55,487 ARIS Server Site terminated!
2009-03-10 22:21:55,487
2009-03-10 22:21:55,487 [ ARIS Server Site is down ]
2009-03-10 22:21:55,487
2009-03-10 22:21:58,498 Terminating ARIS Server Site ...
2009-03-10 22:21:58,498 ARIS Server Site terminated!
2009-03-10 22:59:48,606
2009-03-10 22:59:48,606 ARIS Server Site
2009-03-10 22:59:48,606 (c) 2005 IDS Scheer
2009-03-10 22:59:48,606
2009-03-10 22:59:48,606
2009-03-10 22:59:48,606 [ ARIS Server Site Startup process ]
2009-03-10 22:59:48,606
2009-03-10 22:59:48,762 Started profile Private@17057
2009-03-10 22:59:48,762 Started profile Public@17055
2009-03-10 22:59:48,762 Started profile Agent@17058
2009-03-10 22:59:48,762
2009-03-10 22:59:48,762 Starting ARIS Nameservice 10.1.3.4.271679(Public)
2009-03-10 22:59:48,777
2009-03-10 22:59:48,777 Starting ARIS Eventservice 10.1.3.4.271679(Private)
2009-03-10 22:59:48,793
2009-03-10 22:59:48,793 Starting ARIS Nameservice 10.1.3.4.271679(Private)
2009-03-10 22:59:48,793
2009-03-10 22:59:48,793 Starting DB event initialisation 10.1.3.4.271679(Private)
2009-03-10 22:59:48,855 - event channel is created
2009-03-10 22:59:48,855
2009-03-10 22:59:48,871 Starting Aris LockService 10.1.3.4.271679(Private)
2009-03-10 22:59:48,871 - using mapping 'com.idsscheer.aris.server.dl.mapimpl.ora.AMapping'
2009-03-10 22:59:48,887 - using url 'jdbc:oracle:thin:@LOCALHOST:1521:orcl'
2009-03-10 23:02:49,309 Launch of Aris LockService failed!
2009-03-10 23:02:49,309
2009-03-10 23:02:49,309 [ There have been ERRORS, ARIS Server Site is going down ... ]
2009-03-10 23:02:49,309 Terminating ARIS Server Site ...
2009-03-10 23:02:49,309 Shutting down DB event initialisation ...
2009-03-10 23:02:49,309 Shutting down ARIS Nameservice ...
2009-03-10 23:02:49,309 Shutting down ARIS Eventservice ...
2009-03-10 23:02:49,309 Shutting down ARIS Nameservice ...
2009-03-10 23:02:51,321 ARIS Server Site terminated!
2009-03-10 23:02:51,321
2009-03-10 23:02:51,321 [ ARIS Server Site is down ]
2009-03-10 23:02:51,321
2009-03-10 23:02:54,332 Terminating ARIS Server Site ...
2009-03-10 23:02:54,332 ARIS Server Site terminated!
Error Log 2:Exception
2009-03-10 18:19:39,019 com.idsscheer.aris.server.Exceptions - Launch failed!
com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:368)
com.idsscheer.aris.server.common.launch.AFatalLaunchableInitException: Launch of Aris LockService failed!
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:65)
at com.idsscheer.aris.server.launcher.AArisLauncher.startService(AArisLauncher.java:548)
at com.idsscheer.aris.server.launcher.AArisLauncher.startServices(AArisLauncher.java:502)
at com.idsscheer.aris.server.launcher.AArisLauncher.launchAll(AArisLauncher.java:456)
at com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:365)
at com.idsscheer.aris.server.launcher.AArisLauncher.startup(AArisLauncher.java:302)
at com.idsscheer.aris.server.launcher.AArisLauncher.main(AArisLauncher.java:155)
Caused by: java.lang.RuntimeException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:111)
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:63)
... 6 more
Caused by: com.idsscheer.aris.server.dl.ls.core.AFatalInitException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:79)
at com.idsscheer.aris.server.dl.ls.core.logic.ALockServiceFactoryInternal.createLockService(ALockServiceFactoryInternal.java:43)
at com.idsscheer.aris.server.dl.ls.core.ALockServiceFactory.createLockService(ALockServiceFactory.java:22)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:106)
... 7 more
Caused by: com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher$ACannotStartException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.waitUntilServerIsUp(AOraLauncher.java:87)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.startup(AOraLauncher.java:60)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:76)
... 10 more
2009-03-10 18:28:52,307 com.idsscheer.aris.server.Exceptions - Launch failed!
com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:368)
com.idsscheer.aris.server.common.launch.AFatalLaunchableInitException: Launch of Aris LockService failed!
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:65)
at com.idsscheer.aris.server.launcher.AArisLauncher.startService(AArisLauncher.java:548)
at com.idsscheer.aris.server.launcher.AArisLauncher.startServices(AArisLauncher.java:502)
at com.idsscheer.aris.server.launcher.AArisLauncher.launchAll(AArisLauncher.java:456)
at com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:365)
at com.idsscheer.aris.server.launcher.AArisLauncher.startup(AArisLauncher.java:302)
at com.idsscheer.aris.server.launcher.AArisLauncher.main(AArisLauncher.java:155)
Caused by: java.lang.RuntimeException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:111)
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:63)
... 6 more
Caused by: com.idsscheer.aris.server.dl.ls.core.AFatalInitException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:79)
at com.idsscheer.aris.server.dl.ls.core.logic.ALockServiceFactoryInternal.createLockService(ALockServiceFactoryInternal.java:43)
at com.idsscheer.aris.server.dl.ls.core.ALockServiceFactory.createLockService(ALockServiceFactory.java:22)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:106)
... 7 more
Caused by: com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher$ACannotStartException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.waitUntilServerIsUp(AOraLauncher.java:87)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.startup(AOraLauncher.java:60)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:76)
... 10 more
2009-03-10 22:21:53,459 com.idsscheer.aris.server.Exceptions - Launch failed!
com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:368)
com.idsscheer.aris.server.common.launch.AFatalLaunchableInitException: Launch of Aris LockService failed!
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:65)
at com.idsscheer.aris.server.launcher.AArisLauncher.startService(AArisLauncher.java:548)
at com.idsscheer.aris.server.launcher.AArisLauncher.startServices(AArisLauncher.java:502)
at com.idsscheer.aris.server.launcher.AArisLauncher.launchAll(AArisLauncher.java:456)
at com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:365)
at com.idsscheer.aris.server.launcher.AArisLauncher.startup(AArisLauncher.java:302)
at com.idsscheer.aris.server.launcher.AArisLauncher.main(AArisLauncher.java:155)
Caused by: java.lang.RuntimeException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:111)
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:63)
... 6 more
Caused by: com.idsscheer.aris.server.dl.ls.core.AFatalInitException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:79)
at com.idsscheer.aris.server.dl.ls.core.logic.ALockServiceFactoryInternal.createLockService(ALockServiceFactoryInternal.java:43)
at com.idsscheer.aris.server.dl.ls.core.ALockServiceFactory.createLockService(ALockServiceFactory.java:22)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:106)
... 7 more
Caused by: com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher$ACannotStartException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.waitUntilServerIsUp(AOraLauncher.java:87)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.startup(AOraLauncher.java:60)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:76)
... 10 more
2009-03-10 23:02:49,309 com.idsscheer.aris.server.Exceptions - Launch failed!
com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:368)
com.idsscheer.aris.server.common.launch.AFatalLaunchableInitException: Launch of Aris LockService failed!
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:65)
at com.idsscheer.aris.server.launcher.AArisLauncher.startService(AArisLauncher.java:548)
at com.idsscheer.aris.server.launcher.AArisLauncher.startServices(AArisLauncher.java:502)
at com.idsscheer.aris.server.launcher.AArisLauncher.launchAll(AArisLauncher.java:456)
at com.idsscheer.aris.server.launcher.AArisLauncher.trystart(AArisLauncher.java:365)
at com.idsscheer.aris.server.launcher.AArisLauncher.startup(AArisLauncher.java:302)
at com.idsscheer.aris.server.launcher.AArisLauncher.main(AArisLauncher.java:155)
Caused by: java.lang.RuntimeException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:111)
at com.idsscheer.aris.server.launcher.AArisLaunchable.startup(AArisLaunchable.java:63)
... 6 more
Caused by: com.idsscheer.aris.server.dl.ls.core.AFatalInitException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:79)
at com.idsscheer.aris.server.dl.ls.core.logic.ALockServiceFactoryInternal.createLockService(ALockServiceFactoryInternal.java:43)
at com.idsscheer.aris.server.dl.ls.core.ALockServiceFactory.createLockService(ALockServiceFactory.java:22)
at com.idsscheer.aris.server.launcher.ARemoteLockServiceLaunchable$ALaunchableImpl.startup(ARemoteLockServiceLaunchable.java:106)
... 7 more
Caused by: com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher$ACannotStartException: timeout exceeded, cannot connect to database server (url=jdbc:oracle:thin:@LOCALHOST:1521:orcl)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.waitUntilServerIsUp(AOraLauncher.java:87)
at com.idsscheer.aris.server.dl.mapimpl.ora.dblauncher.AOraLauncher.startup(AOraLauncher.java:60)
at com.idsscheer.aris.server.dl.mapimpl.ora.AMapping.startDatabase(AMapping.java:76)
... 10 more
----------------------------------------------------------------------------------------------------------------------------------------------S1:I uninstalled BPA.
S2: I installed BPA again using the default options by selecting all the default options that the BPA showed during installation. EG. I selected 'Oracle Lite' which was by default an option.
S3: After BPA installation, I also installed BPA Publisher which i had not done last time.
S4: Restated my system and it all works gr8 now.
Actually, the BPA Publisher creats a Repository area so it should have been installed along with the BPA installation. And Since a Repository area was not found it was giving this error message again and again.
Now its all fine . Hopefully, some one else will learn from my mistakes. -
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 -
Executing 2nd command after server rebooted & related services started
hi friends
i am creating a PS script containg two lines:
the first line executes dcpromo /unattend:c:\answerfile.txt to create a new domain controller
the second line will disable domain password complexity which is:
set-executionPolicy -identity mydomain.lab -complexityenabled $false -minimumpasslength 5
the problem is i need after first line of the script, executed, server be rebooted & the 2nd line
be executed after server rebooted & whey AD services started, this script continue to run the next line.
is it ossible in powershell?
thanks in advancedYou won't be able to do that in the same script.
You can use a second script that waits for the AD services to start, and then sets the password policies and run that script after the restart using the RunServicesOnce key:
https://support.microsoft.com/kb/179365?wa=wsignin1.0
Use the first script to set that key and then do the restart after the DC promo is finished.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
hi again. thanks
in addition i found that the powershell workflow is better way to that
regards -
Call park music on hold reverts to default after server reboot
Hello,
We are noticing that if you define Music on hold for the Park service, the call park music on hold reverts to default sound after server reboot. (all systems we've tested do this)
Anyone using park music on hold that can verify one way or the other?
Thanks,
+Say thanks and observe basic forum courtesy:
+If this post answered your question, Mark As Answer
+If this post was helpful, Vote as Helpful
windowspbx blog: my thots/howtos
see/submit Lync suggestions here: simple and publicWe have tested it and we have the same result. Hope the next update will resolve this problem.
-
Databases are not coming up after server reboot(sun solaris).
Hi
OS - Sun OS 5.10 local zone. RDBMS version - 11.2.0.3
Databases are not coming up after server reboot.
We have verified the below points.
Cat/etc/init.d/oracle
$ORACLE_HOME/bin/oradism file permissions are 4550.
lock_sga is parameter set to false.
cat /var/opt/oracle/oratab entries are set to Y
Still Databases are not coming up after server reboot.
Please advise.Hi,
Can you post further information from alert log. Doesn't coming up, means you needs to share the information some thing about your environmente settings about kernel parameter and init$ORACLE_SID parameters details.
That would be easy for others to look into it further to analyze things.
- Pavan Kumar N -
Unable to bring up crs on rac node 2 after server reboot
Hi,
We have a 2 node rac architecture. We are only able to bring up Node 1 on the cluster, whereas node 2 is failing. Here are some points::
1. After the server reboot, node 2 crs crs/resources weren't starting up apart from OHAS.
2. We again stopped both the CRS and tried bringing up CRS on node 2 initially and succeeded. But now node 1 wasn't coming up.
3. Again brought down both nodes' CRS and tried bringing up CRS on node1 and succeded but asm wasn't showing the Diskgroups. So we changed pfile to include asm_diskstring from ORCL* to /dev/oracleasm/disks and we could lsdg in asm now.So started all the instances from node 1 now. Apart from this, again node 2 CRS wasn't starting. From alertlog I saw "CRS-1714:Unable to discover any voting files, retrying discovery in 15 seconds;". But we were able to query voting disks initially. What has gone wrong now??
./crsctl status res -t -init
NAME TARGET STATE SERVER STATE_DETAILS
Cluster Resources
ora.asm
1 OFFLINE OFFLINE
ora.cluster_interconnect.haip
1 ONLINE OFFLINE
ora.crf
1 ONLINE ONLINE kusmnd0r
ora.crsd
1 ONLINE OFFLINE
ora.cssd
1 ONLINE OFFLINE STARTING
ora.cssdmonitor
1 ONLINE ONLINE kusmnd0r
ora.ctssd
1 ONLINE OFFLINE
ora.diskmon
1 OFFLINE OFFLINE
ora.evmd
1 ONLINE OFFLINE
ora.gipcd
1 ONLINE ONLINE kusmnd0r
ora.gpnpd
1 ONLINE ONLINE kusmnd0r
ora.mdnsd
1 ONLINE ONLINE kusmnd0r
This is the history of activitites. Kindly someone throw light on this please.
Thanks,
Anirban.It is on a raw device.
Healthy node::
ls -ltrh /dev/vote*
brw-rw---- 1 crsdwqa dbadwqa 120, 1057 Nov 6 11:32 /dev/vote3
brw-rw---- 1 crsdwqa dbadwqa 120, 1025 Nov 6 11:32 /dev/vote1
brw-rw---- 1 crsdwqa dbadwqa 120, 1041 Nov 6 11:32 /dev/vote2
Affected Node::
ls -ltrh /dev/vote*
brw-rw-r-- 1 crsdwqa dbadwqa 120, 1025 Nov 4 12:06 /dev/vote1
brw-rw-r-- 1 crsdwqa dbadwqa 120, 1041 Nov 4 12:06 /dev/vote2
brw-rw-r-- 1 crsdwqa dbadwqa 120, 1057 Nov 5 04:42 /dev/vote3
Regards,
Anirban. -
How clusterware restarts on automatically after server reboot in 11g R2
Hi,
I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.
Thanks,
Robin.At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/nulland:
[root@rac1 ~]# head /etc/init.d/init.ohasd
#!/bin/sh
# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
# init.ohasd - Control script for the Oracle HA services daemon
# This script is invoked by the init system
ORA_CRS_HOME=/u01/app/11.2.0/grid
export ORA_CRS_HOMEEdited by: P. Forstmann on 11 févr. 2013 18:45 -
Database Down after Server Reboot
Hello
I am getting a weird problem after I reboot my server (windows 2003) where by my database (10.2) does not automatically start. To get it to start I have to go into administrative tools >> services and then manually restart the OracleASMService+ASM (it says it is already running).
Thanks in advance for any Idea's/suggestionsRight;
After rebooting the server and lauching the OEM Database Control it tells me the following:
- Database Instance = Down
- Listener = Up
- Agent Connection to Instance = Failed ORA-12505: TNS:Listener does not currently know of SID given in connect descriptor(DBD ERROR: OCIServerAttach)
In response to your troubleshooting suggestions;
1. alert.log has no new errors logged in the past week
2. As far as I can tell, yes. It says the service (and other associated oracle services) are running
3. No I can not connect to the database with sql*plus (before I restart the OracleASMService+ASM). SQL*Plus errors:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
After I restart the service I can connect without any problems.
4. N/A
I appreciate any help you can offer on this matter.
Regards
Toby -
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. -
Cannot connect to APEX after server reboot
Hi folks,
i hope this is a simple one for someone who knows:
Im using APEX3.2.1 as part of the 11gr2 install on RHEL5.4. I had everything up and running and had started developing a couple of apps. I had to reboot the box and since then i have been unable to connect to any of the APEX front ends. Nothing else has changed apart from the server reboot.......
Please help.
Thanks,
Steven.is it not the embedded pl/sql gateway that is used on the default install? Which is what i used, i never configured it to use apache http server.........
-
Messages - no user is allowed to login after server reboot
Hello all together,
I had to reboot a XServe with Mac OS X 10.8.3 and Server App 2.2.1 installed using the command line because I couldn't connect via ARD anymore at that time and the users couldn't login at all with their OD accounts.
After the reboot no user was able to login to the messages server which wasn't any problem before this reboot. "User ID or password is wrong". The messages service in server.app is running. I restarted it twice without any advance. The passwordservice server log shows up all requests and the passwordservice error log has no entries at all. I couldn't find any related entries in any of the logs I searched in, especially not in the system.log.
The users trying to login are local network users which are allowed to use this service and are all members of one group which is also allowed to use this service.
If I turn the messages service off and try it again I get the same error. Therefor I can't even say if the service is definitely running but port 5223 is opened.
Any suggestions?
I really appreciate your help!
Kind regards,
ragob66Hello,
for information purposes:
A second server reboot resolves this issue!
Thanks!
Kind regards,
ragob66 -
AV Agent and OS Collector after server reboot
We are using Oracle AV Server and AV Agent on version 10.2.0.3.2 with Bundle Patch #1.
If the target server reboots, both AV agent and OS Aud collector does not come up automatically ?
Is that a normal behavior ? or we have to do some modifications to get it automatically started.
Appreciate your guidance.
Thanks,
ViralYou could put it as a startup script, but there isn't anything already written. I call a cron script every hour to make sure that the collectors and agent is up. We had to setup trusted connections from the avagent -> avserver to start the collectors:
This is on the agent server. We call it every hour from cron.
#!/bin/ksh
export ORACLE_HOME=<you set>
export LD_LIBRARY_PATH_64=<you set>
export LD_LIBRARY_PATH=<you set>
export PATH=/bin:/usr/local/bin:/usr/bin:${ORACLE_HOME}/bin
export collector_info="<yer collector name 1>:<yer source name 1>
<yer collector name 2>:<yer source name 2>"
start_av () {
# See if av agent is running
avctl show_oc4j_status | grep not
export exit_status=${?}
# If it is not running then start it
if [ ${exit_status} -eq 0 ]; then
echo "Starting AV agent"
avctl start_oc4j
else
echo "AV agent is already running"
fi
start_collector () {
export collector_name=$1
export source_name=$2
# The collector needs to be started from the home av box
ssh <yer av server ip> /home/oracle/sh/start_collector.sh ${collector_name} ${source_name}
export exit_status=$?
if [ ${exit_status} -eq 0 ]; then
echo "The collector ${collector_name} for ${source_name} was started"
elif [ ${exit_status} -eq 99 ]; then
echo "The collector ${collector_name} for ${source_name} was already running"
else
echo "The collector ${collector_name} for ${source_name} may have an issue"
fi
start_av
for i in ${collector_info}; do
collector_name=`echo $i | awk '{ FS=":" }{ print $1 }'`
source_name=`echo $i | awk '{ FS=":" }{ print $2 }'`
start_collector ${collector_name} ${source_name}
doneThis is on your av server start_collector.sh
export ORACLE_SID=<yer sid>
export ORAENV_ASK=NO
. /usr/local/bin/oraenv 1>/dev/null 2>/dev/null
export collector_name=$1
export source_name=$2
export exit_collector_already_running=99
start_collector () {
#Check to see if the collector is already running
avctl show_collector_status \
-collname $collector_name \
-srcname $source_name \
| grep not
export exit_status=$?
# If the collector is not running then start it
if [ $exit_status -eq 0 ]; then
avctl start_collector \
-collname $collector_name \
-srcname $source_name
else
# Exit with a status that the collector is already running
exit $exit_collector_already_running
fi
start_collector -
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.... -
Users have to enter licence server name after server reboot
Hi all,
After every reboot of their server, every users of my customer have to enter the licence server name to be able to connect to SAP. Any idea why it's happening ? Is their a file where the name of the server is saved which could be deleted ?
Thanks
Charles FromentHi
did you change the IP address?
did you change any hardware piece in the server?
In the client you can find a file called b1-current-user.xml in Application Data\SAP\SAP Business One folder.
Open this file, and if it corrupted delete it. SBO will create another with the right configuration.
Kind regards
Agustín Marcos Cividanes
Maybe you are looking for
-
Scheduling Agreement Output NEU
Hello Friends, We have used the standard SAP output type NEU for SA( Scheduling Agreement ) output. And we are sending the output via email to vendor in PDF format. Now the issue is as per standard SAP whenever SA is generated SAP is sending the enti
-
Old generation Apple TV loses wireless connection
I have an older gen Apple TV (silver). Recently it upgraded the software...can't remember if it's ever been updated prior to that. I've had it for at least 3 years...no problems connecting to the internet. Now it loses connection once per day...go
-
I'm new to xcode, so I don't really know how to use much of it, so here's my problem: I started a fairly simple project with version 2.0 (came with tiger) and I got about half way through and it was working great. Then I realized that it wasn't unive
-
Need to download and install CS6.
I purchased Adobe Design and Web Premium CS6 and installed on my older computer. I now have a newer computer and wish to move the installation. I de-authorized the old computer. I downloaded the Design and Web Premium software from Adobe's site.
-
DataGrid sort efficiency questions
Hi, I guess I have two specific questions: 1. Is sorting a DataGrid faster/slower/same by applying a sortCompareFunction to a specific column vs. applying a Sort object directly to the underlying dataprovider? 2. It says in the following link that if