[Spacewalk-list] Issue installing 2.7 on RHEL 7
Jiří Dostál
jdostal at redhat.com
Fri Jan 5 14:23:27 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180105/4fa981d9/attachment.htm>
More information about the Spacewalk-list
mailing list