Automatic start of the database, authentication at the start of the OS failure

Hello world

We have installed the oracle 11g on OEL 6.4 database, and we tried to start follow these automaticlly this source

http://docs.Oracle.com/CD/B28359_01/server.111/b32009/strt_stp.htm#UNXAR172

but instead to use rsh, we try to use ssh to do we create public keys and test our script from root and starting databases successfully. But when we reboot OS it sends this:

Permission denied (publickey, gssapi-keyex, gssapi-with-mic)

Kind regards

René.

A: one of the approaches is to use dbstart and dbshut by init.d scripts

Another way is to create your own script. To do this, create your own 'freed' in the directory /etc/init.d/ script

# touch /etc/init.d/dbora

-------------------------------------------------------------------------------------

#! / bin/sh

# chkconfig: 345 99 10

Description #: Oracle automatic start-stop script.

# Applies to the Orcle/10 / 11g

#

# Set ORA_HOME

# Set ORA_OWNER

ORA_HOME=/DBServer/app/Oracle/product/11.2.0/dbhome_1

ORA_OWNER = oracle

If [! f $ORA_HOME/bin/dbstart]

then

echo "" Oracle startup: error $ORA_HOME/bin/dbstart does not exist, cannot start ".

output

FI

case '$1' in

'Start')

# Run Oracle databases:

# The following command assumes that the oracle connection

# will not prompt the user for all values

Su - $ORA_OWNER-c "$ORA_HOME/bin/dbstart $ORA_HOME.

touch/var/lock/subsys/Ben

;;

'stop')

# Stop the Oracle databases:

Su - $ORA_OWNER-c "$ORA_HOME/bin/dbshut $ORA_HOME.

RM-f/var/lock/subsys/Ben

;;

ESAC

----------------------------------------------------------------------------------------------------------------

#Edit the file "/ etc/oratab" and put the flag of the desired instance started to 'Y '.

#MYDB1:/u01/app/oracle/product/10.2.0:Y

#Add released in init.d

