Difference between revisions of "SUNScholar/Install DSpace/S09"

From Libopedia
Jump to navigation Jump to search
Line 24: Line 24:
 
  sudo /home/dspace/bin/dspace test-email
 
  sudo /home/dspace/bin/dspace test-email
 
Check your DSpace admin email account to see if you received a message.
 
Check your DSpace admin email account to see if you received a message.
 +
;Example Output
 +
<pre>
 +
About to send test email:
 +
- To: XXXXXX@XXX.XX.XX
 +
- Subject: DSpace test email
 +
- Server: mail.sun.ac.za
 +
 +
Email sent successfully!
 +
</pre>
  
 
  '''[[SUNScholar/Install Dspace/S08|PREVIOUS]]'''
 
  '''[[SUNScholar/Install Dspace/S08|PREVIOUS]]'''
  
 
  '''[[SUNScholar/Install Dspace/S10|NEXT]]'''
 
  '''[[SUNScholar/Install Dspace/S10|NEXT]]'''

Revision as of 12:03, 18 October 2012

Install DSpace - Index

Step 9: Perform system tests

Database Test

Type the following in a terminal:

sudo /home/dspace/bin/dspace test-database

See: https://wiki.duraspace.org/display/DSDOC18/Testing+Database+Connection

Example Output
Attempting to connect to database: 
 - URL: jdbc:postgresql://localhost:5432/dspace
 - Driver: org.postgresql.Driver
 - Username: XXXXXXX
 - Password: XXXXXXX
 - Schema: null

Testing connection...
Connected successfully!

Email Test

Type the following in a terminal:

sudo /home/dspace/bin/dspace test-email

Check your DSpace admin email account to see if you received a message.

Example Output
About to send test email:
 - To: XXXXXX@XXX.XX.XX
 - Subject: DSpace test email
 - Server: mail.sun.ac.za

Email sent successfully!
PREVIOUS
NEXT