Error 7024 windows 10 pro

The Elasticsearch 7.16.3 (elasticsearch-service-x64) service terminated with the following service-specific error:
Incorrect function.
can't browse localhost:9200

please help !!

Welcome to our community! :smiley:

What do your Elasticsearch logs show?

Thanks Mark ,

It’s windows 10 pro machine

That’s what I see in event viewer

Log Name: System

Source: Service Control Manager

image001.png

image002.png

Hello There!
Mark asked for ES logs not for system specification.
You can find logs in your logs directory.

Attached

Thanks

(Attachment elasticsearch-service-x64.2022-09-06.zip is missing)

Not really as I think :slight_smile:
Could you please remove your footer? It's hard to read your posts.

how I can attach files ??

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

1 Like

Also you can share them on gist.github.com

1 Like

Hi David ,

Please rename file to zip . it’s non encrypted file

Thanks

(Attachment elasticsearch-service-x64.2022-09-06.jpg is missing)

Technet Docs - Error 7024

We do not allow zip attachments here. Please post the logs.

Hi Mrak ,

I don’t see errors in logs

Thanks

What is your elasticsearch installation directory?

C:\whatsupelasticsearch

type or paste code here

2022-09-15 08:10:59 Commons Daemon procrun stderr initialized
SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: JacksonYAMLParseException[java.io.CharConversionException: Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)
 at [Source: (sun.nio.ch.ChannelInputStream); line: 74, column: 42]]; nested: YAMLException[java.io.CharConversionException: Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)]; nested: CharConversionException[Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)];
	at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1168)
	at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1139)
	at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:75)
	at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:91)
	at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:82)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
	at org.elasticsearch.cli.Command.main(Command.java:77)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)
Caused by: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: java.io.CharConversionException: Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)
 at [Source: (sun.nio.ch.ChannelInputStream); line: 74, column: 42]
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:361)
	at org.elasticsearch.xcontent.json.JsonXContentParser.nextToken(JsonXContentParser.java:73)
	at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:685)
	at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:654)
	at org.elasticsearch.common.settings.Settings.access$400(Settings.java:74)
	at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1164)
	... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: java.io.CharConversionException: Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)
	at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:218)
	at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:176)
	at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:136)
	at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1197)
	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:287)
	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:227)
	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)
	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
	at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:168)
	at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:355)
	... 14 more
Caused by: java.io.CharConversionException: Invalid UTF-8 start byte 0xf8 (at char #6805, byte #10277)
	at com.fasterxml.jackson.dataformat.yaml.UTF8Reader.reportInvalidInitial(UTF8Reader.java:384)
	at com.fasterxml.jackson.dataformat.yaml.UTF8Reader.read(UTF8Reader.java:237)
	at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:183)
	... 23 more