<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi, thanks for the response, it is very much appreciated!<br>
    </p>
    <p><br>
    </p>
    <p>I started over completely, built fresh RHEL 7. 4  Followed
      directions exactly, zero deviation from published wiki,
      installation failed (install db log output at bottom).</p>
    <p>That error is identical to the bug report filed in bugzilla <a
        class="moz-txt-link-freetext"
href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487">https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487</a></p>
    <p>That is a very very old bug, and following the steps in this bug
      report resolved it.  But why?  <br>
    </p>
    <p><br>
    </p>
    <p>Still also stuck on the rhnlib error.  <br>
    </p>
    I've built it out now 3 times on RHEL 7.4 on fresh installs.  Same
    errors.  I do not understand how others have built on RHEL 7 and not
    seen the createlang bug?  The error message, and resolution, are
    nearly the same as the bug report for Spacewalk <1.9 -- I
    commented out the createlang piece since plpgsql is already
    there..so it doesn't fail.<br>
    <br>
    As far as rhnlib.....my system pulled in the rhnlib package in the
    spacewalk27 repo as a dependency.  Should that not be the case? 
    Should I remove that and install the rhnlib package from Redhat?  <br>
    <br>
    <br>
    <br>
    <br>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">Note: Forwarding request
      to 'systemctl enable postgresql.service'.</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">Created symlink from
      /etc/systemd/system/multi-<wbr>user.target.wants/postgresql.<wbr>service
      to /usr/lib/systemd/system/<wbr>postgresql.service.</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">Hint: the preferred way
      to do this is now "postgresql-setup initdb"</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">Initializing database
      ... OK</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;"> </p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">/usr/bin/spacewalk-setup-<wbr>postgresql:
      line 165: [: 018446744073692774399: integer expression expected</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">Redirecting to
      /bin/systemctl start postgresql.service</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">^[[3;J^[[H^[[2Jcreatelang:
      language "plpgsql" is already installed in database
      "spacewalkschema"</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">^[[3;J^[[H^[[2J</p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;"><br>
    </p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;"><br>
    </p>
    <p class="MsoNormal" style="margin: 0px; color: rgb(34, 34, 34);
      font-family: arial, sans-serif; font-size: 12.8px; font-style:
      normal; font-variant-ligatures: normal; font-variant-caps: normal;
      font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
      start; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
      0px; background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;"> </p>
    <br>
    <div class="moz-cite-prefix">On 01/08/2018 03:19 AM, Michael Mraka
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20180108101933.GE3823@magni.brq.redhat.com">
      <pre wrap="">Eric:
</pre>
      <blockquote type="cite">
        <pre wrap="">No, it started out as a clean install.  But once it failed the first
time, the db existed.  Anyway, I found and worked around the bug that
caused the initial failure, and the install now get's all the way
through to the certificate creation, where it fails with an error about
not finding rhnlib.  There are two rhnlib packages, one from Redhat and
one from Spacewalk.  The Spacewalk rhnlib is the one installed.

There are some older bugs with rhnlib, but nothing I've found yet seems
related to this issue.

A question for you.  When you installed on RHEL 7.4, was the system also
registered to the Redhat Server Optional channel?
</pre>
      </blockquote>
      <pre wrap="">
Hello Eric,

We automatically test clean installation as described on
<a class="moz-txt-link-freetext" href="https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall">https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall</a>.
Which says make sure you are subscribed to the Red Hat
Optional Server channel.

Rhnlib is a default package in RHEL installation so you've most likely used
some minimal / cloud / custom installation image which also may miss some
other default packages. If the version from RHEL satisfies yum install
transaction it should work.

</pre>
      <blockquote type="cite">
        <pre wrap="">I'm just wondering if there are some conflicting packages between the
Red Hat channels, EPEL, and the Spacewalk 2.7 Server channels.
</pre>
      </blockquote>
      <pre wrap="">
No, at least not within the set of necessary channels described in
HowToInstall.

Regards,

--
Michael Mráka
System Management Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
    </blockquote>
    <br>
  </body>
</html>