Command not found after using KNOWN user
Hello
I created a user called sshuser and it added to the root group. Could ssh to my box esx then known root with password root. Everything seems to work fine until I tried to restart a service:
Password:
bash: service: command not found
bash: service: command not found
bash: esxcfg-NICS: command not found
Anyone know what is the cause?
Thank you
Daniel
Also, for the record the path that you are looking for is/usr/sbin /.
Steve Beaver
VMware communities user moderator
====
Co-author of "VMware ESX Essentials in the data center" virtual
(ISBN:1420070274) Auerbach
Come and see my blog: www.theVirtualBlackHole.com
*Virtualization is a journey, not a project. *
Tags: VMware
Similar Questions
-
COMMAND NOT FOUND - ORACLE GRID
Hi all
While typing in the mentioned order, I received the command not found below. I wonder what could be the reason. I installed ORACLE GRID on my test server. Also, feel free to check the output of bash_profile for grid below: -.
[grid@storage Desktop] $ sqlplus / as sysdba
bash: sqlplus: command not found
asmca $ [grid@storage Desktop]
bash: asmca: command not found
[grid@storage Desktop] $ lsnrctl status
bash: lsnrctl: command not found
[grid@storage Desktop] $
[grid@storage Desktop] $ vi ~/.bash_profile
# .bash_profile
# Get the aliases and functions
If [~/.bashrc - f]; then
. ~/.bashrc
FI
# Specific programs startup and user environment
$PATH = path: $HOME/bin
export PATH
ORACLE_SID = + ASM; export ORACLE_SID
JAVA_HOME = / usr/local/java. Export JAVA_HOME
ORACLE_BASE = / u01/app/grid; export ORACLE_BASE
ORACLE_HOME=/U01/app/11.2.0/grid; Export ORACLE_HOME
ORACLE_TERM = xterm; export ORACLE_TERM
NLS_DATE_FORMAT = 'HH24:MI:SS OF MON-DD-YYYY "; Export NLS_DATE_FORMAT
TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN
ORA_NLS11 = $ORACLE_HOME/nls/data; export ORA_NLS11
Path=.:${JAVA_HOME}/bin:${path}:$Home/bin:$ORACLE_HOME/bin
PATH = ${PATH}: / usr/bin: / bin: / usr/bin / X 11: / usr/local/bin
PATH = ${PATH}: / u01/app/common/oracle/bin
export PATH
LD_LIBRARY_PATH = $ORACLE_HOME/lib
LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: $ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: / lib: / usr/lib: / usr/local/lib
export LD_LIBRARY_PATH
CLASSPATH = $ORACLE_HOME/JRE
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/jlib
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/rdbms/jlib
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/network/jlib
Export CLASSPATH
THREADS_FLAG = native; export THREADS_FLAG
Export = TEMP/tmp
export TMPDIR = / tmp
umask 022
You should also check the USER ORACLE .bash_profile OUTPUT as well. The following is an OUTPUT
[oracle@storage ~] $ vi ~/.bash_profile
# .bash_profile
# Get the aliases and functions
If [~/.bashrc - f]; then
. ~/.bashrc
FI
# Specific programs startup and user environment
$PATH = path: $HOME/bin
export PATH
ORACLE_SID = orcl; export ORACLE_SID
ORACLE_UNQNAME = orcl; export ORACLE_UNQNAME
JAVA_HOME = / usr/local/java. Export JAVA_HOME
ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/Db_1; Export ORACLE_HOME
ORACLE_TERM = xterm; export ORACLE_TERM
NLS_DATE_FORMAT = 'HH24:MI:SS OF MON-DD-YYYY "; Export NLS_DATE_FORMAT
TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN
ORA_NLS11 = $ORACLE_HOME/nls/data; export ORA_NLS11
Path=.:${JAVA_HOME}/bin:${path}:$Home/bin:$ORACLE_HOME/bin
PATH = ${PATH}: / usr/bin: / bin: / usr/bin / X 11: / usr/local/bin
PATH = ${PATH}: / u01/app/common/oracle/bin
export PATH
LD_LIBRARY_PATH = $ORACLE_HOME/lib
LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: $ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: / lib: / usr/lib: / usr/local/lib
export LD_LIBRARY_PATH
CLASSPATH = $ORACLE_HOME/JRE
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/jlib
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/rdbms/jlib
CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/network/jlib
Export CLASSPATH
THREADS_FLAG = native; export THREADS_FLAG
Export = TEMP/tmp
export TMPDIR = / tmp
umask 022
PROBLEM has BEEN SOLVED NOW by tuning in ORACLE ENTERPRISE LINUX 6.5 (making the new facility). I want to especially thank you Aman.... for his great support and advice. Also be sure to check the blog that I have prepared during installation.
Blog URL: Setup Guide of grid complete Oracle 11 g on Oracle Enterprise Linux 6.5
In order to perform the complete Oracle with the Installation of the grid. Follow the mentioned below of the measures accordingly.
1 install Oracle Enterprise Linux 6.5 (if you have already installed OS then follow step 2)
2 oracle 11 g with Installation of the rack on Oracle Enterprise Linux 6.5 (part of the Configuration)
3 prepare the disk to ASM DISK using ASMLib
4. infrastructure installation oracle Grid (DATA of GROUP of DISKS ASM creation)5. using creation of GROUP of DISKS ASM FRA ASMCA (ASM Configuration Wizard)
-
Forms12c: "WLS_FORMS failed due to: command not found".
Hello
Win 7 64, Forms12c installed no problem patterns RCU incl., Forms Builder works very well.
I'm trying to start the field WLS_FORM of the Admin (/ em) and get the error:
ERROR: Error Message received from the Node Manager Server: [server with the command for WebLogic server 'WLS_FORMS' failed due to:]
[Command not found]. Please check Node Manager journal or newspaper 'WLS_FORMS' server for more information.]
I need someone help please.
Kind regards
Friedhold.
Hi Friedhold
You can start the command line WLS_FORMS?
I want to know if it's a configuration nodemanger error or a forms runtime error.
12 c you must start all managed servers command line the first time. 11 g, Oracle made for you.
12 c is no security directory to the boot.properties file so create.
If information of name of user and password of the noch (boot.properties or Nodemanager) are then forms are not used will be able to start
-
sqlplus: command not found
I installed oracle as user ora102 and create a new one like:
/ etc/passwd:
Oracle: x: 54321:54321: / home/oracle: / bin/bash
ora102:x:54322:54322: / home1/ora102: / bin/ksh
Headof:x:54323:54325: / home1/mbs/ho/maintain: / bin/bash
hoserv:x:54324:54325: / home1/mbs/ho/maintain: / bin/bash
/ etc/group:
oinstall:x:54321:
DBA:x:54322:Oracle, ora102
Headof:x:54323:
hoserv:x:54324:
test: x: 54325:ora102
For the user Lechefdela that I have:
-bash - $3.2 id - a
UID = 54323 (headof) gid = 54325 (test) groups = 54325 (test)
My problem is when I run sqlplus:
-bash-3, $ 2 sqlplus
-bash: sqlplus: command not found
the $ORACLE_HOME environment has been defined in the profile of ora102
Please help me
Apparently, you have correctly set home. Follow my previous comment and try to start the database:
sqlplus/nolog
...
SQL > connect / as sysdba
Connect to an instance is idle.<===== you="" should="" see="" this="" message="" after="" you="">=====>
SQL > startup
David Fitzjarrell
-
Command not found in the service console ESX 4.0 u2
Hi all
I have a very simple question.
I have haven´t access to the service console ESX 4.0 for some time and today I need run commands to verify information on some host bus adapters.
I logged a user then used 'su root' to switch to the ROOT user.
I use Putty to connect to the Service Console.
But when I try to execute the following commands it said "Command Not Found":
vmkload_mod
esxcfg-module
I read VMware KBs, that say to use these commands for this version of ESX, but I can´t do run.
I think the answer is something very simple, but I can´t find it.
Anyone have any ideas?
Thank you
Mark
Try this command:
quo
as documented in http://kb.vmware.com/kb/1006573
-
Original title: "application not found" after the file download
Windows 7 HP pavilion HPE.
After a file download (zip file), I get the above message. I can download and open Rar files very well. running norton antivirus, try turning it off to see if it is interfering, same problem. any help is appreciated...
Hey Liindajean,
The association of files with .zip files may be damaged. Try to use the information provided in the response of the thread below links to solve this problem.
Windows 7 unzip problemHope that helps.
-
-bash: sqlplus: lsnrctl: command not found
Hello
# cat /etc/issue Oracle Linux Server release 6.7 Kernel \r on an \m [root@hostname bin]# lsnrctl -bash: lsnrctl: command not found [root@hostname bin]# sqlplus -bash: sqlplus: command not found [root@hostname bin]# ps -elf |grep -i smon 0 S oracle 23239 1 0 80 0 - 315538 semtim 16:37 ? 00:00:00 xe_smon_XE 0 S root 23411 23043 0 80 0 - 25840 - 16:39 pts/3 00:00:00 grep -i smon
We set up a XEN VPS with Oracle linux. It's really strange to me that db is running, but I'm not able to run the same sqlplus command from $ORACLE_PATH/bin
Please notify
Thank you in anticipation
- [root@hostname bin] # lsnrctl
-bash: lsnrctl: command not found
You run the Oracle commands under the root user: do not, run Oracle commands as user oracle.
Don't forget to set environment variables: http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL124
-
Hello all;
I'm about to upgrade my server ESXi from 4.1 to 5.1 in the next few days. I through vCenter Update Manager and have taken the appropriate steps of research. My question & concern is good.
I want to see want happens through DCUI but I don't get - bash: dcui: command not found
Now, I have followed the links:
VMware KB: Access Direct Console User Interface (DCUI) since a SSH session
VMware KB: Enabling root on an ESX host SSH connection
and logged in as root but the command does not run. I'm not able to view the DCUI (which is weird, indicating that another host on the vCenter, I can't PuTTy (SSH) in this host and see the fine, same DCUI ESX & build number.)
Any Suggestions?
You can connect to the Service Console, but keep in mind, there is no way to make a room upgrade from ESX to ESXi - 4 or 5 - there must be a new installation.
-
esxupdate - command not found ESX 4.0.0
Trying to get our patched up ESX environment. It was installed by my predecessor, and nothing was ever patched.
When I try to run esxupdate (in root), I get "Command not found". I have access to/usr/sbin / and see esxupdate in there, but I can't run it yet.
I'm a complete linux noob, so I'm stumbing around that with a lot of Google searches and poke-hope and methods. Can someone help me? I would like to fix some of the bugs that this environment has...
Welcome to the community,
Although patches can use command line tools, the recommended method for patch/update is using the Update Manager. Since you mention ESX, I guess you have vCenter Server and Manager Update up!
André
-
-bash: f4fpackager: command not found
Hello
I try to use the f4fpackager on one of the centos AMIS (5.03) via amazon aws.
When I try to run the command, I get the following:
-bash: f4fpackager: command not found
I tried
export LD_LIBRARY_PATH = / opt/adobe/ams/tools/f4fpackager
but have had no success - someone at - it ideas?
Thank you
Craig
You can try browsing to f4fpackager with the following command installation directory?
CD/opt/adobe/ams/tools
And then try to launch f4fpackager as follows:
. / f4fpackager
If need be, you can load libraries as follows:
export LD_LIBRARY_PATH =.
-
sqlplus: command not found on Linux
I have installed Oracle 10.2.1.0 in Ubuntu 10.10 My Setup was fine, I could even open isqlplus([http://ubuntu.ubuntu-domain:5560/isqlplus/workspace.uix]) and run queries...]) But, back in the terminal when I try to connect to sqlplus I get error
What could be the reason for this?oracle@ubuntu:~$ sqlplus / as sysdba sqlplus: command not found
Sandy wrote:
Thanks for the reply Ed... It is very usefuloracle@ubuntu:~$ env | grep ORA | sort ORACLE_HOME=/opt/oracle/oracle/product/10.2.0/db_2 ORACLE_SID=orcl
even better...
env | grep -i ora | sort
-I switch tells grep to filter case insensitive. It will also pick up your WAY, if it includes (as it should) a reference to the oracle bin directory.
-
Missing ORACLE_HOME, SQLPLUS - bash: sqlplus: command not found
OK, I'm a newbie, but a real difficulty with my G 10 DB I had implemented on Unix Solaris, but someone has been messing around with it, and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID, they return all empty when I try to 'echo' of each.
I realize I should have initially he set in Bash_profile, but now is too late.
So, how can I set them back to the top, I can't get SQLPLUS / AS SYSDBA... bash: sqlplus: command not found
I tried to reset and to export but still does not work.
I got the ORACLE_BASE as:
Training:/export/home/training/product/10.2.0/Db_1:N
but, can't seem to define three variables to launch SQLPLUS, any ideas what I am doing wrong?
Tried messing around to reset but nothing works, it's the current state of things:
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 [31 m-\u-\e [33m\W/\e [31 m-$\e [32 m]]]]
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 correctly.
Thank youORACLE_HOME=/export/home/training/product/10.2.0/Db_1
$PATH = path: $ORACLE_HOME/bin
export ORACLE_HOME PATH -
I extracted to the terminal linux firefox in my own repertoire and you try to run the executable file called firefox. But he's saying "command not found".
You seem to have 64-bit Linux because Linux versions served on mozilla.org are 32-bit.
FTP://FTP.Mozilla.org/pub/Firefox/releases/21.0/Linux-x86_64/
-
vifptarget: command not found since the upgrade
I upgraded my camera vma 5.1.0.0 Build build 782391 to 5.1.0.1 1062361 this morning and now when I try to issue the vifptarget command to specify one of the guests in my list as target I get
-bash: vifptarget: command not found
I can see the man page for the command and I noticed that it in/opt/vmware/vma/bin/as well as vifp that works to add or remove hosts.
I tried a logout or restart the device, but that did not help. I tried to add location of the command on my way and that only errors generated.
Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.Can't load ' / usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: no such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.in /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm on line 10Compilation failed in require /opt/vmware/vma/sbin/touchSession.pl line 12.BEGIN failed--compilation abandoned /opt/vmware/vma/sbin/touchSession.pl line 12.. / vifptarget: line 185: back: can only 'back' of a function or an original scriptSomeone knows what's the problem with him?
Thank you
You can try:
1. from the vMA console, open the /etc/bash.bashrc file in the vi editor.
2. Add the following lines at the end of /etc/bash.bashrc
alias vifptarget = ' source/opt/vmware/vma/bin/vifptarget '.
source/opt/vmware/vma/bin/completion_vifp
source/opt/vmware/vma/bin/completion_vifptarget
source/opt/vmware/vma/bin/completion_vifs
export LD_LIBRARY_PATH = ${LD_LIBRARY_PATH: + $LD_LIBRARY_PATH :} / opt/vmware/vma/lib64: / opt/vmware/vma/lib}
3. run:
/etc/bash.bashrc source
-
"the file is not found" after apple update.
"the file is not found" after apple update. Before the update, I've drag only the pictures I want to edit iPhoto to lightroom and change them. However, after I upgraded apple iPhoto photos, there is no connection between my modified pictures and lightroom and I get the above message. I know where the photos are (in the content of the packaging of my iPhoto library). However, when I try to find photos by clicking on the exclamation mark (on the thumbnail of the photo) which means that the photo can be found, I can't open the iPhoto package content. does anyone have a solution?
I recommend that remove you the Photos app entirely.
File > PlugIn options... > import from iPhoto.
However. If you want to continue to manage with Photos AND Lightroom, you can create an alias of the Masters record (in the package contents) and place it in a suitable place. Lightroom will be able to see this file in the import dialog box.
Locate one of the images that is missing and it should be able to locate the others.
Maybe you are looking for
-
When I try to install an addon, the progress bar runs a little and then I thought this is impossible due to a failure of connection to addons.mozilla.org. I just uninstalled Orbit Downloader, because it's integration with FF was unforgivable bad and
-
Re: Tecra A8 PTA83: WLan loses connection
For the third time, I tried to load the SP3 for XP on my Tecra laptop.Each time, despite the upgrade the driver for the wireless network intel version 12, I lose all internet connection. Can someone help me here please. I'm sure it should work a bit
-
Canon MP620 "forget" how to print wireless until I have reinstall completely
I had my Canon MP620 for about five years. I use it to print wireless from my laptop. It worked fine all the time that I got it. Recently, I tried to print from my laptop and I got a message that the printer is offline and cannot connect (Yes, the pr
-
HelloToday, I tried the print for the first time module.I'm on OSX 10.10.5 and LR CC 2015.4-J' chose an image-Page settings: custom 80 x 60 cm (poster)-Watermark-L' print the photo information: title-Output: JPEG file-Color management: ICC profile to
-
I get a memory error message off
HelloI've got 6 PDFs from a client - they are all between 10 and 60 mb - I have all open in PS and made the corrections except for one...This file is one of the smallest to 11 mbWhen I try to open it, I get an out of memory message (live RAM).I have