Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. #rm -f /etc/yum.repos.d/spacewalk.repo
  2. rpm -Uvh http://yum.spacewalkproject.org/2.5/RHEL/6/x86_64/spacewalk-repo-2.5-3.el6.noarch.rpm
  3. yum install yum-versionlock
  4.  
  5. yum upgrade # nothing to upgrade
  6. yum install rpmconf
  7.  
  8. rpmconf -a
  9. #spacewalk.repo -> y
  10. #sudoers -> y
  11. #sysctl.conf -> y
  12. #ssl.conf -> y
  13. #tomcat6 -> y
  14. #tomcat6.conf -> y
  15. #web.xml -> y
  16. #ntp.conf -> y
  17. #yum.conf -> y
  18. #sshd_config -> y
  19.  
  20. /usr/sbin/spacewalk-service stop
  21. #failed to stop: osa-dispatcher, sm, c2s
  22.  
  23. yum install -y postgresql-pltcl
  24. su - postgres -c "PGPASSWORD=spacepw; createlang pltclu $(spacewalk-cfg-get db_name) ;"
  25. /usr/bin/spacewalk-schema-upgrade
  26.  
  27. # spacewalk-setup --upgrade
  28. ** Database: Setting up database connection for PostgreSQL backend.
  29. ** Database: Embedded database installation SKIPPED.
  30. Hostname (leave empty for local)?
  31. Database? spaceschema
  32. Username? spaceuser
  33. Password?
  34. ** Database: Populating database.
  35. ** Database: Skipping database population.
  36. * Setting up users and groups.
  37. ** GPG: Initializing GPG and importing key.
  38. * Performing initial configuration.
  39. * Activating Spacewalk.
  40. ** Certificate not activated.
  41. ** Upgrade process requires the certificate to be activated after the schema is upgraded.
  42. * Enabling Monitoring.
  43. Use of uninitialized value in subroutine entry at /usr/share/perl5/vendor_perl/Spacewalk/Setup.pm line 1802.
  44. Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at /usr/share/perl5/vendor_perl/Spacewalk/Setup.pm line 1802.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement