Skip to content

.bashrc Cannot find expected file ...literals.py #209

@samweisgamdschie

Description

@samweisgamdschie

Hi!

When installing a univeral forwarder in version 9.1.1 (at least) on a fresh system via the ansible-role-for-splunk we get the following error message after a successful login with the splunk user:

$ sudo -i -u splunk
(exit=1) Cannot find expected file /opt/splunkforwarder/lib/python3.7/site-packages/splunk/clilib/literals.py
[splunk@host:/opt/splunkforwarder]$

This message comes from .bashrc's line:
. $SPLUNK_HOME/share/splunk/cli-command-completion.sh

What should be done with this error message?

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