Bug 1526004
Summary: | Spacewalk install fails when running spacewalk-setup | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | ihavethisundercontrol |
Component: | Server | Assignee: | Tomáš Kašpárek <tkasparek> |
Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.7 | CC: | ihavethisundercontrol |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-01-05 11:55:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1564160 |
Description
ihavethisundercontrol
2017-12-14 15:16:16 UTC
Hello, could you please provide contents of /var/log/rhn/install_db.log na /var/log/rhn/rhn_installation.log? Thank you Tomas (In reply to Tomáš Kašpárek from comment #1) > Hello, > > could you please provide contents of /var/log/rhn/install_db.log na > /var/log/rhn/rhn_installation.log? > > Thank you > Tomas [root@misc rhn]# cat install_db.log Note: Forwarding request to 'systemctl enable postgresql.service'. /usr/bin/spacewalk-setup-postgresql: line 165: [: 018446744073692774399: integer expression expected Redirecting to /bin/systemctl stop postgresql.service Redirecting to /bin/systemctl start postgresql.service createdb: database creation failed: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) HINT: Use the same encoding as in the template database, or use template0 as template. [root@misc rhn]# cat rhn_installation.log Installation log of Spacewalk Command: /bin/spacewalk-setup Running /usr/sbin/spacewalk-selinux-enable /sbin/restorecon reset /var/log/rhn/rhn_installation.log.1 context unconfined_u:object_r:spacewalk_install_log_t:s0->unconfined_u:object_r:spacewalk_log_t:s0 /sbin/restorecon reset /var/log/rhn/install_db.log.1 context unconfined_u:object_r:spacewalk_install_log_t:s0->unconfined_u:object_r:spacewalk_log_t:s0 Running /usr/sbin/osa-dispatcher-selinux-enable [root@misc rhn]# thanks, Mark Hello, https://bugzilla.redhat.com/show_bug.cgi?id=643368 This bug is the same problem I was having. The workaround to my problem was to run the command: postgresql-setup initdb before installing spacewalk-postgresql Running spacewalk-setup now works Thanks (In reply to ihavethisundercontrol from comment #3) > Hello, > > https://bugzilla.redhat.com/show_bug.cgi?id=643368 > > This bug is the same problem I was having. > > The workaround to my problem was to run the command: > > > > > postgresql-setup initdb > > > before installing spacewalk-postgresql > > Running spacewalk-setup now works > > Thanks Sorry, ment this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1524221 *** This bug has been marked as a duplicate of bug 1524221 *** |