| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jun 25, 2007
Posts: 11
![]() |
Hi everyone,
I just upgraded from Tiger Server to Leopard server, everything going ok so far but only one problem i have with running this command. Here is what i did server:~ administrator$su root password sh-3.2# sh start-cumulus.sh sh: - : invalid option Usage: sh GNU long option option ... sh GNU long option option script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --protected --rcfile --restricted --verbose --version --wordexp Shell options: -irsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option sh-3.2# I was able to run 'sh start-cumulus.sh' with tiger is just fine. Did i do something wrong here ? Any ideas why it doesn't work with Leopard Server? Thanks. |
| QUOTE Thanks | |
![]() Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
![]() ![]() Mac Specs: MacBook Pro Unibody
|
|
| QUOTE Thanks | |
![]() Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
![]() ![]() Mac Specs: MacBook Pro Unibody
|
|
| QUOTE Thanks | |
![]() Member Since: Jun 25, 2007
Posts: 11
![]() |
Quote:
Code:
sh-3.2# sh --verbose start-cumulus.sh
#!/bin/sh
#----------------------------------------------------------------------------
# start-cumulus.sh
# Version 6.00
# (c) 2003 Canto GmbH
#----------------------------------------------------------------------------
ECHO=darwinecho
NATIVE_ECHO=echo
LS=ls
AWK=awk
GAWK=$AWK
NAWK=$AWK
TAR=tar
TARPARAM=xf
#_____________________________________________________________
#
# Get the current dir
#_____________________________________________________________
getCurrentDir()
{
DIR=`dirname "$1"`
cd "$DIR" ; $ECHO `pwd`
}
darwinecho()
{
if [ -z "$1" ]; then
echo
else
echo -n $1 $2 $3 $4 $5 $6 $7 $8 | sed 's/\\@/?/; s/\\b/ /g; s/\\t/ /g; s/\\n/\
/g; /\\c/!a\
\
s/\\c//g'
fi
}
CUMULUSHOME=`getCurrentDir "$0"`
getCurrentDir "$0"
dirname "$1"
pwd
export CUMULUSHOME
### start Cumulus server
sh "$CUMULUSHOME/bin/service.sh" -start cumulus6d
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
sh-3.2#
|
|
| QUOTE Thanks | ||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Problems with MySQL | scorpionbilli | Web Design and Hosting | 18 | 04-29-2008 07:07 PM |
| Programs that work with leopard? | Hazzfq | Switcher Hangout | 1 | 11-19-2007 09:33 AM |
| X server | wiz561 | OS X - Development and Darwin | 1 | 11-18-2004 11:29 AM |
| eMac as a Server? | lokerd | Other Hardware and Peripherals | 11 | 09-13-2004 10:53 PM |
All times are GMT -4. The time now is 05:11 PM.
Powered by vBulletin