11g1 automatic startup under Fedora 9 Linux quit working

11g1 automatic startup under Fedora 9 Linux worked for months
Now I have to start 11g1 manually!
since then I've been doing regular yum updates to a number of new kernels
currently :
LMKIII (root) /var/log [600|http://forums.oracle.com/forums/]>uname -a
Linux LMKIII 2.6.27.19-78.2.30.fc9.i686 #1 SMP Tue Feb 24 20:09:23 EST 2009 i686 i686 i386 GNU/Linux
on boot page, the usual command that starts 11g1 just zips on by
I've looked in the boot messages to no avail. Still looking.
Has to be a kernel change because I've lect 11g1 alone for months

I did a www.ask.com for "dbstart pam.d" and got the answer.
pam.d and SELINUX are very complex.
I am still wary of lurking problems!
Apr 16 18:43:57 LMKIII sshd[2176]: Server listening on 0.0.0.0 port 22.
Apr 16 18:44:10 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:44:10 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:44:11 LMKIII rshd[2473]: pam_rhosts(rsh:auth): denied access to [email protected] as oracle
Apr 16 18:44:11 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:45:11 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:49:07 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 18:50:41 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 18:54:46 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 18:54:49 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session closed for user oracle
Apr 16 18:55:01 LMKIII sshd[2176]: Received signal 15; terminating.
Apr 16 18:56:55 LMKIII sshd[2171]: Server listening on 0.0.0.0 port 22.
Apr 16 18:57:08 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:57:08 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:57:09 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:58:09 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:59:26 LMKIII kdm: :0[2880]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 19:00:31 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 19:01:50 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 19:02:23 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 20:48:14 LMKIII sshd[4117]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 20:48:14 LMKIII sshd[4117]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 20:48:16 LMKIII sshd[4117]: Failed password for root from 194.80.134.6 port 51090 ssh2
Apr 16 20:48:16 LMKIII sshd[4120]: Connection closed by 194.80.134.6
Apr 16 21:11:12 LMKIII sshd[4287]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:11:12 LMKIII sshd[4287]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:11:14 LMKIII sshd[4287]: Failed password for root from 194.80.134.6 port 53791 ssh2
Apr 16 21:11:15 LMKIII sshd[4290]: Connection closed by 194.80.134.6
Apr 16 21:28:54 LMKIII sshd[4383]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:28:54 LMKIII sshd[4383]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:28:55 LMKIII sshd[4383]: Failed password for root from 194.80.134.6 port 44904 ssh2
Apr 16 21:28:56 LMKIII sshd[4386]: Connection closed by 194.80.134.6
Apr 16 21:46:47 LMKIII sshd[4481]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:46:48 LMKIII sshd[4481]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:46:50 LMKIII sshd[4481]: Failed password for root from 194.80.134.6 port 36020 ssh2
Apr 16 21:46:50 LMKIII sshd[4484]: Connection closed by 194.80.134.6

Similar Messages

  • Can't change /etc/oratab file or automatic startup problem on linux!!!

    Hi friends,
    I have installed an Oracle 11.2.0.1 on Oracle Linux Server 5.11(Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
    I have following users and groups as
    [grid@orcl11g ~]$ id grid
       uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
    [grid@orcl11g ~]$ id oracle11g
       uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
    When I log on as grid user. I check the followings:
    [grid@orcl11g ~]$ crsctl check has
    CRS-4638: Oracle High Availability Services is online
    [grid@orcl11g ~]$ srvctl status database -d ora11g
    Database is running.
    [grid@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> select status from v$instance;
    STATUS
    STARTED
    When I log as  oracle user. I check the followings:
    [oracle11g@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to an idle instance.
    SQL> select status from v$instance;
    STATUS
    OPEN
    Till here everything is OK!!!!
    When I edit /etc/oratab file; change N to Y for +ASM and restart the system, then it seems value N is not changed to Y. But changed for database as shown below.
         +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
         ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
    QUESTIONS!!!!!
    1. When I edit /etc/oratab file manually why second row saved (changed N to Y manually) but the first row become unsaved (although changed N to Y) again after restarting the system?
    2. After restarting the system database and ASM started automatically, although the line is not changed to Y above (in oratab file) for ASM. What is the reason and how can I change to Y? Or if I have to change the N to Y or not?
    3. Is it enough to edit N to Y in oratab file for ASM and database to start ASM and database automatically? I think there will be some other scripts have to be created in /etc/init.d/ directory for automatic startup.
    PLEASE HELP ME TO UNDERSTAND THIS PROBLEM CLEARLY!!!!
    Thanks!!!
    Message was edited by: DBA_84

    Thanks for reply ZeDBA,
    I don't want to prevent auto starting. As 2769577 stated above that
        "...You may not need to edit in oratab since it's automatically taken care by HAS in 11g..."
    It is meaningful and perhaps it is the exact reason or solution.
    Question is that, why I can't edit oratab file manually for ASM row? ' Not need ' and ' can't ' is different!!
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N        # line added by Agent
    ora11g:/u01/app/oracle11g/product/11.2.0/dbhome_1:Y
    If we assume the 2769577's answer is exactly correct, reason or solution. Then it means that the row "..
    +ASM:/u01/app/grid/product/11.2.0/grhome_1:N  
    # line added by Agent
    in oratab file is meaningless and unnecessary if HAS process enabled and automatically start the ASM.
    Please clarify it, If I am wrong?
    Thanks!!!

  • Physical Standby -- Automate Startup under Windows

    I've created a physical standby using 9i on Win2003. It's working fine, but it won't come up automatically when the machine reboots. I've used ORADIM to create the service, and I can see in the registry that ORA_<sid>_AUTOSTART is set to TRUE, but after the machine reboots I have to manually:
    SQL> alter database mount standby database;
    SQL> alter database recover managed standby database disconnect;
    Apparently the problem is that the service is trying to open the database normally, not realizing that special commands need to be run to start a physical standby.
    I want the whole standby site to come up and run properly when the machine reboots. How can I set this up?

    Hi,
    You may try the following:
    modify the oracle service using oradim -edit starttype=service
    place your sql commands in a sql file, wrap it with a batch file and ask your NT administrator to run(prepare a script) the batch file immediately after startup.
    You sql file :
    alter database mount standby database;
    alter database recover managed standby database disconnect;
    your batch file :
    set oracle_sid=<sid_here>
    sqlplus sys/pwd @SQLScript.sql
    HTH
    Regards,
    Badri

  • [TV@Master] TV Tuner worked fine but quit working

    Hello Everybody,
    I would like to ask somebody to help me here. I own a MSI TV@nywhere Master. I installed the card and the software right out of the box and everything worked out fine. TV and Radio receptions were very good. I have a Dell Optiplex GX110 Pentium III with 1.0 GHz running Windows XP Professional with service pack 2. I believe after one day of automatic updates the TV tuner quit working. I get an error message "InterVideo?WinDVR Application has encountered a problem and needs to close". Since them I have uninstalled the card, remove all drivers and proceeded to reinstall the card. By the way, the Radio still works fine. I have a NVidia graphics card. What could have cause this problem? The TV worked fine before. Any suggestions?
    Thank you for your time.

    Try the new beta drives and MSIPVS ...
    if thet don`t work the problem migth be Codec Related ... try unistalling any codec packs and see if thet helps (there were problem with some Quick Time codecs installed by older versions of nero and nimo codec packs)
    ... or you could try DScaler ... Best image quality ... but no way to use the remote at the same times as it mutes sound

  • How to automatically startup Oracle on SUSE Linux

    I have Oracle 11g installed on a server running SUSE Linux 11. I followed the official Oracle instructions to try to set up Oracle for automatic startup.
    My /etc/oratab file contains the following:
    sidname:/opt/oracle/product/11gR2/db:Y
    I created a /etc/init.d/dbora file, which contains the following:
    #! /bin/sh  -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/opt/oracle/product/11gR2/db
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    HOST=`hostname`
    PLATFORM=`uname`
    export ORACLE_HOME PATH
    if [ ! "$2" = "ORA_DB" ] ; then
       if [ "$PLATFORM" = "HP-UX" ] ; then
          remsh $HOST -l $ORACLE -n "$0 $1 ORA_DB"
          exit
       else
          rsh $HOST -l $ORACLE  $0 $1 ORA_DB
          if [ "$PLATFORM" = "Linux" ] ; then
              touch /var/lock/subsys/dbora
          fi
          exit
       fi
    fi
    case $1 in
    'start')
            $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
            $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
            echo "usage: $0 {start|stop}"
            exit
    esac
    exit
    Then I ran the following commands:
    chgrp dba /etc/init.d/dbora
    chmod 750 /etc/init.d/dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    shutdown -r now
    After restarting, Oracle was not running:
    server:~ # ps -fea | grep ora
    root      2681  2563  0 21:18 ?        00:00:00 hald-addon-storage: no polling on /dev/fd0 because it is explicitly disabled
    root      2688  2563  0 21:18 ?        00:00:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
    root      4491  4333  0 21:19 pts/1    00:00:00 grep ora
    server:~ # ps -fea | grep lsnr
    root      4493  4333  0 21:19 pts/1    00:00:00 grep lsnr
    Oracle runs fine after I start the instance (by logging into sqlplus as "sys as sysdba" and issuing the "startup" command) and listener. But it won't start up automatically after restarting the server. Why is that?

    I got it working.  I had to change the dbora file to look like this:
    #! /bin/sh  -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/opt/oracle/product/11gR2/db
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    export ORACLE_HOME PATH
    touch /var/lock/subsys/dbora
    case $1 in
    'start')
            su - $ORACLE $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
            su - $ORACLE $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
            echo "usage: $0 {start|stop}"
            exit
    esac
    exit
    Then I had to delete the listener.log and startup.log files in $ORACLE_HOME because they were incorrectly owned by root.

  • Compressor 3.5 (FCS) Quits Unexpectedly at startup under Snow Leopard...

    Compressor 3.5 (FCS) quits unexpectedly at startup under Snow Leopard... After a clean install of Snow Leopard and installing the new Final Cut Studio, all apps work fine except Compressor 3.5. It just won't boot. I just get a "Compressor quit unexpectedly" message.
    Anybody else seeing this and is there a fix?

    That was weird. It fixed it's self.

  • 2nd Gen iPad Mini stopped working yesterday.  Won't startup under and configuration and is not recognized by my iMac.

    2nd Gen iPad Mini stopped working yesterday.  Won't startup under and configuration and is not recognized by my iMac.  I believe it upgraded itself to iOS 8 (????)

    Hey Kenneth,
    So it sounds as if your iPad is not responding at all when you try to turn it on, is that correct? If so, I would suggest that you troubleshoot using the steps in this article -
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    If you get it to start up and it is still not recognized by iTunes on your Mac, use the steps in this article to troubleshoot that issue -
    If you don't see your connected device in iTunes for Mac - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • My motherboard "fried" on my computer when the fan quit working.  I cannot access my hard drive on my old computer.  I just downloaded ITunes on my new computer; assumed it would pull all my playlists in under my Apple ID and password-no such luck. Help?

    My motherboard "fried" on my computer when the fan quit working.  I cannot access my hard drive on my old computer.  I just downloaded ITunes on my new computer; assumed it would pull all my playlists in under my Apple ID and password-no such luck. Help Please?

    If your external drive does not have an independent power supply, you may wish to consider a couple of lower-cost options before tossing the drive. Bus-powered drives have no external power source and must get all their power from the computer. They can exceed the computer's USB energy budget.
    Cheapest option:
    1 Meter USB 2.0 A to 5 Pin Mini B Cable - Auxiliary USB "Y" Power Design for external hard drives.
    This gets power from two of the computers USB porst sna can provide enough power to wake up an under-performaing bus-powered drive.
    If you don't have enough ports to use this, try the next cheapest option:
    Newer Technology 7 Port Hi-Speed USB 2.0 Hub with Power Adapter for Mac & PC
    Such a hub has a an independent power supply to make up for wahat the comptuer fails to provide.

  • My CD/DVD drives quit working and I had to change Registry settings to get them to work again. Now Itunes gives me a message at startup that I need to reload iTunes.

    Both of the CD/DVD drives on my desktop computer quit working. I had to change registry settings to get them to work again and after that iTunes gives me a message on startup that I need to reload iTunes because of the change in registry settings. I'm concerned that if I reload iTunes that my drives will quit working again though I don't know why they quit working in the first place. Is there a known problem or incompatability with some drives and iTunes. What is it about the registry settings that iTunes requires my CD/DVD drives settings to work or not to work? I haven't updated my iTunes software since changing the registry setting to fix my drives.

    I've read some of the support articles about reinstalling the iTunes upper filters in the registry but I don't like the idea that iTunes seems to be saying that they are the ones that will be in control of what CD burning software that I am allowed to use on my computer. If I put the iTunes upper filters back on the computer will I not be able to use other CD burning software again? If I reload iTunes will it interfere with the use of the other software, or, if I use the other software again will I have to go back and reload iTunes or reset my registry every time. This seems to me to be a problem that iTunes should fix so that they don't interfere with other computer operations.

  • My iphone quit working I am getting a new one under warranty.  How do I know if my contacts were backed up

    My iPhone quit working and I am getting a new one, how do I know if my contacts ere backed up?

    Did you have it set up to sync Contacts to iCloud? If so you can log in to https://www.icloud.com and see that they are there.
    If you just backed up to iTunes or iCloud then there isn't a way to visually verify the contacts other than doing a restore. One exception to that is that if you used iTunes for the backup, there are 3rd party extractor programs that can display the contacts.

  • My imessage quit working.  We have done complete resets and even started a new itunes account but still nothing.  Also noticing that under the send

    My imessage suddenly quit working.  We have done resets and restored it and still nothing.  Even created a new Apple ID but have noticed that in the send & received part of settings, it does not show my phone number, only my email address!!  Never had a problem before today!

    You can have a separate AppleID only for iMessage and keep using the other one for iTunes.
    Just change the AppleID used for iMessage in Settings > Messages > Receive At

  • 9iAS R2 Automatic Startup at Boot time on Windows

    How to successfully start the 9iAS R2 Application Server at boot time.
    Many of you are still struggling with the problem of 9iAS R2 not automatically starting up properly when your system is restarted. I've been fighting this issue for several weeks and have found the problems, and pitfalls, involved with fixing it. It really is a race condition of things trying to start up before something it depends on is fully functioning, or some application starting out of sequence.
    There is a bug associated with this problem; BUG 2511270 ( 9IASV2 Need Ability to Restart All Components in Instance After a Reboot). The bug report itself has very little useful information in it other than to say it doesn't work, and manually starting the components is the only known fix. If you're like me. this isn't a good enough answer.
    Your mileage may vary.
    My configuration has a 9.2.0.1 customer database, and a 9.0.1.3.1 infrastructure database that is also the application server database, including portals, all installed on the same system which is a Pentium 4, Windows 2000 machine, with 1.5GB of memory. I only use a single LISTENER, which runs out of the 9.2 DB ORACLE_HOME.
    Chapter 5 (Starting and Stopping the Application Server) of the Oracle9i Application Server Administrator's Guide shows all of the commands necessary, in the proper order, to manually start the infrastructure and application server. Unfortunately, there is also some incorrect information in this document.
    Part 1c in the section Starting an Infrastructure Using Commands on Windows, using SQLPlus to connect to and start the database, does not work unless oracle.exe is already running (which means that you recently shutdown the database by command, not with "services>stop"). If your system is rebooting, oracle.exe is not running. This exact same information is documented in the Database Administrators Guide, Chapter 4, Starting a Database. If you don't have these manuals handy the offending commands are as follows:
    ORACLE_HOME\bin\sqlplus /nologsql> connect sys/password_for_sys as sysdba
    sql> startup
    sql> quit
    Since we can't put some variant of the above in a command script to manually start the databases and wait for it to open, the only option left is to let the databases come up in "automatic" mode when the system boots, and run the remaining commands when they are open. If your system is like mine, that can take several minutes, even after you've logged on and gotten your first cup of coffee.
    If you set up a command script to run at startup, you don't have any control over when the script gets run, more than likely, in this case, before the databases are open. Unfortunately, Microsoft does not have anything resembling a sleep (timer, wait, delay, etc) command that can be used in a script. There may be something somewhere, but I can't find it. So I wrote one in Perl, which does have a sleep command. You can use anything you have available to you that will function as needed. We obtained our Perl distribution from http://aspn.activestate.com/ASPN/Perl.
    The next issue has to do with starting the Oracle Internet Directory. The documentation shows two commands to execute, but in reality, only the first one is required, it automatically takes care of the second one. Refer to the command file below for the correct one.
    The last issue deals with running the dcmctl commands. If you run these commands one at a time in a command window, you won't notice anything askew. If you run them, as shown, in a script, they will stop execution of the script when they complete, and there will be no indication that anything wrong has happened. The CMD.exe still exists, it just isn't running. They must be run in there own cmd command as shown below.
    Now, let's review the steps necessary to get all this to work.
    Put the two scripts shown below in there target directories and edit any necessary changes for your system.
    In Start>Settings>Control Panel>Administrative Tools>Services set the OracleServiceSID's and the OracleOraHomeTNSListener to Automatic Startup Type. All other Oracle* services should be set to Manual.
    In Start>Programs>Accessories>System Tools>Scheduled Tasks double click on the Add Scheduled Task item,
    select Next,
    Browse to where your startup script resides,
    double click the file name,
    select "When my computer starts",
    select Next,
    Enter a user name and password (that has ORA_DBA privileges)
    select Next, then Finish.
    Uncomment the first exit in the iasStartup.cmd script.
    Reboot your system.
    Compare the database open time stamp in each database alert log to the time recorded in the iasStartup.log file to determine you first time delay. Add 10-20 seconds or more to this difference just to be safe. If you add services at a later time, this number may need to be increased.
    Edit the iasStartup.cmd file to include this time delay for the first sleep command and comment out the first exit command.
    Reboot your system.
    After several minutes, all infrastructure and application server processes should be up and running. You can check this in several ways; Look at the log file to see if all commands were run, Look at the Windows Task Manager to see if all expected tasks are running, Look at Services to see what is running. Finally, you can look at the Infrastructure Enterprise Manager Website and click on each instance to determine the current status of each system component. On mine, the component Portal:portal:7779 always shows as down but in reality it is functioning.
    The following command script only starts the minimum set of processes that I require. Your requirements may be different so refer to the documentation for additional commands.
    Enjoy.
    ******** iasStartup.cmd ********
    REM # iasStartup.cmd
    REM # Command script to start the infrastructure and application server at system boot
    REM # Mike Bukaty
    REM # Sandia National Laboratories
    REM # [email protected]
    REM # set default directory that contains the log and sleep.pl files.
    cd E:\Oracle\admin
    echo Starting iasStartup.cmd > iasStartup.log
    time /t >> iasStartup.log
    REM # Uncomment the following command to determine the time delay for your system
    REM # exit
    REM # This delay is determined by looking at the times from the alert logs
    REM # for when the database was opened and the time recorded above.
    REM # SLEEP is a perl script to do just that (in seconds) since Windows doesn't have one.
    sleep.pl -delay=120
    time /t >> iasStartup.log
    REM #Start the infrastructure first
    REM #The SID for the infrastructure must be set
    set ORACLE_HOME=E:\Oracle\as9inf
    set ORACLE_SID=iasdb
    echo Starting as9inf oidmon >> iasStartup.log
    %ORACLE_HOME%\bin\oidmon start
    echo Starting as9inf EMWebsite >> iasStartup.log
    net start Oracleas9infEMWebsite
    REM # Have to wait for all of the website process to finish
    sleep.pl -delay=40
    REM # All calls to dcmctl must be in there own CMD environment,
    REM # or they will halt this one when they complete
    echo Starting as9inf dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=5
    echo Starting as9inf dcmctl OC4J_DAS >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -co OC4J_DAS
    REM # Start the application server
    set ORACLE_HOME=E:\Oracle\ora9ias
    echo Starting ora9ias webcachectl >> iasStartup.log
    %ORACLE_HOME%\bin\webcachectl start >> iasStartup.log
    echo Starting ora9ias dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=10
    echo Starting ora9ias dcmctl OC4J >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct OC4J
    REM # The above command starts all existing OC4J processes.
    REM # You can now stop any that aren't necessary.
    echo Stopping ora9ias dcmctl OC4J_Demos >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl stop -co OC4J_Demos
    time /t >> iasStartup.log
    echo Finished iasStartup.cmd >> iasStartup.log
    exit
    ******** sleep.pl ********
    #!/usr/local/bin/perl
    ## Author: Mike Bukaty
    ##               Sandia National Laboratories
    ##               [email protected]
    ## Program: sleep.pl
    $| = 1;
    use strict;
    use Getopt::Long;
    Getopt::Long::Configure("no_ignore_case");
    GetOptions(
    "delay=s" => \ my $delay,
    # Set default options
    if( not defined($delay) ) { $delay = 1; }
    sleep $delay;
    exit 1;

    New information:
    When I originally wrote this, the command script worked as advertised. That was yesterday. I've since had to add the following lines just BEFORE the call to start the oidmon.
    echo Starting as9inf oidctl >> iasStartup.log
    %ORACLE_HOME%\bin\oidctl server=oidldapd configset=0 instance=1 start
    Sometimes me thinks that Oracle reconfigures itself at night when I'm not watching.
    Enjoy.

  • Progress on Unity under Arch Linux!

    See here for information about the new GNOME 3.12-compatible packages: https://bbs.archlinux.org/viewtopic.php … 3#p1404683
    I'm now on IRC! Come join us at #unityforarch on Freenode
    To install Unity from my repos:
    See the wiki: https://wiki.archlinux.org/index.php/un … mmended.29
    To install Unity from source:
    See the wiki: https://wiki.archlinux.org/index.php/unity#From_source
    -- You probably don't want to read anything below --
    The story
    So...rather than wasting internet bandwith to download a new Ubuntu ISO to test out the new Unity features, I decided to try to make it work under Arch Linux. It took a whole lot longer than I expected to get it even partially working. So, here's my story:
    Knowing that Unity isn't in the main repositories, I went the AUR's website and looked for a user created Unity package. That didn't go too well. The Unity package hasn't been updated for 6 months. D'oh! I decided to download the existing PKGBUILD and modify it to work with the Unity 4.xx series. After changing the version number, I tried to "makepkg" it, and was greeted with a message about installing Compiz 0.9.x. I thought it would be an easy install. It was quite the opposite. Compiz's install prefix was set to /opt/unity, but FindCompiz cmake build file expected Compiz to be in /usr, so none of the Compiz packages, except for compiz-core would compile. Then, I tried reinstalling compiz-core, but this time, changing the prefix to /usr. The compiled package ended up being only a few kilobytes big. I guess the mouse wheel was invented for a reason. I looked at the PKGBUILD again, only to find that there was a line at the very bottom that ran "rm -rf ${pkgdir}/usr". That explains a lot! I ended up adopting all the compiz*-git packages and fixing them so they would compile and install.
    So, now that Compiz is working (restarted and tested just to make sure I didn't waste my time with something that didn't work), I went on to install the rest of the dependencies listed in the Unity PKGBUILD file. That went relatively well. I was so happy after seeing the progress counter go up after running "makepkg", but at about 8%, gcc spat out an error about an undeclared function (sorry, I forgot what the function was). Natually, I went to Google and searched the name of the function. 0 results! Exactly was I was looking for! I ended up downloading the Ubuntu 11.10 Alpha 3 ISO and running "find -type f /usr/lib | xargs objdump -T | grep the_function". The problem lied in the libindicator package. There was a newer version available which contained that function. I have no idea why a package that's only 0.02 versions ahead of the AUR package would contain new functions...
    Next! Utouch...ugh...great memories! Not! I was so glad that I had fixed the utouch packages earlier (for touchegg to work). I was too frustrated from compiz and libindicator to try to compile more stuff.
    Cmake. Whoever created the CMakeLists.txt file didn't list all the dependencies required. So after running "makepkg" 10 billion times, waiting for "somebodydidntputthisincmake.h not found" errors to appear, I finally got all the dependencies I needed installed...or so I thought. After installing and compiling all these dependencies, the cmake only continues 3% further before encountering another cryptic gcc error. This time, there no error about a file not being found. So not knowing what dependency was missing, I headed over to http://packages.ubuntu.com and downloaded the Unity DEB source to find the dependencies in then debian/control file. After install those few dependencies that I missed, I ran "makepkg" again, hoping that it would finally compile successfully. CMake went a little further--5% further to be exact--before running into another error. It complained about DndSourceDragBegin() having two return types. Sure, enough "./plugins/unityshell/src/ResultViewGrid.h" had the return type as boolean and "/usr/include/Nux-1.0/Nux/InputArea.h" had the return type as void. WTF? How the heck does this even compile under 11.10???
    After changing void to bool in "/usr/include/Nux-1.0/Nux/InputArea.h", I ran "makepkg" once again anxiously waiting to the see the line "Finished making: unity 4.10.2". CMake compiled about 35% before running into error about an undeclared gtk function. Nooooooooooooo!!! I wasn't brave enough to install the git version of gtk3, so I created a chroot, installed the base packages, and installed all of those dependencies fairly quickly (it gets a lot easier after doing it so many times).
    Moving on to gtk3. After cloning the ~200MB git repository, autotools spits out an error about cairo-gl missing. So, I proceeded to install the cairo-gl-git package, which failed to compile (it compiled successfully outside of the chroot...). GREAT. So, Unity fails to compile because GTK version is too old, and GTK failed to compile because cairo-gl is missing, and cairo-gl fails to compile because I'm in a chroot. GAHHH!!! While thinking about throwing the computer out of the window, I searched the AUR for other GTK3 packages. I just happened to find a package named "GTK3-UBUNTU"! That package was still at version 3.0, but it was pretty easy to get the patches and source code for 3.1 from the Ubuntu GTK source package.
    So, FINALLY, Unity compiles. I was so darn happy, I didn't even care if it ran or not. I logged out and logged back into the GNOME 3 fallback mode, and entered the chroot. After running "xhost +SI:localuser:chenxiaolong" to run X11 apps in the chroot, I crossed my fingers and ran "DISPLAY=:0.0 unity --replace". It failed with python 3 complaining about missing modules. That's okay, since the Unity launch script is written in python 2. I changed the shebang line in "/usr/bin/unity" to point to python 2 and ran "DISPLAY=:0.0 unity --replace". It didn't necessarily fail, but it didn't succeed either. It didn't print out any error messages. Weird... I thought I'd try enabling Unity from the compiz settings manager then. I ran "DISPLAY=:0.0 compiz --replace" and "DISPLAY=:0.0 ccsm" and enabled the Unity plugin. Unity runs! Although nothing shows on the screen, it runs! It shows up in the process list! Woohoo!
    And that's about how far I got. There were quite a few Vala errors during the compiling process (I forgot which package it was), which is probably why Unity won't appear. I'll try again later with the vala-devel or vala-git package and hopefully Unity will work then. Here are screenshots of what I've gotten working so far:
    http://i.imgur.com/7F1fm.jpg
    http://i.imgur.com/zGNJc.jpg
    http://i.imgur.com/3mCgd.jpg
    By then way, I love the simplicity of pacman and the AUR. I can't imagine how long this would have taken with other package managers.
    Moderator edit:  Do not place large images in line.  If you want, you may embed links to thumbnails inside url tags.
    Last edited by chenxiaolong (2014-04-15 17:11:04)

    City-busz: I'm getting a ton of Vala errors when I compile libunity (AUR version) with vala or vala-devel. libunity fails to compile with vala-git. I'll try your packages in a virtual machine and see how they work on 64 bit.
    In the meantime, Unity still fails to show up: http://i.imgur.com/btPwo.png I'll try out your PKGBUILDS and see how that works. I'm glad there are people who want to port Unity to Arch Linux
    EDIT: City-busz: Just to let you know, Unity will fail to compile at around 45% with GTK 3.0. Here's my source packaage for Ubuntu's GTK 3.1: http://ubuntuone.com/p/1EzX/ It contains all of the patches in the Ubuntu source package. I'm not sure if all the patches are needed, but GTK compiles fine with all of them.
    EDIT2: Right now, I'm trying to compile Vala 0.10.4, then version used in Ubuntu 11.10. Hopefully that will eliminate some of the Vala errors.
    EDIT3: Vala 0.10 is too old. 0.12 and 0.14 are also in the Ubuntu repository. Trying those...
    EDIT4: 0.14 is actually 0.13.1. Gah... Vala takes longer to compile under VirtualBox than GTK3...
    EDIT5: Okay...so VirtualBox "helpfully" became slow enough that I could read the error messages. The Vala error messages aren't actually error messages, but rather warnings about unused methods. I wonder what prevents Unity from running then...
    Last edited by chenxiaolong (2011-08-30 02:30:29)

  • JSP compiler failure under Fedora Core 6

    I recently upgraded a Linux Fedora Core 5 system to Fedora
    Core 6. I had a working JRun4 setup working perfectly under FC5 and
    it no longer works. I realize that this is an unsupported platform,
    but it seems like it is fairly close to working correctly.
    Pages that were compiled under the old system work just fine.
    When the system tries to compile a new page, however, I get the
    following error:
    jrunx.compiler.DefaultCFE: Compiler errors:incorrect
    classpath: /usr/java/jdk1.5.0_06/jre/classes
    at
    jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:135)
    at jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:94)
    at jrun.jsp.Translator.compilePage(Translator.java:176)
    at jrun.jsp.Translator.translate(Translator.java:254)
    at jrun.jsp.Translator.translate(Translator.java:101)
    at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:693)
    at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    com.bolderconsulting.jsp.framework.security.SslRedirector.doFilter(SslRedirector.java:91)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.java:472)
    at
    jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatcher.java:441)
    at
    jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:175)
    at
    jrun.servlet.file.FileServlet.service(FileServlet.java:316)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    com.bolderconsulting.jsp.framework.security.SslRedirector.doFilter(SslRedirector.java:91)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Anyone have a clue about what might be going wrong?

    I guess I should have worked a little harder before posting.
    All I had to do was create the directory "classes" under the JRE
    and now everything works fine. I don't have a clue why this would
    be the case. Anyone else?

  • Gnome automount and media.repo under Oracle Linux 6.3

    Hello,
    I experiencing a strange behavior testing the following under Oracle Linux 6.3 (x86-64-bit) UEK2 with all latest updates. I selected the Gnome desktop packages using the "customize now" ratio button when installing the OS
    * Log in to a graphical shell such as GNOME
    * Insert addition media disk into the computer
    * Observe the media is mounted by the session
    * Wait a couple of seconds
    * Observe the /etc/yum.repos.d/packagekit-media.repo now exists
    The above is explained in more details at http://people.redhat.com/rhughes/media-repo.txt
    I don't know what the "addition media disk" is, but inserted the Oracle Linux 6.3 x86_64 binary distribution DVD, which also has media.repo file in the root directory. And btw, I'm using VirtualBox and the DVD is an .iso disk image.
    I'm experiencing the following:
    Gnome automount works and automatically opens the DVD when inserted.
    It does not create the /etc/yum.repos.d/packagekit-media.repo file.
    It actually does create the named repo file, but only after one waits about 15 minutes. Perhaps this has anything to do with gpk-update-icon, but when run manually it hangs.
    With the packagekit-media.repo file finally created. The gpk-application however complains: "The group list was invalid".
    I know how to create a yum configuration file pointing to a local repository, which is also coverd in the Oracle Linux 6.3 distribution readme. I just wonder about the problem. Th automatic business with the media.repo file seems broken and useless. I did one more test using the original RHEL kernel which, as expected, did not make a difference.
    Does anyone know more about it?
    Thanks!

    I cannot create an SR, but I did some more tests creating my own DVD, playing with the info in the media.repo file. It seems matching the mediaid and .discinfo information alone doesn't fix it.
    Actually some of the stuff is explained in the link I already used: http://people.redhat.com/rhughes/media-repo.txt. The problem seems that it doesn't work as advertised.
    It takes exactly 15 min. before the system (gnome) automatically copies the media.repo file from DVD to /etc/packagekit-media.repo. If the file already exists it gets overwritten.
    I think it might be a good idea to make an entry in the media.repo file on the DVD, such as:
    baseurl=file:///media/<disklabel>
    skip_if_unavailable=True
    Then when inserting the DVD under gnome it would not be necessary to create a yum repository configuration file to use the DVD. The 15 min. delay will have to be fixed, which is only supposed to take a couple of seconds.
    Edited by: Dude on Aug 27, 2012 5:51 PM

Maybe you are looking for