Monday, July 27, 2015

Spacewalk installation problems

Spacewalk installation problems

Error:
Tomcat failed to start properly or the installer ran out of tries. Please check /var/log/tomcat*/catalina.out for errors.

Solution:

yum install geronimo-jta-1.1-api.noarch
/usr/sbin/spacewalk-service restart
 
Error:
** Verifying certificate locally.
There was a problem validating the satellite certificate: 1 
 

The most current Red Hat Proxy Server installation process against RHN hosted
requires the upload of an SSL tar archive that contains the CA SSL public
certificate and the web server's key set.

Generating the web server's SSL key set and CA SSL public certificate archive:
    /root/ssl-build/test1.localdomain/rhn-org-httpd-ssl-archive-test1.localdomain-1.0-1.tar

Deploy the server's SSL key pair/set RPM:
    (NOTE: the Red Hat Satellite or Proxy installers may do this step for you.)
    The "noarch" RPM needs to be deployed to the machine working as a
    web server, or Red Hat Satellite, or Red Hat Proxy.
    Presumably 'test1.localdomain'.
Preparing packages for installation...
       
 file /etc/httpd/conf/ssl.crt/server.crt from install of rhn-org-httpd-ssl-key-pair-test1.localdomain-1.0-1.noarch conflicts 
with file from package rhn-org-httpd-ssl-key-pair-localhost.localdomain-1.0-1.noarch
       
 file  /etc/httpd/conf/ssl.csr/server.csr from install of 
rhn-org-httpd-ssl-key-pair-test1.localdomain-1.0-1.noarch conflicts 
with file from package rhn-org-httpd-ssl-key-pair-localhost.localdomain-1.0-1.noarch
       
 file /etc/httpd/conf/ssl.key/server.key from install of 
rhn-org-httpd-ssl-key-pair-test1.localdomain-1.0-1.noarch conflicts 
with file from package rhn-org-httpd-ssl-key-pair-localhost.localdomain-1.0-1.noarch
       
 file /etc/pki/spacewalk/jabberd/server.pem from install of 
rhn-org-httpd-ssl-key-pair-test1.localdomain-1.0-1.noarch conflicts 
with file from package rhn-org-httpd-ssl-key-pair-localhost.localdomain-1.0-1.noarch
Could not install /root/ssl-build/test1.localdomain/rhn-org-httpd-ssl-key-pair-test1.localdomain-1.0-1.noarch.rpm
 at /usr/bin/rhn-install-ssl-cert.pl line 69. 
 
 
Solution:
yum install  spacewalk-utils
*add HOSTNAME to /etc/sysconfig/networkspacewalk-hostname-rename [IP ADDRESS]
it will regenerate new SSL certificates. 
 
*recreate CA certificate on Spacewalk server 
 
 /usr/bin/rhn-ssl-tool --gen-ca --set-country="US" --set-state="NY" --set-city="Golden" --set-org="mypublisher" --set-org-unit="spacewalk.server.com" --set-common-name="spacewalk.server.com" --set-email="webmaster@server.com" --force   

  
  

No comments:

Post a Comment

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status