Hi Eric,

This time, Dspace was unable to connect to the database...
(slightly surprising, I would have assumed by your previous error that Dspace 
had connected to the DB but just couldn't query 'community' -- however, 
technically that's still true, we just never saw the actual pgsql error)
Please check [dspace]/config/dspace.cfg and just make sure that the hostname, 
username and password are correct for your PostgreSQL database, and that 
pg_hba.conf (in your postgresql data or config dir) is allowing the appropriate 
host/user to connect to the Dspace database in the appropriate method.

I probably should have reminded to make up existing configs, etc. before 
running fresh_install, and that [dspace-source]/dspace/config/dspace.cfg is the 
safest place to keep your local changes.

Cheers,

Kim


> -----Original Message-----
> From: Kurzenberger, Eric [mailto:[email protected]]
> Sent: Friday, 6 March 2009 11:54 a.m.
> To: Kim Shepherd; [email protected]
> Subject: Re: [Dspace-tech] "Community does not exist" error on Mac OS
> 10.5DSpace install
> 
> Hi Kim,
> 
> Thanks for the response.  I believe I had done this before, but as part
> of my troubleshooting, I recreate the dspace directory and database,
> generated the installation package, and attempted to run "ant
> fresh_install" again, I got:
> 
> "BUILD FAILED: /usr/local/dspace-1.5.1-release/dspace/target/dspace-
> 1.5.1-build.dir/build.xml:380: Java returned: 1"
> 
> I've attached the full response I received as a text file.
> 
> Thanks for all your help.
> 
> Eric
> 
> 
> On 3/5/09 4:49 PM, "Kim Shepherd" <[email protected]> wrote:
> 
> Hi Eric,
> 
> Did you build with "ant fresh_install" after you'd compiled? This ant
> build target populates the database with the tables/sequences DSpace
> expects to find... if you've deployed the apps some other way you might
> find you're still sitting on an empty Dspace database.
> 
> Cheers,
> 
> Kim.
> 
> > -----Original Message-----
> > From: Kurzenberger, Eric [mailto:[email protected]]
> > Sent: Friday, 6 March 2009 10:35 a.m.
> > To: [email protected]
> > Subject: [Dspace-tech] "Community does not exist" error on Mac OS
> > 10.5DSpace install
> >
> > Hello,
> >
> > I just set up an installation of DSpace 1.5.1 on Mac OS 10.5.6, and
> > I'm getting some errors:
> >
> > When I run the CreateAdministrator command per the documentation, I
> > get the following response:
> >
> > "Exception in thread "main" java.lang.NullPointerException
> >     at java.util.regex.Matcher.getTextLength(Matcher.java:1127)
> >     at java.util.regex.Matcher.reset(Matcher.java:284)
> >     at java.util.regex.Matcher.<init>(Matcher.java:205)
> >     at java.util.regex.Pattern.matcher(Pattern.java:879)
> >     at
> > org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager.
> > j
> > ava:475)
> >     at
> >
> org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:445)
> >     at org.dspace.eperson.Group.find(Group.java:695)
> >     at
> >
> org.dspace.administer.CreateAdministrator.createAdministrator(CreateAd
> > m
> > inistrator.java:232)
> >     at
> >
> org.dspace.administer.CreateAdministrator.negotiateAdministratorDetail
> > s
> > (CreateAdministrator.java:209)
> >     at
> >
> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.jav
> > a
> > :113)"
> >
> > Then, when I go to http://localhost:8080/dspace, I get a 404 page
> > saying the requested resource (/dspace) is not available.  My Tomcat
> > 5.5.27 installation appears to be fine.  And when I go to
> > http://localhost:8080/jspui, I get the main Dspace page with an
> > Internal System Error message; the dspace log reports the error
> > "relation 'community' does not exist."
> >
> > I've included a snippet of the log with this email.  I'm using Java
> > version 1.5.0_16.  Any help would be greatly appreciated.
> >
> > Cheers,
> >
> > Eric Kurzenberger
> > Digital Media Coordinator
> > Yale School of Architecture
> > Yale University
> 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... Kurzenberger, Eric
    • R... Kim Shepherd
      • ... Kurzenberger, Eric
        • ... Kim Shepherd
        • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
      • ... Kurzenberger, Eric
        • ... Kim Shepherd

Reply via email to