[Dspace-tech] Two servers in xmlui.xconf?

2008-01-23 Thread Dorothea Salo
If I put theme elements in xmlui.xconf with handle attributes that
don't actually refer to any community or collection on a given DSpace
instance, will Manakin choke and die horribly?

The reason I ask is that my test and production servers don't have the
same handle prefix or assigned handles on communities and collections,
and my life would be a little less error-prone if I could just dump
both test and production community handles in the same
source-controlled xmlui.xconf file.

Dorothea

-- 
Dorothea Salo[EMAIL PROTECTED]
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Illegal argument exception

2008-01-23 Thread Blanco, Jose
In the last few days I've been getting errors like this:

-- URL Was: http://deepblue.lib.umich.edu/dspace/handle/2027.42/31692
-- Method: GET
-- Parameters were:


Exception:
java.lang.IllegalArgumentException: 2 Dec 2007 03:08:59 GMT 
at
org.apache.catalina.connector.HttpRequestBase.getDateHeader(HttpRequestB
ase.java:860)
at 


I looked at the logs file and I don't see anything out of the normal
going on.  It looks like crawling from google.  When I try the URL, it
works fine.  Any ideas what could be causing this?

Thanks,

Jose

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] [oai-ore] April 4 meeting in Southampton UK for European roll-out of ORE Specifications

2008-01-23 Thread John S. Erickson
Forwarded on behalf of Carl and Herbert:

=
Apologies for cross-posting

A meeting will be held on April 4, 2008 at the University of 
Southampton, in conjunction with Open Repositories 2008, to roll-out the
beta release of the OAI-ORE specifications. This meeting is the
European follow-on to a meeting that will be held in the USA on March 3,
2008 at Johns Hopkins University.

The OAI-ORE specifications describe a data model to identify and
describe aggregations of web resources, and they introduce
machine-readable formats to describe these aggregations based on ATOM
and RDF/XML. The current, alpha version of the OAI-ORE specifications is 
at http://www.openarchives.org/ore/0.1/ .

Additional details for the OAI-ORE European Open Meeting are available at:

- The full press release for this event:

http://www.openarchives.org/ore/documents/EUKickoffPressrelease.pdf

- The registration site for the event:

http://regonline.com/eu-oai-ore

Note that registration is required and space is limited.

Carl Lagoze and Herbert Van de Sompel

___
Ore-ac mailing list
[EMAIL PROTECTED]
http://www.openarchives.org/mailman/listinfo/ore-ac

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to get the connection to DSpace(how to build the DSpace request in Application)

2008-01-23 Thread Feng Wang
Hi robin,
thanks!
i have seen the website for OAI-PMH Testing of the DSpace Libaries.
But i have 2 questionen still:

1.how can i use the DC-Format to build a request for searching a document? Like 
dc:creator=feng,wang and dc:titel=master thesis? I must build a DSpace by 
myself. Problem is, whether the Syntax of Request for all DSpace Server are 
same. If same ,then i can just test the request for my DSpace in the Website


2. OAI-PMH ist just designed for Metadaten. The Response of the Request is the 
Metadaten sets. Can i use the OAI-PMH as a search-engine for getting the Links 
of the Docs what i wanted? 
How can i get the Links of The Docs in DSpace?
Maybe the OAIster is the right one. Does the DSpace support the OAIster?

