Chroot command not found

I get the above error message and I don't understand why.
Steps to reproduce:
cd /
mkdir -p mydir/bin
cp -r /usr/bin/* /mydir/bin/
observe that this command:
/mydir/bin/bash
successfully gets us into a next shell. exit that shell
but here's the thing:
chroot /mydir /usr/bin/bash
=> chroot: failed to run command ‘/usr/bin/bash’: No such file or directory
why can't usr/bin/bash be found under /mydir when run with chroot?

/bin/bash
is a symlink to
/usr/bin/bash
[root /]# stat /usr/bin/bash
File: ‘/usr/bin/bash’
Size: 738008 Blocks: 1456 IO Block: 4096 regular file
Device: ca00h/51712d Inode: 32381 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-02-07 21:10:42.000000000 +0000
Modify: 2013-01-27 00:22:36.000000000 +0000
Change: 2013-02-07 21:10:42.000000000 +0000
Birth: -
[root /]# stat /bin/bash
File: ‘/bin/bash’ -> ‘../usr/bin/bash’
Size: 15 Blocks: 0 IO Block: 4096 symbolic link
Device: ca00h/51712d Inode: 26 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-02-07 21:10:42.000000000 +0000
Modify: 2013-01-27 00:22:36.000000000 +0000
Change: 2013-02-07 21:10:42.000000000 +0000
Birth: -

Similar Messages

  • [SOLVED] arch-chroot: Command not found

    Hey,
    I installed Windows 8 alongside Archlinux, so I need to restore my bootloader. I've downloaded the recent image of Arch, made it onto a bootable usb pen drive and booted it without any problems. However, I can't seem to find the arch-chroot binaries (and manually chroot-ing into /mnt after mounting everything fails because bash is not found).
    Am I doing something wrong or is the wiki out of date?
    Last edited by GreenTime (2012-11-01 10:16:56)

    You're doing something wrong.
    Download latest iso and use dd to write it to usb and verify md5 on iso and usb.
    Edit: Normally I roll my own iso with archiso, but to be absolutelly sure on my answer to you, then i've just downloaded latest official iso and tested in a vm, and as expected, arch-chroot is present and working fine.
    Last edited by mhertz (2012-11-01 01:49:59)

  • [SOLVED] 'sh: nano: command not found' on installation in arch-chroot

    Hello,
    I'm trying to install Arch Linux on a new laptop with a UEFI motherboard, however while following the beginners' guide on the step which requires you to arch-chroot into the /mnt base system to modify the locale.gen file using nano, I receive the following error:
    'sh: nano: command not found'
    I have mounted the partitions, installed the base system and have tried searching online for a solution but nothing seems to work. Also, nano works while outside of arch-root so I believe it is installed on my system.
    I'm almost completely out of ideas on how to fix this, so any help or a point in the right direction would be greatly appreciated.
    - Thanks.
    Last edited by tyor (2013-01-20 12:01:54)

    I had the same problem during my first attempts to install Arch. When you use the command as stated:
    # pacstrap -i /mnt base base-devel
    it seems not all packages were downloaded/installed. Now I know it was my own fault by not selecting the packages properly.
    In the beginnersguide right above the pacstrap command is stated:
    The -i switch can be omitted if you wish to install every package from the base and base-devel groups without prompting.
    So I did, and installed without a problem

  • [SOLVED] command not found when chrooted into Debian

    I have used Debian previously. I have a debian chroot on a separate partition which sole purpose is apache2 server. I use apache2 in chroot, so everytime I reinstall my main system, all my projects are left there in this system untouched. The chroot was created with Debian's debootstrap. Now when I moved from Debian to Arch, I can't use this chroot. When I chroot into it I can't execute any command there, all I get is command not found, even on things such as ls, rm, mv.
    Does it mean that I have to create a chroot for server again, using Arch linux or is there a way to get this Debian working?
    Last edited by kox (2015-05-02 20:13:22)

    I don't think the `arch-chroot` script will work for a Debian system but I could be wrong.
    Have you tried mounting /proc, /sys & /dev first and sourcing the shell profiles afterwards?
    https://wiki.archlinux.org/index.php/Ch … ing_chroot
    This shouldn't make any difference as the chroot fstab should already have entries for these but you never know...
    Maybe you should copy /etc/hosts & /proc/mounts from your new Arch system into your Debian chroot.
    https://wiki.debian.org/Debootstrap
    @WorMzy -- the shell built-ins are not working so I don't think it's a $PATH issue.
    Last edited by Head_on_a_Stick (2015-05-02 19:41:44)

  • Mac 10.9.1 port: command not found

    Howdy,
    I'm fairly new to Mac, at least it hs been years since I used my G3 tower.  I am a school teacher, teaching Web Tech to high school students.  I've got a Linux Server(Ubuntu 10.10) and have set-up Apache2 and vsftpd for them to work on. It is a local(inside the school's firewall) only set-up. I've been teaching students how to build web pages and ftp on to their chrooted folder inside Apache2 tp push their work. The school purchased a Mac mini-tower(Maverick - 10.9.1) for meto work with and configure for the next year's classes. I'm very used to command line and I am trying to download "vsftpd" to install so I can get a chrooted environment. I tried:
         sudo port install vsftpd 
    and got port: command not found.     I even did, man port...and got.... No manual entry for port
    I am simply looking to install vsftpd to config for chrooting reasons.
    Also, I'm still working on the complete command line of useradd for the following.  I'd like to only give them "ftp" access to  (local IPaddress -> 10.127.X.X/username) with no shell access(I made a link to /sbin/ftplogin which I assume does nothing) with NO naviagtion abilities within ftp besides their own folder.
    Thanks!!!

    Thank you. I'm so used to apt-get or Synaptic, I don't know how to install anything from a Mac command line.  I searched the Internet for MacPorts and found it and followed the basic installation. All is good. Thanks again !!!

  • [SOLVED] modprobe: command not found

    I am fully up to date as of today.
    I had a kernel panic and had to chroot and run:
    pacman -Syy
    pacman -S pacman
    pacman -Syu
    pacman -S udev
    pacman -S mkinitcpio
    sudo mkinitcpio -p linux
    to repair.
    Now, I can boot fine and when I tried to load a module, I got the command not found error.
    I tried to re-install kmod but still nothing.
    Any help would be appreciated.
    Last edited by frank419 (2012-04-11 18:59:11)

    [arch ~]$ sudo which modprobe
    Password:
    which: no modprobe in (/usr/local/bin:/usr/bin:/bin:/usr/games)
    [arch ~]$ sudo find / -name modprobe
    /sbin/modprobe
    /proc/sys/kernel/modprobe
    [arch ~]$ su -
    Password:
    -bash: n#: command not found
    -bash: thennfor: command not found
    -bash: dontest: command not found
    -bash: thenn.: command not found
    -bash-4.2# modprobe
    -bash: modprobe: command not found
    -bash-4.2#
    edit:code tags
    Last edited by frank419 (2012-04-11 18:29:40)

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

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

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

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

Maybe you are looking for