Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start Fluent Bit on Windows: error 1067 #9546

Open
XSchelin opened this issue Nov 1, 2024 · 1 comment
Open

Can't start Fluent Bit on Windows: error 1067 #9546

XSchelin opened this issue Nov 1, 2024 · 1 comment

Comments

@XSchelin
Copy link

XSchelin commented Nov 1, 2024

Bug Report

Describe the bug
I can't start the service, though I'm following the installation and configuration instructions exactly:

https://docs.fluentbit.io/manual/installation/windows

I deployed it to C:\fluent-bit\ so as to avoid the "space in the path" issue.

To Reproduce

  • Steps to reproduce the problem:

C:\Windows\system32>sc.exe create fluent-bit binpath= "C:\fluent-bit\bin\fluent-bit.exe -c C:\fluent-bit\conf\fluent-bit.conf"
[SC] CreateService SUCCESS

C:\Windows\system32>sc.exe start fluent-bit

SERVICE_NAME: fluent-bit
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 2428
        FLAGS      

C:\Windows\system32>sc.exe query fluent-bit

SERVICE_NAME: fluent-bit
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 1067  (0x42b)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

Your Environment

  • Downloaded the file fluent-bit-3.1.9-win64.exe
  • On WIndows Server 2022 64-bit, not ARM

The config file, with the comments stripped for brevity:

[SERVICE]
    flush        1
    daemon       Off
    log_level    info
    parsers_file parsers.conf
    plugins_file plugins.conf
    http_server  Off
    http_listen  0.0.0.0
    http_port    2020
    storage.metrics on

[INPUT]
    Name         winlog
    Channels     Setup,Windows PowerShell
    Interval_Sec 1
    DB           winlog.sqlite

[OUTPUT]
    name  stdout
    match *

[eta] I don't have a Fluent Bit log file because it has to be running for there to be a log file, doesn't it?

@XSchelin
Copy link
Author

XSchelin commented Nov 1, 2024

Correction, I can see an issue. When I run C:\fluent-bit\bin\fluent-bit.exe -c C:\fluent-bit\conf\fluent-bit.conf directly, I get:

[2024/11/01 10:26:27] [error] reading line is exceeded to the limit size of 33554432. Current size is: 67108864
[2024/11/01 10:26:27] [error] configuration file contains errors, aborting.

Which is a new one on me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant