-
Notifications
You must be signed in to change notification settings - Fork 25.8k
JAVA_HOME environment variable NOT working #49068
Copy link
Copy link
Closed
Labels
:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scriptsRPM and deb packaging, tar and zip archives, shell and batch scriptsTeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Description
I have set JAVA_HOME to /usr. When i restart elasticsearch using systemctl i get following:
Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
If i set same value of JAVA_HOME in /etc/sysconfig/elasticsearch, it works.
Environment:
- ES version 7.4.1
- CentOS kernel 3.10.0-1062.1.2.el7.x86_64
- Version : CentOS Linux release 7.7.1908 (Core)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scriptsRPM and deb packaging, tar and zip archives, shell and batch scriptsTeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Type
Fields
Give feedbackNo fields configured for issues without a type.