Unable to start goferd with errors - ImportError: No module named gofer.agent.main

Solution Verified - Updated -

Issue

  • Unable to start goferd, the status is seen as:
# service goferd status
Redirecting to /bin/systemctl status  goferd.service
● goferd.service - Gofer Agent
   Loaded: loaded (/usr/lib/systemd/system/goferd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-08-14 09:10:37 CEST; 3s ago
  Process: 13147 ExecStart=/usr/bin/goferd --foreground (code=exited, status=1/FAILURE)
 Main PID: 13147 (code=exited, status=1/FAILURE)

Aug 14 09:10:37 server systemd[1]: Started Gofer Agent.
Aug 14 09:10:37 server systemd[1]: Starting Gofer Agent...
Aug 14 09:10:37 server goferd[13147]: Traceback (most recent call last):
Aug 14 09:10:37 server goferd[13147]: File "/usr/bin/goferd", line 17, in <module>
Aug 14 09:10:37 server goferd[13147]: from gofer.agent.main import main
Aug 14 09:10:37 server goferd[13147]: ImportError: No module named gofer.agent.main
Aug 14 09:10:37 server systemd[1]: goferd.service: main process exited, code=exited, status=1/FAILURE
Aug 14 09:10:37 server systemd[1]: Unit goferd.service entered failed state.
Aug 14 09:10:37 server systemd[1]: goferd.service failed.

Environment

  • Red Hat Enterprise Linux 7.x
  • Registered to a Satellite 6.x instance

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content