Regards
Feng



 Original-Nachricht 
 Datum: Wed, 23 Jan 2008 09:21:27 -
 Von: Robin Taylor [EMAIL PROTECTED]
 An: \'Feng Wang\' [EMAIL PROTECTED]
 Betreff: RE: RE: [Dspace-tech] How to get the connection to DSpace(how to 
 build the DSpace request in Application)

 Hi Feng,
 
 Have a look at a website http://re.cs.uct.ac.za/ which can be used for
 testing OAI sites and shows the form of the requests.
 
 Cheers, Robin.
  
 
 -Original Message-
 From: Feng Wang [mailto:[EMAIL PROTECTED] 
 Sent: 22 January 2008 23:46
 To: [EMAIL PROTECTED]
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: RE: [Dspace-tech] How to get the connection to DSpace(how to
 build the DSpace request in Application)
 
 Thans for your Support. It is very useful I have a question still. Can u
 give me a example for OAI,like search all the Papers about a person who
 named John, Smith. how whould the request in OAI look like? You know, i
 just
 wanna know, thanks
 
 Regards!
 Feng
 
 
  Original-Nachricht 
  Datum: Mon, 21 Jan 2008 09:33:39 -
  Von: Robin Taylor [EMAIL PROTECTED]
  An: \'Feng Wang\' [EMAIL PROTECTED]
  Betreff: RE: [Dspace-tech] How to get the connection to DSpace(how to 
  build the DSpace request in Application)
 
  There are two APIs for Dspace that I know of - OIA and SRW. This site 
  may help  
  https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/oai_srw
  
  Cheers, Robin.
   
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Feng 
  Wang
  Sent: 20 January 2008 23:29
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] How to get the connection to DSpace(how to 
  build the DSpace request in Application)
  
  Hi everyone,
  
  Does someone know how I can take the communication between the DSpace 
  DL and Application?
  
  I want to know, how can I write the application to get the connection 
  to DSpace? Like use the OAI-PHM or something else? How can I build the 
  URL-Request in my Application to DSpace? I mean, the Syntax of the 
  Request?
  
  E.g. I want to search a paper about the Bill Gates with Microsoft 
  something in DSpace Server. How can I write the URL of the HTTP GET in 
  my Application about the author”Bill Gates” and the title
 “Microsoft”.
  Regards
  Feng
  
   
  
  
  
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
  
  --
  --- This SF.net email is sponsored by: Microsoft Defy all challenges.
  Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Long delay in doing a Submit

2008-01-23 Thread Floyd, Randall Dean
George,

I only see things like this if I've forgotten to set up cron jobs to 
vacuumdb the PostgreSQL databases:

(from the documentation:)
# Clean up the database nightly at 4.20am
20 4 * * * vacuumdb --analyze dspace  /dev/null 21


Quoting George Kozak [EMAIL PROTECTED]:

 Hi...

 I don't recall seeing this on the list, but I may have missed it.

 I recently upgraded from DSpace 1.3.2 to DSpace 1.4.2.  Everything is
 working fine EXCEPT for submit.

 For some reason, executing a submit takes a long time.  I watch the
 system load averages and memory and see that when someone executes a
 Submit command, the CPU usage can rise up to 40% for PostGreSQL (I
 have a SunFire-480-R with 4GB of memory and 8GB of swap
 space.).  After clicking the Submit button, it can take up to a
 minute for the first screen to pop up.

 Has anyone seen this before?  By the way, I'm using my original
 PostGreSQL 7.2.3 and Tomcat (4.0.6).

 ***
 George Kozak
 Coordinator
 Web Development and Management
 Digital Media Group
 501 Olin Library
 Cornell University
 607-255-8924
 ***
 [EMAIL PROTECTED]


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Long delay in doing a Submit

2008-01-23 Thread Claudia Juergen
Hi George,

by clickin on submit do you mean the starting a submission from the My
DSpace page? This does not scale well on an instance with a large
community/collection structure.

Claudia

 Hi...

 I don't recall seeing this on the list, but I may have missed it.

 I recently upgraded from DSpace 1.3.2 to DSpace 1.4.2.  Everything is
 working fine EXCEPT for submit.

 For some reason, executing a submit takes a long time.  I watch the
 system load averages and memory and see that when someone executes a
 Submit command, the CPU usage can rise up to 40% for PostGreSQL (I
 have a SunFire-480-R with 4GB of memory and 8GB of swap
 space.).  After clicking the Submit button, it can take up to a
 minute for the first screen to pop up.

 Has anyone seen this before?  By the way, I'm using my original
 PostGreSQL 7.2.3 and Tomcat (4.0.6).

 ***
 George Kozak
 Coordinator
 Web Development and Management
 Digital Media Group
 501 Olin Library
 Cornell University
 607-255-8924
 ***
 [EMAIL PROTECTED]


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Rebuild failed

