Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question on running a sh program 1

Status
Not open for further replies.

zhanghong920

Programmer
Nov 15, 2002
27
0
0
US
Hello,

When I start a wsdk server by running a .sh program, it has lines as below:
./../appserver/bin/wsadmin.sh: [[: command not found
./../appserver/bin/wsadmin.sh: [[: command not found
./../appserver/bin/wsadmin.sh: [[: command not found

But after that the server is started normally. Actually there's this problem when I use every command in this toolkit. I guess this may be related to shell script, that's why I post it here and hope someone might give a help. Thanks,
 
There are errors in the script [tt]wsadmin.sh[/tt].

Or, these are running in the wrong shell. The double square brackets (
Code:
]]
) are a Korn shell structure. If you are not logged onto a Korn shell, try typing a [tt]ksh[/tt] before running the shell script.

Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top