07-30-2008
Cannot run UNIX executable !
I have installed the Darwin Calendar Server on my Mac and got it working.
To start the server I open a Finder window on my mac and click the UNIX executable called RUN.
In order to start the server automatically on bootup I used LINGON to add a startup Daemon to call "RUN -d". When I reboot the server does not start.
The daemon does exist in /Library/LaunchDaemons and the startup string is correctly described, i.e. right path and command. Looking at the logs I find that MAC OS has tried to start the daemon but come up with "command not found".
If I open a Terminal window, navigate to the correct directory and then type "run" I get exactly the same error... "command not found" although an ls shows it IS there. I have tried logging on as ROOT, (sudo tcsh), but still have the same problem so it is not an authority issue it seems.
Can somebody please help.... a) Why can I not run my UNIX executable from Terminal. (There is another UNIX executable that does seem to run). b) if I can get it to run then my startup daemon should run too !?
Many thanks in advance....
ALEX
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
as i said before i'm a beginner in shell programming and i have two questions:
how to run an executable file in shell scripts like for example let's say the file called "prog.exe", what's the shell command to run this file?
also how can i make the shell file an executable file (if it is... (5 Replies)
Discussion started by: _-_shadow_-_
5 Replies
2. Shell Programming and Scripting
Hi,
I have an executable file that has a rather long and tedious process to complete. How would I launch the executable using the shell, and then exit the shell while leaving the executable to run in the background? (1 Reply)
Discussion started by: pcwiz
1 Replies
3. Shell Programming and Scripting
I need to know how to have a BASH script run every time Firefox is launched, what is the simplest way to do this? (1 Reply)
Discussion started by: glev2005
1 Replies
4. Shell Programming and Scripting
Dear list
its my first post and i would like to greet everyone
What i would like to do is select records 7 and 11 from each files in a folder then run an executable inside the script for the selected parameters.
The file format is something like this
7 100 200
7 100 250
7 100 300 ... (1 Reply)
Discussion started by: Gtolis
1 Replies
5. Shell Programming and Scripting
All,
I am pretty new to Unix and still in the learning curve :) I have a simple requirement for which I did not get an answer yet (Atleast I do not know how to keyword the search for my requirement!!!).
I have an executable script my.script1 in a folder /data/misc/scripts/dev, which when... (5 Replies)
Discussion started by: bharath.gct
5 Replies
6. OS X (Apple)
I'm using an old conversion method for converting a plist into an XML file, but that's not what I'm needing just via terminal now. What I'm looking for is an answer to convert a plist file into an executable. I'd like to import it into Casper and have the JSS push it out onto an image. In this... (6 Replies)
Discussion started by: unimachead
6 Replies
7. UNIX for Dummies Questions & Answers
I am using the xarchiver on a xfce environment. When compressing a directory using xarchiver which has both files and subdirectories, I encounter the following error:
Can't run the archiver executable:
Failed to execute child process "tar" (Argument list too long)
Does anyone know exactly what... (0 Replies)
Discussion started by: figaro
0 Replies
8. Shell Programming and Scripting
I would like to make a script that I can see if the file is executable. If it is executable then it needs to run. Otherwise, if it is not executable the file needs to be edited, and run agian.
I hope you understand what i mean. :)
Thanks for the netherlands (4 Replies)
Discussion started by: dennisbest85
4 Replies
9. UNIX for Advanced & Expert Users
Hello,
I need to figure out the minimum OS version needed to run some executable.
For the following OS: Linux, AIX, Solaris. For example how do I know the minimum OS version for /bin/ls ? "file" command does not give me much information. There are some tools that are helpful for understanding... (4 Replies)
Discussion started by: +Yan
4 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I have several hundred subdirectories which contain input files for a binary executable. I need to get into each of the subdirectories, run the executable and then move to the next one and repeat the process. What is the best way to do this?
Arbitrarily my file structures look like... (3 Replies)
Discussion started by: Gussifinknottle
3 Replies
LEARN ABOUT OSF1
timedsetup
timedsetup(8) System Manager's Manual timedsetup(8)
NAME
timedsetup - Performs initial setup of the time server daemon (timed).
SYNOPSIS
/usr/sbin/timedsetup
DESCRIPTION
The timedsetup command is an interactive script that can be used to perform initial time service configuration for your system.
By default, timed does not start at boot time. The timedsetup script asks if you want the timed daemon to be started at boot time, and
prompts you for any options to pass to the timed daemon whenever it is invoked. The script then starts the timed daemon.
For more information on the timed options, see the timed(8) reference page.
Note
The timed daemon is provided for compatibility. Tru64 UNIX also provides support for the Network Time Protocol (NTP) through the xntpd
daemon. Compaq recommends you use NTP for time synchronization. If your system is configured to run NTP, the timedsetup command passes
the -E and -M options to the timed daemon by default.
If you plan to run both the timed daemon and NTP, you should configure NTP first.
RESTRICTIONS
In configurations with two or more hosts each connected to the same two or more subnetworks, only one of the host can run the timed with
the -M option.
FILES
Specifies the command pathname The timed startup and shutdown script Specifies timed parameters pertinent to a specific system
SEE ALSO
Commands: timed(8), xntpd(8)
timedsetup(8)