2008-01-23 Thread pavan krishnamurthy
Hi Christian,

Yeah the ant optional did the trick . I installed three optional
package which made the clean operation successfull Ant-apache-regexp
1.6.5 and Ant-apache-resolver 1.6.5 .  I will update the wiki in
couple of days.

Now when i am trying to rebuild its giving me strange errors saying
dspace.jar is read only. It seems errors are recursive :) . Can anyone
please help me with this.

/usr/local/src/dspace/dspace-1.4.2-source/build.xml:250:
/usr/local/dspace/lib/dspace.jar is read-only.
at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:373)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:350)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

I have one more questions. It may be stupid. I am adding a new java
class so should i rebuild my dspace or can anyone please tell me the
protocol to be followed when we add any new java source.

Thanks
Pavan


On Jan 22, 2008 1:13 PM, Christian Voelker [EMAIL PROTECTED] wrote:
 Hello,

 Am 22.01.2008 um 20:38 schrieb pavan krishnamurthy:


  I am trying to recompile dspace . When i do ant clean it says Build
  Failed . Can anyone please point out the error i am encountering
 
  [EMAIL PROTECTED] dspace-1.4.2-source]$ ant clean
  Buildfile: build.xml
 
  BUILD FAILED
  /usr/local/src/dspace/dspace-1.4.2-source/build.xml:88: No supported
  regular expression matcher found
 
  Total time: 0 seconds
 
  I am using Fedora 6 , dspace 1.4.2.

 ant is build in a very modular fashion. You dont see that
 if you download it from the apache site, but we have had
 a similar thing before with somebody running DSpace on
 Debian. There, the package management splits up ant into
 two packages ant and ant-optional. I bet Fedora does
 something similar. So, you should go to your favorite
 package manager, may it be rpm, yum or whatever and search
 for packages containing ant and installing the add-ons if
 there are any. If I am right with my guess, it would be
 fine if you could update the wiki with your findings.

 Bye, Christian



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problems configuring Eclipse IDE for DSpace

2008-01-23 Thread Eric Luhrs
Hello,
I'm more of a command-line sysadmin, and not much of a programmer, so
I'm having some trouble getting DSpace setup in Eclipse.  I've been
following the helpful set of video tutorials that Scott Phillips made
available on the Texas AM site, but I've run into a few glitches.
Since I'm such a novice with Java and Eclipse, I'm not sure if these
errors are caused by changes in the code since Scott recorded the
videos, or if I've mis-configured something.

I'm running RHEL4, with stock Tomcat5 packages, and Jpackage with JDK
1.5 update 14.  The tomcat welcome page works, as do the manager page,
and the sample apps.

After installing Eclipse along with all of the required plugins, I
checked the source out via SVN, enabled Maven dependancies, and
updated source folders.  Then I setup Maven build tasks to Assemble
and Clean all of DSpace, as well as Package tasks for each project
(JSPUI, LNI, OAI, and XMLUI).  When I run the DSpace Clean task, I get
the error that follows my signature.

Thanks in advance for whatever help you can provide.  There are a few
other issues, which I will post once this one is solved.

Cheers,

Eric

--

[DEBUG] No settings files provided, and default locations are disabled
for this request. Returning empty Settings instance.
[INFO] Scanning for projects...
[DEBUG] Pre-scanning POM lineage of:
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui/pom.xml
for build extensions.
[DEBUG] Building model-lineage for:
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui/pom.xml
to pre-scan for extensions.
[DEBUG] Skipping disabled repository central
[DEBUG] dspace-parent: using locally installed snapshot
[DEBUG] Checking: org.dspace:dspace-parent:pom:1.5-SNAPSHOT for
extensions. (It has 6 modules.)
[DEBUG] POM: 
/home/luhrse/.m2/repository/org/dspace/dspace-parent/1.5-SNAPSHOT/dspace-parent-1.5-SNAPSHOT.pom
is not in the current reactor. Its modules will not be scanned.
[DEBUG] Checking: org.dspace:dspace-jspui:war:[inherited] for
extensions. (It has 0 modules.)
[DEBUG] Basedir is:
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui
[DEBUG] Finished pre-scanning:
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui/pom.xml
for build extensions.
[ERROR] reactor-execute :
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui
Diagnosis: Failed to validate POM
FATAL ERROR: Error executing Maven for a project
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-jspui
POM Location: 
/home/luhrse/Desktop/eclipse/workspace/dspace-1.5/dspace-jspui/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for
commons-validator:commons-validator


