OT: AIX .cshrc

OT question to those that use C shell on an AIX.
I would like to modify my prompt to include the pwd\cwd.
How might I do this? I can do it in Solaris but it seems not to work for me in AIX.
Below is a snippet from my .cshrc file.
set prompt='[\!]% 'TIA

Below is a snippet from my .cshrc file.
set prompt='[\!]% '
This just shows you the command number.
IIRC, the C shell doesn't give you an escape for the current directory (unlike, for example, bash, which provides \W and similar). I believe that you have to alias the cd command to preserve the new directory in a shell variable, then display that variable in the prompt using (I think) echo.
But it's been several years since I discovered bash, so I could be completely full of crap :-)

Similar Messages

  • Installation problem on AIX ( SAP4.7, Oracle-9i)

    Hello Gurus,
    We are installaing SAP4.7 on AIX with oracle-9i as an database
    we have completed central instance successfully, while database instance we are facing error
    I am attaching error log for your referenec
    error log
    You entered: /sapcd/oracle9/51030360/ORA92_1
    Found the label ORACLE:9.2:RDBMS(1/4):Oracle RDBMS AIX5 CD:CD51018585_1 but need
    the label ORACLE:9.2.0:RDBMS(1::
    Can any body help me regarding this error.
    Thanks & regards
    Shishir

    > You entered: /sapcd/oracle9/51030360/ORA92_1
    > Found the label ORACLE:9.2:RDBMS(1/4):Oracle RDBMS AIX5 CD:CD51018585_1 but need
    > the label ORACLE:9.2.0:RDBMS(1::
    Are the CDs numbers matching to your installation master CD?
    Markus

  • Error while saving the OBIEE repository in AIX

    Hi,
    In my current project OBIEE is installed on the AIX server.Now I need to migrate the rpd from one DEV to Test instance.
    When I try to take the back up of the rpd and try to ftp the rpd I get an error-"Permission denied".
    Has anyone faced this issue before?
    Thanks,
    Preeja

    Sounds like you don't have permission to FTP to the destination directory

  • Install oracle 8.1.7.4 on AIX 5.3

    I want install oracle 8.1.7.4 on AIX 5.3, but i but keep install oracle 8.1.7 4 in 32 - bit , Can i get any problem ?

    Metalink:
    Error Correction Support (ECS): 31-DEC-2004
    Extended Support (ES): 31-DEC-2007
    Extended Maintenance Support (EMS): 31-DEC-2006
    If you got the appopriate contract support, you should be able to order 8iR3 by metalink. But you will not find it on OTN

  • Error in Installing OBIEE 11.1.1.5 on AIX 64 Bit,

    Hi,
    Ive tried a simple as well as enterprise install of OBIEE 11.1.1.5 on AIX 64 Bit Operating system,
    midway through the installation I get the following error:
    error in invoking target 'Client_sharedlib svr_tool' of makefile. If i proceed with the installtion, i face another 2 such similar errors , followed by some popups stating that Runtime error has occured.
    The installation completes, However when the post Installation scripts start to execute, the fist step itself, i.e. create domain Fails. followed by failures of most of the other steps, ultimately i need to Abort the installation.
    Im searching for answers as to what could have caused this, I cannot find anything conclusive in the huge log files. Would greatly appreciate if somone here has come across this before and could share some insights.
    - Domnic

    Does it have to be a software only installation since it is on AIX?
    From the install doc:
    The Software Only Install type installs the Oracle Business Intelligence software binary files in an Oracle home for later configuration as part of a Fusion Middleware deployment. This install type is required to install Oracle Business Intelligence on an AIX operating system or with a 64-bit JVM, such as on a supported 64-bit operating system.

  • Error in starting startInstGui.sh in AIX Machine

    I am in the process of installing SAP in AIX Machine
    I am getting the follwoing error when i start SAP installatble. Pls help
    <b># /oracle/master/startInstGui.sh
      Java Runtime found in PATH environment variable
      Path: java
    Start mode: gui (GUI only)
    Connection parameters:
      GUIServer host: localhost
      GUIServer port: 21212
    Starting...
    The java class is not found:  SDTGui</b>
    The contents of ENV file is as follows
    TMP=/usr/sap/DBW/install/tmp
    MAIL=/usr/spool/mail/root
    LOCPATH=/usr/lib/nls/loc
    LIB_PATH=/sapmnt/DBW/exe
    USER=root
    AUTHSTATE=compat
    SAPINST_JRE_HOME=/usr/java14_64/jre
    DISPLAY=192.168.79.139:0.0
    SHELL=/usr/bin/ksh
    ODMDIR=/etc/objrepos
    JAVA_HOME=/usr/java14_64
    HOME=/
    TERM=xterm
    MAILMSG=[YOU HAVE NEW MAIL]
    PWD=/oracle/master
    LD_LIBPATH=/sapmnt/DBW/exe
    TZ=MST7
    A__z=! LOGNAME
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    LIBPATH=/sapmnt/DBW/exe
    The output of Java -fullversion is <b>J2RE 1.4.2 AIX 5L</b> I have logged in as user root to do the activities

    Hi,
    setup environment veriables correctly for java.. for example.
    if using from root,
    type: export JAVA_HOME=/.../.../.../ full location
    type xhost + in seperate new terminal. should work.
    also, use J2SDK 1.4.2.11 from below provided link...
    http://java.sun.com/products/archive/j2se/1.4.2_11/index.html
    Thanks,

  • Error in starting DB2 UDB (AIX with ECC 6.0)

    Hello All,
    I am facing error in starting the database as below :
    <b>exec(): 0509-036 Cannot load program db2start because of the following errors:
            0509-130 Symbol resolution failed for /usr/lib/threads/libc.a[aio_64.o] because:
            0509-136   Symbol kaio_rdwr64 (number 0) is not exported from
                       dependent module /unix.
            0509-136   Symbol listio64 (number 1) is not exported from
                       dependent module /unix.
            0509-136   Symbol acancel64 (number 2) is not exported from
                       dependent module /unix.
            0509-136   Symbol iosuspend64 (number 3) is not exported from
                       dependent module /unix.
            0509-136   Symbol aio_nwait (number 4) is not exported from
                       dependent module /unix.
            0509-136   Symbol aio_nwait64 (number 5) is not exported from
                       dependent module /unix.
            0509-136   Symbol aio_nwait_timeout (number 6) is not exported from
                       dependent module /unix.
            0509-136   Symbol aio_nwait_timeout64 (number 7) is not exported from
                       dependent module /unix.
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    SQL1652N  File I/O error occurred.</b>
    I have even changed the Acc. I/O setting also as per the note :683396 .
    But the error still exists.Please help me out in this ssue.
    Regards,
    Chandra.

    Hi Chandra,
    this error may occure when you do not install DB2 on the node via db2setup on AIX. I assume you moved DB2 via ACC to this box. DB2 requires AIO. In general db2setup enables it for you. You can check this by issuing the following command: 'lsdev -Cc aio'
    The correct output should be like:
    aio0 Available Asynchronous I/O (Legacy)
    The wrong one with disabled AIO:
    aio0 Defined Asynchronous I/O (Legacy)
    Use 'smitty aio' to configute AIO for your machine.
    Regards,
    Steffen

  • Installation Of Solman 7.1 aix Oracle failed with Java Error

    Dear All,
    We are doing SOLMAN Installation 7.1 SR1 AIX Oracle.
    Now the installation stopped at the 19th phase "IMport ABAP"as in the attached screenshot.
    OS : AIX 6100-07-02-1150
    Database:  Oracle 11.2.0.3
    Java Version currently maintained:  java version "1.4.2"
    When i checked in log File  import_monitor.java.log  (  /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS) ,
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] cat import_monitor.java.log
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 6.1.051)
    SAP Java Server VM (build 6.1.051 23.5-b02, May 30 2013 05:04:21 - 61_REL - optU - aix ppc64 - 6 - bas2:197575 (mixed mode))
    Required system resources are missing or not available:
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4' does not exist.
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS]
    Also i checked all the above import Directories [
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1'
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4'
    ] and all the above import directories are present in my system.
    Later from the above log, i compared the Java Version of our System
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20110630 (SR13 FP10) (JIT enabled: jitc))
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] which java
    /usr/java14_64/jre/bin/java
    Kindly clarify the below Queries.
    1)Is the above Solman installation error was due to Java version? If so, do we need to install   java version "1.6.0_45" in Solman Server to proceed with the installation.
    2)Cant we proceed the Solman installation with the current Java version (java version "1.4.2") of our System .
    3) What is the actual Prerequistes to be maintained for JAVA.  I have downloaded the Installtion guide from SMP.
    but in the installation guide, The exact java version to be maintained to proceed with the Solman Installation 7.1 SR1 is not mentioned anywhere.
    4)If we install the Java 1.6, do we need to start Solman installation from the scratch . Any reboot required after installing java 1.6?
    5)Because of the inconsistencies in java version in our System, The installation shows the Error " Import directory does not exist  "?
    6)Please tel the cause of the Error
    Kindly assist to proceed with the installation
    Regards,
    Gayathri.K

    Hello Gayathri
    The import_monitor.java.log says the JRE used is 1.6 - java version "1.6.0_45"
    There must be multiple JRE's installed on the system.
    Run the below command and check the output
    ls -lad /usr/java*
    Few things I would try.
    Is the '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' an NFS mount ? If yes use a local file system.
    Create a directory called /SMINSTALL and move all from /cddumps/Solman_Export_Cds
    It should look like /SMINSTALL/51042607_1/DATA_UNITS/EXP1
    Start the installation.
    Try to use Java 1.4 or 1.5 and see if that helps.
    You need to set the environment variable JAVA_HOME before starting the installation.
    export JAVA_HOME=/usr/java14_64/jre
    Are there any files/directories under 51042607_*/DATA_UNITS/EXP* ?
    Regards
    RB

  • Application based on JAX-WS running slow on AIX 3.5 of 64 bits

    Hi all,
    I’m running a java web service based on JAX-WS the release included in java6, this application load the information from tables to data structures in memory such as hash map, and has it available for a client application that consume it.
    My problem is that when I run my application on windows the time of processing is acceptable but when I try to run the same application on AIX 3.5 of 64 bits the communication between client and the web service is up 10 times slower.
    I tried the following test.
    Run the WS and client in the same windows server its success (fast)
    Run the WS in a windows server the client in my windows 7 laptop the result is success (fast)
    Run the Web Service on windows server and the client in AIX server this is slow
    Run the Web Service on the same AIX server that the client it is slow
    When I run the applications, I compile it whit the java6_64 version and run whit –d64 option on AIX
    Regards

    Try to isolate the problem by finding out where the delay is e.g
    1.) Is the delay in loading data from the database into memory?
    2.) Is the delay in getting a request from the client side to the server side components?
    3.) Is the delay in processing a request on the server side with the in memory data?
    Also verify that jvm settings and hardware (e.g) processors between the two environments are comparable.

  • XI 3.0 on AIX 64

    We have installed SAP R/3 ECC 5.0 on AIX 64. Is XI 3.0 ready for us yet? We have been shipped XI 2.0. Any response is highly appreciated.
    Thanks

    Hi,
    we have XI 3.0 / AIX64 project and it works fine. There is no reason to use old XI 2.0
    Jiri

  • AIX JDBC OCI Driver

    I'm using IBM's WebSphere JDBC connection pool to manage oracle
    connections. While the code worked normally on Sun Solaris, I
    get ORA-03123, ORA-03127 etc errors on AIX. I'm closing the
    resultsets, the statement handles and releasing the connection
    after each SQL execution. Is this an AIX JDBC OCI driver problem
    or am I missing something.
    Thanks,
    Ravi
    null

    I found problem like you but on DIGITAL UNIX 4.0D It's an
    AIO Consistency Error.. did you know some thing about this??
    and For your question OCI7 driver to connect to ORACLE7.3.4 are
    in liboci73.so or another extension depend on your OS (I don't
    know what's one on AIX) but it must come with Oracle
    Installation Package you can install on AIX :>
    Prashant (guest) wrote:
    : Hi:
    : Does any one know where I could find JDBC/OCI level 2 driver
    : for AIX (4.2) running Oracle (7.3.4). All I have been able to
    : locate is the NT and Solaris. Both contains classes and shared
    : libraries for that machine. I saw someone posted this question
    : before, however, suggestions was to use dynamic library
    generated
    : for Solaris, this will not work. Does anyone have other
    : suggestions.
    : Any and all help is appreciated.
    : Many Thanks
    : Prashant.
    null

  • OWB Installation problem on AIX 5.2

    Hi,
    We are trying to install OWB 9.2.0.2.8 on IBM AIX 5.2 using the download version from OTN. Following installation instructions, we have removed all references to existing ORACLE_HOME in the environment variables: CLASSPATH, PATH, LIBPATH and LD_LIBRARY_PATH.
    When we try to run installer from owb92aix/Disk1/runInstaller
    following error message appears: Can't find libjvm.a
    and the installation aborts.
    Any help is appreciated.
    Thanks,
    Aravind

    Yes, we do have the java virtual machine installed in /usr/java131/jre/bin and it is referenced in PATH variable.
    When we extracted the downloaded tar file for AIX, the file libjvm.a exists in the extracted directory. We do not know why the installer is unable to find it.
    Thanks,
    Aravind

  • Sun Directory Server 5.2 installation problem on AIX 5.2

    Hi,
    Am newbie to sun ds5.2 and I got stuck during installation for last 2 days. Could you pls guide to resolve this issue. Please error msg below
    Checking disk space...
    The following items for the product Directory Server will be installed:
    Product: Directory Server
    Location: /Sun/mps
    Space Required: 141.70 MB
    Sun ONE Directory Suite
    Sun ONE Directory Server
    Sun ONE Directory Console Support
    Sun ONE Administration Services
    Sun ONE Administration Server
    Sun ONE Administration Console
    Sun ONE Server Console
    Sun ONE Server Console Core
    Java Runtime Environment
    Sun ONE Server Basic Libraries
    Ready to Install
    1. Install Now
    2. Start Over
    3. Exit Installation
    What would you like to do [1] {"<" goes back, "!" exits}? 1
    Installing Directory Server
    |-1%--------------25%-----------------50%-----------------75%--------------100%|
    [slapd-bmpdev4]: starting up server ...
    error:server:The server could not be started due to invalid command syntax or
    operating system resource limits.
    system_errno:2
    Configuration of the Directory Server failed.
    Warning creating dbswitch.conf
    Warning creating ssusers.conf
    Error Directory Server configuration failure
    Checking connection to the Configuration Directory Server... failed.
    The Admininistration Server cannot be configured.
    Error Administration Server configuration failure
    Error Configuration of the server(s) failed.
    Installation Details:
    Product Result More Information
    1. Directory Server Partially Installed. Refer to "Details..." for more
    information. Available
    2. Done
    Enter the number corresponding to the desired selection for more
    information, or enter 2 to continue [2] {"!" exits}: 2
    thanks
    Bala

    You are correct. Dir 5.2 is not certified for AIX 5.2. It does install though. Like a previous reponse stated. Check the permissions for the user you are installing with and the file system you are installing to. Make certain you have enough disk space. My install took 150 MB of disk space. Finally, Dir 5.2 creates the file "/var/adm/sw/productregistry" during install. If you do not have permissions to /var/adm/sw, you may have troubles.
    Tim
    Computer Systems Engineer
    Komatsu Canada Limited

  • Oracle 9i DB Installation Problem on AIX 4.3.3

    Hi,
    I tried to install Oracle 9i DB on AIX 4.3.3 with Maintainence Level 9. However, I got the following error:
    Calling action unixActions2.0.1.4.0 make
    installMakePath = /usr/ccs/bin/make
    installMakeFileName = /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    installTarget = ioracle
    undoMakeFileName =
    installArguments = ORACLE_HOME=/usr/opt/oracle/product/9.0.1,
    logFile = /usr/opt/oracle/product/9.0.1/install/make.log
    undoTarget =
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Exception Severity: 1
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Exception Severity: 1
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Exception Severity: 1
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Exception Severity: 1
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ioracle of makefile /usr/opt/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Exception Severity: 1
    Can anyone know what is the problem here?
    Thanks and hope to hear from you soon.
    Nelson

    Hi,
         we have noticed the same error !!!!!!! :-(
    doing the makefile statement by consolle we have:
    "$ make -f rdbms/lib/ins_rdbms.mk ioracle
    - Linking Oracle
    rm -f /usr/oracle/product/9.0.1/rdbms/lib/oracle
    ld -b64 -o /usr/oracle/product/9.0.1/rdbms/lib/oracle -L/usr/oracle/product/9.0.1/rdbms/lib/ -L/usr/oracle/product/9.0.1/lib/ -bbigtoc /usr/oracle/product/9.0.1/rdbms/lib/opimai.o /usr/oracle/product/9.0.1/rdbms/lib/ssoraed.o /usr/oracle/product/9.0.1/rdbms/lib/ttcsoi.o /usr/oracle/product/9.0.1/lib/nautab.o /usr/oracle/product/9.0.1/lib/naeet.o /usr/oracle/product/9.0.1/lib/naect.o /usr/oracle/product/9.0.1/lib/naedhs.o /usr/oracle/product/9.0.1/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /usr/oracle/product/9.0.1/rdbms/lib/defopt.o -lknlopt -lslax9 -lpls9 -lplp9 -bE:/usr/oracle/product/9.0.1/rdbms/lib/plsqlncomp.exp -lserver9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 `cat /usr/oracle/product/9.0.1/rdbms/lib/nmliblist` /usr/oracle/product/9.0.1/rdbms/lib//jox.o -laurora -bE:/usr/oracle/product/9.0.1/rdbms/lib//oracle.exp -lwwg9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lnro9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lwtcserver9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lnro9 `sed -e 's/-ljava//g' /usr/oracle/product/9.0.1/lib/ldflags` -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnzjs9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lserver9 `if /bin/ar -X64 tv /usr/oracle/product/9.0.1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lsnls9 -lunls9 -lld -lm `cat /usr/oracle/product/9.0.1/lib/sysliblist` -lm -bI:/usr/oracle/product/9.0.1/lib/pw-syscall.exp -bI:/usr/oracle/product/9.0.1/lib/ksms.imp
    ld: 0711-317 ERROR: Undefined symbol: ksbdpt_
    ld: 0711-317 ERROR: Undefined symbol: ksmsgl_
    ld: 0711-317 ERROR: Undefined symbol: ktswh196_
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    make: The error code from the last command is 8."
    We hope in a fast solution.......
    Thanks,
    Daniele Tinti
    Valerio Balbi

  • Unable to continue Oracle Database 10g R2 installation on IBM AIX 5.3L

    I am facing some difficulties in installing the above. My environment is as follows:
    Server is a IBM system P, OS is AIX 5.3L and oracle version is Oracle Database 10g R2 (10.2).
    I encounter my problem when asked to changed/edit the shell script when changing oracle users. I can't find the % vi .login file. And I'm not sure how to proceed.
    Please advice as to what needs to be done.
    Thank you

    i'm using bash shell.If you are using a bash shell then .bash_profile is used by default.
    It is located in user's home, if it does not exist then simply create it.
    can this file be edited after installation?Yes. And also you can set the enviroment temporary (just for current session)
    I just can't find the vi .login file."vi" is command (text editor very common in Unix and Unix like world)
    .login does not need to exist (see .bash_profile as above). Note .login is ignored by bash shell.

Maybe you are looking for