Does the CN component in the .pem need to be a fqdn?<br><br>And the CN is koji (I thought it needed to be the auth user)<br><br>Right now I am under the impression that the user in kojid.conf needs to be a fqdn and that the CN in the .pem file needs to match, is this correct?<br>
<br># /usr/sbin/kojid --force-lock --verbose --fg<br><br>2009-02-26 11:01:51,706 [INFO] {4098} koji.build:66 Starting up<br>Traceback (most recent call last):<br>  File &quot;/usr/sbin/kojid&quot;, line 2730, in ?<br>    main()<br>
  File &quot;/usr/sbin/kojid&quot;, line 67, in main<br>    tm = TaskManager()<br>  File &quot;/usr/sbin/kojid&quot;, line 530, in __init__<br>    self.host_id = session.host.getID()<br>  File &quot;/usr/lib/python2.4/site-packages/koji/__init__.py&quot;, line 1133, in __call__<br>
    return self.__func(self.__name,args,opts)<br>  File &quot;/usr/lib/python2.4/site-packages/koji/__init__.py&quot;, line 1378, in _callMethod<br>    raise err<br>koji.AuthError: No host specified<br><br><br><br><div class="gmail_quote">
On Thu, Feb 26, 2009 at 10:59 AM, Mike Bonnet <span dir="ltr">&lt;<a href="mailto:mikeb@redhat.com">mikeb@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Thomas Hatch wrote:<br>
&gt; I keep having problems with it telling me the system is locked until I run a<br>
&gt; restart, but service kojid status keeps returning the same error<br>
&gt;<br>
&gt; service kojid status<br>
&gt; kojid dead but subsys locked<br>
&gt;<br>
&gt; kojid also seems to be dying but the logs yield no real data<br>
&gt;<br>
&gt; I think I have a problem in my configs:<br>
<br>
</div>What is the output of<br>
<br>
openssl x509 -noout -subject -in /etc/pki/koji/kojibuilder1.pem<br>
<br>
The CN component needs to match the hostname you added with &quot;koji<br>
add-host&quot;, in your case <a href="http://koji.bcinfra.net" target="_blank">koji.bcinfra.net</a>.  Also, that same certificate<br>
may not be used to authenticate any other services or users to the system.<br>
<br>
You can also run<br>
<br>
/usr/sbin/kojid --force-lock --verbose --fg<br>
<br>
as root to run kojid in the foreground and see what errors are reported.<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; kojid.conf:<br>
&gt;<br>
&gt; [kojid]<br>
&gt; ; The number of seconds to sleep between tasks<br>
&gt; ; sleeptime=15<br>
&gt;<br>
&gt; ; The maximum number of jobs that kojid will handle at a time<br>
&gt; ; maxjobs=10<br>
&gt;<br>
&gt; ; The minimum amount of free space (in MBs) required for each build root<br>
&gt; ; minspace=8192<br>
&gt;<br>
&gt; ; The directory root where work data can be found from the koji hub<br>
&gt; ; topdir=/mnt/koji<br>
&gt;<br>
&gt; ; The directory root for temporary storage<br>
&gt; workdir=/tmp/koji<br>
&gt;<br>
&gt; ; The directory root for mock<br>
&gt; mockdir=/var/lib/mock<br>
&gt;<br>
&gt; ; The user to run as when doing builds<br>
&gt; mockuser=kojibuilder<br>
&gt;<br>
&gt; ; The vendor to use in rpm headers<br>
&gt; ; vendor=Koji<br>
&gt;<br>
&gt; ; The packager to use in rpm headers<br>
&gt; ; packager=Koji<br>
&gt;<br>
&gt; ; The _host string to use in mock<br>
&gt; ; mockhost=koji-linux-gnu<br>
&gt;<br>
&gt; ; The URL for the xmlrpc server<br>
&gt; server=<a href="http://sunlight.pp.bcinfra.net/kojihub" target="_blank">http://sunlight.pp.bcinfra.net/kojihub</a><br>
&gt;<br>
&gt; user=<a href="http://koji.bcinfra.net" target="_blank">koji.bcinfra.net</a><br>
&gt;<br>
&gt; ; The URL for the packages tree<br>
&gt; pkgurl=<a href="http://sunlight.pp.bcinfra.net/pkg/packages" target="_blank">http://sunlight.pp.bcinfra.net/pkg/packages</a><br>
&gt;<br>
&gt; ; A space-separated list of hostname:repository[:use_common] tuples that<br>
&gt; kojid is authorized to checkout from (no quotes).<br>
&gt; ; Wildcards (as supported by fnmatch) are allowed.<br>
&gt; ; If use_common is specified and is one of &quot;false&quot;, &quot;no&quot;, or &quot;0&quot; (without<br>
&gt; quotes), then kojid will not attempt to checkout<br>
&gt; ; a common/ dir when checking out sources from the source control system.<br>
&gt; Otherwise, it will attempt to checkout a common/<br>
&gt; ; dir, and will raise an exception if it cannot.<br>
&gt; ;allowed_scms=scm.example.com:/cvs/example git.example.org:/example<br>
&gt; svn.example.org:/users/*:no<br>
&gt;<br>
&gt; ; The mail host to use for sending email notifications<br>
&gt; smtphost=<a href="http://sunlight.pp.bcinfra.net" target="_blank">sunlight.pp.bcinfra.net</a><br>
&gt;<br>
&gt; ; The From address used when sending email notifications<br>
&gt; from_addr=Koji Build System &lt;<a href="mailto:koji@koji.bcinfra.net">koji@koji.bcinfra.net</a>&gt;<br>
&gt;<br>
&gt; ;configuration for SSL athentication<br>
&gt;<br>
&gt; ;client certificate<br>
&gt; cert = /etc/pki/koji/kojibuilder1.pem<br>
&gt;<br>
&gt; ;certificate of the CA that issued the client certificate<br>
&gt; ca = /etc/pki/koji/koji_ca_cert.crt<br>
&gt;<br>
&gt; ;certificate of the CA that issued the HTTP server certificate<br>
&gt; serverca = /etc/pki/koji/koji_ca_cert.crt<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Feb 26, 2009 at 10:32 AM, Jeffrey Ollie &lt;<a href="mailto:jeff@ocjtech.us">jeff@ocjtech.us</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On Thu, Feb 26, 2009 at 11:29 AM, Thomas Hatch &lt;<a href="mailto:thatch65@gmail.com">thatch65@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; I run &quot;koji list-hosts --channel=createrepo&quot; and get:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hostname                     Enb Rdy Load/Cap Arches           Last<br>
&gt;&gt; Update<br>
&gt;&gt;&gt; <a href="http://koji.bcinfra.net" target="_blank">koji.bcinfra.net</a>             Y   N    0.0/8.0 i386,x86_64      -<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Seems it is enabled and in the channel, but not ready?<br>
&gt;&gt; Is kojid running?  That&#39;s the service that does the actual building...<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Jeff Ollie<br>
&gt;&gt; Marcus to Franklin in Babylon 5: &quot;A Late Delivery from Avalon&quot;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Fedora-buildsys-list mailing list<br>
&gt;&gt; <a href="mailto:Fedora-buildsys-list@redhat.com">Fedora-buildsys-list@redhat.com</a><br>
&gt;&gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-buildsys-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-buildsys-list</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; --<br>
&gt; Fedora-buildsys-list mailing list<br>
&gt; <a href="mailto:Fedora-buildsys-list@redhat.com">Fedora-buildsys-list@redhat.com</a><br>
&gt; <a href="https://www.redhat.com/mailman/listinfo/fedora-buildsys-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-buildsys-list</a><br>
<br>
--<br>
Fedora-buildsys-list mailing list<br>
<a href="mailto:Fedora-buildsys-list@redhat.com">Fedora-buildsys-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-buildsys-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-buildsys-list</a><br>
</div></div></blockquote></div><br>