Cannot start Infra and App Server after reboot

I have installed iAS 10.1.2.0.2. on Solaris 2.9 -infra and appserver on same box. After installation I was able to configure Discoverer etc. The machine was rebooted recently and I cannot get the infrastructure and app server to start. opmnctl startall just hangs.

I think borkur is probably right.
We have our midtiers on different machines from the infra, but nonetheless, you could use the same sort of startup script.
What I do is go into a wget wait loop on the mid-tiers before trying to opmnctl start them:
#! /bin/bash
# script waitfordas
DAS_RESPONDING=`wget -q -O - http://infra.mycompany.com:7777/oiddas > /dev/null; echo $?`
echo Waiting for DAS to be up on infra.mycompany.com...
while [ "$DAS_RESPONDING" -eq 1 ]
do
sleep 10
echo Waiting for DAS to be up on infra.mycompany.com...
DAS_RESPONDING=`wget -q -O - http://infra.mycompany.com:7777/oiddas > /dev/null; echo $?`
done
echo DAS responded.
Then I call this in my startup script:
#! /bin/bash
# oracleas Start/Stop the Oracle Application Server
# chkconfig: 2345 99 10
# description: Starts and stops the Oracle Application Server
exec 2>/tmp/oracleas.err 1>/tmp/oracleas.log
# Source function library.
# . /etc/init.d/functions
RETVAL=0
ORA_OWNER="oracle"
ORA_HOME="/opt/oracle/product/as904mid"
EM_HOME="/opt/oracle/product/agent"
# See how we were called.
prog="oracleas"
start() {
echo -n $"Starting $prog: "
su - $ORA_OWNER -c "/home/$ORA_OWNER/bin/waitfordas"
su - $ORA_OWNER -c "$ORA_HOME/opmn/bin/opmnctl startall"
RETVAL=$?
su - $ORA_OWNER -c "$ORA_HOME/bin/emctl start iasconsole"
su - $ORA_OWNER -c "$ORA_HOME/dcm/bin/dcmctl start"
su - $ORA_OWNER -c "$EM_HOME/bin/emctl start agent"
return $RETVAL
stop() {
echo -n $"Stopping $prog: "
su - $ORA_OWNER -c "$ORA_HOME/opmn/bin/opmnctl stopall"
RETVAL=$?
su - $ORA_OWNER -c "$ORA_HOME/bin/emctl stop iasconsole"
su - $ORA_OWNER -c "$EM_HOME/bin/emctl stop agent"
return $RETVAL
restart() {
stop
start &
case "$1" in
start)
start &
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?

Similar Messages

  • How to start CRS and other services after rebooting nodes.

    Hi,
    i have created two node cluster database.how to start CRS and other service after rebooting nodes?
    Thanks,

    use crsctl command start...
    $ORA_CRS_HOME/bin/crsctl start crsOr check status about CLusterware...
    $ORA_CRS_HOME/bin/crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthyIf not OK... check log at $ORA_CRS_HOME/log/hostname/*
    and check status database , service and etc...
    use crs_stat
    $ORA_CRS_HOME/bin/crs_stat -t
    $ORA_CRS_HOME/bin/crs_stat if you find some service or instance ... not online...
    use srvctl command, help to start
    Get Help...
    $ORA_CRS_HOME/bin/srvctl -h

  • Shell script to start forms and reports server on reboot

    Does anyone have on shell script to automatically start up the forms and reports server on unix after a reboot?
    thanks much

    I also recompiled the "test.fmb" that came with the 10g Forms and Server on my windows xp machine and when I downloaded it back to the Linux Forms and Server machine, it loss the functionality of the "OK" button which is suppose to perform "exit_form" when pressed.
    BTW, I am using 10G developer suite on windows xp.

  • Mac OS 8.6 Auto network connect to a server after reboot is not working

    We have multiple old blue and white systems on a network. All but one will automatically connect to the network when rebooted. I have gone into Chooser, Appletalk, put in the server IP address, put in the server password, checked the boxes that say remember Server name and password for next startup. I can connect at that time with no problem. When I reboot, the server does not automatically hook up. I have to go back into Chooser, etc. I created an alias on the desktop, but it still prompts me for a password to connect. I have performed a clean install of the Mac OS 8.6. It still does not connect to the server after reboot (after configuring all the settings again after the clean install). Please help..

    Hi,
    Thank you for posting in Windows Server Forum.
    Can you please create the database manually with below command and verify.
    PS C:\> Set-RDConnectionBrokerHighAvailability –DatabaseConnectionString
     "DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server
     Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;
    DATABASE=<DB Name>" -DatabaseFilePath "C:\DbFiles\<DbName>.mdf"
     -ClientAccessName "<DNS RR Name>"
    Grant DBO permissions to the service account on the RDS server and try to run your wizard again.
    More information.
    RD Connection Broker High Availability in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/06/27/rd-connection-broker-high-availability-in-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Cannot start instance of another server : correction

    Correction : To the moderator of the newsgroup, please delete my other post with
    the subject 'Cannot start instance of another server'.
    In the console of WLS 6.1 SP3 on HP-UX, I have created another instance of a server
    I called 'another_of_myserver' (in addition to the default myserver). When I
    try to start another_of_myserver, it won't start and gives the following error
    ============================
    <Nov 26, 2002 1:32:04 PM EST> <Error> <NodeManager> <Could not start server 'another_of_myserver'
    via Node Manager - reason: '[SecureCommandInvoker: Could not create a socket to
    the NodeManager running on host 'localhost:5555' to execute command 'another_of_myserver',
    reason: Connection refused. Ensure that the NodeManager on host 'localhost' is
    configured to listen on port '5555' and that it is actively listening]'>
    ===========================
    What does it mean and how do I get it to start ?
    Thanks for any help or suggestion.

    Athooya,
    If you do not specify a weblogic.nodemanager.listenPort or
    weblogic.nodemanager.listenAddress they will be set to the default.
    So the listenAddress will be localhost and so not matching exactly the address
    used by the remote
    start. Please try to set the listen address of the Node Manager when it is
    started. You can specify the address on which the Node Manager will listen for
    requests from the
    Administration Server with the following parameter: -Dweblogic.nodemanager.listenAddress=host
    where host is the DNS name or IP address of the machine where the Node Manager
    is started.
    The default port on which the Node Manager will listen for requests
    from the Administration Server is 5555. You can change this with the following
    startup parameter:
    -Dweblogic.nodemanager.listenPort=port
    Refer to
    http://edocs.bea.com/wls/docs61/adminguide/remotestart.html for additonal information.
    Chuck Nelson
    DRE
    BEA Technical Support

  • Frozen and still frozen after reboot

    Macbook Airs frozen and still frozen after reboot?

    Greetings Ging ging,
    It seems your MacBook Air is frozen and is not responding after starting up. You may want to consider performing a PRAM reset, which may help you get your device back up and running:
    OS X Yosemite: Reset your computer’s PRAM
    If your Mac doesn’t seem to be remembering your speaker volume, display resolution, or the disk it should be using during startup, you may need to reset your computer’s PRAM.
    Resetting PRAM may change some system settings and preferences. Use System Preferences to restore your settings.
    Important:   To print these instructions, click the Share button  in the Help window, then choose Print.
    Choose Apple menu > Shut Down.
    Locate the following keys on the keyboard: Option, Command (⌘), P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on your Mac.
    Immediately press and hold the Option-Command-P-R keys. You must press this key combination before the gray screen appears.
    Continue holding the keys down until your Mac restarts, and you hear the startup sound for the second time.
    Release the keys.
    After resetting your computer’s PRAM, you may need to update your speaker volume, display resolution, and startup disk preferences. For more information about PRAM, see the Apple Support article About NVRAM and PRAM.
    Thank you for contributing to Apple Support Communities.
    Best,
    Bobby_D

  • P13N Server and App Server on separate systems - strange ports opened

    Hi -
              We have a configuration using WebLogic Personalization Server 3.1.1 on one
              server and WebLogic Application Server 5.1 w/Service Pack 6 on another
              server. What we've seen with our firewall configuration is that it appears
              there are high-number random ports opened occasionally from the App Server
              to the P13N Server, which d not appear to be related to connection attempts
              (ex: port 42100). The only communication that we know should be happening
              between the two systems are T3-based JNDI lookups, LDAP lookup/update
              requests, and SQL queries. My questions, then, are as follows:
              1) In handling JNDI requests, are there any callbacks that can occur between
              the two servers in this configuration on a different port?
              2) When separating the P13N Server and App Server, are there any "private"
              ports opened between the two systems for management? As far as I know, the
              App Server should simply view the P13N Server as another client, but the
              firewall log would indicate that something is going on related to this.
              If anyone has a similar config and can provide some info related to
              potentially unseen port connections, please let me know. Thanks in advance!
              Andy
              [email protected]
              

    Haakon,
    I think the BPEL forum is the better source to ask
    BPEL
    Frank

  • File sharing between Mac Mini and iMac "breaks" after reboot of either device, and won't restore.  Why?  Running Maverick 10.9.1 on both.  File sharing is setup on both.  Help.

    I'm a new user - recent convert from longtime Windows to Apple.  Thought having desktops and computing aligned with phones and tablets would help.  Not so far.
    I have a MacMini running Mavericks 10.9.1, and an iMac running Mavericks 10.9.1.  File Sharing is set up on both.  If either device is rebooted for any reason, file sharing from the Mac Mini to the iMac "breaks" and will not easily restart.  Various things eventually brings the connection back - usually having to do with checking and unchecking File Sharing, the AFP button, and/or the SMB button on the iMac - but never the same procedure twice in a row.  File Sharing from the iMac to the Mac Mini is never disrupted - always comes back up without a problem.  Screen Sharing also works between both without fail, and comes up after reboot of either.  No problem there.  Only difficulty is from Mac Mini to the iMac. 
    Why?  Any ideas? 

    Should also clarify - usually takes multiple hours of checking/unchecking file sharing settings in order to restore the share between Mac Mini and iMac.  NEVER happens automatically.
    This is disruptive because I've got the Mac Mini pointing to several file locations on the iMac for various things - photos, music, etc. - and they all hang up unless the share is restored.  Real bummer.

  • I cannot open iTunes and App-Store despite WLAN connection

    I cannot open iTunes and App-Store on my iPad despite WLAN connection

    Hey andywack,
    If you are unable to connect to the iTunes Store with your iPad, try these steps:
    Can't connect to the iTunes Store - Apple Support
    http://support.apple.com/en-gb/HT201400
    Regards,
    Judy

  • How to set ORACLE_HOME for database and apps server in same server

    Hi, I have problem here to set ORACLE_HOME in .bash_profile for database and apps server. please help me to set this Oracle Home.
    Thanks
    -jebatco

    If you mean to have both simultaneosly set on the same OS session, of course that's not possible. But you can configure them on your profile, and choose them when needed. The following is an excerpt from my .bash_profile
    export EDITOR=vi
    umask 022
    alias O='cd ${ORACLE_HOME}'
    o10()
    {       export ORACLE_SID=db102
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome10
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
            export PS1='[\u@\h_10 \W]\$ '
    o11()
    {       export ORACLE_SID=db11
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome11
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export PS1='[\u@\h_11 \W]\$ '
    xe()
    {       export ORACLE_SID=XE
            export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
            export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=/home/oracle/base/OraHome11/network/admin
            export PS1='[\u@\h_XE \W]\$ '
    }If I want to set Oracle 10g environment I type "o10" at OS prompt, "o11" for 11g, and so on.

  • TS1368 I could not connect to iTunes and App Store after I downloaded ios6 in ipad2

    I could not connect to iTunes and App Store after I downloaded ios6 in ipad2

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • G4 MDD FW800 starts up and shuts down after several seconds

    Hi all,
    My G4 MDD FW800 DP.1,48 starts up and shuts down after about 20 seconds. I Have reset PMU and checked battery voltage, witch was OK. (also had it out for 30 minutes with no power connected etc.) I have video and also tried with NOTHING connected. But still it just powers down and failes to enter start up procedure.
    Last time I had it running I pulled my iPod, beacause the computer did't see it, the next thing I saw on screen was the message to hold the power button for 5 to restart, after that I got the problem described above.
    Anybody?
    Thanks,
    G4 MDD FW800 DP1,48 Mac OS X (10.4.2)

    Hi, I don't know how fast it shuts down, but...
    How to reset the SMU/PMU on a Power Mac earlier G3, G4, G5 models...
    http://support.apple.com/kb/HT1939
    Have you done a PRAM reset, CMD+Option+p+r...
    http://support.apple.com/kb/ht1379
    In fact, do 3 in a row, takes a bit of time.
    Does it boot into Open  Firmware with CMD+Option+o+f ?
    http://docs.info.apple.com/article.html?artnum=42642
    reset-nvram (press Enter)
    set-defaults (press Enter)
    reset-all (press Enter)

  • I´m just starting using ATV2. All is working well excepted the home share. It start working and few minutes after not more.  What a ihave to do?

    I´m just starting using ATV2. All is working well excepted the home share. It start working and few minutes after not more.  What a ihave to do?

    What I have to do to solve this problem? To get the home share working again i have to restat avering thing and then it works for a few minutes again. It is crazy

  • Capturing a reference machine Start screen and Apps are blank

    Hello Everyone,
    I'm having troubles with the start screen and app screen when deploying a Windows 8.1 image with SCCM 2012 R1.
    While building the image, I've tried with both OOBE and not.  Installed all the drivers, and base software.
    Capturing works fine, I created a bootable capture disc via SCCM.  
    Without OOBE 
    When I deploy the image, logging in locally, works fine, all tiles and apps show up like normal, but when I join the computer to the domain, logging in as any domain user (they're administrators as well) all the tiles and apps disappear
    With OOBE
    No tiles show up, not even as local admin.
    I've read a few articles, and a lot of others are having the same problem, and their only fix is to use ImageX or MDT.   I'm wondering if this has been resolved yet as I rather use SCCM 2012 as the "all in one" tool that it's meant to be.
    http://www.windows-noob.com/forums/index.php?/topic/7233-deploying-windows-8-and-the-copy-profile-setting-using-sccm-2012/
    and 
    http://social.technet.microsoft.com/Forums/en-US/4dfcea67-d20f-4a4d-a6ae-cd22a4af4b12/windows-81-copyprofile-issue-sccm-2012r2-mdt-2013?forum=configmanagerosd
    Thank you in advanced!

    SCCM 2012 R1
    This version does not exist. Is it SP1? Which CU?
    Keep in mind that you have to have SP1 CU3 in order to use Win8.1:
    http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigClientOS
    Torsten Meringer | http://www.mssccmfaq.de

  • **Diiferences web and app server**

    hi techs
    i am a newbie to application server concept.
    first i want to know why we need application server.
    and what is the difference between web server and application server.

    You need to install "Webconnector" plugin to connect to Sun One webserver and App server..
    The webconnector pluging comes with Appserver binary.
    Dakshin.

Maybe you are looking for

  • Up grade software on black bt vision box and new b...

    Just had upgrade on bt vision box and states i have no broadband connection. (direct connection to router)  I had to go into router and turn off smart set-up.  now what ever happened to the old plug and play.  your standard job bloggs is going to rip

  • Word-documents from email

    Which app should i use if i want to open and print Word-documents from my email on ipad?

  • Account group mapping is not uderstand ?

    Hi Experts, I am not understanding the mapping between the account groups. If you check under "Customer Account Group" the field name "Group", I dont understand where it is mapping to other account group? And how all the account groups linked with ea

  • Colour Profile Question - Press PDF

    Hi I've got a quick question regarding colour profiles. I've designed an A5 flyer for a client and I have my CS3 suite colour settings set to Adobe 1998 for RGB and Euro Coated for CMYK. The client has decided that this flyer is now to be printed on

  • Microphone problems with Audigy 2 ZS/win 7 x64

    Hello. I have very common problem with my soundcard audigy 2 ZS on windows 7 x64 with 8gb RAM. A week ago installed win 7 (was xp before) and noticed that my mic is not working. When I turn on microphone in output device i hear crystal clear sound fr