Re: [Dspace-tech] Installing Dspace 1.5 on Ubuntu 8.10 [ant fresh_install] error
Dear AKHRZ opened the /var/lib/pgsql/data/pg_hba.conf configuration file, and at the end of the file I commented out the following lines:(Just type as it is) # TYPE DATABASEUSERCIDR-ADDRESS METHOD # local is for Unix domain socket connections only local all all trust # IPv4 local connections: hostall all 127.0.0.1/32 trust # IPv6 local connections: hostall all ::1/128 trust and added the following lines below that host dspace dspace 127.0.0.1/32 md5 local dspace postgres trust local template1 postgres trust local template1 dspace trust start PostgreSQL # /etc/init.d/postgresql start Please let me know your feedback. On Mon, Nov 2, 2009 at 7:21 PM, AKHRZ ak...@yahoo.com wrote: I'm having trouble installing dspace 1.5 on Ubuntu 8.10 I have been following the following guide: http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.10_Server Everything works out smoothly until I execute [ ant fresh_install ]. I also followed the the common problems at http://www.dspace.org/1_5_1Documentation/ch03.html#docbook-install.html-problemsbut I cant get a successful build. Where am I going wrong? Here is the log of the errors: dsp...@biblio-main:~/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir$ ant fresh_install Buildfile: build.xml init_installation: init_configs: setup_database: [java] 2009-11-02 14:21:16,895 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2009-11-02 14:21:16,905 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2009-11-02 14:21:16,906 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database [java] 2009-11-02 14:21:17,001 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: [java] org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:122) [java] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:116) [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:30) [java] at org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24) [java] at org.postgresql.Driver.makeConnection(Driver.java:369) [java] at org.postgresql.Driver.connect(Driver.java:245) [java] at java.sql.DriverManager.getConnection(DriverManager.java:582) [java] at java.sql.DriverManager.getConnection(DriverManager.java:185) [java] at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:65) [java] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294) [java] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:974) [java] at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176) [java] at java.sql.DriverManager.getConnection(DriverManager.java:582) [java] at java.sql.DriverManager.getConnection(DriverManager.java:207) [java] at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:550) [java] at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:923) [java] at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100) [java] Caused by: java.net.ConnectException: Connection refused [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [java] at java.net.Socket.connect(Socket.java:519) [java] at java.net.Socket.connect(Socket.java:469) [java] at java.net.Socket.init(Socket.java:366) [java] at java.net.Socket.init(Socket.java:180) [java] at org.postgresql.core.PGStream.init(PGStream.java:60) [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77) [java] ... 17 more BUILD FAILED /home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585: Java returned: 1 Total
Re: [Dspace-tech] Recent Submissions not appearing in Dspace search
Hello Kevin, what did you change in the browse configuration? Which tables are there after you ran index-init? You can get these with psql [yourdbname] then \d to obtain a list. Assuming you are using Postgres. Are there any errors logged like, e.g.: org.dspace.browse.BrowseException: org.postgresql.util.PSQLException: ERROR: relation with OID [n] does not exist Hope that helps Claudia Jürgen Evans, Kevin schrieb: Hi Claudia, Thanks for your reply. I didn't change the parameters you mentioned but I have changed the browse settings and ran [dspace]/bin/index-init afterwards. This is when the results stopped appearing. Can you give me some advice? Cheers Kevin -Original Message- From: Claudia Jürgen [mailto:claudia.juer...@ub.tu-dortmund.de] Sent: 02 November 2009 13:29 To: Evans, Kevin Cc: 'dspace-tech@lists.sourceforge.net'; Wellaway, Ian Subject: Re: [Dspace-tech] Recent Submissions not appearing in Dspace search Hello Kevin, what did you change in the dspace.cfg? Did you change any of these parameters: webui.itemlist.sort-option.3 = dateaccessioned:dc.date.accessioned:date recent.submissions.sort-option recent.submissions.count plugin.sequence.org.dspace.plugin.CommunityHomeProcessor plugin.sequence.org.dspace.plugin.CollectionHomeProcessor And with regards to re-index. Did you change any browse settings and run [dspace]/bin/index-init afterwards? Hope that helps Claudia Jürgen Evans, Kevin schrieb: Hi, After a change to the dspace.cfg and a re-index Recent Submissions feature in the repository has disappeared from all collections and community pages. Can the dates between recent submissions be set to allow for all submissions to be available. We have added a test submission and that appears. There doesn't seem to be much in the logs Cheers Kevin Kevin Evans MA Web Services Developer, Integration and Webservices, Room 901, 9th Floor, Laver Building University of Exeter, Exeter, Devon, EX4 4QE 01392 725573 +447775027574 http://my.exeter.ac.uk http://my.exeter.ac.uk/ This email and any attachment may contain information that is confidential, privileged, or subject to copyright, and which may be exempt from disclosure under applicable legislation. It is intended for the addressee only. If you received this message in error, please let me know and delete the email and any attachments immediately. The University will not accept responsibility for the accuracy/completeness of this e-mail and its attachments. The University cannot guarantee that this message and any attachments are virus free. Any views or opinions expressed in this message are my own and do not necessarily represent those of the University. -- -- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -- -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech attachment: Claudia_Juergen.vcf-- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HTML5 and the future of DSpace
In Mark Wood's last message, he stated that We need to examine the different codec bundles provided by the browsers that implement these elements at all. (Do we provide multiple encodings, or point to add-on codec packages, or some of each, or...?) This stuff will affect and be affected by our sites' acceptable-formats policies. I think the point about multiple encodings is especially important to discuss. At this point that both Firefox 3.5 and Google Chrome support the Theora codec natively, but no one knows what Opera, Apple, and Microsoft will eventually do with their browsers. One current framework that's helping extend the use of the video tag is Video for Everybody! (http://camendesign.com/code/video_for_everybody). The usability approach taken by the framework's programmers relies on having two bitstreams, one created using the patent-encumbered H.264 codec, and another created using the open video codec, theora. On a side note, use of the H.264 codec could become really pricey by 2011, when the MPEG LA begins enforcing licensing fees. Personally, I hate the idea of having multiple encodings for accessibility purposes, primarily because video is already a space hog. But I also think we need to save the time of the reader (in this case, watcher), and if multiple encodings can help that cause, it's worth considering. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary3 jfow...@sbts.edu -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Authorizations and display of items
Hello, Please advise me if I should be posting this on the general list. I am trying to understand how the authorizations work. I have created two communities each with collections. I have removed anonymous read privileges to all collections, because a login is required to see the items. I understand that removing anonymous read privileges are not retroactive. Here is what is happening: When I access the database, without logging in: I see the communities listed. If I click on Communities and Collections, I see the list of collections. If I click on any of them, it is restricted - I am asked to login. Good so far. If I click on by issue date, or title, etc., I see the list of titles. If I click on a title, it is restricted and I am asked for a login. My question is: Why am I seeing the titles? If my collection is restricted, people should not be seeing any part of the collection. I even wonder if the list of communities and collections should display. Is this the way the database works, or am I doing something wrong? Thank you! Dianne -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech