Fixed problem where solr install path becomes /opt/solr-4.6.1/solr-4.6.1/