Solr running in glassfish – 503 server shutting down error (centos, linux)

This one was caused by two items:

  1. Log4j files were incorrect
  2. Permissions on the core.properties file

Log4j Files.  There was a bug in my deployment script that copied two of the log4j files to the same name in the destination.  So, two files appeared missing and two others were the wrong size.  Once I fixed that, I started getting solr logs.

Permissions.  The solr logs showed that it was not able to access the core.properties file.  The file was there, owned by the user running glassfish with permissions 664.

The containing folder had permissions 664 also.  Changed the permissions on that folder to 764 and voila.  It started working.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s