[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# [drf:1441] DSpaceインストールについて

- Date: Mon, 21 Dec 2009 10:58:36 +0900

    DRFの皆様

    長岡技術科学大学附属図書館の山田と申します。
    本学はまだ機関リポジトリを準備している段階で
    とても後発のため、皆様の話題にはついていけない
    状況です。今回、お尋ねするインストールの件も
    皆様、今更と思われる内容かと思いますが、躓いて
    数週間、悶々としており、解決方法が見えてこないので、
    どうか、先行館の方、アドバイスをお願いします。

    DSpace1.5.2をインストール
    ant fresh_installで下記エラーがでてインストールが
    うまくいっていません。海外でのMLでエラーも探しましたが、同様のエラーがなくわからず
    困っています。アドバイスよろしくお願いします。

    ※ant fresh_installはファイルを修正し、何度かやっています。

    環境
    OS　Fedora Core 10
    JACA SDK6
    Apache Ant 1.7.1
    PostgreSQL　8.4.1
    Tomcat 5.5.27
    Aapche-Maven 2.2.1

    エラー
    Buildfile: build.xml
    init_installation:
    init_configs:
    setup_database:
         [java] 2009-12-05 17:33:29,351 INFO  org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration):
    config/dspace.cfg
         [java] 2009-12-05 17:33:29,359 INFO  org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check
    your dspace.cfg for (log.init.config)
         [java] 2009-12-05 17:33:29,360 INFO  org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
         [java] 2009-12-05 17:33:29,661 WARN  org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: org.postgresql.util.PSQLException: ERROR:
    function "getnextid" already exists with same argument types
         [java] org.postgresql.util.PSQLException: ERROR: function "getnextid" already exists with same argument types
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:332)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:997)
         [java] 	at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
         [java] 2009-12-05 17:33:29,666 WARN  org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: org.postgresql.util.PSQLException: ERROR:
    relation "bitstreamformatregistry_seq" already exists
         [java] org.postgresql.util.PSQLException: ERROR: relation "bitstreamformatregistry_seq" already exists
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:332)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:997)
         [java] 	at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
         [java] 2009-12-05 17:33:29,671 WARN  org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: org.postgresql.util.PSQLException: ERROR:
    relation "fileextension_seq" already exists
         [java] org.postgresql.util.PSQLException: ERROR: relation "fileextension_seq" already exists
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:332)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
         [java] 	at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:997)
         [java] 	at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
         [java] 2009-12-05 17:33:29,673 WARN  org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: org.postgresql.util.PSQLException: ERROR:
    relation "bitstream_seq" already exists
    　　　・
    　　　・
    　　　・”already exists”という同様のエラーが続く
    　　　・
    load_registries:
         [java] 2009-12-05 17:33:31,565 INFO  org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration):
    config/dspace.cfg
         [java] 2009-12-05 17:33:31,573 INFO  org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check
    your dspace.cfg for (log.init.config)
         [java] 2009-12-05 17:33:32,378 INFO  org.dspace.content.BitstreamFormat @ anonymous::create_bitstream_format:bitstream_format_id=78
         [java] 2009-12-05 17:33:32,404 INFO  org.dspace.content.BitstreamFormat @ anonymous::update_bitstream_format:bitstream_format_id=78
         [java] 2009-12-05 17:33:32,411 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries:
         [java] org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "bitstreamformatregistry_short_description_key"
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
         [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
         [java] 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
         [java] 	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
         [java] 	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
         [java] 	at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1355)
         [java] 	at org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:711)
         [java] 	at org.dspace.content.BitstreamFormat.update(BitstreamFormat.java:609)
         [java] 	at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:214)
         [java] 	at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:169)
         [java] 	at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:107)

    BUILD FAILED
    /usr/local/src/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/build.xml:629:
    Java returned: 1

    Total time: 12 seconds

    ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
    長岡技術科学大学　学務部学術情報課
    情報サービス係　山田秀子
    e-mail:hideko ＠ xxxxxxxxxxxxxxxxxxx
    Tel: 0258-47-9262　Fax 0258-47-9060
    ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・

    ─―────────────────────────────
    　　　　　　　 ◆◇◆ DRFイベント情報 ◆◇◆
    　　 http://drf.lib.hokudai.ac.jp/drf/index.php?Events
    　　　　　　　　 今後も続々開催予定です！
    ―─────────────────────────────
    DRF mailing list
    DRF ＠ xxxxxxxxxxxxxxxx
    https://ml.hines.hokudai.ac.jp/mailman/listinfo/drf

- Follow-Ups:
  - [drf:1442] Re: DSpaceインストールについて
    - From: SUGIYAMA Tomoaki

- Prev by Date: [drf:1440] 【重要】DRFの体制整備及び機関参加募集
- Next by Date: [drf:1442] Re: DSpaceインストールについて
- Previous by thread: [drf:1440] 【重要】DRFの体制整備及び機関参加募集
- Next by thread: [drf:1442] Re: DSpaceインストールについて
- Index(es):
  - Date
  - Thread