Hi,

  I'm trying to upgrade from Solr 5.0 to 5.5. I'm getting the following
error:

tail: cannot open `/mnt/ebs2/solrhome/logs/solr.log' for reading: No such
file or directory

I'm running on CentOS 6.7. The same startup script has been working fine
for 5.0 till now. I'm executing as user "solr". In the logs directory, it's
able to create solr-8983-console.log and solr_gc.log, so it's not an issue
with permission. Does it have to do with JDK version? I'm running the
latest oracle java.

java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

I earlier tried 1.8.0_31 but with no luck. Apparently, Solr 5.0 was running
on 1.8.0_31 without any issue.

Here's my startup parameter:

server -Xss256k -Xms512m -Xmx6144m -XX:NewRatio=3 -XX:SurvivorRatio=4
-XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ConcGCThreads=4
-XX:ParallelGCThreads=4 -XX:+CMSScavengeBeforeRemark
-XX:PretenureSizeThreshold=64m -XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=50 -XX:CMSMaxAbortablePrecleanTime=6000
-XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -verbose:gc
-XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution
-XX:+PrintGCApplicationStoppedTime
-Xloggc:/mnt/ebs2/solrhome/logs/solr_gc.log -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=18983
-Dcom.sun.management.jmxremote.rmi.port=18983
-Djava.rmi.server.hostname=54.176.219.134  -DzkClientTimeout=45000
-DzkHost=zoohost1:2181,zoohost2:2181,zoohost3:2181
-Dbootstrap_confdir=./solr/knowledge/conf -Dcollection.configName=myconf
-DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Dhost=54.176.219.134
-Djetty.port=8983 -Dsolr.solr.home=/mnt/ebs2/solrhome/solr
-Dsolr.install.dir=/mnt/ebs2/solrhome -Duser.timezone=UTC
-Djava.net.preferIPv4Stack=true
-Dlog4j.configuration=file:/mnt/ebs2/solrhome/log4j.properties
 -Dsolr.autoCommit.maxTime=60000 -Dsolr.clustering.enabled=true

Not sure what's going wrong. Any pointers will be appreciated.

-Thanks,
Shamik

Reply via email to