[#[root@host ~] # chkconfig--add released

#Set the right permissions

750 /etc/init.d/dbora #chmod

[root@dba ~] # service released stop

log file /dbserver/app/oracle/product/11.2.0/dbhome_1/shutdown.log

[root@dba ~] # start service released

log file /dbserver/app/oracle/product/11.2.0/dbhome_1/startup.log

Tags: Database

Similar Questions

  • Check if the automatic start of the database is enabled or not?

    Grid Infra RDBMS/Version: 11.2.0.4
    Platform: Oracle Linux 6.3

    Disable us automatic restart with the CRS database by using the following command.

    $ srvctl disable the database < name of comics > d

    How can I check if the auto restart DB is enabled or disabled?

    Add the - a switch to the command of srvctl config database. (of 11.2.0.3 GI + RDBMS):

    [oracle@s600986sc0sl01 ~] $ srvctl disable the d SC01000 database

    [oracle@s600986sc0sl01 ~] $ srvctl config database-d SC01000 - a

    Unique name of database: SC01000

    Name of the database: SC01000

    ...

    Database is disabled

    Database is managed administrator

    [oracle@s600986sc0sl01 ~] $ srvctl activate database d SC01000

    [oracle@s600986sc0sl01 ~] $ srvctl config database-d SC01000 - a

    ...

    Database is enabled

    Database is managed administrator

  • Linux-start automatic db at the start of the server. Help, please.

    Hi all

    The database server is Ubuntu linux 9.04 and database is 11.1.0.6. I'm new to Linux. I'm working on automatically start the PB server to start and stop db when plugging the server down.

    I did the following steps by following the instructions in the following doc:

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b15658/strt_stp.htm#BABGDGHF

    (1) logon as root
    (2) to change to/etc/oratab
    3) change directory to /etc/init.d
    (4) create a file called released
    The file looks like (not identical

    #! / bin/sh
    #
    ORA_OWNER = oracle
    ORACLE_HOME = / u01/app/oracle/ora_11g

    case $1 in
    'Start')
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME.
    ;;
    'stop')
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME.
    ;;
    *)
    echo "use: $0 {start |}". stop}.
    output
    ;;
    ESAC
    #
    Output

    (5) change the file released to OSDBA group
    chgrp released dba
    chmod released 570

    (6) create symbolic links to the released script

    # ln s /etc/init.d/dbora /etc/rc.d/rc3.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/K01dbora
    # ln s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora

    I tested by logging in as root and go to the /etc/init.d directory and run the following commands and both work very well.

    . / released early
    . / stop released

    But when I reboot the server that the database is not started automatically. Can someone please help?

    Thank you very much

    Shirley

    Try using the steps in this article and see if it works for you,
    http://Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php

    HTH
    Aman...

  • schedule the automatic start of oracle 10g R2 on RHEL5

    Hi master,

    I use oracle 10g R2 on RHEL 5. I want to program the automatic start of the oracle on linux start database.

    for that I have referefed the docs and plan its in the file/etc/rc3.d. but it does not work.

    It is written in the docs that this charger friub fron of process this file and start their beds according to their number.

    the file is as follows...

    #! / bin/sh
    #chkconfig: 346 99 10
    Description #: Oracle automatic start-stop script.
    #
    # Change the value of ORACLE_HOME to specify the right Oracle home
    # To your installation directory.

    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    #
    # Change the value of the ORACLE of the connection of the
    owner of oracle # on 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.
    output
    on the other
    rsh $HOST-l $ORACLE $0 $ 1 ORA_DB
    output
    FI
    FI
    #
    case $1 in
    'Start')
    $ORACLE_HOME/bin/dbstart $ORACLE_HOME
    ;;
    'stop')
    $ORACLE_HOME/bin/dbshut $ORACLE_HOME
    ;;
    *)
    echo "use: $0 {start |}". stop}.
    output
    ;;
    ESAC
    #
    output

    What should I look for?

    my listening service is also not automatically get started. I have to manually...

    any suggestion?

    Thanks and greetings
    VD

    Published by: vikrant dixit on December 23, 2008 21:58

    VD,
    This link willl helpp
    http://www.Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
    HTH
    Aman...

  • don't want itunes to automatically start when the ipod is connected to the pc

    How can I prevent itunes from automatically launching when the ipod shuffle is connected or when the pc starts?

    Open iTunes, go in Edition > Preferences > devices and place the check mark to prevent sync automatically when the device is connected.

  • Start the host program automatically starts the RT program

    Hey guys,.

    I'm in a test phase and wanted to ask if it is possible to start the RTW program automatically, when I start my host VI. I don't have any executable for the moment because I am in the test phase, but I only want to support on "the button execute on the host VI and start (RT and HOST) screws.

    Is that possible or do I have to press two buttons to run?

    Kind regards

    Slev1n

    As Crossrulz notes, LabVIEW RT is essentially to another computer, does not Windows but rather running a real-time operating system (if on PharLap an Intel processor, often a version of Linux on FPGA hardware, I think).  It has always been necessary for these targets of RT to be 'on' and 'something', of course.  In the early days of LabVIEW Real-time, they sat often slowed down and you would use VI server to download and launch your RT code on them.  With the advent of the LabVIEW project (much) better to manage the objectives of the RT as, OR goes to a slightly different model where, as Crossrulz points out, the RT Code is supposed to be downloaded to the target and configured to start automatically running when the target is powered.

    In development Mode, there are provisions to download ("Deploy") and start the target RT and (theoretically), it should be possible to do it programmatically.  I tried to do this, but it was noticeably awkward that I have "gave in" and (except when in development Mode) practical to develop recommended follow-up of OR deploy and defined as starting on the target of RT.

    The idea, of course, is that if you know that the target RT is running when you start the host, the target should wait for the host to send a signal saying ' Hi, Target, are you ready to start working with me? (the target, of course, answered "Sure, let's get started...") »).  How to set up the first handshakes, it is up to you.

    Note that this model assumes / requires that until the host stops, it informs the RT target that she came out, allowing target RT back to its State "in expectation of the host."  A really simple way to do this, of course, is for the host to tell the target to reboot, which in fact boost its Startup Code (which is the target RT program).

    Bob Schor

  • My usb ports and cd/dvd drive will be does not automatically start when everything is connected on the

    My usb ports and cd/dvd player will not automatically start when something is plugged on them have to start manually.

    Hello

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    Follow method 2 in the link below and check if AutoPlay is enabled, a link: AutoRun feature or the AutoPlay feature does not work when you insert a CD-ROM into the CD drive: http://support.microsoft.com/kb/330135

    I suggest to fix the AutoPlay parameter by downloading the file below and check the results: AutoPlay Repair Wizard: http://www.microsoft.com/downloads/en/details.aspx?familyid=C680A7B6-E8FA-45C4-A171-1B389CFACDAD&displaylang=en

  • my windows vista computer will not except the automatic updates and the system starts it configures only the updates

    original title: my windows vista will not except the automatic updates and the system starts it will only configure the process which can be done to solve this problem

    my windows vista computer will not except the automatic updates and when the system starts it will only configure the process which can be done to solve this problem

    Hi Glennisidore,

    Try running the fixit http://support.microsoft.com/kb/971058 in aggressive mode and see if, after the reboot, you are able to perform your edits again.

  • Windows Vista will not start after the automatic installation of the patch Ms.

    My Dell laptop does an automatic installation of the latest MS patches (12/08/10) and now he can't boot into windows.  All tests show that the material is fine, but an error at the end of the "bad update patch" said test results I can not even to go back to a previous restore point.  This happened to me the year last on my desk... same thing, but it's XP which could not start after an automatic update for the Member States.  Dell technical support told me that MS knows what is happening, but it is not supposed to be public knowledge.  I need to know if there is a fix, in addition to erase everything and do a complete reinstallation of the operating system.

    Follow these steps to try to solve your problems of boot.

     

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If the system or Mode restore safe work not and you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to configure an application automatically starts when the unit is turned on

    I used the instructions in:

    How to-configure an application automatically starts when the unit is turned on

    Article number: DB-00002

    1. - in the BlackBerry JDE, right click on the project and select Properties.
    2. - in the Application tab, check the function of automatic execution on startup checkbox.
    3. - If you want your application to run in the background and not appear on the Ribbon, select the Module system.

    My application starts automatically in debugging, but not in my BB8100 pearl.

    Any ideas? THX...

    If you are looking for in the unit LOG immediately after startup, you should find out the reason.  I suggest to you that what follows is the most likely reasons:

    (a) application not signed

    (b) developed for a different level than the device OS.

  • What file or a setting in the game engine automatically starts when you choose a plane, the engines are already started on the track.

    Microsoft Flight Simulator X

    What file or a setting in the game engine automatically starts when you choose a plane, the engines are already started on the track.

    Thank you

    Nick Satullo

    E-mail address is removed from the privacy *.

    Original title: Flight Simulator X

    Hi Nick,

    Please post your request in the Microsoft Flight Simulator forums and it would be better suited to the community of players for Windows. Please visit the link below to find a community that will provide the support you want for better assistance.

    http://support.Microsoft.com/GP/games-for-Windows

  • How to save the password encrypted in the database using database authentication (weblogic server)

    Hi Experts,

    JDEV version 11.1.1.7.0

    I have a usecase where I use database authentication in my Application.

    However if I save the module to record user password. Its economy without encryption. Can U suggest how can I do this

    Thank you

    Roy

    Please see

    https://docs.Oracle.com/CD/E16162_01/user.1112/e17455/dev_secure_apps.htm#OJDUG1168

  • Automatic start/stop for guest settings keep reproduce every time I access the properties

    Greetings,

    I have a single ESXi host 5.5 with a single Win 2012 std server prompt.   I have a second guest, but is not in production. Several months ago I "thought" I activated the auto start and stop for this particular customer.  Due to problems of food in the building today, I had the opportunity to stop the comments and the turning off of the host completely.   After the reboot of the host, my guest, never started (automatically). I connected to the host via vsphere client and started manually.  No problems.

    I decided to check the settings of automatic start/stop and it is set to manual.  So, either I never actually put it on automatic (and I just have problems of memory in my head (not unusual for me)) or I put it really, and something happened where he became disabled or brought back to the default value.

    That said, I went to properties of start-up automatic and as mentioned above, found it turned off, I was able to allow him, but when he returned to the screen (after clicking OK), it displays TWO of each of my virtual machines in the Autorun screen.  I went back to see if I could change/delete/remove the extras (I've found a way to do it), and when I came back out of the screen there are THREE virtual computers listed in the pane. See attachment.  Anyone know what is happening here and how can I remedy the situation?

    Am I just being a fool and lack of obvious?

    Thank you.

    P....

    Autostart.jpg

    Exit the VSphere client and restart it solved the problem.  I presume a video type of bug, or maybe a bug with my version of the client.

  • LR6 will not automatically start when the memory card is inserted

    Hello

    Recently upgraded to LR6 from LR 5.7.1. When LR 5.7.1 was installed, it would automatically start when the memory card is inserted. With only LR6 installed it does not open when the memory card has been inserted.

    I "see the import dialog when a memory card is detected."

    I have LR installed 6.0.1.

    When the memory card is inserted, you receive the following error message:

    If I right click on the disk memory and select Auto Open play, a list of programs appear particularly LR. The program is highlighted is

    If I click on LR in the list above, I encounter error "Application not found".

    When I manually start LR6, it works and I can manually import from memory card.

    What can I do to fix this?

    Thank you

    Stu

    Yes, Autoplay is still trying to run LR5.

    There is a previous thread with notes on how to edit the Windows registry to resolve this problem, if you are comfortable doing.

  • I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to do the ph

    I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to make the phone number in the clickable query. I know the code to do it well not in a query. What is the code?

    As far as I saw, most of the smartphones will automatically recognize it these days, as long as the number is written in a format of regular phone number. This format also allows to make images or text other than a telephone number in a tap to call the link.

    Looking at what you have presented I guess it would be something along the lines of...

    urmcell>>">urmcell >

    When the location of the link and the link text would be the same variable.

    I've never worked with Intelliclick so above is a wild guess. They would be those who need to ask themselves if there is a way to fill in the address of a link like that.

Maybe you are looking for