Reason: Failed to validate POM


[INFO] 
[DEBUG] Trace Failed to validate POM
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Wed Jan 23 14:49:10 EST 2008
[INFO] Final Memory: 1M/3M
[INFO] 
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Wed Jan 23 14:49:10 EST 2008
[INFO] Final Memory: 1M/3M
[INFO] 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Illegal argument exception

2008-01-23 Thread Stuart Lewis [sdl]
Hi Jose,

 In the last few days I've been getting errors like this:
 
 -- URL Was: http://deepblue.lib.umich.edu/dspace/handle/2027.42/31692
 -- Method: GET
 -- Parameters were:
 
 Exception:
 java.lang.IllegalArgumentException: 2 Dec 2007 03:08:59 GMT
 at
 org.apache.catalina.connector.HttpRequestBase.getDateHeader(HttpRequestB
 ase.java:860)
 at 
 
 I looked at the logs file and I don't see anything out of the normal
 going on.  It looks like crawling from google.  When I try the URL, it
 works fine.  Any ideas what could be causing this?

My guess (and it is only a guess!) is that the date format being sent by the
crawler is incorrect, so Tomcat burps and spits it out.

It works for your browser as your browser is sending a valid date format.

What is being sent is: 2 Dec 2007 03:08:59 GMT

According to RFC 1123 Section 5.2.14, the date stamp is supposed to be
formatted to the RFC 822 date specification (Section 5) except for the use
of a 4 digit year.

So comparing the spec with what was sent, it looks likes it is upset because
there is no 'day' (e.g. Mon / Tue / Wed etc) component. It should perhaps
read: 

Sun 2 Dec 2007 03:08:59 GMT

But as I said, it is only a guess, and I might be way off the mark.

Cheers,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help! Unable to pg_restore, utterly confused

2008-01-23 Thread Mark Diggory
Steve,

can you post the pg_dump command and options you've used?

-Mark

On Jan 23, 2008, at 9:08 PM, Steve Thomas wrote:

 I need help! I'm using pg_dump to make a backup of our database,  
 and ...
 sensibly, I think ... wanted to confirm that we could restore from  
 this
 dump using pg_restore.

 (Actually, I've done this once without drama, when migrating from our
 dev server to our production server.)

 So, on our dev server, I followed the instructions for pg_restore, but
 cannot get it to work (and thus now have no dev database!)

 I've gone right back to square one and reinstalled postgresql. Then:

 * ran initdb -- no problem

 * ran

 createuser -U postgres -d -A -P dspace ; createdb -U dspace -E  
 UNICODE dspace

 as per instructions -- no problem.

 * ran pg_restore to restore data:

 pg_restore -C  -U dspace 200712061830

 This seemed to run OK, creating all the tables and adding data,  
 but ...

 * if I run

 $ psql dspace dspace

 I get

 dspace= select * from item;
 ERROR:  relation item does not exist

 -- ie apparently there's no data.


 So, can anyone help with where I'm going wrong? Right now I have no  
 dev server so I'm in deep ...


 Thanks,
 Steve

 -- 

 Stephen Thomas,
 Senior Systems Analyst,
 University of Adelaide Library
 UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
 Phone: +61 8 830 35190
 Fax: +61 8 830 34369
 Email: [EMAIL PROTECTED]
 URL: http://www.adelaide.edu.au/directory/stephen.thomas
 CRICOS Provider Number 00123M

 ---
 This email message is intended only for the addressee(s) and  
 contains information that may be confidential and/or copyright. If  
 you are not the intended recipient please notify the sender by reply  
 email and immediately delete this email. Use, disclosure or  
 reproduction of this email by anyone other than the intended  
 recipient(s) is strictly prohibited. No representation is made that  
 this email or any attachments are free of viruses. Virus scanning is  
 recommended and is the responsibility of the recipient.



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help! Unable to pg_restore, utterly confused

