Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG]: Ubuntu22 docker根据示例配置文件启动报错 #1888

Open
zijiwork opened this issue Nov 15, 2024 · 1 comment
Open

[BUG]: Ubuntu22 docker根据示例配置文件启动报错 #1888

zijiwork opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@zijiwork
Copy link

Describe the bug
A clear and concise description of what the bug is, ideally within 20 words.

iLogtail Running Environment
Please provide the following information:

  • ilogtail version:
    2.0.4
  • Yaml configuration:
[root@ZJHZ-SRS-SERVER ilogtail]# cat config/file_simple.yaml
enable: true
inputs:
  - Type: input_file
    FilePaths:
      - /data/apps-logs/*.log
    EnableContainerDiscovery: true
flushers:
  - Type: flusher_stdout
    OnlyStdout: true
[root@ZJHZ-SRS-SERVER ilogtail]# cat config/stdout_simple.yaml
enable: true
inputs:
  - Type: service_docker_stdout # 容器标准输出流输入类型
    Stderr: false               # 不采集标准错误流
    Stdout: true                # 采集标准输出流
flushers:
  - Type: flusher_stdout        # 标准输出流输出类型
    FileName: simple.stdout     # 重定向文件名
  • ilogtail.LOG:
    docker run -d --name docker_ilogtail \

-v /:/logtail_host:ro
-v /var/run:/var/run
-v /var/lib/docker_ilogtail/checkpoint:/usr/local/ilogtail/checkpoint
-v pwd/config:/usr/local/ilogtail/config/local
sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:latest
515a2a6cd76b8c4b0231e51eb4676318fc1c85c393fba8d5389ea2ee8619c9a2

[root@ZJHZ-SRS-SERVER ilogtail]# docker logs -f docker_ilogtail
ilogtail started. pid: 11
/usr/local/ilogtail/ilogtail_control.sh: line 86: 11 Illegal instruction (core dumped) ( $bin_file $@ )
ilogtail exited unexpectedly

  • logtail_plugin.LOG:
@zijiwork zijiwork added the bug Something isn't working label Nov 15, 2024
@zijiwork zijiwork changed the title [BUG]: docker根据示例配置文件启动报错 [BUG]: Ubuntu22 docker根据示例配置文件启动报错 Nov 15, 2024
@messixukejia
Copy link
Collaborator

#1398

可以按照这个先判断下

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants