- 论坛徽章:
- 3
|
1#ssh tomcat@192.168.101.12 <<EOF
cd /webserver/business-solr/jetty-solr-web/
java -Dsolr.solr.home=multicore -jar start.jar &> solr.log &
EOF
这种可以成功,端口能开启,cat solr.log|wc -l 输出5369
2#ssh tomcat@192.168.101.12 "cd /webserver/business-solr/jetty-solr-web/;java -Dsolr.solr.home=multicore -jar start.jar &> solr.log &"
这种返回值也是0,端口也能开启,但是cat solr.log|wc -l 输出709
有报错- [root@webserver2 jetty-solr-web]# grep -i error solr.log
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- SEVERE: Error in xpath:javax.xml.xpath.XPathExpressionException: multiple nodes in node-set
- SEVERE: org.apache.solr.common.SolrException: Error in xpath:/config/indexConfig/text() for solrconfig.xml
- org.apache.solr.common.SolrException: No cores were created, please check the logs for errors
- SEVERE: org.apache.solr.common.SolrException: No cores were created, please check the logs for errors
复制代码 这2种方式,什么地方差异,导致有1个报错? |
|