Sqlplus command not found

Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle User

Vikas Kohli wrote:
Hi All,
OS : Solaris
Oracle Version : 10.1.0.2.0
When i am trying to connect to database by typing sqlplus
i am getting error
-bash: sqlplus: command not found
previously when i connect like that i am able to connect to database
when i check space
I have 32 GB Drive and free space is 288M.
Can anyone tell me is this the space issue or any other issue.
I logged in with Oracle UserSet the environment variable PATH correclty and make sure you've added $ORACLE_HOME/bin folder to it
export PATH=$ORACLE_HOME/bin:$PATH
sqlplus / as sysdbaKamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

Similar Messages

  • ORACLE_HOME disappeared, SQLPLUS - bash: sqlplus: command not found

    OK, I am a newbie but am having real difficulty with my 10G DB which I had set up on Unix Solaris box but someone was messing around with it and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID, they all return blank when I try to "echo" each.
    I realise I should have originally set it in Bash_profile, but is now too late.
    So how do I set them back up, I cannot get SQLPLUS / AS SYSDBA.........bash: sqlplus: command not found
    I have tried to reset and export but still doesn't work.
    I got the ORACLE_BASE as:
    training:/export/home/training/product/10.2.0/Db_1:N
    but can't seem to set the three variables to run SQLPLUS, any ideas what I am doing wrong?
    Tried messing around to reset but nothing works, this is the present state of affairs:
    env
    SSH_TTY=/dev/pts/3
    USER=training
    ORACLE_SID=training
    ORACLE_BASE=/oracle/app
    PATH=/usr/sbin:/usr/bin
    PWD=/export/home/training/product/10.2.0/Db_1/bin
    TZ=Eire
    PS1=\e[33m\h\e[31m-\u-\e[33m\W/\e[31m-$\e[32m
    SHLVL=3
    HOME=/export/home/training
    LOGNAME=training
    ORACLE_HOME=/oracle/app/product/10.2.0
    Can someone help me, really need a step by step guide to set these back up properly.
    Thanks

    just retyped the last one correctly:
    find / -name sqlplus -ls
    find: cannot read dir /var/lib/gdm: Permission denied
    find: cannot read dir /var/lib/log/gdm: Permission denied
    find: cannot read dir /var/mysql: Permission denied
    find: cannot read dir /var/dt/sdtlogin: Permission denied
    find: cannot read dir /var/core: Permission denied
    find: cannot read dir /var/run/smc898: Permission denied
    find: cannot read dir /var/spool/clientmqueue: Permission denied
    find: cannot read dir /var/spool/mqueue: Permission denied
    find: cannot read dir /var/fm/fmd/rsrc: Permission denied
    find: cannot read dir /var/fm/fmd/ckpt: Permission denied
    find: cannot read dir /var/fm/fmd/xprt: Permission denied
    find: cannot read dir /var/postgres/8.2/data: Permission denied
    find: cannot read dir /var/postgres/8.2/backups: Permission denied
    find: cannot read dir /var/sma_snmp: Permission denied
    find: cannot read dir /var/tmp/gconfd-root: Permission denied
    find: cannot read dir /var/tmp/orbit-root: Permission denied
    find: cannot read dir /var/krb5/rcache/root: Permission denied
    find: cannot read dir /var/opt/SUNWjass/run/20091012152456: Permission denied
    find: cannot read dir /.gconf: Permission denied
    find: cannot read dir /opt/SUNWlwact/misc/: Permission denied
    find: cannot read dir /opt/SUNWlwact/sdk/: Permission denied
    find: cannot read dir /opt/SUNWlwact/xsl/: Permission denied
    find: cannot read dir /opt/SUNWlwact/svc/: Permission denied
    find: cannot read dir /opt/SUNWlwact/man/: Permission denied
    find: cannot read dir /.sunw: Permission denied
    199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
    172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
    188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
    184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
    184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
    find: cannot read dir /root: Permission denied
    find: cannot read dir /proc/227: Permission denied
    find: cannot read dir /proc/832: Permission denied
    find: cannot read dir /proc/835: Permission denied
    find: cannot read dir /proc/458: Permission denied
    find: cannot read dir /proc/381: Permission denied
    find: cannot read dir /proc/624: Permission denied
    find: cannot read dir /proc/818: Permission denied
    find: cannot read dir /proc/2221: Permission denied
    find: cannot read dir /proc/290: Permission denied
    find: cannot read dir /proc/1166: Permission denied
    find: cannot read dir /proc/273: Permission denied
    find: cannot read dir /proc/229: Permission denied
    find: cannot read dir /proc/225: Permission denied
    find: cannot read dir /proc/478: Permission denied
    find: cannot read dir /proc/445: Permission denied
    find: cannot read dir /proc/815: Permission denied
    find: cannot read dir /proc/410: Permission denied
    find: cannot read dir /proc/432: Permission denied
    find: cannot read dir /proc/440: Permission denied
    find: cannot read dir /proc/427: Permission denied
    find: cannot read dir /proc/352: Permission denied
    find: cannot read dir /proc/443: Permission denied
    find: cannot read dir /proc/1352: Permission denied
    find: cannot read dir /proc/406: Permission denied
    find: cannot read dir /proc/2353: Permission denied
    find: cannot read dir /proc/670: Permission denied
    find: cannot read dir /proc/667: Permission denied
    find: cannot read dir /proc/405: Permission denied
    find: cannot read dir /proc/213: Permission denied
    find: cannot read dir /proc/16953: Permission denied
    find: cannot read dir /proc/1146: Permission denied
    find: cannot read dir /proc/2580: Permission denied
    find: cannot read dir /proc/27831: Permission denied
    find: cannot read dir /proc/444: Permission denied
    find: cannot read dir /proc/1338: Permission denied
    find: cannot read dir /proc/1350: Permission denied
    find: cannot read dir /usr/lib/cc-cfw: Permission denied
    find: cannot read dir /usr/aset: Permission denied
    find: cannot read dir /.gconfd: Permission denied
    find: cannot read dir /etc/flash/precreation: Permission denied
    find: cannot read dir /etc/flash/preexit: Permission denied
    find: cannot read dir /etc/flash/postcreation: Permission denied
    find: cannot read dir /etc/inet/secret: Permission denied
    find: cannot read dir /etc/apache/ssl.key: Permission denied
    find: cannot read dir /etc/sfw/openssl/private: Permission denied
    find: cannot read dir /etc/sfw/private: Permission denied
    find: cannot read dir /etc/webmin: Permission denied
    Looks a bit better:
    199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
    172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
    188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
    184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
    184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus
    How to I run the sqlplus?

  • Bash: SQLPLUS: Command not found

    Hi All,
    I'm facing problem during connecting to SQLPLUS in Linux Plateform Redhat 4.....whenever I write SQLPLUS, it gives me the following Error message
    Bash: Sqlplus: Command not found.
    kindly let me know, how can I get rid of this Error. Thanks
    Regards,
    Imran

    Your environmentals are not setup.
    From the command prompt source oraenv
    ~> . oraenv
    or (depending on your os )
    ~> source oraenv
    Respond to the prompt with the name of your database exactly (uppercase/lowercase) as it is in the oratab file (/etc/oratab ?)
    This will set your ORACLE_HOME, ORACLE_SID, and PATH variables correctly for your database.
    Try sqlplus again and see if that does not work for you.

  • (OEL 4.7) -bash: sqlplus: command not found after install of 10g R2

    Hi all
    I'm new to Linux and I would like your help and directions on a few things:
    After 2 days of battle with RPM's (i386 vs x86_64) i was finally able to install 10g R2 on OEL 4.7 x86_64 system without any errors.
    please check if all these settings are correct and help me how to start sqlplus? or create a database with dbca
    I followed all the directions in Doc ID: 339510.1.
    During installation i choose this path as the ORACLE_HOME
    /u01/app/oracle/product/10.2.0/
    I did not however installed the default database.
    I then ran the two scripts at the end of the installation as root.
    Here are my settings:
    oracle bash_profile:
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    :q
    ORACLE_BASE=/u01/app/oracle
    export ORACLE_BASE
    ORACLE_HOME=/product/10.2.0/db_1;
    export ORACLE_HOME
    export PATH=$ORACLE_HOME/bin:$PATH
    here is my oracle env result
    [oracle@nycoralp01 /]$ env | grep -i ORACLE
    OLDPWD=/home/oracle/oraInventory
    USER=oracle
    ORACLE_BASE=/u01/app/oracle
    MAIL=/var/spool/mail/oracle
    PATH=/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
    HOME=/home/oracle
    LOGNAME=oracle
    ORACLE_HOME=/product/10.2.0/db_1
    here is my echo $ORACLE_HOME result:
    [oracle@nycoralp01 /]$ echo $ORACLE_HOME
    /product/10.2.0/db_1
    Can someone please tell me what did i miss or did not set?
    When i try to run sqlplus i get this error
    [oracle@nycoralp01 /]$ sqlplus
    -bash: sqlplus: command not found
    Any help appreciated

    I change it in my bash_profile
    $ vi ~oracle/.bash_profile
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    :q
    ORACLE_BASE=/u01/app/oracle
    export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
    export ORACLE_HOME
    export PATH=$ORACLE_HOME/bin:$PATH
    and i'm still getting the same error
    -bash: sqlplus: command not found
    Is there anything else i'm missing? do i have to restart anything?

  • -bash: sqlplus: command not found / Oracle file permissons

    Hi,
    I am running Oracle EE 10.2.0.1.0, on a RHEL 4-U2 server.
    When I try to use sqlplus from a non dba account I get the following error:
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    -bash: sqlplus: command not foundAll my environment variables are set and $ORACLE_HOME/bin has been added to the PATH.
    The problem seems to be that the file permissions of the oracle flexible architecture are wrong:
    [oracle@orclserv 10.2.0]$ pwd
    /u01/app/oracle/product/10.2.0
    [oracle@orclserv 10.2.0]$ ls -l
    totaal 8
    drwx--x---  56 oracle oinstall 4096 dec 12 14:15 db_1
    drwxr-x---  46 oracle oinstall 4096 dec 12 14:14 htmldbThe permission of the db_1 directory is to strict (should be at least chmod 711 I think)
    On my other test server (DB version 10.1) the permissions are:
    [oracle@locserv 10.1.0]$ pwd
    /u01/app/oracle/product/10.1.0
    [oracle@locserv 10.1.0]$ ls -l
    total 4
    drwxr-xr-x  53 oracle oinstall 4096 Oct 12 02:54 db1So I have tried to chmod the directories to at least 711 up to the sqlplus binary, but when I try to execute sqlplus after that I get the following error:
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directorySo this doesn't seem to be an option. My biggest concern is why are the file permissons wrong after installation?
    Before installing the oracle software umask 022 was added to the .bash_profile of the oracle user (used to install the software)
    Has anyone experienced similar problems?
    Does anyone knows how to solve this?
    Thank You.
    Pieter

    Ivan,
    Thanks for your reply.
    I have changed the file permissions of +- 5 files in the lib directory, every time that I changed the permission of 1 file, I got an error for another one.
    Now I am getting the following error
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properlyAccording to oerr there are still lib files with wrong permissions...
    What I would like to know is :
    1) Are the file permissions changed in 10.2 (only DBA's can use sqlplus on the database server) ? If not I probably did something wrong and I will do a reinstall
    2) Can anyone who has version 10.2 installed post an ls -l of his $ORACLE_HOME directory please, so I can compare the file permissions ?
    Thank You,
    Pieter

  • Command not found error while executing a shell script

    Hello,
    I am a newbie to linux.I am attaching the code which gives me following errors..
    error list:
    1. no such file or directory enviornemnt
    2. command not found
    3. ambiguous redirectline
    Script
    cd $HOME/wkdir
    rm /tmp/*.log
    # source environment
    . ./env
    # Run the install script to setup the database
    # Configure SH account
    sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
    grant connect, resource, dba to SH;
    alter user sh account unlock;
    # create the fetch_n_rows procedure
    sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
    drop index sales_time_bix;
    drop index sales_time_idx;
    create index sales_time_idx on sales(time_id) compute statistics;
    -- fetch_n_rows: fetches 'n' rows from the specified statement --
    CREATE OR REPLACE PROCEDURE fetch_n_rows(
    stmt VARCHAR,
    name VARCHAR,
    nexec NUMBER := 1,
    nrows NUMBER := 0,
    debug BOOLEAN := FALSE)
    IS
    -- Local variables
    curs INTEGER := null;
    rc INTEGER;
    nexec_it INTEGER := 0;
    nrows_it INTEGER;
    BEGIN
    dbms_application_info.set_module('DEMO', name);
    WHILE (nexec_it < nexec)
    LOOP
    curs := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
    rc := DBMS_SQL.EXECUTE(curs);
    nrows_it := 0;
    LOOP
    IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
    THEN
    EXIT;
    ELSE IF (debug = TRUE)
    THEN
    DBMS_OUTPUT.PUT_LINE(nrows_it);
    END IF;
    END IF;
    nrows_it := nrows_it + 1;
    END LOOP;
    DBMS_SQL.CLOSE_CURSOR(curs);
    nexec_it := nexec_it + 1;
    END LOOP;
    dbms_application_info.set_module(null, null);
    END fetch_n_rows;
    show errors
    # Start the workload
    . ./start_workload.sh > /tmp/setup_perflab.log 2>&1
    # Wait two minutes for workload to get going
    sleep 120
    # Modify snapshot interval
    sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
    connect / as sysdba
    set head on
    set feedback on;
    set pagesize 40
    rem -- event to allow setting very short Flushing interval
    alter session set events '13508 trace name context forever, level 1';
    rem -- change INTERVAL setting to 2 minutes
    rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
    execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
    retention => 360);
    EOF
    Note : start_workload.sh is also in the same directory..
    Any help would be greatly appreciated.

    Please put your script between "code" format delimiters.
    http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
    You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line.

  • Spool Command not found error

    Dear friends,
    I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
    Could you please check why I am getting this error while running from the putty. The same sql command I run from sql developer and get the output with no errors.
    Script:
    set pagesize 0
    set feedback off
    set echo off
    sqlplus '/as sysdba'
    spool kill_session_list.sql;
    select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';'
    from v$session
    where type!='BACKGROUND'
    and username in('RO_USER','KHALIED','INFAREP','DAC','DMUSER_PROD','LAND_PROD','STAGE_PROD','BIUSER_PROD','OLAPDW','DWRO');
    spool off;
    exit
    Error msg:
    ./kill_session_generate.sql: line 5: spool: command not found
    ./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
    ./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''
    Thanks.

    877938 wrote:
    Dear friends,
    I am trying to get the list of active and inactive sessions for some users and created a script for this but getting some error message.
    ./kill_session_generate.sql: line 5: spool: command not found
    ./kill_session_generate.sql: line 6: syntax error near unexpected token `||'
    ./kill_session_generate.sql: line 6: `select 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';''Odd.
    Look at the script kill_session_generate.sql very carefully, especially the lines before and after the SPOOL command as well as the spool command itself. Consider deleting and retyping the line with the SPOOL command in case invisible special characters are causing problems
    Good luck!

  • Dbca command not found

    hi
    please help me i m install oracle 10.2.0.4 oracle software on my server (os aix 5.3) after installation .when i m creating database by using dbca command it will show me dbca command not found
    steps that i performed
    1)export ORACLE_HOME=/oracle/oracle_home
    2) oracle_home/bin
    execute dbca command
    i m little bit confused when i insalling the product it will ask to execute root.sh and root.sh will ask enter full path of your local bin directory: what path suppose to give here.
    can any one help me

    user12009184 wrote:
    hi
    please help me i m install oracle 10.2.0.4 oracle software on my server (os aix 5.3) after installation .when i m creating database by using dbca command it will show me dbca command not found
    steps that i performed
    1)export ORACLE_HOME=/oracle/oracle_home
    2) oracle_home/bin
    execute dbca command
    i m little bit confused when i insalling the product it will ask to execute root.sh and root.sh will ask enter full path of your local bin directory: what path suppose to give here.
    can any one help meIt would have been nice if you had actually shown us the command and result (copy and paste are a beautiful thing), but it's not hard to guess what happened here. There problem has zero to do with your oracle installation and everything to do with the subject "OS User 101".
    When you enter a command - any command - if you do not qualify the executable file name with the full directory spec to the file, then the OS will search each directory listed in your PATH variable for an executable file by that name. So,
    oracle> dbcaand the os will search each directory in your path, in turn, looking for an executable file named 'dbca'.
    oracle> sqlplusand the os will search each directory in your path, in turn, looking for an executable file named 'sqlplus'.
    oracle> firefoxand the os will search each directory in your path, in turn, looking for an executable file named 'firefox'.
    So, you need to insure that the path containing 'dbca' ($ORACLE_HOME/bin) is in your PATH. Simply beein in the directory that contains the file isn't enough. *nix operating systems don't automatically include the current directory in the path search.
    Again, this is not really an Oracle problem.

  • Shell Commands not found error when running application

    Hello,
    Im using MonoDevelop IDE in my Mac, before it used to work fine but after few days, now when I'm opening the application nothing happens., i checked the Console  for the log and it says this
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 17: dirname: command not found 
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 31: //mono-version-check: No such file or directory
    May  9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x52052].com.ximian.monodevelop[1510]): Exited with code: 1
    I thought may be some error with the "dirname" command, so i commented it in the code and gave the path of directory myself and then the console shows up like this.
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: grep: command not found 
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 20: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 21: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 22: cut: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 31: osascript: command not found
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: Cannot launch MonoDevelop
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: MonoDevelop requires the Mono Framework version 2.10.4 or later.
    May  9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x56056].com.ximian.monodevelop[1532]): Exited with code: 1
    I opened the contents of the application and run the shell script for opening aplication there it worked very fine and application started working.. But if i open application directly through launchpad or finder it doesnt show up and console
    I tried running those commands in the terminal directly there they work.. But dunno whats wrong in here. and even if try to open the application through the terminal it all opens fine.. what could be the possible problem, is it with my mac..?

    i finally figured out the problem.. it is with the environmental variables.  the path for all those commands like "grep" is not being set for the GUI applications.  that is why i got that error. 
    for those GUI applications which require path, we have to set path in the file /etc/launchd.conf  the environmental variables set in here are used by the gui applications and those which are launched through spotlight.
    that file may bot be present in most of the macs. No problem even if not present,we can create one and use.
    so  type in terminal
              $ sudo vi /etc/launchd.conf     
    and in the editor add these lines
              setenv PATH = /new/path
    and save.  Note: replace /new/path with the path which you need to have for the commands used in the script.
    remeber that you need to restart your mac for applications to use these environmental variables.

  • I am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found

    i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.

    "command not found" means ... there is no such thing.
    Has the .rpm been installed?
    http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122

  • Command not found error in Linux

    Hi all,
    While login into Linux server using terminal i am getting following error.
    -bash: /usr/bin/id: No such file or directory
    -bash: [: =: unary operator expected
    While execute these commands getting following errors
    # clear
    -bash: clear: command not found
    # du -sh *
    -bash: du: command not found
    Help on these issues.
    Linux 32bit OS.
    Red Hat Enterprise Linux Server release 4.0 (Tikanga)

    Likely a flaky environment.
    What is the contents of .bash_profile in your $HOME?
    Any btw, why RHEL4? It is ancient.

  • Command not found error while executing shell programs in terminal

    I have written one sample shell program.
    while executing shell program in terminal,it shows COMMAND NOT FOUND error.
    How to slove this.

    Post the "Actual" error.  It says more than command not found.
    Post your script.
    Post the output from:
    echo $PATH
    Post the output from:
    which name_of_command_not_found

  • Command not found on running binary files.

    I have a very strange problem with my new arch installation, which I never faced on other linux installations/distros.
    I'm trying to execute binary files from android-sdk, which I have them from other distros and always worked, and I get always "command not found" message. For e.g I tried to run adb(5 different files from different places), from terminal and from the folder in which is each and all times I get "command not found" message.
    Some other work though, as eclipse binary. All files I've tried worked fine, and also work fine if I run them from Ubuntu installation.
    I had this problem and for some newly isntalled packages too, as packagkit, and rutorrent. Packagekit worked after a reboot, but rutorrent gives same message.
    Any help?

    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ QtADB
    bash: QtADB: command not found
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ ./QtADBbash: ./QtADB: No such file or directory
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh ./QtADB
    ./QtADB: ./QtADB: cannot execute binary file
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh QtADB
    QtADB: QtADB: cannot execute binary file
    user-arch@archusrxpc /home/@solushome/user-solus/QtADB-cwm_edition $ ls -l
    σύνολο 2940
    -rw-rw-r-- 1 user-arch 1000    5259 Απρ  13  2012 Changes.txt
    -rw-rw-r-- 1 user-arch 1000   25330 Ιούν 26  2012 debug.log
    -rwxrwxr-x 1 user-arch 1000 2970612 Απρ  13  2012 QtADB
    drwxr-xr-x 1 user-arch 1000       0 Ιούν 26  2012 tmp
    drwxrwxr-x 1 user-arch 1000     366 Μάρ  13  2012 tools
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $
    Last edited by dancer69 (2013-01-17 18:30:23)

  • Oracle apps 12i pre install checks fails in cl; command not found

    Hi guyz,
    Im trying to install 12i on external hard drive (windows xp), I followed the steps from http://forums.oracle.com/forums/thread.jspa?threadID=447193&tstart=60&start=0
    The installation fails in
    command: cmd.exe /c D:\stage12\startCD\Disk1\rapidwiz\bin\adchkutl.cmd d:\Tools\MKS\mksnt\bin d:\Tools\MSVC\V98
    D:\stage12\startCD\Disk1\rapidwiz>echo off
    /cygdrive/c/WINDOWS/system32/cmd
    'which' command is available.
    /cygdrive/d/Tools/MKS/mksnt/bin/gnumake
    'gnumake' is available.
    'cl' is not available.
    ERRORCODE = 1 ERRORCODE_ENDThe system cannot find the path specified.
    cl: Command not found.
    RW-50011: Error: - System Utilities Availability test has returned an error: 1
    There are no spaces in MKS tool kit and Visualstudio2005 install dir but still the installation fails.
    I tried many combinations installing MKS and VS on c:, installing MKS and VS on d:, installing VC++ express edition but nothing worked. Also i have set the enviromental variable PATH each time i made a change. Still i get the same issue.
    Im doing this for a week now, had no luck.
    I had a successful installation of 11.5.10 from e delivery but it didn't had the financials modules needed. There is an update for 11.5.10 on edelivery but i was not sure if they had the financials modules in it, so i decided to go for 12i
    Can anybody help me with 12i installation or provide me steps how to apply the updates on 11.5.10 if updates have financials in it.
    I appreciate any help.

    Oracle E-Business Suite R12 Installation on Windows 2003
    Re: Oracle E-Business Suite R12 Installation on Windows 2003
    If you have a VC98, you are using Visual Studio 6. You need to be using Visual Studio 8, and set the Visual Studio directory in Rapidwiz to d:\Tools\MSVS\VC.
    The Vision installation of Oracle Applications has had Oracle Financials implemented for the fictitious company Vision Corporation from the beginning, 10.7 I believe, but definitely every 11i release has financials plus every other product licensed. Not all the newest products are fully implemented, but they are licensed.

  • Single user mode . using tail -f (command not found)

    Have an empty computer with no systems disk as the installation CD start up  will not go past the grey screen with the rotating logo before the panic crash page comes up and tells me to restart the computer.
    Trying to boot into single user mode and then use the command   tail -f  to see contents of some of the logs... BUT I get the reply  tail command not found  ????

    If the hard drive is empty, then you can only boot from the CD. Regardless of whether or not it has "tail," it won't do you any good. There are no logs.

Maybe you are looking for

  • Ipod video right headphone not working

    i think the prong in my ipod video is out of place, if i hold the jack down and on an angle, it works in both ears but if it moves out of its place, the right headphone wont work. is there a way to fix it by myself? can i move the prong back into pla

  • Best way to extract lines from a log file in Linux

    My query is that I have a log file which is around 7 GB and I want to extract lines between a certain time range which should total up to half of the size to 3.5 GB. The lines start with a time range like                        "2014-03-11 17:35:00".

  • Backlight problem with software updat 1.1 for neno

    the new 1.1 software update of 'iPod Updater 2006-01-10' for neno stuffs up the backlight. if i leave the light in always off or always on and try to use (press and hold) menu button to manually switch on and off the back light DOES NOT WORK any more

  • Can't figure this out

    Hi, This probably has a simple explanation, but I just don't understand why this happens. Can someone explain me why number 1 is never printed? value = "[1][2][3][6]"; if( value.indexOf("[1]") > 0 ) {      System.out.println(1); if( value.indexOf("[2

  • Report SQ01

    Can anyone mail me the configuration steps for report using SQ01, SQ02, SQ03 and also moving the query to the production client. maid id: [email protected] Regards BALAJEE