[Dspace-tech] Handle server shuts down immediately
DSpace 5.2 on Windows Server 2012 Trying to get my Handle server set up. My console: C:\dspace\bindspace dsrun net.handle.server.Main c:\dspace\handle-server Using DSpace installation in: C:\dspace 2015/08/20 06:06:11 EDT 25 Rotating log files After running this, my error.log file: 2015/08/20 06:06:11 EDT 50 unspecified max_handlers count, using default: 200 2015/08/20 06:06:11 EDT 50 unspecified max_handlers count, using default: 200 2015/08/20 06:06:11 EDT 50 unspecified max_handlers count, using default: 200 2015/08/20 06:06:12 EDT 25 Shutting down server at Thu Aug 20 18:06:12 EDT 2015 Any ideas why it's shutting down immediately after starting? -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] DSpace 5.2 LDAP Authentication with Active Directory
I'm running DSpace 5.2 and am attempting to enable LDAP authentication with our Active Directory. I've been fighting this issue for a couple of weeks now, and cannot get authentication to work. Below are the contents of my authentication.cfg and authentication-ldap.cfg files as well as the log result of the login attempts from the dspace.log file. I'm not sure if there is something obvious that I have wrong or not. Are there any specifics that have to be set for Active Directory setups? Thanks for any help! The directory structure is set up like this: dc=relligar,dc=edu _/| \_ _/ |\_ /| \ ou=Staff Accounts ou=Faculty Accounts ou=Student Accounts | | cn=Jones, Jimmy K. ... dspace.log.2015-07-14 - ... 2015-07-14 16:58:23,295 INFO org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:authenticate:attempting password auth of user=krbelcher 2015-07-14 16:58:23,358 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:auth:attempting trivial auth of user=krbelcher 2015-07-14 16:58:23,654 WARN org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:ldap_authentication:type=failed_auth javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 80090308\colon; LdapErr\colon; DSID-0C0903A9, comment\colon; AcceptSecurityContext error, data 52e, v1db1 ] 2015-07-14 16:58:23,654 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:no DN found for user krbelcher 2015-07-14 16:58:23,654 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:email=krbelcher, realm=null, result=2 2015-07-14 16:58:29,764 INFO org.dspace.authenticate.PasswordAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:authenticate:attempting password auth of user=krbelcher 2015-07-14 16:58:29,764 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:auth:attempting trivial auth of user=krbelcher 2015-07-14 16:58:30,076 WARN org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:ldap_authentication:type=failed_auth javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 - 80090308\colon; LdapErr\colon; DSID-0C0903A9, comment\colon; AcceptSecurityContext error, data 52e, v1db1 ] 2015-07-14 16:58:30,076 INFO org.dspace.authenticate.LDAPAuthentication @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:no DN found for user krbelcher 2015-07-14 16:58:30,076 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ anonymous:session_id=E1BE13484E845DE6361AFB660E6307FD:ip_addr=172.0.0.1:failed_login:email=krbelcher, realm=null, result=2 authentication.cfg -- plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.PasswordAuthentication, \ org.dspace.authenticate.LDAPAuthentication authentication-ldap.cfg --- enable = true autoregister = true provider_url = ldaps://172.0.0.1:636/ id_field = sAMAccountName object_context = search_context = dc=relligar,dc=edu email_field = mail surname_field = sn givenname_field = givenName phone_field = telephoneNumber search_scope = 2 search.anonymous = false search.user = cn=Binder\, DSpace,cn=Users,dc=relligar,dc=edu search.password = secret netid_email_domain = @relligar.edu -- David Baker -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Must I Build/Install as Tomcat service user?
Chris, I'm assuming there isn't any particular Linux distribution's, or other *nix OS's package manager that plays more nicely with DSpace. Thanks for the input - I'll consider this route. -- David Baker Digital Resources Web Development Specialist Milligan College - P.H. Welshimer Memorial Library 423-461-8703 | library.milligan.eduhttp://library.milligan.edu/ From: Chris Gray [mailto:cpg...@uwaterloo.ca] Sent: Friday, December 19, 2014 4:47 PM To: dspace-tech@lists.sourceforge.net; Baker, David A. Subject: Re: [Dspace-tech] Must I Build/Install as Tomcat service user? You will run into many problems along the way. I started that way and had to revert. DSpace seems to be programmed under the assumption that $CATALINA_BASE is the same as $CATALINA_HOME (which it isn't under the Ubuntu/Debian package) and that Tomcat is run by the dspace user. You'll have problems with DSpace looking in the wrong place for files and with file permission conflicts between the tomcat7 and dspace user. If you don't want to fight with Ubuntu or with DSpace (and you won't win anyway), then install Tomcat from a binary distribution from the Apache Tomcat site and install it as the dspace user. Good luck, Chris Gray Systems Analyst 519-888-4567, ext. 35764 cpg...@uwaterloo.camailto:cpg...@uwaterloo.ca University of Waterloo On 14-12-19 03:33 PM, Baker, David A. wrote: I'm doing some testing using Ubuntu server 14.04.1 and DSpace 4.2 Ubuntu's package manager creates a service user, tomcat7, for running Tomcat. So instead of fighting with Ubuntu, I am using that user to run the Tomcat service. Also, I have created a Linux user account, dspace, that I log into the server with. Is it OK that I did my Maven/Ant build/install using my normal user, dspace, and then gave ownership and permissions of all of my dspace files to the Tomcat user, tomcat7? Ubuntu gives the tomcat7 user a home directory of /usr/share/tomcat7 and a shell of /bin/false, so without changing the user I am unable to do any building with it. Would it be better if I were to assign /home/tomcat7 to my Tomcat service user so it can do the build, or is there some reason that the Ubuntu package manager has assigned /usr/share/tomcat7 as the home directory? I don't want to break the service user account, and I don't want to cause some problem down the road by doing the build/install with a normal user. Thanks for any info! -- David Baker Digital Resources Web Development Specialist Milligan College - P.H. Welshimer Memorial Library 423-461-8703 | library.milligan.eduhttp://library.milligan.edu/ [sig] -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Must I Build/Install as Tomcat service user?
I'm doing some testing using Ubuntu server 14.04.1 and DSpace 4.2 Ubuntu's package manager creates a service user, tomcat7, for running Tomcat. So instead of fighting with Ubuntu, I am using that user to run the Tomcat service. Also, I have created a Linux user account, dspace, that I log into the server with. Is it OK that I did my Maven/Ant build/install using my normal user, dspace, and then gave ownership and permissions of all of my dspace files to the Tomcat user, tomcat7? Ubuntu gives the tomcat7 user a home directory of /usr/share/tomcat7 and a shell of /bin/false, so without changing the user I am unable to do any building with it. Would it be better if I were to assign /home/tomcat7 to my Tomcat service user so it can do the build, or is there some reason that the Ubuntu package manager has assigned /usr/share/tomcat7 as the home directory? I don't want to break the service user account, and I don't want to cause some problem down the road by doing the build/install with a normal user. Thanks for any info! -- David Baker Digital Resources Web Development Specialist Milligan College - P.H. Welshimer Memorial Library 423-461-8703 | library.milligan.eduhttp://library.milligan.edu/ [sig] -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette