<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>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.</p>
    <p>There are some older bugs with rhnlib, but nothing I've found yet
      seems related to this issue.</p>
    <p><br>
    </p>
    <p>A question for you.  When you installed on RHEL 7.4, was the
      system also registered to the Redhat Server Optional channel?</p>
    <p>I'm just wondering if there are some conflicting packages between
      the Red Hat channels, EPEL, and the Spacewalk 2.7 Server channels.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/05/2018 07:23 AM, Jiří Dostál
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:45c25a5e-5678-159b-1a32-dd955d858d55@redhat.com">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <p>Eric,</p>
      <p>I've just successfully installed spacewalk-2.7 on RHEL-7.4.
        I've had a clean system and have been following instructions on
        GitHub.  <br>
      </p>
      <p>According to <br>
      </p>
      <pre wrap="">"So I believe that in order to get where I need to be......I need to
clear out the old db info somehow, and get it to rerun the installer
correctly."

</pre>
      <p>I assume you had spacewalk in different version installed
        before? <br>
      </p>
      <p>Thank you,</p>
      <p>Jiri<br>
      </p>
      <br>
      <div class="moz-cite-prefix">Dne 5.1.2018 v 11:45 Florin
        napsal(a):<br>
      </div>
      <blockquote type="cite"
        cite="mid:44859323-39ee-f8a8-4042-5f9ad4b19675@medianetork.ro">
        <p>Hi Eric,</p>
        <p>Yes, in fact I've managed to perform a clean install of 
          Spacewalk 2.7 on a RHEL 7.3 system, but.... using an external
          postgresql [ 9.4 ]   <br>
        </p>
        ...and using the existing DB from a previous 2.6 install. <br>
        <br>
        <br>
        <br>
        <div class="moz-cite-prefix">On 4.1.2018 22:01, Eric wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:da09af44-9633-abab-a7d9-8508b9a65903@enrsystems.com">
          <p>And another update.  Bug from 2013 seems to be back. 
            Followed steps in this bug report for creatlang, and install
            of db works.  <br>
          </p>
          <p>Old bug report:  <a class="moz-txt-link-freetext"
href="https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487"
              moz-do-not-send="true">https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487</a></p>
          <p><br>
          </p>
          <p>So that issue solved........moving on.  Gets all the way
            through install.....then bombs on setting up the cerificate
            store.  missing rhnlib is the error.  The rhnlib rpm is
            installed.  Still working on this one.</p>
          <p><br>
          </p>
          <p>This all begs the question........is 2.7 even remotely
            ready for RHEL 7?  I have NEVER had this many issues setting
            up Spacewalk, one bug after another.<br>
          </p>
          <br>
          <div class="moz-cite-prefix">On 01/04/2018 01:24 PM, Eric
            wrote:<br>
          </div>
          <blockquote type="cite"
            cite="mid:96dfb33f-f573-dfc5-188e-eaa221060dcc@enrsystems.com">
            <p>I 've gotten a bit further.  I figured out how to clear
              out postgres and reinitialize......but it still dies when
              I run spacewalk-setup.</p>
            <p><br>
            </p>
            <p>The last entry in the install db log now is:  <br>
            </p>
            <p><br>
            </p>
            <p class="MsoNormal">Redirecting to /bin/systemctl stop
              postgresql.service</p>
            <p class="MsoNormal">Redirecting to /bin/systemctl start
              postgresql.service</p>
            <p class="MsoNormal">^[[3;J^[[H^[[2Jcreatelang: language
              "plpgsql" is already installed in database "spaceschema"</p>
            <p class="MsoNormal">^[[3;J^[[H^[[2J</p>
            <p class="MsoNormal"><br>
            </p>
            <br>
            <div class="moz-cite-prefix">On 01/04/2018 11:25 AM, Eric
              wrote:<br>
            </div>
            <blockquote type="cite"
              cite="mid:bf2d7947-3e26-6918-89fe-1ce229d287bc@enrsystems.com">
              <pre wrap="">Following the install guid here: 
<a class="moz-txt-link-freetext" href="https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall" moz-do-not-send="true">https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall</a>


When I get to the spacewalk-setup, it ends with "can't install DB". 
When I look in the error logs, it says that the schema already exists. 
I believe I had this issue a while back, maybe 2.4 on RHEL 6.  And I
solved it by running spacewalk-setup --clear-db.


When I run spacewalk-setup --clear-db now, it errors with embedded
database not installed and then follows with a bunch of errors about the
schema user password being wrong.

The man page says that the --clear-db option implies skip the db
install.  I certainly don't recall that being the case a few years back.


So I believe that in order to get where I need to be......I need to
clear out the old db info somehow, and get it to rerun the installer
correctly.  I've been beating on this for 2 days.

I just did a RHEL 6 install a couple of weeks ago, and it went without
any issues, following the same install guide.


Anybody have any ideas on how to get this install to proceed?

_______________________________________________
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>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre 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>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre 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>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre 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>
      <pre class="moz-signature" cols="72">-- 
Jiří Dostál | Associate Software Engineer
Red Hat Satellite
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>