Kocisky,

I'm actually at a loss for what exactly could be causing this problem 
(and unfortunately I don't have a Debian server and am not as familiar 
with Debian).

Are you running Oracle's (Sun's) Java?  You need to make sure you are 
running that version of Java, and not the one that comes with Debian.

Also, through the power of Google, I found this nice reference for 
installing DSpace on Debian 5 (Lenny):

http://rspproject.wordpress.com/2010/11/10/installing-dspace-on-debian-5/

So, that blog post may be helpful to resolve your issues.  You may want 
to double check you've installed all the Prerequisities for DSpace 1.7, 
similar to how it is detailed in that posting.

Hopefully that is of some help, or perhaps someone else on this list is 
more familiar with Debian than I.

Good luck,

- Tim

On 1/7/2011 9:52 AM, Kocisky wrote:
>   below the important part:
>
>
>   [INFO]
>   ------------------------------------------------------------------------
>   [INFO] BUILD SUCCESSFUL
>   [INFO]
>   ------------------------------------------------------------------------
>   [INFO] Total time: 5 minutes 5 seconds
>   [INFO] Finished at: Fri Jan 07 09:46:00 EST 2011
>   [INFO] Final Memory: 84M/203M
>   [INFO]
>   ------------------------------------------------------------------------
>   dev:/home/user/Desktop/dspace-1.7.0-src-release/dspace# cd
>   
> /home/user/Desktop/dspace-1.7.0-src-release/dspace/target/dspace-1.7.0-build.dir
>   
> dev:/home/user/Desktop/dspace-1.7.0-src-release/dspace/target/dspace-1.7.0-build.dir#
>   ant fresh_install
>   Buildfile: build.xml
>
>   init_installation:
>      [mkdir] Created dir: /usr/local/dspace_src/bin
>      [mkdir] Created dir: /usr/local/dspace_src/config
>      [mkdir] Created dir: /usr/local/dspace_src/lib
>      [mkdir] Created dir: /usr/local/dspace_src/etc
>      [mkdir] Created dir: /usr/local/dspace_src/webapps
>      [mkdir] Created dir: /usr/local/dspace_src/exports
>      [mkdir] Created dir: /usr/local/dspace_src/exports/download
>      [mkdir] Created dir: /usr/local/dspace_src/assetstore
>      [mkdir] Created dir: /usr/local/dspace_src/handle-server
>      [mkdir] Created dir: /usr/local/dspace_src/search
>      [mkdir] Created dir: /usr/local/dspace_src/log
>      [mkdir] Created dir: /usr/local/dspace_src/upload
>      [mkdir] Created dir: /usr/local/dspace_src/reports
>      [mkdir] Created dir: /usr/local/dspace_src/solr
>
>   init_configs:
>       [copy] Copying 61 files to /usr/local/dspace_src/config
>       [copy] Copying 1 file to /usr/local/dspace_src/config
>
>   test_database:
>       [java] 2011-01-07 09:46:35,471 INFO
>   org.dspace.core.ConfigurationManager @ Loading system provided config
>   property (-Ddspace.configuration): config/dspace.cfg
>       [java] 2011-01-07 09:46:35,477 INFO
>   org.dspace.core.ConfigurationManager @ Using default log4j provided log
>   configuration,if unintended, check your dspace.cfg for (log.init.config)
>       [java]
>       [java] Attempting to connect to database:
>       [java]  - URL: jdbc:postgresql://localhost:5432/dspace
>       [java]  - Driver: org.postgresql.Driver
>       [java]  - Username: postgres
>       [java]  - Password: zsx
>       [java]  - Schema: dspace
>       [java]
>       [java] Testing connection...
>       [java] Connected successfully!
>       [java]
>
>   setup_database:
>       [java] 2011-01-07 09:46:36,156 INFO
>   org.dspace.core.ConfigurationManager @ Loading system provided config
>   property (-Ddspace.configuration): config/dspace.cfg
>       [java] 2011-01-07 09:46:36,162 INFO
>   org.dspace.core.ConfigurationManager @ Using default log4j provided log
>   configuration,if unintended, check your dspace.cfg for (log.init.config)
>       [java] 2011-01-07 09:46:36,162 INFO
>   org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
>       [java] 2011-01-07 09:46:43,759 INFO
>   org.dspace.core.ConfigurationManager @ Loading system provided config
>   property (-Ddspace.configuration): config/dspace.cfg
>       [java] 2011-01-07 09:46:43,765 INFO
>   org.dspace.core.ConfigurationManager @ Using default log4j provided log
>   configuration,if unintended, check your dspace.cfg for (log.init.config)
>       [java] Started: 1294411603751
>       [java] Ended: 1294411604212
>       [java] Elapsed time: 0 secs (461 msecs)
>
>   load_registries:
>       [java] 2011-01-07 09:46:44,518 INFO
>   org.dspace.core.ConfigurationManager @ Loading system provided config
>   property (-Ddspace.configuration): config/dspace.cfg
>       [java] 2011-01-07 09:46:44,524 INFO
>   org.dspace.core.ConfigurationManager @ Using default log4j provided log
>   configuration,if unintended, check your dspace.cfg for (log.init.config)
>       [java] 2011-01-07 09:46:45,215 FATAL
>   org.dspace.administer.RegistryLoader @
>   anonymous::error_loading_registries:
>       [java] org.postgresql.util.PSQLException: ERROR: syntax error at or
>   near ")"
>       [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.executeQuery(AbstractJdbc2Statement.java:258)
>       [java]     at
>   
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
>       [java]     at
>   
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
>       [java]     at
>   
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
>       [java]     at
>   
> org.dspace.storage.rdbms.DatabaseManager.doInsertPostgres(DatabaseManager.java:1755)
>       [java]     at
>   org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
>       [java]     at
>   org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:451)
>       [java]     at
>   org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
>       [java]     at
>   org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:172)
>       [java]     at
>   
> org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138)
>       [java]     at
>   org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75)
>       [java] Error:
>       [java]  - ERROR: syntax error at or near ")"
>
>   BUILD FAILED
>   
> /home/user/Desktop/dspace-1.7.0-src-release/dspace/target/dspace-1.7.0-build.dir/build.xml:809:
>   Java returned: 1
>
>   Total time: 11 seconds
>
>
>   in
>   
> /home/user/Desktop/dspace-1.7.0-src-release/dspace/target/dspace-1.7.0-build.dir/build.xml:809:
>
>      <!-- Loads bitstream format and Dublin Core type registries -->
>      <target name="load_registries" description="Load initial contents of
>   registries">
>
>          <!-- first import the bitstream registry -->
>          <java classname="org.dspace.administer.RegistryLoader"
>   classpathref="class.path" fork="yes" failonerror="yes">
>              <sysproperty key="log4j.configuration"
>   value="file:config/log4j-console.properties" />
>              <sysproperty key="dspace.log.init.disable" value="true" />
>              <sysproperty key="dspace.configuration" value="${config}" />
>              <arg value="-bitstream" />
>              <arg
>   value="${dspace.dir}/config/registries/bitstream-formats.xml" />
>          </java>
>
>   am i missing something? i have installed liblog4j1.2-java (1.2.15-4)
>   help !!
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to