Using Oralce with Unix (AIX)

My firm have now started to give me exposure to administering the 9i database using Unix (AIX).
I have no prior understanding and I know this will take time.
I need to get up to speed.. I have 9i installed on my machine at home - can I somehow download AIX at home and simply practice there?
Yes, its a newb question!
Thanks.
DA

Dan,
As someone said before in an earlier posting, if you are just trying to get to know Oracle then you can pretty much do everything using any version of Oracle it could be Windows or Unix or Linux. The differences come into play for the setup and other similar things you have to do from a OS command line. However, if you are looking to use sqlplus to access the database and just concentrating on commands in sql then you don't need to worry about Unix vs Windows vs Linux so much.
You can connect to any database that you have network connectivity to and that has the correct PORTs open. However, this will take some setup to accomplish.
I would advise working through the 2-Day DBA guide that you can find here:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14196.pdf
I would also look at the Oracle By Examples found here:
http://www.oracle.com/technology/obe/10gr2_2day_dba/index.html
which compliments the other guide.
The reason that sqlplus can not be found is that it is not in your PATH. The easiest way I have found to setup an environment on a Unix system, is basically find someone's who's environment works (usually oracle) and then go through their .profile and .kshrc files and see what they are calling. Usually they reset their PATH variable at some point to include the Oracle bin directory.
Someone in your organization should have the knowledge to setup the system to access sqlplus and other things you need. Again, if I had to do it myself I take a few hours to understand how an account like (oracle) is setup and try to set mine up similarly if not exactly the same.
Regards
Tim
Good Luck, I know it is tough when you are just begining.

