When ES is run manually, The log file produces this:
[2016-09-27 10:01:24,401][INFO ][node ] [ubuntu-master] version[2.4.0], pid[6783], build[ce9f0c7/2016-08-29T09:14:17Z]
[2016-09-27 10:01:24,402][INFO ][node ] [ubuntu-master] initializing ...
[2016-09-27 10:01:25,374][INFO ][plugins ] [ubuntu-master] modules [lang-groovy, reindex, lang-expression], plugins [], sites []
[2016-09-27 10:01:25,395][INFO ][env ] [ubuntu-master] using [1] data paths, mounts [[/ (/dev/mapper/elk--vg-root)]], net usable_space [36.9gb], net total_space [44.6gb], spins? [possibly], types [ext4]
[2016-09-27 10:01:25,395][INFO ][env ] [ubuntu-master] heap size [1015.6mb], compressed ordinary object pointers [true]
[2016-09-27 10:01:27,443][INFO ][node ] [ubuntu-master] initialized
[2016-09-27 10:01:27,443][INFO ][node ] [ubuntu-master] starting ...
[2016-09-27 10:01:27,484][INFO ][transport ] [ubuntu-master] publish_address {192.168.70.224:9300}, bound_addresses {192.168.70.224:9300}
[2016-09-27 10:01:27,495][INFO ][discovery ] [ubuntu-master] ubuntu-elk/XMehwcG5SAulQXIR2yAYoQ
[2016-09-27 10:01:30,528][INFO ][cluster.service ] [ubuntu-master] new_master {ubuntu-master}{XMehwcG5SAulQXIR2yAYoQ}{192.168.70.224}{192.168.70.224:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-09-27 10:01:30,553][INFO ][http ] [ubuntu-master] publish_address {192.168.70.224:9200}, bound_addresses {192.168.70.224:9200}
[2016-09-27 10:01:30,553][INFO ][node ] [ubuntu-master] started
[2016-09-27 10:01:30,736][INFO ][gateway ] [ubuntu-master] recovered [3] indices into cluster_state
[2016-09-27 10:01:32,082][INFO ][cluster.routing.allocation] [ubuntu-master] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
[2016-09-27 10:02:01,153][INFO ][node ] [ubuntu-master] stopping ...
[2016-09-27 10:02:01,445][INFO ][node ] [ubuntu-master] stopped
[2016-09-27 10:02:01,445][INFO ][node ] [ubuntu-master] closing ...
[2016-09-27 10:02:01,450][INFO ][node ] [ubuntu-master] closed
running the command in terminal produces this:
root@elk:/usr/share/elasticsearch/bin# sudo ./elasticsearch -Dpath.config=/etc/elasticsearch/
Exception in thread "main" ElasticsearchException[Failed to load logging configuration]; nested: NoSuchFileException[/usr/share/elasticsearch/config];
Likely root cause: java.nio.file.NoSuchFileException: /usr/share/elasticsearch/config
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:97)
at java.nio.file.Files.readAttributes(Files.java:1686)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:109)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)
at java.nio.file.Files.walkFileTree(Files.java:2602)
at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:142)
at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:103)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:259)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details.
This all with the master.node and data.node added to the config.