Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients
acewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> Im Auftrag von Jonathan Horne Gesendet: Mittwoch, 13. Februar 2019 21:48 An: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Betreff: Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients all your clients should have established traffic to the spacewalk server on port 5222. it should stay in an established state. [jhorne@dlp-log01 ~]$ netstat -tn|grep 5222 tcp0 0 10.12.59.52:38718 10.12.59.64:5222 ESTABLISHED From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> on behalf of Wachauer Harald mailto:harald.wacha...@akm.at>> Sent: Wednesday, February 13, 2019 10:17:45 AM To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Subject: [Spacewalk-list] Spacewalk 2.8 | Offline Clients Hi all, I have the problem that most of my systems (CentOS 6 & 7) are going offline after approximately one day. Only if I run rhn_check the systems come online again, but only for short time. I have tried to install osad service, the service is running but nerveless the client is going offline. Any help would be very appreciated. Best regards, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients
Hi Phil, Thanks for your reply. It looks like it was a rookie mistake. I am new at Spacewalk and I followed the instructions here to register a client. https://github.com/spacewalkproject/spacewalk/wiki/RegisteringClients Unfortunately there was no hint that you have to start the rhnsd service. So I have started the service now and configured it to start automatically. And I need no osad at the moment. Every 4 hours check in is fine for me. Thanks again, Warm regards, Harald Von: spacewalk-list-boun...@redhat.com Im Auftrag von p.cook...@bham.ac.uk Gesendet: Donnerstag, 14. Februar 2019 10:01 An: spacewalk-list@redhat.com Betreff: Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients Hi Harald Were they ok originally, and stopped working properly, or are you just trying to setup OSAD for the first time? Either way if you work through my personal notes (for OSAD), below, it may help to identify your problem. If everything has been done correctly it may be an infrastructure problem though ie un-reliable network connection or NTP? By default, the rhnsd daemon on a client system connects to the Spacewalk server every four hours (see /etc/sysconfig/rhn/rhnsd) and performs any updates or actions that have been scheduled. If you install the OSA daemon, you can apply updates and actions to client systems immediately from the Spacewalk server. osa-dispatcher Server-side service that determines when an osad client instance needs to be pinged or run rhn_check and sends a message telling them to do so. This is installed when Spacewalk is installed. Open Source Architecture Daemon (OSAD) Client-side service that responds to pings and runs rhn_check when told to by osa-dispatcher. See official documentation, at the following link, for more details: https://github.com/spacewalkproject/spacewalk/wiki/OSADSetup Install OSAD and related RHN/Spacewalk packages # yum -y install osad rhncfg rhncfg-actions rhncfg-client Spacewalk Actions Control - Enable Scheduled Actions # rhn-actions-control --enable-all Spacewalk Actions Control - Show Status # rhn-actions-control --report Start OSAD # systemctl start osad.service OR service osad start Enable OSAD # systemctl enable osad.service OR chkconfig osad on OSAD Log File /var/log/osad Hope this is of help Phil From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> On Behalf Of harald.wacha...@akm.at<mailto:harald.wacha...@akm.at> Sent: 14 February 2019 08:22 To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Subject: Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients Hi, Jonathan, Looks good: [root@vie-srv-log02 ~]# netstat -tn|grep 5222 tcp0 0 172.21.0.181:46018 172.21.0.166:5222 ESTABLISHED Nerveless the client is offline in spacewalk. Warm regards, Harald Von: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> Im Auftrag von Jonathan Horne Gesendet: Mittwoch, 13. Februar 2019 21:48 An: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Betreff: Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients all your clients should have established traffic to the spacewalk server on port 5222. it should stay in an established state. [jhorne@dlp-log01 ~]$ netstat -tn|grep 5222 tcp0 0 10.12.59.52:38718 10.12.59.64:5222 ESTABLISHED From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> on behalf of Wachauer Harald mailto:harald.wacha...@akm.at>> Sent: Wednesday, February 13, 2019 10:17:45 AM To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Subject: [Spacewalk-list] Spacewalk 2.8 | Offline Clients Hi all, I have the problem that most of my systems (CentOS 6 & 7) are going offline after approximately one day. Only if I run rhn_check the systems come online again, but only for short time. I have tried to install osad service, the service is running but nerveless the client is going offline. Any help would be very appreciated. Best regards, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients
Hi, Jonathan, Looks good: [root@vie-srv-log02 ~]# netstat -tn|grep 5222 tcp0 0 172.21.0.181:46018 172.21.0.166:5222 ESTABLISHED Nerveless the client is offline in spacewalk. Warm regards, Harald Von: spacewalk-list-boun...@redhat.com Im Auftrag von Jonathan Horne Gesendet: Mittwoch, 13. Februar 2019 21:48 An: spacewalk-list@redhat.com Betreff: Re: [Spacewalk-list] Spacewalk 2.8 | Offline Clients all your clients should have established traffic to the spacewalk server on port 5222. it should stay in an established state. [jhorne@dlp-log01 ~]$ netstat -tn|grep 5222 tcp0 0 10.12.59.52:38718 10.12.59.64:5222 ESTABLISHED From: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> on behalf of Wachauer Harald mailto:harald.wacha...@akm.at>> Sent: Wednesday, February 13, 2019 10:17:45 AM To: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Subject: [Spacewalk-list] Spacewalk 2.8 | Offline Clients Hi all, I have the problem that most of my systems (CentOS 6 & 7) are going offline after approximately one day. Only if I run rhn_check the systems come online again, but only for short time. I have tried to install osad service, the service is running but nerveless the client is going offline. Any help would be very appreciated. Best regards, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Spacewalk 2.8 | Offline Clients
Hi all, I have the problem that most of my systems (CentOS 6 & 7) are going offline after approximately one day. Only if I run rhn_check the systems come online again, but only for short time. I have tried to install osad service, the service is running but nerveless the client is going offline. Any help would be very appreciated. Best regards, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries
Graeme, that was the trick…….. Just wondering why this cannot be found in any documentation….. Thank you so much! ☺ Harald Von: spacewalk-list-boun...@redhat.com Im Auftrag von Graeme Fowler Gesendet: Mittwoch, 9. Jänner 2019 14:48 An: spacewalk-list@redhat.com Betreff: Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries I saw this recently; SELinux was preventing the application being run under Tomcat from connecting to the PostgreSQL database. Youll need the following: setsebool -P tomcat_can_network_connect_db 1 spacewalk-service restart You'll find the offending entries inside /var/log/audit/audit.log. Graeme On 09/01/2019, 13:07, "spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> on behalf of Peirce, Dean" mailto:spacewalk-list-boun...@redhat.com> on behalf of dean.pei...@cengage.com<mailto:dean.pei...@cengage.com>> wrote: Same issue here From: mailto:spacewalk-list-boun...@redhat.com>> on behalf of Wachauer Harald mailto:harald.wacha...@akm.at>> Reply-To: "spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>" mailto:spacewalk-list@redhat.com>> Date: Wednesday, January 9, 2019 at 7:03 AM To: "spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>" mailto:spacewalk-list@redhat.com>> Subject: Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries Sorry, Spacewalk 2.8 of course…… Von: spacewalk-list-boun...@redhat.com<mailto:spacewalk-list-boun...@redhat.com> mailto:spacewalk-list-boun...@redhat.com>> Im Auftrag von Wachauer Harald Gesendet: Mittwoch, 9. Jänner 2019 13:01 An: spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com> Betreff: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries Hi, I have tried to install Spacewalk 2.0 on CentOS Linux release 7.6.1810 (Core) several times. I have used this instructions: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall After the setup I will get the message: Tomcat failed to start properly or the installer ran out of tries Tomcat is running, but when I will try to open the Spacewalk page it took vey long and I will only get a black balk with the Spacewalk logo, Rest of the page is white and I am not able to do anything…. I cannot find any solution, the only things I have tried is to downgrade c3p0: Removed: c3p0.noarch 0:0.9.5-0.3.pre8.sw Installed: c3p0.noarch 0:0.9.2.1-6.el7 The second hint I found is that the FQDN of the server has to be correct. I checked and it seems to be OK….. Any help anyone.. ??? Thanks a lot, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries
Sorry, Spacewalk 2.8 of course.. Von: spacewalk-list-boun...@redhat.com Im Auftrag von Wachauer Harald Gesendet: Mittwoch, 9. Jänner 2019 13:01 An: spacewalk-list@redhat.com Betreff: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries Hi, I have tried to install Spacewalk 2.0 on CentOS Linux release 7.6.1810 (Core) several times. I have used this instructions: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall After the setup I will get the message: Tomcat failed to start properly or the installer ran out of tries Tomcat is running, but when I will try to open the Spacewalk page it took vey long and I will only get a black balk with the Spacewalk logo, Rest of the page is white and I am not able to do anything I cannot find any solution, the only things I have tried is to downgrade c3p0: Removed: c3p0.noarch 0:0.9.5-0.3.pre8.sw Installed: c3p0.noarch 0:0.9.2.1-6.el7 The second hint I found is that the FQDN of the server has to be correct. I checked and it seems to be OK. Any help anyone.. ??? Thanks a lot, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries
Hi, I have tried to install Spacewalk 2.0 on CentOS Linux release 7.6.1810 (Core) several times. I have used this instructions: https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall After the setup I will get the message: Tomcat failed to start properly or the installer ran out of tries Tomcat is running, but when I will try to open the Spacewalk page it took vey long and I will only get a black balk with the Spacewalk logo, Rest of the page is white and I am not able to do anything I cannot find any solution, the only things I have tried is to downgrade c3p0: Removed: c3p0.noarch 0:0.9.5-0.3.pre8.sw Installed: c3p0.noarch 0:0.9.2.1-6.el7 The second hint I found is that the FQDN of the server has to be correct. I checked and it seems to be OK. Any help anyone.. ??? Thanks a lot, Harald ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list