[Spacewalk-list] How to resolve Spacewalk Crash!

neeraj tiwari neeraj_tiwar at yahoo.com
Fri Sep 21 09:04:46 UTC 2018


 Thanks Waldrino and Robert, I have resolved the issue, providing the information below, how i resolved it, so that it can help someone if he/she faces the same:-
1. Checked rhn_installation logs, in which i found that while installation all the certificates and other required RPMs wer backed up in /root/ssl-build directory.2. I copied the server.crt and server.key files from /root/ssl-build to apache ssl directory.3. Restarted httpd service.
And now my spacewalk is running. 

Thanks for your support.
Regards,
Neeraj Tiwari


    On Friday, 21 September, 2018, 5:43:13 AM IST, Waldirio Manhães Pinheiro <waldirio at gmail.com> wrote:  
 
 Hello
My advice to you should be.
1. Imagining you are doing the backup via db-control
if yes,
1. Reinstall the machine using the same hostname
2. Reinstall the SW3. Execute db-control to restore the DB backup
After that, all information will be there as before.
Another option could be restore any valid snapshot from this machine *if we are talking about vm*.
______________
Best
Waldirio
Skype: waldirio
Site: www.waldirio.com.br
LinkedIn: https://www.linkedin.com/in/waldirio


On Thu, Sep 20, 2018 at 11:38 AM Robert Paschedag <robert.paschedag at web.de> wrote:

Am 20. September 2018 13:49:54 MESZ schrieb neeraj tiwari <neeraj_tiwar at yahoo.com>:
>Hi Folk's,
>I have been using spacewalk from past one year in my organization, but
>now due to a human mistake someone removed following packages from the
>spacewalk server:-
>Sep 19 15:55:04 Erased: rhn-check
>Sep 19 15:55:04 Erased: yum-rhn-plugin
>Sep 19 15:55:04 Erased: rhn-setup
>Sep 19 15:55:05 Erased: rhnsd
>Sep 19 15:55:05 Erased: spacewalk-postgresql
>Sep 19 15:55:05 Erased: spacewalk-common
>Sep 19 15:55:05 Erased: osa-dispatcher-selinux
>Sep 19 15:55:14 Erased: spacewalk-selinux
>Sep 19 15:55:19 Erased: spacewalk-schema
>Sep 19 15:55:19 Erased: spacewalk-setup
>Sep 19 15:55:19 Erased: spacewalk-backend-tools
>Sep 19 15:55:19 Erased: rhnpush
>Sep 19 15:55:19 Erased: spacewalk-backend-app
>Sep 19 15:55:19 Erased: spacewalk-backend-xmlrpc
>Sep 19 15:55:19 Erased: spacewalk-certs-tools
>Sep 19 15:55:19 Erased: rhn-client-tools
>Sep 19 15:55:19 Erased: osa-dispatcher
>Sep 19 15:55:19 Erased: spacewalk-backend-applet
>Sep 19 15:55:19 Erased: spacewalk-backend-config-files
>Sep 19 15:55:19 Erased: spacewalk-backend-config-files-tool
>Sep 19 15:55:19 Erased: spacewalk-backend-config-files-common
>Sep 19 15:55:19 Erased: spacewalk-backend-iss
>Sep 19 15:55:19 Erased: spacewalk-backend-iss-export
>Sep 19 15:55:19 Erased: spacewalk-backend-xml-export-libs
>Sep 19 15:55:19 Erased: spacewalk-backend-package-push-server
>Sep 19 15:55:19 Erased: spacewalk-backend-server
>Sep 19 15:55:19 Erased: spacewalk-backend-sql
>Sep 19 15:55:20 Erased: spacewalk-backend
>Sep 19 15:55:20 Erased: rhnlib
>Sep 19 15:55:20 Erased: rhn-org-httpd-ssl-key-pair-wa-sat-server
>Sep 19 15:55:20 Erased: rhn-org-trusted-ssl-cert
>
>
>Now I am unable to get the server certificate and httpd is not getting
>started:-
>Starting httpd: Syntax error on line 105 of /etc/httpd/conf.d/ssl.conf:
>SSLCertificateFile: file '/etc/pki/tls/certs/spacewalk.crt' does not
>exist or is empty
>                                                           [FAILED]
>

Well... It looks like your SSL cert has been deleted. You have to rebuild your SSL certificate, if you do not have a backup and... Maybe also redistribute you CA cert to your spacewalk clients.

Robert
>
>
>
>Please let me know, is there any possibility to up this same setup or i
>need to reinstall everything??
>I don't have any backups.
>Regards,Neeraj Tiwari


-- 
sent from my mobile device

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180921/5f6707c5/attachment.htm>


More information about the Spacewalk-list mailing list