I am trying to start Topbeat (topbeat-1.0.0-windows) on Windows server 2008 R2 Sp1 and I get this error
PS C:\Program Files\Topbeat> Start-Service topbeat
Start-Service : Service 'topbeat (topbeat)' cannot be started due to the following error: Cannot start service topbeat
on computer '.'.
At line:1 char:14
Can you test your configuration file and start Topbeat manually to see if any errors are returned.
# Test the configuration file.
PS C:\Program Files\Topbeat> .\topbeat.exe -c topbeat.yml -configtest
# Start Topbeat in the foreground and see if there are any errors.
PS C:\Program Files\Topbeat> .\topbeat.exe -c topbeat.yml -e -v -d "*"
PS C:\Program Files\Topbeat> topbeat.exe -c topbeat.yaml -configtest
The term 'topbeat.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:12
Suggestion [3,General]: The command topbeat.exe was not found, but does exist in the current location. Windows PowerShell doesn't load commands from the current location by default. If you trust this command, instead type ".\topbeat.exe". See "get-help about_Command_Precedence" for more details.
PS C:\Program Files\Topbeat> .\topbeat.exe -c topbeat.yaml -configtest
Loading config file error: Failed to read topbeat.yaml: open topbeat.yaml: The system cannot find the file specified.. Exiting.
The spelling was wrong. Use yml
PS C:\Program Files\Topbeat> .\topbeat.exe -c topbeat.yml -configtest
It worked on Command line
PS C:\Program Files\Topbeat> .\topbeat.exe -c topbeat.yml -e -v -d "*"
2015/12/17 05:15:44.108088 beat.go:97: DBG Initializing output plugins
2015/12/17 05:15:44.108088 geolite.go:24: INFO GeoIP disabled: No paths were set under output.geoip.paths
2015/12/17 05:15:44.108088 client.go:244: DBG ES Ping(url=http://10.42.33.133:9200, timeout=1m30s)
PS C:\Program Files\Topbeat>
I'm trying to start topbeat-1.2.1 on Windows 10 and I'm getting the following error, kindly help.
Start-Service : Service 'topbeat (topbeat)' cannot be started due to the following error: Cannot start service topbeat
on computer '.'.
At line:1 char:1
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.