[root@hdp01 ~]# systemctl stop solr [root@hdp01 ~]# systemctl start solr
[root@hdp01 ~]# systemctl status solr
[root@hdp01 ~]# systemctl status solr
● solr.service - LSB: Controls Apache Solr as a Service
Loaded: loaded (/etc/rc.d/init.d/solr; bad; vendor preset: disabled)
Active: active (exited) since Fri 2017-12-29 15:16:07 CST; 10min ago
Docs: man:systemd-sysv-generator(8)
Process: 5537 ExecStart=/etc/rc.d/init.d/solr start (code=exited, status=0/SUCCESS)
Dec 29 15:16:02 hdp01 systemd[1]: Starting LSB: Controls Apache Solr as a Service...
Dec 29 15:16:02 hdp01 su[5539]: (to hadoop) root on none
Dec 29 15:16:03 hdp01 solr[5537]: /u01/solr/bin/solr: line 2021: /u01/solr/bin/solr-8983.pid: Permission denied
Dec 29 15:16:03 hdp01 solr[5537]: Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require
Dec 29 15:16:03 hdp01 solr[5537]: RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'.
Dec 29 15:16:07 hdp01 solr[5537]: [146B blob data]
Dec 29 15:16:07 hdp01 solr[5537]: Started Solr server on port 8983 (pid=5657). Happy searching!
Dec 29 15:16:07 hdp01 solr[5537]: [14B blob data]
Dec 29 15:16:07 hdp01 systemd[1]: Started LSB: Controls Apache Solr as a Service.