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.
Similar Messages
-
Terminal troubles. Command not found error in the directory of the command.
I'm getting a "command not found" error when I am in the directory of the command I want to run. For example try to run 'mysql' in the directory with that executable file and I get the error. BUT, if I put the full path to the mysql command, starting from the root, the command works correctly.
I know this isn't a PATH issue, since I'm in the location of the file.
It seems like a possible permissions issue, but I appear to have the proper permissions to the command and all parent directories. Moreover, I would assume that I would see a "permissions denied" error rather than a "command not found" error if this was the case.
Beyond the two possibilities above, I'm stumped as to what the issue could be. To be clear, this is happening on more than one command, although both commands are within the /usr/local/ directory.
Any help would be greatly appreciated!!! Thanks in advance!By default . is not included in your PATH and the shell does not do this on its own, as that is an easy way for someone to get a user to execute a Trojan.
For example, in a multi-user system you create a script 'ls' and put it in a directory with a bunch of other stuff. Then go over to a user on the same system and ask them to help you with something in this directory. The first thing they will do is issue the 'ls' command, which if you have . in your PATH, or the shell always looks in the current working directory, means this user would execute the Trojan script instead of the real 'ls' command. That script do do anything using the privileges of the user running that script, including modifying stuff in their home directory that could give the person asking for help future access to that user's files and data.
That is why . (the current working directory) is NOT part of PATH by default and shells do not look in the current working directory by default. -
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 -
Aerender CC 2014 returns "command not found" error on Mac 10.9.3?
Well, that about sums it up. I'm trying to run aerender in Terminal and I just get a command not found error.
Here's the batch script: "aerender -project /Volumes/xxx/After_Effects_Templates/xxx.aep -comp "Final_Web_800x600" -OMtemplate 800x600 H.264-output /Volumes/xxx/Renders/rendertest.mov"
Anyone know what I'm doing wrong?
Many thanks in advance.
BettsyHi wsrphoto,
You need to follow these steps.
1. Launch creative cloud application.
2. Go to Preferences and go to Account tab.
3. Sign out from there and then quit creative cloud application.
4. Launch Creative cloud again and log-in back again
5. Then download and install the product.
Please revert if you still face any issue. -
Quicktime gets a file not found error in running of set up. tried downloading twice
Quicktime gets a file not found error in running of set up. tried downloading twice
Hi Spex,
I can import the VI Logger task OK (from another PC running VI Logger 2.0), but I can't run the task. I've attached the file. The "1 channel" task runs OK. The "x-probe" task starts, takes 1 or 2 data points, then hangs for a few seconds, then pops up the "file not found" error. The data acquisition taks run OK, so I don't think they're the problem.
This file I've attached includes 2 good data tasks ("1 channel" and xprobe"), 1 good VI Logger task ("1 channel"), and my non-working VI Logger task ("x-probe", which works fine on the PC it was exported from).
I have also tried exporting the non-working VI Logger task on its own, and it still imports OK, but still doesn't run, and gives the same error.
Thanks,
Jake
Attachments:
configData1.zip 353 KB -
Get file not found error when I try to sync
I get file not found error when I try to sync Iphone.
SteveDVD,
The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
And yes, the re-Importation should yield the same result as Linking/re-Linking.
Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
Good luck,
Hunt -
Error when run Application Help me please
Message Error when run Application A_Anexo_7:
java.lang.NoClassDefFoundError: etica.Anexo_7
void etica.A_Anexo_7.<init>()
A_Anexo_7.java:13
void etica.A_Anexo_7.main(java.lang.String[])
A_Anexo_7.java:46you need to provides more info
basically, it's saying that it cannot find the class specified.
You need to include the class in your classpath. -
Website not found error within CRM application
Hi,
One of our user says he is getting 'Web site not found' error within CRM application. What could be the issue ?
We are using CRM 5.0Hello,
What application is your user trying to access ? Is it the ICWC or PCUI?
regards
Mark Foley -
action list not found error when trying to install Flash 11. I have IE8 and windows 32 bit. What can I do? Thanks
Hi, Please try to download the installer from the links provided in the following page: http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
Thanks,
Sunil -
Captivate 8: Why am I getting a HTTP 404 Not Found error when I try to preview a responsive project?
Out of curiosity, some here have recommended renaming an EXE file behind the scenes to eliminate that firewall message when starting up. Are you one of those folks that tried this? My thought is that if so, perhaps this is a result?
Cheers... Rick -
"Page NOT FOUND ERROR" when i launching application through IE
Hi Siebel Guru,
We have installed Siebel CRM 8.1.1 on windows 2003.successfully. I am able to connect ecomuniction through shortcut from windows start menu. If I just type the URL in browser I getting issue with "Page NOT FOUND ERROR".
I just want to launch application through explorer without starting it from shortcut and session should not expire.
Am unable to launch siebel application through my local machine also.
My application server is up and running and am able to connect my webserver on localmachine.
pls do needfull.
Regards
PrabhatHi Goud,
thanks for co-ordiantion
Same issue page not found .
http://ssipl-srvr-35/ecommunications_enu/start.swe.
even local machine same issue page not found.
when i launching application trough webclint my application is opening.
i dont know wht the issue.
why my application is not running direct (IE).
because end User interests to access application their local machine.
pls help me out to solve this issue.
Regards
Prabhat -
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. -
Page not found error when navigating in Iview application
Hi,
I have developed an application,and I am able to view a sucessfull preview of the Page as well.There are htmlb links on the page.When clicked,they navigate to the next jsp page.This iview was assigned to a user,and the portal was logged in though a local ip address.The application works fine.
In trying to access the portal though an external Url,the initial page comes up perfectly fine.However the next page,does not come up,when a link on the first page is clicked.I get initially a popup with the message:
"This page contains both Secure and Non secure Items
.Do you want to display the non secure Items."
The options on the Popup were yes,no,More Info.
When I clicked yes then I get the display page not found error.The error is:
" <b>The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</b> "
The Information I get when I click on More Info is-
<b>Downloading non-secure content from a secure Web site
The Web site you are viewing is a secure site. It uses a security protocol such as SSL (Secure Sockets Layer) or PCT (Private Communications Technology) to secure the information you send and receive.
When sites use a security protocol, information that you provide, such as your name or credit-card number, is encrypted so that other people cant read it. However, this Web page also contains items that do not use this secure protocol.
Given what you know about this Web site and your computer, you must decide whether to continue working with this site.
If you do not feel confident about working with this site, click No.</b> "
This problem occurs only to a particular user.If I add the role to another user,and view the iview I am able to navigate without problem(there is no popup as well).Even for this User,it is happening only when,I access through extrenal url,not when I access the portal through the local IP Address.
Regards,
HarishHi,
This is a further Update.The problem described above has something to do with the roles.When some roles(cusom) are assigned the navigation occurs.Can you please let me know if there is any role related configuration with SSL.
Regards,
Harish -
File not Found error when synching Ipod
I have a fairly new Ipod and synced successfully for months, but now iTunes says it cant synch because of a "File not Found error" (no error number or other clues). I'm running the latest iTines and Ipod software, and I've reset USB drivers but still no luck. I cant reset the iPod itself becase I then got a "1418 error", which is why I then reset USB. I'm stuck, has anyone seen this before?
The Ipod itself plays fine and Itunes recgnises it OK, albeit very slowly, even thought I'm using USB 2.
One other piece of info; when this first happened, the sync must have first deleted the songs I no longer wanted, prior to unsuccesfully adding new ones. Those old songs show up on the iPod but are skipped when I try to play them.Its on the same thread as this one ("connecting iPod nano (second Generation ) to Windows"). Scroll through the authors, you will find it.
-
Page not found error in webdynpro Application
Hi All,
While we are opening a links getting Page not found error. This is webdynpro ABAP application ,through Launch pad it is configured.
We have recently upgarded our portal , previously it was working fine.
R/3 is not upgraded .
Regards,
Krishna.Hi Krishna,
Hope you are doing good.
Kindly run the web diag tool as outlined in note 1045019 or SAP Note No. 1332726 (depending on your version) and reproduce the issue.
This will give you the exact reason why the issue occurs. Attach it here if you have any issues.
Thank you!
Kind Regards,
Hemanth
SAP AGS
Maybe you are looking for
-
Restart number is not in the check file or is not a From-number
HI! I had posted payment Document but i got below error while reprint check from FBZ5 Restart number is not in the check file or is not a From-number "Message no. FS562" on that base, I had check below settinng 1) I had check Cheque no r
-
Help: Factory Class using Inner Class and Private Constructor?
The situation is as follows: I want a GamesCollection class that instantiates Game objects by looking up the information needed from a database. I would like to use Game outside of GamesCollection, but only have it instantiated by GamesCollection to
-
I have Photoshop Elements 4.0. Can I use it on a windows Vista based computer
Q. I have Photoshop Elements 4.0. Can I use it on a windows Vista based computer.
-
Which iPod works??
Which model iPod should I buy? My 3-day old classic 80G is going back to the store today. It crashes, needs to be rebooted every time I turn it on - it is absolutely useless. And this is without any music on it. Totally empty box device. Which model
-
Need Help!! Errors during Local Client Copy
Doing a Local Client Copy and getting these error messages in the log: Table Name Component Package /1CN/CMFSAPH0FOR DDIC Error (See SE14) /1CN/CMFSAPH1FDT DDIC Error (See SE14) /1CN/