Hi Tim, 

Thanks for responding. The issue was indeed due to the filesystem 
permissions. I missed the step to provide tomcat access to the DSpace 
folder. Running these two commands fixed it for me. 

1. Provide tomcat permissions to space directory:
sudo chown -R tomcat:tomcat /dspace/

2. Provide ReadWrite path to DSpace in tomcat configuration:
sudo nano/lib/systemd/system/tomcat9.service

Add the following line under #Security at the last line:
ReadWritePaths=/dspace

Make sure to restart tomcat after this. 

Thanks!


On Friday, August 4, 2023 at 9:19:16 PM UTC+4 DSpace Technical Support 
wrote:

Hi,

This is confusing to me because a 500 error from OAI-PMH *should* result in 
something in the logs.  Nothing in what you've shared though seems to match 
up with that error.  It's almost like the error is being logged somewhere 
else.

You could look at our troubleshooting guide to see if any of the other 
troubleshooting tips help uncover what the problem is: 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
  
 It's very difficult to say for certain until you can find the error behind 
the 500 Internal Server Error (as that's a very generic error that can be 
caused by many different issues).

You also may want to check the permissions on your filesystem directories.  
I have seen scenarios where the Tomcat user isn't able to *write* to the 
DSpace logs... in which case nothing gets logged.  I'm not sure this is 
your scenario though as it looks like you are getting some logs.

Tim

On Wednesday, August 2, 2023 at 5:32:24 AM UTC-5 [email protected] wrote:

Hi team, I installed Dspace 7.2.1 on Ubuntu (aws) and the frontend and 
backend is working fine, except the OAI server 
(/server/oai/request?verb=Identify) isn't working. I just get the error 
attached. I checked the Dspace troubleshooting guide and didn't find 
anything there. Even the Dspace and tomcat logs don't say anything about 
the error. Would anyone have a clue about it? Thank you!


[image: Screenshot 2023-08-02 143203.png]

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9f5f5e7a-9f61-4cd7-968b-1a177a54aabfn%40googlegroups.com.

Reply via email to