[SOLVED] Make Bash Completion Error (Command Not Found)

When attempting to tab complete the `make` command, I am met with the following when I hit tab:
$ make s[tab]bash: 23:set: command not found
Strangely, if I continue hitting tab, it seems to work eventually, but with the same error popping up:
$ make s[tab]bash: 23:set: command not found
ched.[tab]bash: 23:set: command not found
[tab]bash: 23:set: command not found
sched.1.gz sched.tar.gz
$ make sched.
I've never seen anything like this.  I've tried reinstalling bash completion and make to no success.  The Makefile itself is fine and functional.  Other programs' bash completions seem to work just fine.  Help!
Last edited by goakley (2014-03-23 13:56:50)

It seems the problem no longer occurs.  The only change that seems to have happened is a bash-completion upgrade that happened yesterday.  I'm a bit disappointed to have not found the actual issue.

Similar Messages

  • [SOLVED] bash: $'\302\240grep': command not found [frequent CLI error]

    For the past several days I've been getting the following error frequently on the command line:
    bash: $'\302\240grep': command not found
    I think I'm only getting this error in response to commands that are piped to grep, such as the following:
    $ ps -ef | grep xyz
    or
    $ locate | grep abc
    However, I don't think I've gotten the error if I type the same commands as above, but without the space between '|' and 'grep'.  And, although the error is frequent, it doesn't happen every time; it is seemingly random.
    Anybody else experiencing this?  Any idea what might be causing it? 
    I'm using rxvt-unicode as my terminal.
    Jay
    Last edited by jt512 (2011-04-06 04:38:56)

    anonymous_user wrote:Post your ~/.bashrc
    # Check for an interactive session
    [ -z "$PS1" ] && return
    function timer () {
    at -f /home/jay/.timercmd now + $1 min
    function cpufs () {
    sudo cpufreq-set -c 0 $1 $2
    sudo cpufreq-set -c 1 $1 $2
    alias ls='ls --color'
    alias kc='~/scripts/kc.py'
    alias diff='colordiff'
    alias s2ram='sudo s2ram -f'
    alias grep='grep --color=always'
    alias Terminal='Terminal -T Terminal'
    alias emacsnw='emacs -nw -f menu-bar-mode'
    alias rm='rm -I'
    alias lpstd='lp -o "StpQuality=Standard"'
    alias paps='paps --paper letter --font="Courier 10"'
    alias mp='mplayer'
    alias mps='mplayer -softvol-max 600'
    alias mysql='$HOME/scripts/mysql'
    if [ $TERM = 'linux' -a $SHELL = '/bin/bash' ] ; then
    PS1='\033[?17;0;40c[\u@\h \W]\$ '
    else PS1='[ \[\e[0;32m\]\u@\h\[\e[m\] \[\e[0;31m\]\W\[\e[m\] \[\e[m\]]\[\e[0;32m\] \$ \[\e[m\]'
    fi
    eval `dircolors -b`
    # Allow tab completion for sudo'ed commands
    complete -cf sudo
    export PATH=$PATH:~/.local/usr/bin
    export EDITOR="vim"
    export BROWSER='conkeror:uzbl-browser:firefox'
    export GREP_COLOR="1;33"
    export LESS_TERMCAP_mb=$'\E[01;31m'
    export LESS_TERMCAP_md=$'\E[01;31m'
    export LESS_TERMCAP_me=$'\E[0m'
    export LESS_TERMCAP_se=$'\E[0m'
    export LESS_TERMCAP_so=$'\E[01;44;33m'
    export LESS_TERMCAP_ue=$'\E[0m'
    export LESS_TERMCAP_us=$'\E[01;32m'
    export SWEAVE_STYLEPATH_DEFAULT="TRUE"

  • Make: /usr/bin/ar: Command not found

    Dear Team,
    Following error are encountered while installing 11gR2 on RHEL 5.5.
    make file log:
    /usr/bin/make -f ins_rdbms.mk rat_on part_on dm_on olap_on sdo_on ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1//bin/sh: /usr/bin/ar: No such file or directory
    /usr/bin/ar cr /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/libknlopt.a /u01/app/oracle/product/11.2.0/db_1/rdbms/lib/kecwr.o
    make: /usr/bin/ar: Command not found
    make: *** [rat_on] Error 127
    - All rpms requirements are met. I have re-install GCC as well.
    Thanks in Adv.
    Yuvraj

    # yum provides /usr/bin/ar
    Loaded plugins: security
    binutils-2.17.50.0.6-14.el5.x86_64 : A GNU collection of binary utilities.
    Repo        : el5_u5_base
    Matched from:
    Filename    : /usr/bin/ar
    # ll /usr/bin/ar
    -rwxr-xr-x 1 root root 52632 Feb 11  2010 /usr/bin/arCould your file system or system installation be damaged?
    Perhaps you can try the following:
    # touch /forcefsck
    reboot

  • Make: /usr/bin/install: Command not found

    I'm working on a PKGBUILD, but I'm running into this:
    make: /usr/bin/install: Command not found
    make: *** [install] Error 127
    ==> ERROR: Build Failed.
    Aborting...
    What would cause this?  Old code?  Missing package?

    It was actually really old code, after a bit of successful this-should-probably-work script editing!  I created a package in the AUR called dasm, which is an assembler for the Atari 2600 among many other systems.
    http://aur.archlinux.org/packages.php?ID=37200

  • Bash: $'\302\211cat': command not found

    Fresh Arch install. 
    I tried running some commands in startx xterm (e.g., cat, vim), but got this error message:
    [user@machine ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
    bash: $'\302\211cat': command not found
    How can I fix this?
    wpa_supplicant.conf exists.
    Last edited by PauseUser (2014-07-11 14:16:04)

    A bad PS1 should not create such issues.  A bad PS1 can create very odd visual artifacts, but the shell will still get the proper input.
    I'm guessing the whole command was copied/pasted from somewhere else (eg a website).  Rather than just copying the text, if some formatting was copied, it could easily create such an issue.
    If this were due to a PS1 issue, the OP would get such errors with every single command entered in a terminal.

  • (Solved) fbsetbg: line 153: xmessage: command not found

    Hello,
    I'm trying to set background image for Fluxbox.
    After typing fbsetbg command in xterm I get following error:
    $ fbsetbg -f ~/.fluxbox/backgrounds/wallpaper.jpg
    /usr/bin/fbsetbg: line 153: xmessage: command not found
    The most common way to solve this (according to Internet) is to install xorg-apps, but there is no xmessage app under it.
    # pacman -S xorg-apps
    :: There are 37 members in group xorg-apps:
    :: Repository extra
    1) xorg-bdftopcf 2) xorg-iceauth 3) xorg-luit 4) xorg-mkfontdir
    5) xorg-mkfontscale 6) xorg-sessreg 7) xorg-setxkbmap 8) xorg-smproxy
    9) xorg-x11perf 10) xorg-xauth 11) xorg-xbacklight 12) xorg-xcmsdb
    13) xorg-xcursorgen 14) xorg-xdpyinfo 15) xorg-xdriinfo 16) xorg-xev
    17) xorg-xgamma 18) xorg-xhost 19) xorg-xinput 20) xorg-xkbcomp
    21) xorg-xkbevd 22) xorg-xkbutils 23) xorg-xkill 24) xorg-xlsatoms
    25) xorg-xlsclients 26) xorg-xmodmap 27) xorg-xpr 28) xorg-xprop
    29) xorg-xrandr 30) xorg-xrdb 31) xorg-xrefresh 32) xorg-xset
    33) xorg-xsetroot 34) xorg-xvinfo 35) xorg-xwd 36) xorg-xwininfo
    37) xorg-xwud
    Enter a selection (default=all):
    I installed them any way, but it didn't help. Nether the reboot.
    Is there a way to fix this?
    Last edited by iedopadzert (2012-06-02 11:41:23)

    $ pkgfile xmessage
    extra/xorg-xmessage
    /e:
    See also the optional dependency of fluxbox:
    $ pacman -Si fluxbox
    Repository : extra
    Name : fluxbox
    Version : 1.3.2-1
    Optional Deps : xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities
    Last edited by xduugu (2012-06-02 11:41:30)

  • Solved - Cannot install gimp : error: 'libmng': not found in sync db

    This is the code I get. I think something is wrong with my pacman since it was working fine at the begainning.
    bash-3.2# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    local database is up to date
    bash-3.2# pacman -S gimp
    Warning: gimpshop provides gimp
    resolving dependencies...
    error: cannot resolve "libmng", a dependency of "gimpshop"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gimpshop: requires libmng
    bash-3.2# pacman -S libmng
    error: 'libmng': not found in sync db
    Vlc is installed but if I try this I still get that kind of error.
    bash-3.2# pacman -S vlc
    error: 'vlc': not found in sync db
    This is my pacman.conf
    # /etc/pacman.conf
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # Unstable is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[unstable]
    #Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    And this is my mirrorlist
    # Arch Linux repository mirrorlist
    # United States
    #Server = ftp://ftp.archlinux.org/$repo/os/i686
    #Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
    #Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
    #Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
    #Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    #Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
    #Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
    #Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
    #Server = http://mirror.neotuli.net/arch/$repo/os/i686
    # South America
    # - Brazil
    #Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
    #Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
    #Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
    # Europe
    # - Austria
    #Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
    # - Belgium
    #Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
    # - Czech Republic
    #Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
    # - Estonia
    #Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
    # - France
    #Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
    #Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
    #Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
    #Server = http://mir.archlinux.fr/$repo/os/i686
    #Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
    # - Germany
    #Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
    #Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
    #Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
    #Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
    #Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
    #Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
    # - Great Britain
    #Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
    #Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
    #Server = http://archlinux.mirrors.uk2.net/$repo/os/i686
    # - Greece
    #Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
    # - Hungary
    #Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686
    # - Ireland
    #Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
    # - Italy
    #Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
    # - Netherlands
    #Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
    #Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
    # - Poland
    #Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
    #Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
    #Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
    # - Portugal
    #Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
    # - Romania
    #Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
    # - Russia
    #Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
    #Server = http://archlinux.freeside.ru/$repo/os/i686
    # - Sweden
    #Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
    #Server = ftp://ftp.gigabit.nu/$repo/os/i686
    # - Switzerland
    #Server = ftp://archlinux.puzzle.ch/$repo/os/i686
    # - Turkey
    #Server = http://server.elsistech.com/archlinux/$repo/os/i686
    # - Ukraine
    #Server = ftp://hell.org.ua/archlinux/$repo/os/i686
    #Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
    # Asia
    # - Israel
    #Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686
    # Australia
    #Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
    #Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
    # Setup-Entry
    Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
    Ho and I really like Arch, I just need to know this distribution better.
    And thanks for the help
    Last edited by odf (2008-07-18 19:26:44)

    Not sure why typing 'gimp' is bringing up 'gimpshop', but anyhoo...
    I just punched in 'http://mirrors.easynews.com/linux/archl … po/os/i686' into Epiphany and it 404's, so I'd assume it's down at the mo. Meantime, if you go into your mirrorlist and uncomment whichever 'Server = *' is closest to you (you could just do any of them, but the nearest ones will give you better performance) and comment out that bottom line.
    All going to plan, that should sort it.
    Last edited by ThomasBisset (2008-07-18 00:24:54)

  • Libxslt update errors [command not found]

    keerthi ~ $ pacman -Syu
    :: Synchronizing package databases...
    [..edit..]
    Targets: deluge-0.5.9.1-1 evolution-data-server-2.22.2-1 gtkhtml-3.18.2-1
    libxslt-1.1.24-1 nautilus-actions-1.4.1-3
    [..edit...]
    (4/5) upgrading libxslt [#####################] 100%
    /tmp/alpm_4raIJD/.INSTALL: line 25: y: command not found
    (5/5) upgrading nautilus-actions [#####################] 100%
    /tmp/alpm_Yzgkgr/.INSTALL: line 25: y: command not found
    libxslt from today's set of updates errors out on upgrading. Anyone else having the issue?

    Same here... I got the same output during the update today:
    checking package integrity...
    (4/4) checking for file conflicts [#####################] 100%
    (1/4) upgrading evolution-data-server [#####################] 100%
    (2/4) upgrading gtkhtml [#####################] 100%
    /tmp/alpm_JGRV9A/.INSTALL: line 25: y: command not found
    (3/4) upgrading nautilus-actions [#####################] 100%
    /tmp/alpm_Pqb8Aa/.INSTALL: line 25: y: command not found
    (4/4) upgrading ntfs-3g [#####################] 100%

  • [SOLVED] /etc/rc.sysinit mountpoint command not found

    Hello,
    I have update at now. But I get error:
    /etc/rc.sysinit mountpoint: command not found
    Why? How can I patch the /etc/rc.sysinit? OR where can i found mountpoint command?
    I wait for your fast answer.
    Last edited by gyurman (2011-10-23 14:20:50)

    $ whereis mountpoint
    mountpoint: /bin/mountpoint /usr/share/man/man1/mountpoint.1.gz
    tomas@lappy: ~ $ grep mountpoint /etc/rc.sysinit
    mountpoint -q /proc || mount -n -t proc proc /proc -o nosuid,noexec,nodev
    mountpoint -q /sys || mount -n -t sysfs sys /sys -o nosuid,noexec,nodev
    mountpoint -q /run || mount -n -t tmpfs run /run -o mode=0755,size=10M,nosuid,nodev
    mountpoint -q /dev || mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid \
    mountpoint -q /dev/pts || mount -n /dev/pts &>/dev/null \
    mountpoint -q /dev/shm || mount -n /dev/shm &>/dev/null \
    tomas@lappy: ~ $ pacman -Qo mountpoint
    /bin/mountpoint is owned by util-linux 2.20.1-1
    tomas@lappy: ~ $
    there you have some info to poke around your system;
    is /bin hosted in your root partition?
    do you have util-linux installed?

  • [solved]yaourt local database save - command not found

    i tried following this link to save yaourt packages to a local folder, but i get an error
    [root@myhost yaourt]# yaourt -Syu --devel --aur
    /etc/yaourtrc: line 49: ExportToLocalRepository: command not found
    comments at this page with similar errors doesnt offer any solution.
    what am i missing here?
    Last edited by hadrons123 (2011-11-19 17:07:15)

    1.first thing i just added the line
    ExportToLocalRepository /var/cache/pacman/pkg-local
    to the bottom of the yaourtrc file as per the wiki and ended up with the error.
    /etc/yaourtrc: line 49: ExportToLocalRepository: command not found
    2.after falconindy's idea i added #
    #ExportToLocalRepository /var/cache/pacman/pkg-local
    but now i dont see the error but then package is not getting saved in the pkg-local folder.
    3.karol i tried your step,but still the packages are not saved in the pkg-local folder.
    this is yaourtrc file after the edits but still packages are not saved....
    # yaourtrc - Configuration for yaourt
    # See yaourtrc(5) for more information
    # ABS_REPO list repositories available on archlinux rsync server
    ABS_REPO=(testing core extra community-testing community gnome-unstable kde-unstable)
    # General
    #AUTOSAVEBACKUPFILE=0
    #DEVELBUILDDIR="/var/abs/local/yaourtbuild"
    #DEVEL=0
    #EDITOR="$EDITOR"
    #FORCEENGLISH=0
    #FORCE=0
    #TMPDIR="/tmp"
    #SUDONOVERIF=0 # Avoid multiple sudo checks when timestamp_timeout=0
    # AUR
    #AURCOMMENT=5
    #AURDEVELONLY=0
    #AURSEARCH=1
    #AURUPGRADE=0
    #AURVOTE=1
    # Build
    #EXPORT=0 # Export builded package
    #EXPORTSRC=0 # Need EXPORT=1 to be used
    #EXPORTDIR="" # If empty, use makepkg's connfiguration (see makepkg.conf)
    #EXPORT=0 # Export to 1: EXPORTDIR or PKGDEST
    # 2: pacman cache (as root)
    #EXPORTSRC=0 # Need EXPORT>0 to be used
    #EXPORTDIR="" # If empty, use makepkg's connfiguration (see makepkg.conf)
    # Prompt
    #NOCONFIRM=0
    #UP_NOCONFIRM=0 # No prompt while build upgrades (including -Sbu)
    #BUILD_NOCONFIRM=0 # Only prompt for editing files
    #EDITFILES=1
    #NOENTER=1
    # Output
    #USECOLOR=1
    #DETAILUPGRADE=1
    #SHOWORPHANS=1
    #TERMINALTITLE=1
    # Command
    #PACMAN="pacman"
    #DIFFEDITCMD="vimdiff"
    #ExportToLocalRepository /var/cache/pacman/pkg-local
    thanks for the replies though!

  • [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)

  • [SOLVED] rc.d: command not found

    I am in the process of installing xfce. One of the steps is to run:
    rc.d start dbus
    However, when I run this it returns:
    bash: rc.d: command not found
    Am I missing something?
    Last edited by george55 (2011-08-11 04:03:16)

    Inxsible wrote:
    rc.d is not a command. its a location under /etc. your command should be
    sudo /etc/rc.d/dbus start
    $ which rc.d
    /sbin/rc.d
    $pacman -Qo /sbin/rc.d
    /sbin/rc.d is owned by initscripts 2011.07.3-1
    $ rc.d --help
    usage: rc.d <action> <daemon> [daemon] ...
    rc.d list [started|stopped]
    rc.d help
    <daemon> is the name of a script in /etc/rc.d
    <action> can be a start, stop, restart, reload, status, ...
    WARNING: initscripts are free to implement or not the above actions.
    e.g: rc.d list
    rc.d list started
    rc.d help
    rc.d start sshd gpm
    Initscripts update, part 1
    Initscripts update, part 2
    @george55
    If rc.d command doesn't work, check your initscripts version, and check your $PATH.

  • Receiving command not found after modifying .bash_profile in OEL 5.6 64 bits

    Hi guys,
    After the installation of Oracle Database 11gR2 on OEL 5.6, I added the following entries into the .bash_profile of the oracle user:
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_HOSTNAME=ol5-112.localdomain; export ORACLE_HOSTNAME
    ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=DB11G; export ORACLE_SID
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    # I added my own values relative to my environment.
    But now, when I tried to login as the oracle user on my terminal, I received the following error:
    command not found
    command not found
    So I deleted all the entries I added to the .bash_profile file. But it didn't solve the problem. When I log in as oracle, I still receive the error:
    command not found
    command not found
    This is really weird. How can I do to solve this error?
    Thanks in advance
    Clamarion.

    The following command might show you where the problem is:
    bash -l -x
    See "man bash" for details.

  • Compile smartmontools pkg from terminal: command not found

    hi there!
    when i comiple tar.gz packages i usally install it by this way:
      cd smartmontools-6.0
      ./configure
      make
      sudo make install
    everythink ok but when i prompt:
    smartctl /dev/disk1s2
    i see the error: command not found
    whats wrong? i googled it up and it seems that the command isnt in the system path but cant find to fix it!
    is a smartctl specific problem or after compiling/install am i missing something?
    thanks
    Enrico
    (osx: 10.8.2)

    Open Source installers DO NOT mess with individual user shell initialization scripts.  Open Source project may be installed on single user systems, or multi-user systems so to update every possible user's shell initialization files becomes a nightmare.   For example which accounts should be updated, and which are daemon accounts that should be left along.  Which shell does the user of each account prefer to use?  And for some shells, there are multiple different shell initialzation files, so which one does the shell initialzation file select.  And if the user already has a PATH environment variable in a shell initializaton file that gets executed AFTER the file the installer choose (.bash_profile vs .bashrc), then all the installers work would be for nothing, and worse confuse the user. And the user already has the directory in PATH, but they are not logged in, does the installer parse all the other user's shell initialzation files to figure out if that user does not need an update PATH, or does it blindly add yet another export PATH to one of the shell initialization files?
    Open Source installers worry about the getting the app built and installed.  It leaves the user's personal files alone, for very good reasons :-)

  • QSH command not found

    We Noticed the a problem on our v5R4 iseries after an IPL this weekend
    in both our development system and production system.
    If I try to start JSPM via:
    QSH CMD('/usr/sap/rp1/DVEBMGS00/j2ee/JSPM/go')  get an error
    go command not found.
    If I try to start the SDM via
    ./StartServer.sh ;   get the same error command not found
    I can do a java -version  with qsh and get a result  java
    version "1.4.2";
    Tried using the go from 885063 and sidadm is the owner
    Does anyone have any idea's how to resolve this issue or other test to
    run.
    qsh: 001-0014 Command /usr/sap/rp1/DVEBMGS00/j2ee/JSPM/go not found.
    Press ENTER to end terminal session.
    Regards,
    Brian

    Hi Brian,
    ideas for debugging that issue: put an "echo test" into the first line of the go script. If you then see the echo output you'll know that at least the script was executed. Then one would have to debug into the script. If not even the echo is done, it is maybe a good idea to check the authorities along the path to the go script. You can do that by creating a little test script (with the same authorities as go) which just echoes something and try to place it in the directories further up the path.
    IF nothing helps you might want to consider opening a ticket at SAP?
    BR,
    Christoph

Maybe you are looking for