Similar Messages

  • Advantages of using Oracle with Unix over Windows server

    Hi there,
    I want some article/document which depicts the advantages of using Oracle with Unix (say HP-UX or Solaris backend). Actually the plan is to use some Data Warehousing applications using Cognos Poweplay, ReportNet and either Decision Stream of Cognos or Oracle Warehouse builder may be used as ETL tool. For Data mining applications we are planning to use SPSS Clementine. The Data volume will be substantial one. At present we are developing some prototype in Windows 2003 advanced environment. We are plaiing to use Risc server and RAID-5. Pl. advice some ideal architecture for us, as you know, it's typically a Govt. level application data (mostly archival data). The reports will be published using Report Net, Adhoc query etc, OLAP analysis will be done using Powerplay.
    Regards,
    Anupam Basu

    Hi there,
    I want some article/document which depicts the advantages of using Oracle with Unix (say HP-UX or Solaris backend). Actually the plan is to use some Data Warehousing applications using Cognos Poweplay, ReportNet and either Decision Stream of Cognos or Oracle Warehouse builder may be used as ETL tool. For Data mining applications we are planning to use SPSS Clementine. The Data volume will be substantial one. At present we are developing some prototype in Windows 2003 advanced environment. We are plaiing to use Risc server and RAID-5. Pl. advice some ideal architecture for us, as you know, it's typically a Govt. level application data (mostly archival data). The reports will be published using Report Net, Adhoc query etc, OLAP analysis will be done using Powerplay.
    Regards,
    Anupam Basu

  • Using Oracle with Unix Cron

    Folks, hows everyone?.
    I am trying to go beyond SQL*Plus queries and teach myself some automation. Turned out to be a litle challenging. Can some one educate me on how to finish this task:
    I wish to automate the following report with crontab: pull data from HR account in Oracle and email it to [email protected] everyday at 6am.
    So, first, i wrote the following script, myqueryscript.sql, containing the query:
    spool /home/myname/myautoreport
    select * from hr;
    exit;
    /home/myname is my unix path and myautoreport directory to store a copy of results.
    Second, i wrote the following shell script, myshellscript, to execute myqueryscript.sql:
    /home/myname/sqlplus hr/psswd @/home/myname/myqueryscript
    third, I wrote the following crontab, mycronscript, to run the shell script:
    00 06 * * * "/home/myname/myshellscript"
    Finally, i submitted to crontab as:
    crontab mycronscript
    I didnt work. Am i missing something?.
    pls note: i am not the root in unix.
    Thanks,
    -a

    > Would you recommend this book on the basis of its contents table or any other
    books on the subject?
    Sorry - I'm not familiar with that author or that book. The most valuable Oracle "books" in my opinion are found at http://tahiti.oracle.com - the complete sets of all Oracle manuals from 8i to 10G.
    Many authors seem to only regurgitate Oracle manuals. The only Oracle book I've bought and considered as a worth every single cent, is Tom Kyte's Oracle Expert one-on-one.
    This goes into the very fundamental concepts of how to use Oracle correctly. It is a real eye opener.
    I am new to automation and wish to study it.What aspects of automation? It covers a very broad range of topics.
    Does automation in the way you described it, i.e. DBMS_JOB, depend on PL/SQL?Extensively. PL/SQL is a formal procedural language. It is as capable as Pascal, C or Java. Many seem to think in terms of PL/SQL as SQL plus some basic programming control structures. PL/SQL is not SQL. These are two different very languages.
    What makes it unique are:
    - it is a server side language running inside the Oracle database
    - it integrates so tightly with SQL that you can write SQL language statements in PL/SQL as if these are native to PL/SQL (which leads to the confusion thinking that PL/SQL is SQL)
    99% of all Oracle related code I write is PL/SQL. There is very little that you cannot do using PL/SQL. And Oracle is not just a capable database tier, it is just as capable as an application tier.
    When using Oracle, there is no need for a separate application tier like Weblogic, JBoss, etc. PL/SQL is in fact a lot more capable language for the application tier than Java or .NET.
    Simple example. One of the automation processes we have is to supply another system with delta changes from one of our databases. They wanted it in XML. They wanted it FTP'ed to their server. 100% of the code written for this is PL/SQL. From creating XML CLOBs in the database, to using FTP to transfer the contents of these CLOBs to their FTP server. With an APEX (Oracle Application Express) web application (also entirely PL/SQL) that provides for maintenance and administration of this automation.
    With less moving parts (not dealing with external processes and additional programming languages), Oracle PL/SQL applications are a lot quicker to develop, a lot easier to maintain, performant (it is very close to the data), and more robust.
    PL/SQL is a very critical core component in any automation and any application that uses the Oracle database.

  • Problem with Oracle 8.1.7 Installation on UNIX AIX 4.3

    Hi,
    I tried to install Oracle Enterprise Edition on UNIX AIX system. After all pre installation task, when I run the installer (./runInstaller) I have the following error message:
    java.lang.InternalError: Can't connect to X11 window server using '192.168.0.150
    :0.0' as the value of the DISPLAY variable.
    Please help me to fix my problem
    Thanks
    Omer

    Is the machine you're trying to install on the
    machine your display is running on?
    If not, doing a
    'xhost + name_of_machine_you_are_installing_on'
    on the machine your display is running on should do the
    trick.
    Hope that helps.
    M. Geselle

  • Pro COBOL / Precompile and run with Micro Focus Server Express in Unix AIX

    I have Oracle 11g R2 DB and client installed in Unix AIX machine. I would like to make a simple test pgm to :
    1. the precompile using procob on the sample program
    2. compile it through Micro Focus Server Express
    3. run the sample
    This sample pgm will just open a predefined Oracle DB, read and write a record to a table.
    I see there is a demo_procob.mk file in precomp/demo/procob2. Not sure how to use it. Any help out would be helpful.
    Thanks.

    Thanks for the quick reply.
    I think the examples are installed and that is the reason I see the sample1..10. I can do procob on the sample1.pco to convert it to a pure cobol pgm and then compile through microfocus server express. But I can't run it as it gave Load error: file 'sqladr'; error code 173, pc=0, call=1, seg=0 173 called program file not find in drive/directory.
    Is this the right step and where can I find the sqladr and other modules?
    should this be placed in the COBDIR or PATH?
    Anything else I need to set?
    thanks.

  • Schedule workbook using with Unix shell script

    Hi,
    Can we schedule workbook using with Unix shell script?
    Thanks,
    Jay

    I can't imagine how.
    1. You can schedule Disco workbooks via Disco itself.
    2. You can schedule Disco workbooks to run and output in different file formats automatically via batch scheduler in Windows running Disco Desktop directly (or can user VBasic).
    3. You can schedule Disco workbooks to run and output in different file formats automatically via a Java program running the Java Command Line interface.
    Moving forward, Oracle has announced that with a further interfacing of Disco with XML Publisher, you'll be able to use Oracle Apps concurrent manager and scheduling. But that's coming supposedly at the end of this year.
    And I think that's about it.
    Russ

  • How to use large pages in AIX with oracle

    Hi,
    i'm trying to convince oracle to use large pages on AIX 5.3 but haven't
    suceeded so far.
    i set v_pinshm=1, maxpin%=80, lgpg_regions=448 and lgpg_size=16777216
    using 'vmo' and 'LOCK_SGA=true' in spfile. after rebooting and starting
    the instance 'svmon' shows no no large pages in use:
    # svmon
    size inuse free pin virtual
    memory 4046848 3711708 335140 2911845 1503108
    pg space 524288 5551
    work pers clnt lpage
    pin 1076604 0 233 1835008
    in use 1503010 0 373690 0
    pgsize size free
    lpage pool 16 MB 448 448
    SGA size is 3G. why doesn't oracle use large pages? i already have
    created a TAR but maybe an oracle-on-AIX expert can help me faster than
    oracle support :)
    regards,
    -ap

    Nice day Andreas,
    please do you have some solution for your issue, because I think I have similar problem,
    I set on AIX
    vmo -r -o lgpg_regions=192 -o lgpg_size=16777216
    vmo -o v_pinshm=1
    I see in svmon -G this output
    PageSize PoolSize inuse pgsp pin virtual
    s 4 KB - 1104431 2456 685141 874874
    L 16 MB 192 0 0 192 0
    these (16MB large pages) are free but when I want run BEA WebLogic server run with parametr -Xlp the application is run with standard 4K memory pages,
    thank you very much for any other hint,

  • Can a dotnet application talk with unix os using Oracle SOA Suit?

    how can a dotnet application talk with unix operating system using Oracle SOA Suite? I have to automate a process on unix server like create user through dotnet application.. is it possible?
    My dotnet application is used for creating users, granting access on the servers. Some servers are 21C servers and some are legacy servers. In this dotnet application a user make certain request for the rights on those servers e.g. create user, give access rights, change password. This application is treated as user interface and maintaining tool of all this information and later on the basis of that request it generates the job-sheet. This job sheet is forwarded to responsible engineer who further provisions the request manually by going to that specific server in the request. So I want to automate this process that when user put any access or create user request then the moment he puts the request, that request should be provisioned without any human intervention i.e. automatically users must be created or password must be changed. I believe you will get an enough idea about my problem from all above information. So please help me.

    Post your query at "SOA Suite Discussion Forum"
    SOA Suite

  • File Content Conversion in Unix AIX

    Hi all,
    the XI was migrate from Windows System to Unix AIX system. All process are running fine, but I have some file adapter with content conversion and Unix system are put the hexa char '0A' in the end/break of line and in the Windows System put the hexa char '0D 0A'. With this other system that process these files not work properly.
    How I to solve this problem? It is a problem?
    thanks.

    I solved using endSeparator = '0x0D''nl'
    []s

  • GUI problem with UNIX

     

    Hi Vasundhara,
    Try grouping the widgets in to a panel.
    Thanks,
    Madhu
    -----Original Message-----
    From: vasundhara [mailto:[email protected]]
    Sent: Wednesday, April 25, 2001 9:15 AM
    To: [email protected]; Joseph Mirwald
    Subject: Re: (forte-users) GUI problem with UNIX
    Hi Joseph
    We are using Forte 3.0 M2 on Solaris 5.8 The problem is with the push
    buttons, After we grid the controls and they look intact in the NT
    environment, but when we open the same window in SOlaris the controls are
    far apart.Do you have any idea about this?
    Regards
    Vasundhara
    ----- Original Message -----
    From: Joseph Mirwald <mailto:[email protected]>
    To: vasundhara <mailto:[email protected]> ;
    [email protected] <mailto:[email protected]>
    Sent: Wednesday, April 25, 2001 10:13 AM
    Subject: Re: (forte-users) GUI problem with UNIX
    Hello vashundara,
    please say which Version of Forte and which kind/version your UNIX OS is.
    There are some problems on AIX V4.3.x (Motif 2.x) and older releasese of
    Forte (up to Forte 3.M.x) and so on and it is necessary to look what it is.
    Maybe it is possible for you to say which widgets are the problem.
    Thanks forward
    Joseph Mirwald
    At 15:25 23.04.01 +0530, vasundhara wrote:
    Hi
    We are facing a strange problem when we try to port our application from NT
    to UNIX. The problem is that the GUI doesnt come properly. As per my
    knowledge gridding all the controls on the GUI shouldnot create this
    problem, but inspite of this we are facing it. Did anyone comeacross this
    situation?
    Thanks in advance
    Regards
    Vasundhara N.C
    Wisor Telecom Pvt Ltd
    Bangalore
    India

  • Run essmsh under UNIX AIX server

    HelloI'm trying to launch MaxL editor on a UNIX AIX server and i'm getting the following message ...0509-150 Dpendent module libessapiS.a could not be loaded0509-022 Cannot load module libessapiS.a0509-026 System error: A file or directory in the path name does not existDid somebody already encountered this ?Thanks

    > JAVA:
    > /usr/sap/<SID>/SCS01/exe
    Java shouldn'T be patched "manually" but only using a full stack. Since only few parts of the kernel are used in an ABAP instance there's no need to patch e. g. "disp+work".
    > The systems are running fine so far and after logging in to the ABAP stack it shows the current kernel level 200 ...
    >
    > However if we run the JSPM it still shows us the old kernel level 180 ...
    yes - because the Java part doesn't "know" anything about single kernel patches but only stacks.
    > What's wrong here ?
    > How can we bring the JAVA Stack to a current level ?
    There is no need to. The support stack on your Java and the installed kernel should match.
    > We found a strange and older dispwork we couldn't execute using "dispwork -V" under
    >
    > /sapmnt/<SID>/exe/uc/rs6000_64
    That is the "new" directory structure for kernels. Systems starting with 7.10 will use that structure. See
    Note 1104735 - Upgrade to new instance-specific directory on UNIX
    You may not be able to execute the dispwork since that part of the kernel relies on corresponding libraries (.o files). If you didn't change your SHLIB_PATH to that directory uc/rs6000_64 the startup of dispwork will read those in your normal kernel installation directory - which fails then.
    Markus

  • How to use Terminal with KeySpan USB serial adaptor cable?

    I own a KeySpan model USA-19HS to use with our MacBookPro when working on clients networking equipment that require serial communication. I have used ZTerm with excellent luck, but it costs, and is yet another application that I dont really want. I would like to know if any one out there has exacing instructions on how to use Terminal with this adaptor. If I could write a file that had, say, the couple most common settings (9600-8-n-1, 57600-8-n-1, et cetera) that I could simply click on, to open a new Terminal window with those settings, then simply close that, and open a new window (apple+n) in order to get back to a default settings terminal window. All feedback is most appreciated.
    Thanks so much, Jason Sjobeck

    Hi, Jason. Welcome to the Discussions.
    You wrote: "All feedback is most appreciated."OK.
    1. Have you considered discussing this with Keyspan Support?
    2. Have you read the section "OSX has Terminal.app - why do I need ZTerm?" on the ZTerm Home Page? That seems to explain why one needs an app like ZTerm.
    3. A quick search of Keyspan's FAQ for your product and terminal doesn't yield much more than how to find the serial ports using Terminal.
    Likewise, this Google search also yields little, and variants of that search of such weren't particularly help either.
    It appears your inquiry seems to be a somewhat esoteric topic.
    4. Apparently, ZTerm X is a bit long in the tooth and there's no Universal Binary for it. It sounds, however, like you've tried it running on your MBP under Rosetta, yes?
    5. In researching alternatives to ZTerm for you, I note the followng:• The comment from "Reverb" on this page suggests C-Kermit or Kermit as a free alternative.
    • This tip on Mac OS X Hints cites Minicom as another option.6. You may want to try your question on the Unix Discussion.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Performance problem in Mapping Designer using UDF with external imports

    Hello,
    we do have a big performance problem in developing (not in execution) graphical Mappings as far as we use "user defined functions" (UDF) with include-entries referencing to jar files which are imported as "imported archives".
    For example the execution of invice mapping with a little bit bigger test file in the Mapping designer:
    - after opening, not in change mod: 6 seconds
    - after switching to change mod: 37 seconds (that's clear, now everything is compiled first)
    - after adding "com.seeburger.functions.permstore.CounterFactory;" into the "import" field of one UDF, no other change: 227 seconds
    - after saving and submiting the changlist (no longer in change mode): 6 seconds
    - after switching to change mode: 227 seconds
    So execution speed of testing (and also when watching queues) only increases in changemod more then three minutes when using UDF with imports, referencing to external JAR files. It doesn't depend on Seeburger functions (we are using XI also for EDIFACT, so we also use some Seeburger functions), I can reproduce it with any other JAR file which is used from a UDF.
    Using java included functions like "java.text.NumberFormat;" in "Import" doesn't slow down the testing.
    Can anybody reproduce this? We are using XI 3.0 SP19 on a AIX machine, so we also have to use the Java version from IBM.
    cu
    Manfred

    Problem was fixed by a upgrad of the JDK.

  • Migration from OS/400 (iseries) case in-sensitive OS to UNIX (AIX) case sensitive

    Apparently as400 is not case sensitive OS, AIX is so this is causing issues after the migration to UNIX (AIX).  What do you recommend for analysis of what will need correction in SAP system - config / tables entries / variants / code?  Is there a way to make UNIX files case insensitive?

    Hi Vinoth,
    Source System:
    SAP Application:     Solution Manager 7.1
    Database          :     DB2 UDB for iseries 7.1
    OS                   :     OS/400
    Target System:
    SAP Application:     Solution Manager 7.1
    Database          :     DB2 LUW 9.7
    OS                   :     Rethat Linux 6
    Above migration path is possible and support in SAP. For more details on compatibility please refer PAM www.service.sap.com/PAM
    To perform this migration refer to Heterogenous system copy guide available at SAP service marketplace.
    Useful documents on SCN
    Heterogeneous ABAP System Copy - Technical Overview
    FAQ - System Copy and Migration
    Hope this helps.
    Regards,
    Deepak Kori

  • Using utl_file and unix pipes

    Hi,
    I'm trying to use utl_file and unix pipes to communicate with a unix process.
    Basically I want the unix process to read off one pipe and give me back the result on a different pipe.
    In the example below the unix process is a dummy one just copying the input to the output.
    I cant get this to work for a single plsql block writing and reading to/from the pipes - it hangs on the first read of the return pipe.
    Any ideas?
    ======== TEST CASE 1 ===============
    create directory tmp as '/tmp';
    on unix:
    cd /tmp
    mknod outpip p
    mknod inpip p
    cat < inpip > outpip
    drop table res;
    create table res (m varchar2(200));
    declare
    l_filehandle_rec UTL_FILE.file_type;
    l_filehandle_send UTL_FILE.file_type;
    l_char VARCHAR2(200);
    begin
    insert into res values ('starting');commit;
    l_filehandle_send := UTL_FILE.fopen ('TMP', 'inpip', 'A', 32000);
    insert into res values ('opened inpip ');commit;
    l_filehandle_rec := UTL_FILE.fopen ('TMP', 'outpip', 'R', 32000);
    insert into res values ('opened outpip ');commit;
    FOR i in 1..10 LOOP
    utl_file.put_line(l_filehandle_send,'line '||i);
    insert into res values ('written line '||i); commit;
    utl_file.get_line(l_filehandle_rec,l_char);
    insert into res values ('Read '||l_char);commit;
    END LOOP;
    utl_file.fclose(l_filehandle_send);
    utl_file.fclose(l_filehandle_rec);
    END;
    in a different sql session:
    select * from res:
    starting
    opened inpip
    opened outpip
    written line 1
    ============ TEST CASE 2 =================
    However If I use 2 different sql session (not what I want to do...), it works fine:
    1. unix start cat < inpip > outpip
    2. SQL session 1:
    set serveroutput on size 100000
    declare
    l_filehandle UTL_FILE.file_type;
    l_char VARCHAR2(200);
    begin
    l_filehandle := UTL_FILE.fopen ('TMP', 'outpip', 'R', 32000);
    FOR i in 1..10 LOOP
    utl_file.get_line(l_filehandle,l_char);
    dbms_output.put_line('Read '||l_char);
    END LOOP;
    utl_file.fclose(l_filehandle);
    END;
    3. SQL session 2:
    set serveroutput on size 100000
    declare
    l_filehandle UTL_FILE.file_type;
    begin
    l_filehandle := UTL_FILE.fopen ('TMP', 'inpip', 'A', 32000);
    FOR i in 1..10 LOOP
    utl_file.put_line(l_filehandle,'line '||i);
    --utl_lock.sleep(1);
    dbms_output.put_line('written line '||i);
    END LOOP;
    utl_file.fclose(l_filehandle);
    END;
    /

    > it hangs on the first read of the return pipe.
    Correct.
    A pipe is serialised I/O device. One process writes to the pipe. The write is blocked until a read (from another process or thread) is made on that pipe. Only when there is a reader for that data, the writer is unblocked and the actual write I/O occurs.
    The reverse is also true. A read on the pipe is blocked until another process/thread writes data into the pipe.
    Why? A pipe is a memory structure - not a file system file. If the write was not blocked the writer process can writes GBs of data into the pipe before a reader process starts to read that data. This will drastically knock memory consumption and performance.
    Thus the purpose of a pipe is to serve as a serialised blocking mechanism between a reader and a writer - allowing one to write data that is read by the other. With minimal memory overheads as the read must be serviced by a write and a write serviced by a read.
    If you're looking for something different, then you can open a standard file in share mode and write and read from it using two different file handles within the same process. However, the file will obviously have a file system footprint ito space (growing until the writer stops and the reader terminates and trashes the file) .
    OTOH a pipe's footprint is minimal.

Maybe you are looking for

  • Sizing in elements 12

    just purchased elements 12 but it won't allow me to size above 416...need to size 2145 X 1050,, anyway to override or get refund to get another photoshop verison that allows higher sizing?

  • Recipient Type field required entry i vendor master.

    Hello, when I enter withholding tax code in vender master  recipient type field should become required entry, how can I do this? Some times my users are entering withholding tax code and they forgot to enter " Recipient Type",because of this document

  • Pleae Help: Youtube keeps loading/Downloading after a page refresh

    I'm on 10.6.6 and using Safari 5.0.5. I have disabled extensions in Safari just to make sure. Also, I have no addons in Safari. Here is the problem: When I load a Youtube video, it starts loading and I can see the download speed in my menubar using i

  • I cant find the icon for hotmail so i cant see my emails

    i cant get into my hotmail outlook account as the icon has dissapeaered what do i do to rectify this problem

  • Can not import movie from camcorder.

    Just a recent problem. Use to be able to import video fine. Now no video clips come up when you try to import form camcorder, or to import from archives.