Under the Linux host configuration automatically start Oracle 10G


Open terminal run:

$ su - root

# chown oracle.oinstall / etc / rc.d / init.d / oradbstart

# chmod 775 / etc / rc.d / init.d / oradbstart

Then run:

chkconfig - add oradbstart

chkconfig - list oradbstart

chkconfig - list oradbstart results:

oradbstart 0: off 1: off 2: off 3: on 4: on 5: on 6: off

5. Inspection:

According to the results above, when the appropriate level of on time running (for example: 5: on), in the corresponding / etc / rc.d / rcN.d (for example: and 5: on the corresponding

Is: / etc/rc.d/rc5.d) will generate a document the following: S99oradbstart, the use of vi S99oradbstart open the file, you can see the contents of the document

And / etc / rc.d / init.d / oradbstart the same content that the configuration successfully, in fact, S99oradbstart is a to / etc / rc.d / init.d / oradbstart link

We can use the file command to see:

$ file / etc/rc.d/rc5.d/S99oradbstart

S99oradbstart: symbolic link to '.. / init.d / oradbstart

6. A little note:

Script file: # chkconfig: 345 99 10

Pointed out that the 3,4,5-level to start the service, 99 are in the appropriate / etc / rc.d / rcN.d (N for the front of the specified level, this is 345) the link directory to generate the serial number of documents (Kai

Dynamic priority) S99oradbstart, 10 as noted above, in addition to the level of the corresponding / etc / rc.d / rcN.d (N for the outside in addition to 345-level) directory of links to documents generated by the serial number (service

Treasury to stop the priority level) K10oradbstart.
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Under the Linux host configuration automatically start Oracle 10G

  • ORACLE10G full version centos5 installed (the installation has passed)

    ORACLE10G full version centos5 installed (the installation has passed) 1. Centos 5.0 install rn GUI must be installed, it is best not to start selinux rn rn rn 2. . Ready to install the software: (this is very important, is the first installation fai ...

  • SGA extended the principle of 32bit oracle

    SGA extended the principle of 32bit oracle From: http://www.itpub.net/247048.html Because the median 32bitrnoracle restrictions can only visit the oracle process 4g (2 of 32 power) following virtual memory address, the time at a lot of people this is ...

  • AX3.0 + Oracle 10G RAC installation

    During these two days, you installed RAC, in a virtual machine inside, with a full day, there have been some questions on his way. Now have their own solution. In fact, it is loaded, it is easy, as long as planned, carefully point on OK, the trouble ...

  • Oracle in the relationship between User and Schema

    If we want to know the database and the User What is the relationship between Schema, we must first know about User and Schema database What is the concept in the end. In SQL Server2000 in architecture because of the reason, User and Schema there is ...

  • High Availability Oracle Flashback

    Brief introduction Flashback Database is a point in time (PIT) restore the database approach. This incomplete recovery strategy can be used to restore the logic because of human error cause damage to the database. At the introduction of 10g, it is de ...

  • An example of the use of TKPROF

    First, view and edit parameters SQL> show parameter max_dump_file_size NAME TYPE VALUE ------------------------------------ ----------- --- --------------------------- max_dump_file_size string UNLIMITED SQL> show parameter user_dump_dest NAME TYPE

  • Diagnosis and principles of order

    SQL> select disk.value "Disk", mem.value "Mem", 2 (disk.value / mem.value) * 100 "Ratio" 3 from v $ sysstat mem, v $ sysstat disk 4 where mem.name = 'sorts (memory)' 5 and disk.name = 'sorts (disk)'; D ...

  • ORACLE 10G dataguard configuration Step by Step

    oracle dataguard

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments