`
猫太的鱼
  • 浏览: 240000 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

kojid启动后crash的原因

F# 
阅读更多
引用
I think there may be something wrong configuring the "host", because when I tried the command "/usr/sbin/kojid -f" to see what happened, it showed information such as below:

Traceback (most recent call last): File "/usr/sbin/kojid", line 2732, in ? main() File "/usr/sbin/kojid", line 68, in main tm = TaskManager() File "/usr/sbin/kojid", line 532, in __init__ self.host_id = session.host.getID() File "/usr/lib/python2.4/site-packages/koji/__init__.py" line 1133, in __call__ return self.__func(self.__name, args, opts) File "/usr/lib/python2.4/site-packages/koji/__init__.py" line 1380, in _callMethod raise err koji.AuthError: No host specified


This is happening because kojid is authenticating as a user that is not associated with a build host (or perhaps not authenticating at all). You can't run kojid as a regular user (or anonymously). The hub is trying to determine which host is calling the function and is not finding one. Certain calls can only be executed by build hosts.

When you created the host entry (koji add-host ...), an associated user was created with the same name. This is the user that kojid should authenticate as.

And just to clarify, the users I'm talking about are the ones internal to koji, not the system users.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics