Description
When the host is restarted, the SnapCenter plug-in loader (SPL) does not start automatically if there is no symbolic link in /user/bin/Java, or if Java is mounted from an external entity.
Error message
ERROR: JAVA_HOME is set to an invalid directory.
Failed to start SnapCenter Plugin Loader.
Corrective action
If the host is running on... |
Then... |
init.d |
- Create the spl configuration file at /etc/default/.
- Add export JAVA_HOME=path_where_java_is_mounted to the spl configuration file.
- Add [-f /etc/default/spl ] && . /etc/default/spl to the beginning of the SPL init script located at /etc/init.d/.
|
system.d |
- Create the spl.conf configuration file at /etc/systemd/system/spl.service.d/.
- Add the following lines to the spl.conf configuration file:
- Environment=JAVA_HOME=path_where_java_is_mounted
- RestartSec=30
- StartLimitInterval=200
- StartLimitBurst=5
- After updating spl.conf, reload systemctl by running the systemctl daemon-reload command.
|