You’re probably using OJS 3.0.2.
Start by looking in your webserver’s error log for the details on the 500 error.