Hi Felipe,

When I first encountered the create-administrator script, I had problems. You 
might want to double-check all the earlier steps have been done well before 
using the command.

Otherwise,
# to make sure the script is in the current working directory
ls
# call the script
./create-administrator
# otherwise
cd [to where dspace is]/bin
./create-administrator

As for sed and java, if your PATH environment variable is set appropriately and 
all necessary packages have been installed, try these on your command line

# to show your PATH
printenv |fgrep PATH

# the absolute path to these commands should show
type sed
type java

or you could try
# perhaps as root
updatedb

# as dspace user
locate sed
locate java

to show the shell you have, try

printenv |fgrep SHELL

I use redhat as well.

-- Van Ly




From: felipe Melero
Sent: Wed 7/01/2009 11:22 PM
To: dspace tech
Subject: [Dspace-tech]  problem executing create-administrator


Hi all,

I have a problem executing  the script create-adminstrator, I get the following error: 
"bad interpreter".

-bash-3.00$ ./create-administrator
: bad interpreter: No such file or directory

if I change the line inside the script       #!/bin/sh  to  #!/bin/bash  I get 
other errors:

-bash-3.00$ ./create-administrator
./dsrun: line 61: sed: command not found
./dsrun: line 70: java: command not found

Does anybody know how to make it work? I have Red Hat Linux if helps.

Thanks in advance,

Felipe
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to