[Spacewalk-list] Issue installing 2.7 on RHEL 7

Eric ericb at enrsystems.com
Fri Jan 5 19:01:20 UTC 2018


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?

I'm just wondering if there are some conflicting packages between the
Red Hat channels, EPEL, and the Spacewalk 2.7 Server channels.


On 01/05/2018 07:23 AM, Jiří Dostál wrote:
>
> Eric,
>
> 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. 
>
> According to
>
> "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 assume you had spacewalk in different version installed before?
>
> Thank you,
>
> Jiri
>
>
> Dne 5.1.2018 v 11:45 Florin napsal(a):
>>
>> Hi Eric,
>>
>> 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 ]  
>>
>> ...and using the existing DB from a previous 2.6 install.
>>
>>
>>
>> On 4.1.2018 22:01, Eric wrote:
>>>
>>> And another update.  Bug from 2013 seems to be back.  Followed steps
>>> in this bug report for creatlang, and install of db works. 
>>>
>>> Old bug report: 
>>> https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487
>>>
>>>
>>> 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.
>>>
>>>
>>> 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.
>>>
>>>
>>> On 01/04/2018 01:24 PM, Eric wrote:
>>>>
>>>> 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.
>>>>
>>>>
>>>> The last entry in the install db log now is: 
>>>>
>>>>
>>>> Redirecting to /bin/systemctl stop postgresql.service
>>>>
>>>> Redirecting to /bin/systemctl start postgresql.service
>>>>
>>>> ^[[3;J^[[H^[[2Jcreatelang: language "plpgsql" is already installed
>>>> in database "spaceschema"
>>>>
>>>> ^[[3;J^[[H^[[2J
>>>>
>>>>
>>>>
>>>> On 01/04/2018 11:25 AM, Eric wrote:
>>>>> Following the install guid here: 
>>>>> https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall
>>>>>
>>>>>
>>>>> 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
>>>>> Spacewalk-list at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> -- 
> Jiří Dostál | Associate Software Engineer
> Red Hat Satellite
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180105/2a234cd0/attachment.htm>


More information about the Spacewalk-list mailing list