self-register new account .dspace 5.4 internal system error

505 views
Skip to first unread message

Victoria Parra

unread,
Jun 30, 2016, 8:50:33 AM6/30/16
to DSpace Technical Support
good day guys.  :-) . I am writing you  because I have this problem in my dspace server test.my test server have installed dspace 5.4 with jspui. I want do self-register. first I configured my dspace.cfg with gmail .



 ##### Email settings ######

# SMTP mail server
mail.server = smtp.gmail.com

# SMTP mail server authentication username and password (if required)
mail.server.username = x...@gmail.com
mail.server.password = yyyy

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 25

# From address for mail
mail.from.address = x...@gmail.com

# Name of a pre-configured Session object to be fetched from a directory.
# This overrides the Session settings above.  If none can be found, then DSpace
# will use the above settings to create a Session.
#mail.session.name = Session
# Currently limited to one recipient!
feedback.recipient =xx...@gmail.com

# General site administration (Webmaster) e-mail
mail.admin =xx...@gmail.com

# Recipient for server errors and alerts
alert.recipient =xx...@gmail.com

# Recipient for new user registration emails
registration.notify =xx...@gmail.com

# Set the default mail character set. This may be overridden by providing a line
# inside the email template "charset: <encoding>", otherwise this default is used.

mail.charset = UTF-8

# A comma-separated list of hostnames that are allowed to refer browsers to email forms.
# Default behaviour is to accept referrals only from dspace.hostname
 mail.allowed.referrers = localhost

# Pass extra settings to the Java mail library. Comma-separated, equals sign between
# the key and the value. For example:
 mail.extraproperties = mail.smtp.socketFactory.port=465, \
                       mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
                       mail.smtp.socketFactory.fallback=false










good after I configured my authentication-password.cfg







#---------------------------------------------------------------#
#----------PASSWORD AUTHENTICATION CONFIGURATIONS---------------#
#---------------------------------------------------------------#
# Configuration properties used by the Password                 #
# Authentication plugin, when it is enabled.                    #
#---------------------------------------------------------------#
#
# In order to enable Password Authentication, you must first ensure the
# 'org.dspace.authenticate.PasswordAuthentication' class is added to the
# list of enabled AuthenticationMethods in 'authenticate.cfg'.
# See 'authenticate.cfg' for more info.
#

# Only emails ending in the following domains are allowed to self-register
# Example - example.com domain : @example.com
# Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk cambio victoria$

 domain.valid = @gmail.com, @otherdomain.ve

##### Password users group #####

# If required, a group name can be given here, and all users who log in
# using the DSpace password system will automatically become members of
# this group. This is useful if you want a group made up of all internal
# authenticated users. victoria grupo original group-name y comentado
# login.specialgroup = group-name

##### Password hashing algorithm #####

# You may select any digest algorithm available through
# java.security.MessageDigest on your system.  At least MD2, MD5, SHA-1,
# SHA-256, SHA-384, and SHA-512 should be available, but you may have
# installed others.  If not set, SHA-512 will be used.
# digestAlgorithm = SHA-512

well it configuration give me an internal system error. I attach my log for more information

thank you for all hep that you can give me.
dspace.log.2016-06-29

Luiz dos Santos

unread,
Jun 30, 2016, 11:07:21 AM6/30/16
to Victoria Parra, DSpace Technical Support
Hi Victoria,

From your log is seems a database connection issue:

2016-06-29 11:32:00,174 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL connection Error -
org.postgresql.util.PSQLException: Conexión rechazada. Verifique que el nombre del Host y el puerto sean correctos y que postmaster este aceptando conexiones TCP/IP.
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:138)

Check the build.properties if everything is ok, I mean the database access info.

Best
Luiz


--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Nor Hazira Mat Noh (HQ)

unread,
Aug 17, 2016, 3:27:06 AM8/17/16
to DSpace Technical Support
hi,
i'm also face the same issue..do you already get the solution?

Fahad

unread,
Oct 17, 2016, 5:36:30 PM10/17/16
to DSpace Technical Support
Have you fixed this problem so far?
Reply all
Reply to author
Forward
0 new messages