<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    It's the same issue reported on message
<a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/spacewalk-list/2017-December/msg00080.html">https://www.redhat.com/archives/spacewalk-list/2017-December/msg00080.html</a>.<br>
    <br>
    I've checked what Michael said:<br>
    <i><br>
    </i><i>"It looks like an issue in db schema. Can you verify that
      your schema</i><i><br>
    </i><i>package is not modified (rpm -V spacewalk-schema) and your
      schema is</i><i><br>
    </i><i>up-to-date (spacewalk-schema-upgrade).</i><i><br>
    </i><i><br>
    </i><i>Maybe even check if other spacewalk packages has not been
      changed</i><i><br>
    </i><i>(rpm -V ...)."<br>
      <br>
      <br>
    </i><b>Output</b><br>
    <font class="" face="Roboto">Schema upgrade:
      [spacewalk-schema-2.7.28-1.el7] ->
      [spacewalk-schema-2.7.28-1.el7]<br class="">
      Your database schema already matches the schema package version
      [spacewalk-schema-2.7.28-1.el7].</font><br>
    <br>
    Any help?<br>
    Gonçalo<br>
    <div class="moz-signature">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <br>
    </div>
    <div class="moz-cite-prefix">On 10-01-2018 18:26, Wolfgang Stahl
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4B102642-D55E-46AE-8E5F-298A3FA2E06C@hamburg.de">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Ah, sorry I haven’t read the whole mail. I had the same error on
      the installation on CentOS 7.4.
      <div class=""><br class="">
      </div>
      <div class="">So I’m not sure if it’s the same error…</div>
      <div class=""><br class="">
      </div>
      <div class="">Best Regards,</div>
      <div class="">Wolfgang</div>
      <div class=""><br class="">
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">Am 10.01.2018 um 18:22 schrieb Gonçalo Miguel
              <<a href="mailto:gmiguel@neosbybold.com" class=""
                moz-do-not-send="true">gmiguel@neosbybold.com</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="Content-Type" content="text/html;
                charset=utf-8" class="">
              <div text="#000000" bgcolor="#FFFFFF" class=""> Hi
                Wolfgang<br class="">
                <br class="">
                I'm not understanding the relation between the issues.<br
                  class="">
                <br class="">
                <font class="" face="Roboto">Syncing process only fails
                  for EPEL repo and postgreSQL database was successfully
                  installed. <br class="">
                </font>
                <div class="moz-signature">
                  <meta http-equiv="content-type" content="text/html;
                    charset=utf-8" class="">
                  <br class="">
                  Gonçalo<br class="">
                  <br class="">
                </div>
                <div class="moz-cite-prefix">On 10-01-2018 16:41,
                  Wolfgang Stahl wrote:<br class="">
                </div>
                <blockquote type="cite"
                  cite="mid:70182011-86C6-4176-82A6-EDAF8873604F@hamburg.de"
                  class="">
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=utf-8" class="">
                  Hi Goncalo,
                  <div class=""><br class="">
                  </div>
                  <div class="">had the same problem. These
                    instructions <a
                      href="https://bugzilla.redhat.com/show_bug.cgi?id=1524221"
                      class="" moz-do-not-send="true">https://bugzilla.redhat.com/show_bug.cgi?id=1524221</a> were
                    helpful for me.</div>
                  <div class="">As mentioned there I have installed <span
                      style="font-variant-ligatures:
                      no-common-ligatures;" class="">spacewalk-admin</span><span
                      style="font-variant-ligatures:
                      no-common-ligatures;" class="">-2.8.3-1.el7.centos.noarch
                      and it works fine.</span></div>
                  <div class=""><font class="" face="Menlo"><span
                        style="font-size: 11px; background-color:
                        rgb(255, 255, 255);" class=""><br class="">
                      </span></font></div>
                  <div class="">Wolfgang</div>
                  <div class=""><font class="" face="Menlo"><span
                        style="font-size: 11px; background-color:
                        rgb(255, 255, 255);" class=""><br class="">
                      </span></font>
                    <div class=""><br class="">
                      <blockquote type="cite" class="">
                        <div class="">Am 10.01.2018 um 17:15 schrieb
                          Gonçalo Miguel <<a
                            href="mailto:gmiguel@neosbybold.com"
                            class="" moz-do-not-send="true">gmiguel@neosbybold.com</a>>:</div>
                        <br class="Apple-interchange-newline">
                        <div class="">
                          <meta http-equiv="content-type"
                            content="text/html; charset=utf-8" class="">
                          <div text="#000000" bgcolor="#FFFFFF" class="">
                            <font class="" face="Roboto">Hi all,<br
                                class="">
                              <br class="">
                              Same issue here syncing EPEL repo on
                              spacewalk 2.7.<br class="">
                              <br class="">
                              <i class="">Importing packages:    
                                |##################################################|
                                100.0% </i><i class=""><br class="">
                              </i><i class="">16:04:54 Linking packages
                                to channel.</i><i class=""><br class="">
                              </i><i class="">Traceback (most recent
                                call last):</i><i class=""><br class="">
                              </i><i class="">  File
                                "/usr/bin/spacewalk-repo-sync", line
                                257, in <module></i><i class=""><br
                                  class="">
                              </i><i class="">    sys.exit(abs(main() or
                                0))</i><i class=""><br class="">
                              </i><i class="">  File
                                "/usr/bin/spacewalk-repo-sync", line
                                240, in main</i><i class=""><br class="">
                              </i><i class="">    elapsed_time,
                                channel_ret_code = sync.sync()</i><i
                                class=""><br class="">
                              </i><i class="">  File
