Lots of Inactive perl sessions in Oracle 10g r2 on Debian Linux 64 bit

Hi,
There are lots of Inactive perl session in Oracle 10g release 2 10.2.0.3.0 on Debian Linux 64 bit, is it normal
ps aux|grep oracle is showing following in processes of perl
/home/u01/app/oracle/product/10.2.0/database1/perl/bin/perl /home/u01/app/oracle/product/10.2.0/database1 /sysman/admin/scripts/db/dbarchfull.pl

Hi,
There are lots of Inactive perl session in Oracle 10g release 2 10.2.0.3.0 on Debian Linux 64 bit, is it normal
ps aux|grep oracle is showing following in processes of perl
/home/u01/app/oracle/product/10.2.0/database1/perl/bin/perl /home/u01/app/oracle/product/10.2.0/database1 /sysman/admin/scripts/db/dbarchfull.pl

Similar Messages

  • Can I disable logging for session in Oracle 10g?

    I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
    How to do it?
    What is the best choice? Can I disable logging from session in Oracle 10g?
    Thank you
    Edited by: jetq on Jul 23, 2009 9:46 AM

    Hi,
    "Delete" without generating redo-log is not possible.
    If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
    In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
    In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
    Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
    I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
    Have fun.

  • How to block Sql Plus sessions in Oracle 10g

    Hi,
    I want to block all sql plus sessions in oracle 10g, as we have a application and we need each and every one to use this application not the sql plus session.
    Kindly update us as soon as possible. and also thanks in advanced.

    Understand the concept Karl, but a layered defense seldom works in the IP world. If I manage to get through the firewall, then how can you prevent me access, at IP level, at any other ISO stack layer? If you manage to get through, then your firewall policies could just be too weak :) at least you must have some kind of an IDS infrastructure in place..
    what I mean is, you can have infinite number of threats.. and this will be part of your Risk Analysis. Determining all possible threats to the assets, what are being protected and their associated value, and predicting the rate of occurrence.... with all of these you could probably come up with contingency plans and incident response.. And most of all, you should not ignore the fact that people are creative, ingenious, and curious, and they'll prove this to you by testing your security implementations. So you'll have to periodically evaluate your security.. that's why there are audits.. Also, you must balance Security, Performance, Usability, and your Budget.
    Yes, you can argue that if the entire firewall goes down (thus no IP defense), then something like DBV (or even denying IPs in sqlnet) can provide some defense. But is that not then a case of too little too late? It's better too little too late, than no protection at all... Imagine if there's no DBV, or if you have not implemented the concept of "Least Privilege"? or if the backups and exports are not encrypted? That would be more devastating.. that's the importance of database security options and features in providing "defense in depth"
    I question just what purpose and how effective IP packet security is at higher layers. It can never substitute doing this instead at firewall level. Well, it's not all about network security. All facets must be considered and the inter-relationships should be understand. Like the core information security and access management, physical and personnel security, training them, etc... And all of these are equally important in providing a secure ecosystem
    As for security that relies on the client to pass secure data (like executable name or o/s user name)... all this can easily be spoofed. Even if the app and Oracle driver are somehow digitally signed and these signatures can be verified on the server side, we only need to look at Vista to see how secure this really would be. Microsoft attempted to encrypt every single h/w and s/w layer from the physical DVD track to the pixel on the monitor.. and this was defeated. And this was done as o/s kernel level. It is less complex to hack at driver level and even trivial to do it at application level.Security is about risk management. Blocking SQL*Plus does not negate the risk of SQL from the wild being run on a production server. For example, the client is a VB client using ODBC. It is easy to create a proxy that accepts the ODBC connection from the VB client and proxy the OCI packets to the real Oracle server. Now you have a man-in-the-middle than can inspect every single SQL call made to Oracle, and inject any PL/SQL or SQL code it wants.
    Security is far beyond writing a login trigger to deny SQL*Plus sessions and calling that a defense. >
    Yes I agree with you. That's why there are independent organizations and regulating bodies that provides security best practices, to give us a headstart on comming up of strong security policies.
    And one of my favorites is the one provided by IASE (sponsored by Defense Information Systems Agency) where there's lot of content regarding hardening and policies
    http://iase.disa.mil/stigs/stig/index.html
    http://iase.disa.mil/stigs/checklist/index.html
    http://iase.disa.mil/stigs/SRR/index.html
    - Karl Arao
    http://karlarao.wordpress.com

  • Perl library with Oracle 10g?

    Hello,
    Is the perl library in Oracle 10g? I want to use perl but was wondering if there is already perl library with the Oracle 10g stack that I can use? Thank you.

    DBD is an open source database abstraction layer for Perl, run completely outside of any Oracle involvement. DBI::Oracle is also a CPAN distributed module, and to my knowledge is also a community effort.
    They may be available somewhere as part of some Oracle distribution (I don't know) but for every vanilla installation I have done, I have acquired both of these modules using either my OS's package distribution (you can "yum install perl-DBD" on RedHat for example) or using Perl's standard CPAN module manager.
    If you're not familiar with CPAN - you should look into it while you are using Perl.

  • Oracle gateway for Oracle 10g DB on Windows 64 bit server

    Is there any place that I can find Oracle dateway for Oracle 10g DB on Windows 64 bit server? I can only find Gateway for Oracle 11g on Windows 32 bit server. Please help me to identify this. Thanks.

    yingkuan:
    Thanks a lot. The link tells the details. It seems that Oracle has not release Gateway for Oracle database 10.2.0.x on Windows 64 bit server. Probably they don't do it.
    So under this circumstance, if I want to install Gateway (32 bit) on Oracle 10.2.0.3 DB on Windows 64 bit server for Teradata, I probably have to install Gateway software in another Oracle Home, then configure it right. Please give more advice on this. 32 bit Gateway will work for 64 bit database?

  • Install Oracle 10g R2 RAC on Linux 5.x (64 bit)

    Hi Friends,
    Please provide the document to Install Oracle 10g R2 RAC on Linux 5.x (64 bit)
    Cluster : Local Disk
    OCR and Voting Disk : OCFS2
    DB Home : Local
    DBF Files and FRA : ASM
    Please let me know how to create OCFS2 and ASM Volumes for RAW Disks (SAN Lun's)
    Regards,
    DB

    You can refer below
    http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html
    http://www.oracledba.org/10gR2/Pre_Install_10gR2.html
    http://www.google.com/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=9&ved=0CHUQFjAI&url=http%3A%2F%2Fcommunities.vmware.com%2Fservlet%2FJiveServlet%2FdownloadBody%2F12534-102-1-13254%2F10gR2%2520RAC%2520INSTALLATION%2520IN%2520LUNX5.pdf&ei=71A5T-jrM8jMiQLihOS_Cg&usg=AFQjCNGnBrzhvm3j9PuPNy4FLJuaxetS1A&sig2=0b8VnMefcXueFUu44-66yQ
    Hope this helps,
    Regards
    http://www.oracleracexpert.com

  • How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?

    Does anyone know - How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
    Does SAP offer the software for trial for this?
    Jay

    Hi Check the link page you shall get the PDF and then goto Page 50 .you shall find the details.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3096e412-7308-2b10-4999-e16c64ce5eeb
    Thanks
    Rishi Abrol

  • CPU Requirements for Oracle 10G Rel2 on RH Linux 3 (Linux x86)

    Hi,
    Can anyone tell me how to decide on the CPU (Speend and no. of CPUs) for Oracle 10G Rel2 on RH Linux 3 (Linux x86)?
    Thanks in Advance.
    Prachi

    the more , the better

  • Question on migrating oracle 10g from solaries to linux?

    Can some one tell the exactly what is the advantage of migrating oracle 10g from solaries to linux?
    Thank you,
    hb

    call me
    [email protected]

  • Kill Session in Oracle 10g

    Oracle 10g r2
    I killed a session after fetching the sid and serial from the v$session as under
    select * from v$session where username='SAM';
    alter system kill session '530,7420'
    Now the status showed killed.
    But again after some time one i query the v$session the status turn to inactive.
    Why so?

    Yeah Madrid....
    Thanks for that.. at the developer side.. they did get session killed.
    But actually my doubt here was. that once i killed the session then i go the status as "killed" in the v$session
    but less then a minute when i again query the v$session then i see the status aa inactive. This is what is not clear to me.

  • Oracle 10g on Red Hat Linux 9

    Hello,
    Contrary to what Oracle advise, we're about to install Oracle 10g on Red Hat 9. I'm afraid that the decision is out of my hands.
    Has anyone installed Oracle 10g database on Red Hat 9? and if so, is the database running smoothly? If not what type of problems have you experienced?
    Thanks in advenace.
    Kind Regards,
    Rudi

    but my installation is failed :
    after i type in ./runInstaller,the following exception is throw:
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, UnitedLinux-1.0 or redhat-3
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2004-08-26_04-56-29PM/installActions2004-08-26_04-56-29PM.log
    why?thanks for any helps!!!!

  • Installation of OracleAS 10g on Red Hat Linux ES 3.0

    Installation of Oracle AS 10g on RedHat ES 3.0
    Red Hat Enterprise Linux 3
    Copy from OTN Note
    Start
    Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
    1.     Boot the server using the first CD.
    o     You may need to change your BIOS settings to allow booting from the CD.
    2.     The boot screen appears with the boot: prompt at the bottom of the screen.
    o     Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
    o     The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
    3.     Language Selection
    o     Accept the default.
    4.     Keyboard Configuration
    o     Accept the default.
    5.     Welcome Screen
    o     Click on Next.
    6.     Mouse Configuration
    o     Accept the default.
    7.     Installation Type
    o     Select Custom.
    8.     Disk Partitioning Setup
    o     A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
    (WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
    This article uses the following partitioning scheme, with ext3 for each filesystem:
    The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
    - 100MB /boot partition
    -1,500MB swap partition—Set this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
    -7,150MB root partition— This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
    9.     Boot Loader Configuration
    o     Accept the default.
    10.     Network Configuration
    o     It is usually best to configure database servers with a static IP address. To do so, click on Edit.
    o     A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
    o     In the Hostname box, select manually and enter the hostname.
    o     In the Miscellaneous Settings box, enter the remaining network settings.
    11.     Firewall Configuration
    o     For the purposes of this walk-through, no firewall is configured. Select No firewall.
    12.     Additional Language Support
    o     Accept the default.
    13.     Time Zone Selection
    o     Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
    14.     Set Root Password
    o     Enter a password for root, and enter it again to confirm.
    15.     Package Group Selection
    o     Select only the package sets shown here. Leave all others unselected.
    o     Desktop
    - X Window System
    - Gnome
    - KDE
    - See my comments in the RHES 2.1 section regarding choice of GUI.
    o     Applications
    - Editors
    - Graphical Internet
    o     Servers
    - Do not select anything in this group.
    o     Development
    - Development Tools
    o     System
    - Administration Tools
    o     Red Hat Enterprise Linux
    - Do not select anything in this group.
    o     Miscellaneous
    - Legacy Software Development
    o     Click on Next to proceed.
    16.     About to Install
    o     Click on Next.
    17.     Installing Packages
    o     Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
    18.     Graphical Interface (X) Configuration
    o     Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
    19.     Monitor Configuration
    o     Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
    20.     Customize Graphical Configuration
    o     Accept the defaults.
    21.     Congratulations
    o     Remove the installation media from the system, and click on Next.
    22.     The system automatically reboots and presents a new welcome screen.
    o     Click on Next.
    23.     License Agreement
    o     Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
    24.     Date and Time
    o     Set the Date and Time.
    o     If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
    25.     User Account
    o     Create an account for yourself.
    o     Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
    26.     Red Hat Network
    o     If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
    27.     Additional CDs
    o     Click on Next.
    28.     Finish Setup
    o     Click on Next.
    29.     A graphical login screen appears.
    30.     Congratulations! Your Linux software is now installed.     
    End of OTN Note
    Now just install compat-db-4.0.14-5.i386.rpm
    Gnome-libs-1.4.1.2.90-34.1.i386.rpm
    Libpng10-1.0.13-8.i386.rpm
    ORBit-0.5.17-10.4.i386.rpm
    Install patch 3006854
    Copy libcwait.so file from /etc to /lib
    And make links
    mv /usr/bin/gcc     /usr/bin/gcc323
    mv /usr/bin/g++     /usr/bin/g++323
    ln –sf /usr/bin/gcc296     /usr/bin/gcc
    ln –sf /usr/bin/g++296     /usr/bin/g++
    Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 256 65000 200 256
    fs.file-max = 131072
    net.ipv4.ip_local_port_range = 1024 65000
    kernel.msgmnb=65556
    kernel.msgmni=4096
    Then restart the computer
    Login with Oracle user
    now path setting as
    I have done this by make two environment files
    Infra.env
    TMP=/tmp
    Export TMP
    TMPDIR=$TMP
    Export TMPDIR
    ORACLE_BASE=/oracle
    Export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/appsrv/infra
    Export ORACLE_HOME
    ORACLE_SID=asdb     (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
    Export ORACLE_SID
    PATH=/usr/bin:/usr/sbin
    Export PATH
    PATH=$PATH:$ORACLE_HOME/bin     (u can include command paths like dcm as u needed)
    Export PATH
    LD_ASSUME_KERNEL=2.4.19
    Export LD_ASSUME_KERNEL
    Copy this file with name as.env and change ORACLE_HOME from infra to as.
    . ./infra.env
    DISPLAY=localhost:0.0; export DISPLAY
    Xhost +
    Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
    Start installation from CD 1 .
    . ./runInstaller
    Press Y               (There is no need to disturb, upgrade, degrade any package)
    Press Y
    Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
    ] –o [  and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
    There will no error in installation in infrastructure
    Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructure’s installation plz rename that 3 files as
    Mv coredb coredb-infra
    Mv dbhome dbhome-infra
    Mv ora     â€¦     ora…-infra
    If u overwrite that files by creating same name of middle tier files no problem.
    When problem comes?
    AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
    Zeeshan Ali
    @CES
    [email protected]

    Hi,
    I tried uname -a and it returns the following:
    Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
    We have the following problems:
    1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
    rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
         oracleasmlib-1.0.0-1.i386.rpm \
         oracleasm-support-1.0.3-1.i386.rpm \
    When I tried to install these files, I got the following error:
    Checking for Red Hat enterprise kernel: [FAILED]
    Also when I try to run /etc/init.d/oracleasm , I get the same error
    Checking for Red Hat enterprise kernel: [FAILED]
    2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
    [root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
    crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
    crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
    crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
    crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
    then tried this:
    SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
    2 failgroup c1 disk '/dev/raw/raw1'
    3 failgroup c2 disk '/dev/raw/raw2';
    create diskgroup dg1 normal redundancy
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
    [3939617408], [], [], [], [], []
    ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    Any help is appreciated.
    Irshad A. Buchh
    Senior Principal Consultant

  • Installing oracle 10g xe edition on linux

    Hi,
    I am trying to install oracle 10g xe edition on redhat linux. By default the oracle database rpm package uses /usr/lib partition for installation files. Is it possible to install the oracle database files in /export partition instead of default location /usr/lib?
    Thanks
    Kapil

    There are a few differrent 'RedHat Linuxes' ... could you be a bit more specific.
    But ... the default answer is 'no'. Several of us have used various workarounds, including creating a special link from /usr/lib/oracle to /export/oracle and the like.
    I installed in /usr/lib and after successful installation I created a special link, copied everything to the new target, and have had no problems at all.
    Others have used other techniques with success. INcluding the one by cd - tweak the install script.

  • Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3

    I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
    I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
    # sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
    The error I had got is as follows:
    Preparing.....#####################[100%]
    1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
    error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum Mismatch

    The steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
    I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
    The Previous Query is as follows:
    Thanks For Guiding Me All of you!
    Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
    Now, I am having the following problems:
    After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
    1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
    " The connection was refused when attempting to contact 127.0.0.1:8080 "
    2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
    ORA-01034 : Oracle not available
    ORA-27101: Shared Memory realm does not exist
    Linux Error:2:No such file or directory
    3. When I try to manually start the Listener or Services, It gives one more error:
    Root Not a Member of DBA Group
    I need to What is happening or What is the Problem and How will I rectify them?

  • How to Install Oracle 10g in SLES 10 32 bit

    Hello Guys,
    I was intalling oracle 10g in SUSE LInux Enterprise Server 10, but i always have an error..
    Is there someone who can have and give a manual on how to install oracle 10g in SLES10? ANd some linux shell scripting
    manual..?

    Hi,
    have a look at:
    http://www.oratoolkit.ch/knowledge/howto/installation/otn.php
    you will find there your SLES and Oracle specific installation guide. With korn shell script you will be able to install Oracle within 60 minutes.
    Good luck!
    Cheers,
    David
    OCP 9i / 10g / 11g

Maybe you are looking for