Passwd : command not found
I have created a whole-root zone on solaris 10 update 3. I installed it and try to create new user to it. However i am unable to create the passwd as passwd commant not found.
bash-3.00# useradd -d /export/home/ariffs -m -s /bin/sh -c "Ariffudeen" ariffs
bash-3.00# passwd
bash: passwd: command not found
bash-3.00# passwd ariffs
bash: passwd: command not found
No passwd found in my /usr/bin:
bash-3.00# pwd
/usr/bin
bash-3.00# ls -l pa*
-r-xr-xr-x 1 root bin 18492 Jan 25 2007 pack
lrwxrwxrwx 1 root root 16 Mar 27 11:01 packtocomp -> ./wansungtojohap
-r-xr-xr-x 2 root bin 35236 Jan 23 2005 page
-r-xr-xr-x 1 root bin 9996 Jan 23 2005 pagesize
-rwxr-xr-x 1 root other 12172 Sep 28 2006 pal2rgb
-rwxr-xr-x 1 root other 282712 Sep 1 2007 panel-test-applets
-rwxr-xr-x 1 root other 10204 Jan 21 2006 pango-querymodules
-r-xr-xr-x 63 root bin 10044 Jan 23 2005 pargs
lrwxrwxrwx 1 root root 16 Mar 27 11:01 passmgmt -> ../sbin/passmgmt
-r-xr-xr-x 1 root bin 10148 Jan 23 2005 paste
-r-xr-xr-x 1 root bin 39204 Jan 23 2005 patch
-r-xr-xr-x 1 root bin 10448 Jan 23 2005 pathchk
-r-xr-xr-x 1 root bin 152952 Jul 1 2006 pax
Similar Messages
-
Installing mysql:sudo launchctl: command not found
After several days of reading about:
Installation of MySQL
Enabling apache server
And getting phpMyAdmin up
I have run into an obstacle. See error message below **
I am Running:
'Mountain lion' , 'Mac OS X 10.8.3'
I have downloaded:
MySQL version. Mac OS X 10.7. (X86, 64-bit), DMG Archive.
Within this forum I found a very brief but helpful 'user tip' post.
Link1.
https://discussions.apple.com/docs/DOC-3082
Where this sentence lead me to believe I could use the version listed above.
There is NO version for 10.8
" Download MySQL from a local mirror. You want the Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive. At the time of writing this User Tip, the current version is 5.5.34. By the time you read this, there may be a newer version to use instead. Open the archive mysql-5.5.34-osx10.6-x86_64.dmg. "
Following the instructions on link1, and all went well until
I am getting this error message when I type the following command at the terminal prompt:
**Error message
-bash: launchctl: command not found.
1. I cd - changed directories all the way back up the file structure to type the command
to see if it needed to be run someplace special but the same error came up.
2. I searched here on this forum and on the web.
3. I went back and checked over every step and everything that i typed.
4. I ended up typing the instructions below by hand
because somewhere I read that a copy/paste may insert invisible characters.
Excerpt from link1.
sudo vi /Library/LaunchDaemons/com.mysql.mysql.plist
Use the following content:
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
<string>--user=mysql</string>
</array>
</dict>
</plist>
Can someone please explain what I am missing ?
Why is this command
-bash: launchctl: command not found.
That is launch c t lowercase L not number 1
An added note.
The following link also had a very nice set of instructions but unlike link1, this link uses the
'Preference pane' and 'startup item' which link1 discourages because it causes problems down the road.
I would rather use the command line and do not want to give up on this method.
Link2.
http://coolestguidesontheplanet.com/install-configure-apache-mysql-php-phpmyadmi n-osx-10-8-mountain-lion/
Now that I am going head strong with this project, I hope that my issue can be resolved quickly with this community
so I don't loose my momentum.
Thanks a lot.1. You are really a nice person. Thank you. I really want to understand these file structures. Sorry my posts are lengthy.
Thank you for taking the time to look at the original User Tip.
2. I hope that you do not end this thread when I tell you that I actually have gotten php running. These concepts are still very important to me.
I am not up to the point where I am using mySQL so that may end up another troubleshooting problem.
3. Last week and this I have been exploring my files with terminal by cd-ing up and down; using sudo nano to open the file to see what is in there.
I have included some things that may be useful since you have a much better idea about how these paths work.
4. If you have a chance - Can you elaborate. I understand a PATH. What to you mean when you say PATH environmental variable.
I think of a variable in the computer programmer syntax sense.
5. I also cannot find a .profile file anywhere. See the below.... where I found something....
4. Searching like crazy for the load executable. I cannot find it yet. I thought that it might be with the other commands in /bin
below are some exploratory commands I am running and things I find of interest.
I use ls -la to display 'all' files. I use -la to list hidden files. those that start with a dotFileName.
/user/local/mysql/bin
there is NO load executable here.
I looked around for 'load'
macBookPro: /shortname$ ls
cd bin
ls -la
lots of commands: launchctl mkdir pwd echo .... i thought that 'load' should live here.
cd etc
ls -la
has:apache2 my.conf named.conf passwd paths php.ini sudoes nanorc
apache2 empty - title: new buffer
sudoers i have questions about this but not a priority now.
nanorc
php.ini
my.conf
name.conf
passwd
paths
sudo nano paths
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
I did not find the .profile file. what I have found is the below which references the .profile for sh(1)
I am unable to interpret the below file/code - well maybe a little.
cd etc
ls -la
sudo nano profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
Here is
/usr/sbin
sudo nano apachectl
the following is the code in apachectl
I see 'run launchctl load ....'
LAUNCHCTL="/bin/launchctl"
LAUNCHD_JOB="/System/Library/LaunchDaemons/org.apache.httpd.plist"
run_launchctl() {
if [ $UID != 0 ]; then
echo This operation requires root.
exit 1
fi
$LAUNCHCTL $@
# Set the maximum number of file descriptors allowed per child process.
if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then
$ULIMIT_MAX_FILES
fi
ERROR=0
if [ "x$ARGV" = "x" ] ; then
ARGV="-h"
fi
case $ARGV in
start)
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
stop|graceful-stop)
run_launchctl unload -w $LAUNCHD_JOB
ERROR=$?
restart|graceful)
run_launchctl unload -w $LAUNCHD_JOB 2> /dev/null
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
startssl|sslstart|start-SSL)
echo The startssl option is no longer supported.
echo Please edit httpd.conf to include the SSL configuration settings
echo and then use "apachectl start".
ERROR=2
configtest)
$HTTPD -t
ERROR=$?
status|fullstatus)
echo Go to $STATUSURL in the web browser of your choice.
echo Note that mod_status must be enabled for this to work.
$HTTPD $ARGV
ERROR=$?
esac
exit $ERROR
Thanks again for helping me to understand these file structure.
There is no preview option so i hope this posts well. -
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.
"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.
Thanksjust 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? -
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 UserVikas 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/ -
Single user mode . using tail -f (command not found)
Have an empty computer with no systems disk as the installation CD start up will not go past the grey screen with the rotating logo before the panic crash page comes up and tells me to restart the computer.
Trying to boot into single user mode and then use the command tail -f to see contents of some of the logs... BUT I get the reply tail command not found ????If the hard drive is empty, then you can only boot from the CD. Regardless of whether or not it has "tail," it won't do you any good. There are no logs.
-
Patch: command not found
While trying to build freetype2-lcd with makepkg -c, I keep getting the following error:
wiltell ~/build/freetype2-lcd $ makepkg -c
==> Making package: freetype2-lcd 2.3.5-3 (Mon Mar 24 17:02:26 CET 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found freetype-2.3.5.tar.bz2 in build dir
-> Found bytecode.patch in build dir
-> Found freetype-2.3.0-enable-spr.patch in build dir
-> Found freetype-2.2.1-enable-valid.patch in build dir
-> Found freetype-2.2.1-memcpy-fix.patch in build dir
-> Found freetype-2.2.1-subpixel-disable-quantization.diff in build dir
==> Validating source files with md5sums...
freetype-2.3.5.tar.bz2 ... Passed
bytecode.patch ... Passed
freetype-2.3.0-enable-spr.patch ... Passed
freetype-2.2.1-enable-valid.patch ... Passed
freetype-2.2.1-memcpy-fix.patch ... Passed
freetype-2.2.1-subpixel-disable-quantization.diff ... Passed
==> Extracting Sources...
-> bsdtar -x -f freetype-2.3.5.tar.bz2
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 29: patch: command not found
==> ERROR: Build Failed.
Aborting...When building packages, ensure you have the entire base-devel group installed:
# pacman -S base-devel
In particular for this specific case, what you want is the 'patch' program:
# pacman -S patch
- but just install all of base-devel to prevent issues like this in the future. -
Recover Accidentally Deleted Files in OS X via Terminal, "command not found"
Hi!
I am trying to recover a folder from the trash. It was deleted 30 min ago. The command I am trying to use is;
Mys-MacBook-Pro:~ storedisk$ com.apple.Finder AppleShowAllFiles true
And the response is;
-bash: com.apple.Finder: command not found
When I open any Terminal window I get this message, I don't know if this is relevant;
Last login: Wed Nov 13 08:27:40 on ttys001
I have found some similar replies on the forum but they do not seem to work in my case. I'm new to Terminal so I would really appreciate the help to find the cause and to resolve my problem.
Thanks a lot!Thank you so much. This is the reply that I got;
Mys-MacBook-Pro:~ storedisk$ ls -a .Trash
. Cherry Blossoms
.. FLiCKS
.DS_Store Nicholas Nickleby (1977)
13 Tzameti Robin Hood (2010)
Catch-22 [1970] We Live in Public 2009
Mys-MacBook-Pro:~ storedisk$ mv .Trash/FLiCKS .
Mys-MacBook-Pro:~ storedisk$
Mys-MacBook-Pro:~ storedisk$ mv .Trash/FLiCKS
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
It is the FLiCKS folder that I am trying to retreive. Does this mean that I can retreive it? And if so, when I use the command mv .Trash/filename, where should it appear? Sorry for not fully understanding the instructions.
I also tend to empty the trash cumpulsively, which is how this happened in the first place. Trying to empty the files already in the trash but accidentally having had this folder selected I emptied that and kept the files that I didn't want.
The trash folder still has the size as if the folder FLiCKS is still in there though, if that makes any difference?
Thank you for all of your help. -
Ldconfig: command not found
I just did a pacman -Syu and something went terribly wrong.
Whenever i try to install a new program i get something like this:
$ pacman -S glibc
warning: glibc-2.10.1-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): glibc-2.10.1-3
Total Download Size: 0.00 MB
Total Installed Size: 31.47 MB
Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [##############################] 100%
(1/1) upgrading glibc [##############################] 100%
/tmp/alpm_ZLRuBH/.INSTALL: line 39: ldconfig: command not found
/tmp/alpm_ZLRuBH/.INSTALL: line 40: init: command not found
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete.
sh: ldconfig: command not found
error: command failed to execute correctly
Checking the integrity of the local database in /var/lib/pacman/
any ideas?Have all the users with GNOME started a root's Terminal window???
I've noticed that using the Gnome's root terminal messes up the $PATH variable (as of today)... when i start archlinux (note: i don't use GDM) my path is:
/bin:/usr/bin:/sbin:/usr/sbin....
and many other items... but when a root terminal is started inside gnome, $PATH changes to:
/usr/ucb:/bin:/usr/bin:/etc
And ldconfig will fail... (and any other tool in /sbin) this change is restricted to this window only. If you exit the root terminal and go to a normal terminal, the path is what is expected.
This happens on a clean reformatted machine, installed archlinux, doing a pacman -Syu, installing gnome and all extras (including system administrations tools) (as tested today).
Maybe some config file is messed or is a bug from the Gnome guys...
Anyways the only workaround i can think is to start a normal terminal (for the guys that use gnome or use GDM to start their machines) and in the terminal doing a "su -" to got root access (of course will ask for the password) and then update/install/whatever you want with pacman.
And sorry about my english.
J.
Last edited by stargeizer (2009-09-24 14:35:10)
Maybe you are looking for
-
Can I use preset with Lightroom mobile
I Would like to buy a set of Lightroom presets and a wondering if I will be able to use them with the mobile app and if so how?
-
Are Pivot and Unpivot supported in SSRS
We're upgrading from SSRS 2005 to 2008 R2. I'm rewriting some of my reports and using Unpivot. In SQL it works fine when I run it against the database. But in SSRS (BIDS 2008) when I paste the working SQL statement into the Query Builder, I get an
-
Missing Airplay Icon in Windows 7 PC.
I have a Pioneer-vsx-1326-k receiver with airplay and am able to use Airplay on my Iphone4 and a Win 2K PC but not the Win 7 PC (actually a Macbook Pro running windows 7). I have seen a number of threads about this issue but none of the fixes have h
-
Changing Adobe ID associated with DPS Pro
A friend who own a DPS Pro account, asked me how he can changes the Adobe ID associated to it, so he can keep his DPS SE separated with his main client that use the Pro version. Is this possible, how? Thanks!
-
Please convert this query to UPDATE query.
Hi Experts,