[Spacewalk-list] Issue installing 2.7 on RHEL 7
Michael Mraka
michael.mraka at redhat.com
Mon Jan 15 10:47:56 UTC 2018
Eric:
> Hi, thanks for the response, it is very much appreciated!
>
> 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).
>
> That error is identical to the bug report filed in bugzilla
> https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=903487
>
> That is a very very old bug, and following the steps in this bug report
> resolved it. But why?
Hi Eric,
I have really no idea. I've checked instructions on HowToInstall and I'm able
to install Spacewalk 2.7 on RHEL 7.4 following them just fine.
> Still also stuck on the rhnlib error.
>
> 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.
>
> 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
That's fine.
> I remove that and install the rhnlib package from Redhat?
>
> Note: Forwarding request to 'systemctl enable postgresql.service'.
>
> Created symlink from
> /etc/systemd/system/multi-user.target.wants/postgresql.service to
> /usr/lib/systemd/system/postgresql.service.
>
> Hint: the preferred way to do this is now "postgresql-setup initdb"
>
> Initializing database ... OK
>
> /usr/bin/spacewalk-setup-postgresql: line 165: [: 018446744073692774399:
> integer expression expected
This is a bug in spacewalk-setup-postgresql actually but it has no effect
on successful installation.
> Redirecting to /bin/systemctl start postgresql.service
>
> ^[[3;J^[[H^[[2Jcreatelang: language "plpgsql" is already installed in
> database "spacewalkschema"
>
> ^[[3;J^[[H^[[2J
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list