Hello,

Am 26.07.2007 um 16:28 schrieb Inna Klimbovskaia:

> That explains the problem.  It would be nice if someone updates
> documentation, so it actually say not to use passphrase...

Well, it does already. Or, more preciesely, it
depends on your point of view. If you read the
script that comes with dspace, then there is a
line (77) which tells:

echo "n" >>$tempfile  # Do not encrypt server cert private key
                       # OR do not overwrite old server cert private key

If you try to run this script against the current
version of the handle server, then you get an error.
This is because the interactive version of the handle
server configuration assistant asks you one more
question then you were asked at the time when the
script was generated. So, the config file the script
produces is one line too short (I think three empty
lines instead of four empty lines in the lower part
of the file).

This is why you probably will run the config tool
interactively instead of using the now defunct script.
If you read the script and use the interactive tool
accordingly, you wont have a problem. If you try
right away, using the standard docs, you will run
into the trouble you have now.

I guess filing a bug against the script would be
appropriate action. I forgot to check the bug data-
base when I found this. I am pretty sure that I am
not first one to find out and that this has probably
been fixed in the current version already. But, it
would be great, if you could check it and file a
bug in case nobody did so before.

Ok, so I just compared 1.3.2 against 1.4.2: Which
version do you use? This is a typical maintainance
problem with external dependencies changing over
time. The developers did not know about the change
at the time 1.3x was released. Every new user will
start with 1.4x or later and only those who have
the old sources on their disc will run into trouble.
But, they wont check with the current fixes in svn
either before finding out, so why fix it there?

[cvoelker:~] cvoelker% diff /Users/cvoelker/Documents/DSpace/bin/make- 
handle-config /Users/cvoelker/Documents/DSpace_14/bin/make-handle-config
7c7
< # Version: $Revision: 1.2 $
---
 > # Version: $Revision: 1458 $
9c9
< # Date: $Date: 2002/11/01 17:59:17 $
---
 > # Date: $Date: 2006-03-23 02:53:48 +0000 (Thu, 23 Mar 2006) $
59a60
 > contactemail=`$BINDIR/dsrun org.dspace.core.ConfigurationManager - 
property mail.admin`
67a69
 > echo "" >>$tempfile   # Rotate logs? (defulat=No)
69a72,75
 > echo $dsname >>$tempfile # Server desriptive name
 > echo "" >>$tempfile   # Contact name (default=none)
 > echo "" >>$tempfile   # Contact telephone (default=none)
 > echo $contactemail >>$tempfile   # Contact email

Bye, Christian



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to