"/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py",
                                line 475, in sync</i><i class=""><br
                                  class="">
                              </i><i class="">    ret =
                                self.import_packages(plugin, repo_id,
                                url)</i><i class=""><br class="">
                              </i><i class="">  File
"/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py",
                                line 1038, in import_packages</i><i
                                class=""><br class="">
                              </i><i class="">    importer.run()</i><i
                                class=""><br class="">
                              </i><i class="">  File
"/usr/lib/python2.7/site-packages/spacewalk/server/importlib/importLib.py",
                                line 664, in run</i><i class=""><br
                                  class="">
                              </i><i class="">    self.fix()</i><i
                                class=""><br class="">
                              </i><i class="">  File
"/usr/lib/python2.7/site-packages/spacewalk/server/importlib/packageImport.py",
                                line 76, in fix</i><i class=""><br
                                  class="">
                              </i><i class="">   
                                self.backend.lookupChecksums(self.checksums)</i><i
                                class=""><br class="">
                              </i><i class="">  File
"/usr/lib/python2.7/site-packages/spacewalk/server/importlib/backendOracle.py",
                                line 686, in lookupChecksums</i><i
                                class=""><br class="">
                              </i><i class="">    raise e</i><i class=""><br
                                  class="">
                              </i><i class="">spacewalk.server.rhnSQL.sql_base.SQLSchemaError:
                                (99999, 'ERROR:  LOCK TABLE can only be
                                used in transaction blocks', '',
                                InternalError('LOCK TABLE can only be
                                used in transaction blocks\n',))</i><i
                                class=""><br class="">
                              </i><i class=""><br class="">
                              </i><br class="">
                              Schema upgrade:
                              [spacewalk-schema-2.7.28-1.el7] ->
                              [spacewalk-schema-2.7.28-1.el7]<br
                                class="">
                              Your database schema already matches the
                              schema package version
                              [spacewalk-schema-2.7.28-1.el7].<br
                                class="">
                              <br class="">
                              Any idea?<br class="">
                            </font><br class="">
                            Gonçalo<br class="">
                          </div>
_______________________________________________<br class="">
                          Spacewalk-list mailing list<br class="">
                          <a href="mailto:Spacewalk-list@redhat.com"
                            class="" moz-do-not-send="true">Spacewalk-list@redhat.com</a><br
                            class="">
                          <a class="moz-txt-link-freetext"
                            href="https://www.redhat.com/mailman/listinfo/spacewalk-list"
                            moz-do-not-send="true">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
                      </blockquote>
                    </div>
                    <br class="">
                  </div>
                  <br class="">
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br class="">
                  <pre class="" wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com" moz-do-not-send="true">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" moz-do-not-send="true">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
                </blockquote>
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>