-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

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?

  • 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/

  • Bash: chkconfig: command not found

    Hi,
    I have made a a file dbora and made an entry in the /etc/init.d
    (The file basically does the Automatic Oracle Startup)
    I have created a dbora file
    I have then made the :$chmod 750 /etc/init.d/dbora
    Then $chconfig -level 345 dbora on
    Then its throwing error :bash:chkconfig: command not found
    I have logged in as root:
    $whereis chkconfig
    its shwoing :chkconfig: /sbin/chkconfig
    I tried also the same but not working
    Kindly can anyone help me on this

    uuh...ohhh...the answer to this question can be found at any fuckin bullshit linux documentation?!? so why don't you flame this guy for rtfm questions like the others for asking questions which can be googled for? Well Mr ASCORBINE why doesn't your post contain a link like http://lmgtfy/?q=command+not+found ?!? Actually the FIRST hit to this query got me to the solution, so if you are that wizard you pretend to be why didn't you rtmf him?!? Nah you seem to be another forum troll like others who is upset by himself for being a smartass....

  • Opmnctl status: "bash: opmnctl: command not found"

    Hi All,
    I am working to setup an OBI 11g VM image to my local system. The VM is a linux OS and my local m/c is Windows7. I am able to login to the VM using oracle/oracle. But the thing is, I am not able to start up my BI server over the VM.
    I checked the status of opmnctl file present at: /home/oracle/obiee/instances/instance1/bin. But getting the message as "bash: opmnctl: command not found".
    I did reboot the VM a few times as well. But, i am not sure can this be a problem? Please suggest what I did wrong and how can I resolve it.
    Thanks.

    Is opmn running?
    try using a different shell e.g ksh.
    l

  • -bash: exp: command not found

    Hi!
    we are trying to export a db schema, but receive the following message:
    -bash: exp: command not found
    # Export Schema WLTUSER
    # vi /oracle/app/oracle/scripts/export/export.sh
    # set variables
    export ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1
    export ORACLE_SID=xxxxx
    export LD_LIBRARY_PATH=/oracle/app/oracle/product/10.2.0/db_1/lib
    export path=($path $ORACLE_HOME/bin)
    # run schema export
    exp USERID=system/xxxxxx OWNER=WLTUSER FILE=/oracle/app/oracle/scripts/export/export_$TODAY.dmp logfile=/oracle/app/oracle/scripts/export/export_$TODAY.log
    echo "export done..."
    exit 0Please help! Thanks!

    user545194 wrote:
    Hi!
    we are trying to export a db schema, but receive the following message:
    -bash: exp: command not found
    # Export Schema WLTUSER
    # vi /oracle/app/oracle/scripts/export/export.sh
    # set variables
    export ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1
    export ORACLE_SID=xxxxx
    export LD_LIBRARY_PATH=/oracle/app/oracle/product/10.2.0/db_1/lib
    export path=($path $ORACLE_HOME/bin)
    # run schema export
    exp USERID=system/xxxxxx OWNER=WLTUSER FILE=/oracle/app/oracle/scripts/export/export_$TODAY.dmp logfile=/oracle/app/oracle/scripts/export/export_$TODAY.log
    echo "export done..."
    exit 0Please help! Thanks!it guess that you have connect with "ROOT" user . try to connect with oracle user or user being the member of dba group , and then take the export ....
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • -bash:  cat: command not found (or grep)

    Hi, Strange things:
    i3: okn$ ls -R | grep -h "dof" | cat > dtext.txt
    -bash:  cat: command not found
    or then I get this:
    i3: okn$ find . -type f -print | grep -c
    -bash:  grep: command not found
    but this is not happening all the time, i remember grep or cat did work once or twice...
    What's going on here?
    OS 10.7.4; repaired permissions
    Any assistance much appreciated!
    / bw, Omar KN

    'cat' is stored in /bin/cat, NOT /usr/bin/cat, which explains the file not found messages above.
    HOWEVER, the information you have provided seems to imply you have the executables, and previous information provides says you have a valid PATH:
    echo $PATH
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbi n:/sbin:/usr/local/bin:/usr/X11/bin
    this creates a mystery as to why you are getting:
    -bash:  cat: command not found
    -bash:  grep: command not found
    I have a couple of thoughts.
    a) I'm wondering if you have any 'alias' statements in your .bash_profile (or .bash_login, or .profile, or .bashrc).
    b) if you would get the same results should you rename your .bash_profile (and/or .bash_login, .profile, .bashrc) to something like saved.bash_profile, then restart your terminal session (basically eliminating any personalized shell customization).
    c) what would happen if you created a new account (System Preferences -> Accounts) - basically a clean starting point.
    d) are you executing these commands from the command prompt?  Or from within a shell script?
    d.1) if from within a shell script, is the script file the correct file format.
    file name.shell.script
    you want to check that the output from the 'file' command DOES NOT say "...with CRLF line terminators...", as that would imply the the file came from (or through) a Windows system.

  • -bash: then : command not found

    Hi
    Sorry i have post the same problem in Infrastruture but i am not getting a quick reply.Thats why i am posting this in the database thread.
    I have installed OEL 5.I am going to install Oracle 11g.I have configured Kernel for oracle.But now when give the command su - oracle there is an
    -bash: then : command not found
    -bash: : command not found
    When i give su - then also same these lines appear.Please send me a solution.
    Will this give nay problem in database installation
    Regards
    Bobby

    user12119634(bobs) wrote:
    Hi
    Sorry i have post the same problem in Infrastruture but i am not getting a quick reply.Thats why i am posting this in the database thread.
    I have installed OEL 5.I am going to install Oracle 11g.I have configured Kernel for oracle.But now when give the command su - oracle there is an
    -bash: then : command not found
    -bash: : command not found
    When i give su - then also same these lines appear.Please send me a solution.
    Will this give nay problem in database installation
    Regards
    BobbyTry
    export PATH=/bin:$PATHthen do again

  • [Netconsole] bash: nc: command not found ?

    I configured and loaded as root Netconsole module (its running) to watch a Plug computer boot on a PC with ArchLinux 3.5.4-1 installed, but when running nc command on the PC, bash gives error:
    nc -u -l -p 6666
    bash: nc: command not found
    Any ideas? There is no nc file in /sbin dir or anywhere in FS.
    Last edited by sambul13 (2012-10-02 23:01:16)

    Judging from http://lxr.linux.no/#linux+v2.6.32/Docu … onsole.txt 'nc' means 'netcat', not 'netconsole'.
    Install gnu-netcat and try again.

  • Bash:startsap: command not found

    Dear All,
    We have successfully installed Solution Manger 4.0 on RHEL with Oracle Database.
    When we try to start the sap we get a an error message the bash:startsap:command not found.
    We go to the console and start sap as follows:-
    Su soladm
    Password
    startsap
    ERROR MSG (bash:startsap:command not found)
    We are able to login to ORASID And start LSNRTL.
    Kindly advice us to resolve the issue.
    Regards
    Sumanth

    Hi,
    If you login with root you can go:
    su - ora<sid>
    lsnrctl start
    exit
    su - <sid>adm
    startsap
    if you still get the error then please run above command in KSH (Korn shell)
    Regards,
    Alpesh Patel

  • Been getting -bash: [export: command not found

    I have no idea how to fix this. Any help is appreciated. Here is the complete error I get when I open up terminal:
    Last login: Thu Mar 14 15:28:54 on ttys000
    -bash: [export: command not found
    Ways-MacBook-Pro:~ Way$

    In your bash initialization file you have a command
         [export
    however there is no command '[export' (open square bracked export)
    Look for a file by the name
    .bash_profile
    .bash_login
    .profile
    .bashrc
    and see which one of those files has a command that starts with [ followed by the letters e x p o r t
    Chance are it is suppose to be just 'export' without the open square bracket.

  • -bash: sudo: command not found

         Hello all,
    I have had WAY too many problems with this laptop, and at this point in its miserable little life, I've decided to just wipe the hard drive and start fresh, not caring at all what happens to the files left on there. As previously stated in one of my earlier questions (That was, might I add, never fully answered.), this late 2008 MacBook (aluminum) has a problem where it does not boot up, and just endlessly shows the gray spinning pinwheel. Four months later, that just stops, and now when trying to boot up with my normal startup disk, it brings me right to the Recovery disk and tries to reinstall OS X. I tried, it failed 5 minutes in. So I tried to wipe the hard drive, and it says:  Disk Erase failed with the error: Couldn't unmount disk.   I looked it up and I saw that if I went into the Terminal and typed: sudo diskutil unmountDisk /dev/disk0 , it would unmount the disk. But whenever I type that, it says: -bash: sudo: command not found. I have no idea how to fix this, and I would really like to be able to use my laptop again without giving somebody my money to do it for me.
                                                 Thanks,
                                                      Luke

    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1. You may then open App Store, click on the Purchases icon in the toolbar, and re-download any OS X upgrade you purchased except Mavericks. Since Yosemite has been released the App Store may not let you re-download Mavericks, but it will let you download Yosemite.

  • -bash: ssh: command not found = no ssh?

    Hi all,
    Sorry if this isn't the right category - this seemed to be the best fit.
    I'm having trouble with SSH.
    I've used ssh in the past (back when I was running Leopard) but I've never had all that much use for it. Today, however, I opened up terminal to SSH to an iMac on my local network, and got the following back:
    -bash: ssh: command not found
    Having a look around on the internet, somebody else said that they got this message but was still able to see the SSH manual by typing ssh man. However, when I tried this I just got "command not found" again.
    Any ideas?
    Thanks in advance,
    BrutalSpoon.

    Do you remember if you modified .profile or .bash_profile when you installed mysql?
    I guess you could search for the file that has the modification
    /usr/bin/grep /usr/local/mysql/bin $HOME/.[a-z]*
    Once you find the file, edit that file and put a dollar sign infront of PATH
    /usr/bin/nano /name/of/file/with/mysql/bin/in/it
    The entry you want to fix most likely looks like
    export PATH=PATH:/usr/local/mysql/bin
    you want to change this to
    export PATH=$PATH:/usr/local/mysql/bin
    The problem is the missing dollar sign $ which would cause the current PATH to be substituted before the addition of /usr/local/mysql/bin.
    Once the change is made, quit Terminal and relaunch it. The corrected PATH should now work.
    NOTE: If you do not want to use nano you could use TextWrangler (via File -> Open Hidden...), or Smultron (via File -> Open Hidden...). You should be able to find these GUI based text editors via <http://versiontracker.com>.
    Good luck.

Maybe you are looking for

  • File.lastModified() not working in MAC OS

    Hi all, Iam trying to get the lastmodified time of a file using this         File newFile=new File(uploadFilePath); //uploadFilePath has the path of the file.         String newFile_Name=newFile.getName();         long lastmodified=newFile.lastModifi

  • Is there a way to sync outlook calendars with Imac, Ipad, Iphone calendars.  I am not running exchange server.

    Is there a way to sync outlook calendars with Imac, Ipad, Iphone calendars?  I am not running exchange server.

  • Integration with MM and PP

    Can any one throw some light on the integration of SD with MM and PP?. Please try to be as specific as possible.

  • GR with handheld device.

    We want to setup handheld device for SAP WM. I know that there are some trnsaction starting with LM** But I did not find any trnsaction to do goods receipt against purchase order that will create Material document & take me to next screen for TO crea

  • Was my computer remotely accessed?

    I was on iTunes, and a shared folder thing popped up on the left. It contained a vulgar word and had the lock symbol on it. Shortly after I saw this, my iPhoto randomly opened up and started to browse through pictures. I was NOT touching the keyboard