2008-01-23 Thread Steve Thomas
Yup, sorry -- should have included that.

Dump was done using:

/usr/local/pgsql/bin/pg_dump \
--verbose \
--oids \
--create \
--format=c \
--username=dspace \
dspace  dumpfile


or more briefly,
/usr/local/pgsql/bin/pg_dump --verbose -o -C -Fc -U dspace dspace  dumpfile

So using the compressed format.

Also, using postgresql 8.0.something


Also, restore instructions say to use

pg_restore -C -d postgres -U dspace dumpfile 

but when I include -d postgres I get this error:

pg_restore: [archiver (db)] connection to database postgres failed: FATAL:  
database postgres does not exist

which is possibly a vital clue. Leaving out the -d postgres option, it seems 
to work -- outputs lots of CREATE TABLE messages etc. -- but ... results as 
below.

Am I supposed to create a database named postgres after initdb?

As I said -- I'm confused. :-(


Regards,
Steve


Mark Diggory wrote:
 Steve,

 can you post the pg_dump command and options you've used?

 -Mark

 On Jan 23, 2008, at 9:08 PM, Steve Thomas wrote:

   
 I need help! I'm using pg_dump to make a backup of our database,  
 and ...
 sensibly, I think ... wanted to confirm that we could restore from  
 this
 dump using pg_restore.

 (Actually, I've done this once without drama, when migrating from our
 dev server to our production server.)

 So, on our dev server, I followed the instructions for pg_restore, but
 cannot get it to work (and thus now have no dev database!)

 I've gone right back to square one and reinstalled postgresql. Then:

 * ran initdb -- no problem

 * ran

 createuser -U postgres -d -A -P dspace ; createdb -U dspace -E  
 UNICODE dspace

 as per instructions -- no problem.

 * ran pg_restore to restore data:

 pg_restore -C  -U dspace 200712061830

 This seemed to run OK, creating all the tables and adding data,  
 but ...

 * if I run

 $ psql dspace dspace

 I get

 dspace= select * from item;
 ERROR:  relation item does not exist

 -- ie apparently there's no data.


 So, can anyone help with where I'm going wrong? Right now I have no  
 dev server so I'm in deep ...


 Thanks,
 Steve

 -- 

 Stephen Thomas,
 Senior Systems Analyst,
 University of Adelaide Library
 UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
 Phone: +61 8 830 35190
 Fax: +61 8 830 34369
 Email: [EMAIL PROTECTED]
 URL: http://www.adelaide.edu.au/directory/stephen.thomas
 CRICOS Provider Number 00123M

 ---
 This email message is intended only for the addressee(s) and  
 contains information that may be confidential and/or copyright. If  
 you are not the intended recipient please notify the sender by reply  
 email and immediately delete this email. Use, disclosure or  
 reproduction of this email by anyone other than the intended  
 recipient(s) is strictly prohibited. No representation is made that  
 this email or any attachments are free of viruses. Virus scanning is  
 recommended and is the responsibility of the recipient.



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

   

-- 

Stephen Thomas,
Senior Systems Analyst,
University of Adelaide Library
UNIVERSITY OF ADELAIDE SA 5005 AUSTRALIA
Phone: +61 8 830 35190
Fax: +61 8 830 34369
Email: [EMAIL PROTECTED]
URL: http://www.adelaide.edu.au/directory/stephen.thomas
CRICOS Provider Number 00123M

---
This email message is intended only for the addressee(s) and contains 
information that may be confidential and/or copyright. If you are not the 
intended recipient please notify the sender by reply email and immediately 
delete this email. Use, disclosure or reproduction of this email by anyone 
other than the intended recipient(s) is strictly prohibited. No representation 
is made that this email or any attachments are free of viruses. Virus scanning 
is recommended and is the responsibility of the recipient.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net