[Dspace-tech] Dspace_IPAuthentication
Hi, I'm looking for ways to create collections with read dependent of the ip range that is accessed. I need to create two groups of users: from the local network and fron web with different rights for them. So i must write dspace.cfg in that way: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.IPAuthentication, \ org.dspace.authenticate.PasswordAuthentication authentication.ip.Local = 192.168 authentication.ip.Web = 192 Thank you very much. -- View this message in context: http://old.nabble.com/Dspace_IPAuthentication-tp30172087p30172087.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Users on Localhost
Hi everyone! i have one problem: I have Dspace installed on localhost:8080, and It has to i have no smtp-server I have installed Dspace at localhost: 8080 and the server must be running on a local network. I need to add more users, but at the registration it hit error and I do not use smtp-server. Can I somehow add users without smtp? -- View this message in context: http://old.nabble.com/-Dspace-tech--Users-on-Localhost-tp29390926p29390926.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
I have one more problem. After installing Dspace I can`t enter as admin. I think i forgot password or typed wrong password so I reinstall Dspace but I still can`t enter. I try to submit new user but it shows 'Internal System Error'. During installation in dspace.cfg and at 'create dspace-admin' I type my real email. Can you help with this problem? -- View this message in context: http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29192887.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
Panyarak Ngamsritragul wrote: > > > Dear Volodymyr, > > I followed what Sean has suggested and everything was OK. > Could you please let us know some more basic information, e.g. what is > your base OS? which version. > I'm not saying that is wrong, if I offended anyone by this, then sorry. Even when followed what you has suggested, I made mistakes. several times started over again. But I finally installed and thank you for your help! -- View this message in context: http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29146952.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
Sean Carte wrote: > > > When does this error occur, during `ant fresh_install`? > > If so, you probably just need to drop and recreate your database. > *N.B. I'm assuming you don't have anything in there yet!* > > As the dspace user (who owns the database): > > dropdb dspace > createdb -U dspace -E UNICODE dspace > > Then run the ant command again from within your target/dspace-build.dir/. > > Sean > > Yes, this error occur after ant fresh_install. I run this comand from /target/dspace-build.dir/. I recreate database, but this error: >>>[java] Could not find the main class: org.dspace.search.DSIndexer. >>> Program will exit. always appeared. Please, Can you tell what does this error mean and how resolve this problem? Thanks -- View this message in context: http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29105651.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
Sean Carte wrote: > > On 5 July 2010 19:16, Volodymyr_G wrote: >> Hi Sean >> I did exactly as you wrote, but issued an error. >> >> >> [java] Exception in thread "main" java.lang.ExceptionInInitializerError >> [java] Caused by: java.lang.NullPointerException >> [java] at java.io.File.(File.java:222) >> [java] at >> org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:484) >> [java] at org.dspace.search.DSIndexer.(DSIndexer.java:235) >> [java] Could not find the main class: org.dspace.search.DSIndexer. >> Program will exit. >> >> BUILD FAILED >> /opt/dspace/dspace-src/dspace/target/dspace-1.6.2-build.dir/build.xml:745: >> Java returned: 1 >> >> >> Can you tell me what to do? > > *I* no longer do exactly as I wrote: not only was that for 1.5.x, but > I now keep my /dspace directory owned by the tomcat user to avoid > having to do chown all the tomcat directories. > > I'd highly recommend that you start again, and this time rather follow > the installation documentation than the lunatic advice you might find > in the list archives! > > Sean > Thanks for the reply. But I did as in the documentation and the instructions which I found in the internet and always had this error. I do not know what to do, and nobody responsible on the forum. -- View this message in context: http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29105435.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
Sean Carte wrote: > > 2009/4/3 Panyarak Ngamsritragul : >> Could someone who successfully installed DSpace in Ubuntu 8.10 be kind >> enough to document the installation instructions and post to this list ? > > Here are my install notes ... definitely a work in progress. > > (One thing I have found is that problems may arise if your JAVA_HOME > in /etc/default/tomcat5.5 is different to the one actually in use > (java -version).) > > 1. Maven > sudo aptitude install maven2 > 2. Tomcat > sudo aptitude install tomcat5.5 > 3. DSpace > sudo su - > useradd -m dspace > mv /home/seanc/dspace-*.gz /home/dspace/ > su - postgres > createuser -U postgres -d -A -P dspace > exit > su - dspace > createdb -U dspace -E UNICODE dspace > tar xvzf dspace-*tar.gz > ln -s dspace-1.5.1-release/dspace/ dspace-src > cd dspace-src > vi config/dspace.cfg > dspace.dir -- must be set to the [dspace] (installation) directory. > dspace.url -- complete URL of this server's DSpace home page. > dspace.hostname -- fully-qualified domain name of web server. > dspace.name -- "Proper" name of your server, e.g. "My Digital Library". > db.password -- the database password you entered in the previous step. > mail.server -- fully-qualified domain name of your outgoing mail server. > mail.from.address -- the "From:" address to put on email sent by DSpace. > feedback.recipient -- mailbox for feedback mail. > mail.admin -- mailbox for DSpace site administrator. > alert.recipient -- mailbox for server errors/alerts > registration.notify -- mailbox for emails when new users register > (optional) > > exit > mkdir /dspace > chown dspace.dspace /dspace > su - dspace > cd dspace-src > mvn package > cd target/dspace-1.5.1-build.dir/ > ant fresh_install > /dspace/bin/create-administrator > exit > > # set context path for /dspace/webapps/jspui and /dspace/webapps/oai > vi /var/lib/tomcat5.5/conf/server.xml > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > > > reloadable="true" cachingAllowed="false" > allowLinking="true"/> > > > reloadable="true" cachingAllowed="false" > allowLinking="true"/> > > > reloadable="true" cachingAllowed="false" > allowLinking="true"/> > > vi /etc/default/tomcat5.5 > TOMCAT5_USER=dspace > JAVA_HOME=/usr/lib/jvm/java-6-sun > CATALINA_BASE=/var/lib/tomcat5.5 > JAVA_OPTS="-Xmx1024M -Xms64M -Dfile.encoding=UTF-8" > JSP_COMPILER=jikes > TOMCAT5_SECURITY=no > > chown -R dspace /etc/tomcat5.5/ /var/log/tomcat5.5/ > /var/lib/tomcat5.5/ /var/cache/tomcat5.5/ > > /etc/init.d/tomcat5.5 start > tail -f /dspace/log/dspace.log > > Sean > -- > Sean Carte > esAL Library Systems Manager > +27 72 898 8775 > +27 31 373 2490 > fax: 0866741254 > http://esal.dut.ac.za/ > > -- > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > Hi Sean I did exactly as you wrote, but issued an error. [java] Exception in thread "main" java.lang.ExceptionInInitializerError [java] Caused by: java.lang.NullPointerException [java] at java.io.File.(File.java:222) [java] at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:484) [java] at org.dspace.search.DSIndexer.(DSIndexer.java:235) [java] Could not find the main class: org.dspace.search.DSIndexer. Program will exit. BUILD FAILED /opt/dspace/dspace-src/dspace/target/dspace-1.6.2-build.dir/build.xml:745: Java returned: 1 Can you tell me what to do? -- View this message in context: http://old.nabble.com/internal-system-error-occurs-while-submitting-an-item-for-collection-tp22743840p29077932.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech