Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.
This repository was archived by the owner on May 17, 2019. It is now read-only.

How to use td-agent status command on Amazon Linux 2? #601

@n-yusuke

Description

@n-yusuke

Context

I'm installing td-agent on Amazon Linux 2 instance following the official installation guide.

Problem

I can't use sudo /etc/init.d/td-agent status command in Step 2: Launch Daemon of the guide.
When I execute sudo /etc/init.d/td-agent status, I get:

[ec2-user@ip-172-17-11-221 etc]$ sudo /etc/init.d/td-agent status
/lib/lsb/init-functions: line 22: /etc/redhat-lsb/lsb_log_message: No such file or directory

because there is not /etc/redhat-lsb directory on the instance. However I can use other commands(start, stop, restart) of td -agent.
How can I use td-agent status command on Amazon Linux 2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions