Re: [Spacewalk-list] Configuring Proxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 OK , in that case it seems I have misunderstood the concept to the Spacwalk proxy . What i understood is that the proxy function in the same way as a regular proxy , storing errata and packages for the use of the clients , and then if required they access the proxy instead of all clients establishing a connection to the outside source. (similar to the way one can run a proxy in front of a webserver on a single machine ) ,So the server is functioning as both the checker and the storage container . Is spacewalk proxy acting in another way ? why must it be a separate machine ? , Storage ? Bandwidth ? what is the restriction /application that requires the proxy and the server to be on two autonomous boxes ? Assaf On 19 Apr 2011, at 09:58, Michael Mraka wrote: Assaf Flatto wrote: % -BEGIN PGP SIGNED MESSAGE- % Hash: SHA256 % % Yes % % i want ti to run on the same box as the spacewalk server . Do you really want to install Spacewalk Proxy on the same machine where Spacewalk Server is already installed? That is not possible; it doesn't even make a sense. % I have installed the client repo , but when i try to install the proxy packages i get his issue : % % -- Processing Conflict: spacewalk-proxy-broker-1.3.11-1.el6.noarch conflicts rhns-satellite-tools % -- Finished Dependency Resolution % Error: spacewalk-proxy-broker conflicts with spacewalk-backend-tools % You could try using --skip-broken to work around the problem % % and your proxy box is a RHEL6 yes ?? Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: iso-8859-1 wsBVAwUBTa1SUGK6JZrjLX7GAQhl0gf+M4U0foVCfW8s7aAMGHKxzIiq9A64Vx5f VTGnzpz8V3j18RqmOklUKi/UkleBmMFk9ILlHTx1K8oR7t+7Dai4HnhkVChumyNN 1h1HiRi5FJt0AK2BIW6sJA3P02KogqvPyDknm6GNyeqYrRy3HCeFIkm51KZOT+5i /qJDNxOe/dAdNAmFibfxBMyS3mh2HJ9rCMi2U7SGJKM/tVGTIXDTGVg530O5fa3V 77mbVvjLDypKdNfnwolhMKqeH2u+LPaMJWaF5qEbzTIidGmP0tw3QC0t3J9y7hv5 7divV6EN5hOGMpJFyG/JoFmvyfROsGf9k2W2Jc+1IlBdAliBfPT8Xw== =umP3 -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] registering on the same host
I managed to solve the issue . For some reason the /etc/rhn/rhn.conf file is starting with 600 permissions and hence the httpd process can not access and read the file . once chmod 644 to the file is done , the registration works. On 18 Apr 2011, at 15:26, Assaf Flatto wrote: * PGP Signed: 18/04/2011 at 15:26:12 Hello I've reinstalled my server on an RHEL6 platform and since i want the server to be the proxy to the RH network , i wished to register the host as a client on the server ( same host) This is the error I got : rhnreg_ks --serverUrl=https://host.foo.com/XMLRPC --activationkey=1-18ec022c1a02a7bccd8594c57013ff5b --force An error has occurred: class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError' See /var/log/up2date for more information [root@host ~]# less /var/log/up2date [root@host ~]# tail -20 /var/log/up2date File /usr/share/rhn/up2date_client/rhnserver.py, line 64, in __call__ raise up2dateErrors.SSLCertificateVerifyFailedError() class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError': The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification. [Mon Apr 18 14:11:04 2011] up2date Traceback (most recent call last): File /usr/sbin/rhnreg_ks, line 213, in module cli.run() File /usr/share/rhn/up2date_client/rhncli.py, line 74, in run sys.exit(self.main() or 0) File /usr/sbin/rhnreg_ks, line 90, in main rhnreg.getCaps() File /usr/share/rhn/up2date_client/rhnreg.py, line 231, in getCaps s.capabilities.validate() File /usr/share/rhn/up2date_client/rhnserver.py, line 156, in __get_capabilities self.registration.welcome_message() File /usr/share/rhn/up2date_client/rhnserver.py, line 64, in __call__ raise up2dateErrors.SSLCertificateVerifyFailedError() class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError': The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification. It seems this was a known issue in older versions that was resolved with a rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm , but I was unable to find any place to download this rpm . when I tried to find out what provides the SSL certification , i got this result yum provides /usr/share/rhn/RHNS-CA-CERT Loaded plugins: refresh-packagekit, rhnplugin rhn-client-tools-1.0.0-38.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: InstallMedia Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.0.0-39.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: rhel-x86_64-server-6 Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: spacewalk Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.3.12-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: spacewalk-client Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: installed Matched from: Other : Provides-match: /usr/share/rhn/RHNS-CA-CERT I am not sure which of those is the correct one to use , so I have no idea how to proceed from this point . Any one can help ? Thanks Assaf * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6 * PGP Unprotected * text/plain body * PGP Unprotected ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list * PGP Signed: 18/04/2011 at 15:26:12 * text/plain body * text/html body * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6 PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] using satellite-sync on spacewalk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello I am trying to use a spacewalk server ( 1.4 RC with postgresql DB on RHEL 6) to sync with my RHN account and become a satellite node that i can connect my clients . when i try to use the satellite sync it fails to connect ? where can i configure it to connect to the rhn network , and sync ? Also is this a proper way to use spacewalk ? I need a server to be the main configuration managment server fo all the rh servers and be able to help me run the in house script deployment and execution ? Thanks [root@foo ~]# satellite-sync -p CA_CHAIN = /usr/share/rhn/RHNS-CA-CERT DEFAULT_DB = spaceuser/spacepw@dbname=spaceschema HTTP_PROXY = foo.example.com HTTP_PROXY_PASSWORD = example HTTP_PROXY_USERNAME = PAPA ISS_CA_CHAIN = /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT ISS_PARENT = RHN_PARENT = TRACEBACK_MAIL = spacew...@example.com snip jabber_server= foo.example.com snip satellite-sync -l 15:12:25 Red Hat Network Satellite - live synchronization 15:12:25url: https:// 15:12:25debug/output level: 1 15:12:25 15:12:25 ERROR: there was a problem synchronizing the information. Error message: -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTa2naGK6JZrjLX7GAQhK1wf/QBCkF6YcEcRruydd/OCcaFDN+wwleLJg O2xSqe8xhNXW8QODp8v8CQ4BoOuVLbTIhgWI3aVh8ZkkjI9iaBf23U6O+WwSB8OI SKB4/yUf5N0wjcVZHhFRTg8wFZ5D0+pBjyH5dCSBjiY9FHvaygikM6KiotrTSP8P M/NR1TnEEs37y+a2bzyrpiuG/3zwVesFhIa1Gob/xM3Wj5Ae8epviCcxIEhB5YUO UHV7PQSs2i3XWLad6+7zC7DCS7poCAirsCYk4bmM/krd+SdSOu2pRqTMgp1L6/FU Pj8AzI95gwG0VR38uX3qDNhNgaQMPPAyTaSnxpWOruDC8b/0V/76yw== =4Kk4 -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Newbie question: SpaceWalk RHEL4/5 and RHN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 But can I run Spacewalk on a RH server with an RHN subscription , or do I have to run Satellite ? I prefer to use Spacewalk as i do not wish to work with the Oracle DB , but use the Postgressql Backend . On 18 Apr 2011, at 07:45, Miroslav Suchy wrote: Dne 15.4.2011 20:45, Musayev, Ilya napsal(a): Hi All, Apology if this a repeat of what may have been asked, I’m spacewalk newbie and would like to know if we can use spacewalk with redhat hosts and RHN. No, you can not. My understanding from speaking to redhat folks is that spacewalk is for fedora and centos distros. While centos is a replica of rhel, I wonder why cant rhel be used. Also, can I directly subscribe to RHN via spacewalk or do I need to download and import channels by some other means. We make it as advantage of RHN Satellite. If you want to use Spacewalk with RHN, you can download packages and then upload it to Spacewalk manually (or search archives as some people write scripts for that). But if you want to use satellite-sync you can do that only with license of RHN Satellite. Miroslav Suchy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: windows-1252 wsBVAwUBTawRhWK6JZrjLX7GAQhh1Af/dtqkh+JJTI7MBrnY1R9rWNtyy9Qn4bfS q+2BScEBH4Nu5FMCupSFWdzVKBhHzVKot+ttUT+PcRrrcIHrH3cMuwKX7jd8T5bO xGOTGoEtgMHtIQ1H2JchkZpJL64en+hfSR4jG8c6A0agfqyMZBkAHbUbJiPN2LmW hJcN5QGoIwrLl5eJdFodqkjkbtFVzewyFHYSI9Ow/H5Ng480uahMaFPLHS/RpFqb YCD3OWGeL98OEh/jWUzLEZUV9rRvyiMfGLhmFm0lS7bzjB0BIR/8JwNU1SKqih7Q cqUZWzDoIQlqTB+WkBrTlsCg6mVsWbXJb9Jtm5SGOIMUsD6wsKny8Q== =e1fx -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Newbie question: SpaceWalk RHEL4/5 and RHN
The Oracle way is not an option , as I was told from my boss . and for the number are looking at approx 50 servers for the initial step. On 18 Apr 2011, at 12:02, Kobus Bensch wrote: IMHO the postgre support is very limited with Spacewalk and non-existent with Satellite. I have opted for the Oracle db backend and found it to be a lot more stable. Also from experience, i hard ever had to do anything with the db once it is all up and running. Besides, how many hosts do you want to manage? On 18/04/11 11:25, Assaf Flatto wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 But can I run Spacewalk on a RH server with an RHN subscription , or do I have to run Satellite ? I prefer to use Spacewalk as i do not wish to work with the Oracle DB , but use the Postgressql Backend . On 18 Apr 2011, at 07:45, Miroslav Suchy wrote: Dne 15.4.2011 20:45, Musayev, Ilya napsal(a): Hi All, Apology if this a repeat of what may have been asked, I’m spacewalk newbie and would like to know if we can use spacewalk with redhat hosts and RHN. No, you can not. My understanding from speaking to redhat folks is that spacewalk is for fedora and centos distros. While centos is a replica of rhel, I wonder why cant rhel be used. Also, can I directly subscribe to RHN via spacewalk or do I need to download and import channels by some other means. We make it as advantage of RHN Satellite. If you want to use Spacewalk with RHN, you can download packages and then upload it to Spacewalk manually (or search archives as some people write scripts for that). But if you want to use satellite-sync you can do that only with license of RHN Satellite. Miroslav Suchy ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: windows-1252 wsBVAwUBTawRhWK6JZrjLX7GAQhh1Af/dtqkh+JJTI7MBrnY1R9rWNtyy9Qn4bfS q+2BScEBH4Nu5FMCupSFWdzVKBhHzVKot+ttUT+PcRrrcIHrH3cMuwKX7jd8T5bO xGOTGoEtgMHtIQ1H2JchkZpJL64en+hfSR4jG8c6A0agfqyMZBkAHbUbJiPN2LmW hJcN5QGoIwrLl5eJdFodqkjkbtFVzewyFHYSI9Ow/H5Ng480uahMaFPLHS/RpFqb YCD3OWGeL98OEh/jWUzLEZUV9rRvyiMfGLhmFm0lS7bzjB0BIR/8JwNU1SKqih7Q cqUZWzDoIQlqTB+WkBrTlsCg6mVsWbXJb9Jtm5SGOIMUsD6wsKny8Q== =e1fx -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -- Kobus Bensch Linux Administrator kobus.ben...@lovefilm.com No.9 | 6 Portal Way | London | W3 6RU | T: +44 (0)20 8896 8014 | F: +44 (0)20 8896 8111 lfi.gif LOVEFiLM UK Limited is a company registered in England and Wales. Registered Number: 06528297. Registered Office: No.9, 6 Portal Way, London W3 6RU, United Kingdom. This e-mail is confidential to the ordinary user of the e-mail address to which it was addressed. If you have received it in error, please delete it from your system and notify the sender immediately. This email message has been delivered safely and archived online by Mimecast. For more information please visit http://www.mimecast.co.uk ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Configuring Proxy
I have installed the client repo , but when i try to install the proxy packages i get his issue : -- Processing Conflict: spacewalk-proxy-broker-1.3.11-1.el6.noarch conflicts rhns-satellite-tools -- Finished Dependency Resolution Error: spacewalk-proxy-broker conflicts with spacewalk-backend-tools You could try using --skip-broken to work around the problem On 15 Apr 2011, at 18:30, Wojtak, Greg wrote: Yes, on the server. IIRC, I had to set up the spacewalk-client-repo AND the spacewalk-repo, register the proxy server as a client (with provisioning entitlement), then I was able to successfully configure my proxy. I'm still not able to get OSA working properly through the proxy, though. On 2011-04-15 10:50 AM, Assaf Flatto assaf.fla...@goldmoney.com wrote: this is my server not a client. And it is running on Centos so it is not registered in the RHN. On 15 Apr 2011, at 15:14, Wojtak, Greg wrote: This confused me as well. I think the procedure is to install the spacewalk-clent-repo rpm and associated tools and then register it to spacewalk with a Provisioning entitlement as you would any normal client. On 2011-04-15 6:00 AM, Assaf Flatto assaf.fla...@goldmoney.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Also to add to my confusion when i try to run the script I am getting an error ./configure-proxy.sh ERROR: RHN Proxy does not appear to be registered When looking at the RHN channels i do not see a proxy channel , but other wise the server is registered and listed on the RHN. Thanks Assaf On 15 Apr 2011, at 10:36, Assaf Flatto wrote: Old Signed: 15/04/2011 at 10:36:09 Hello I read the wiki about the proxy and also the RHN pdf about the proxy , but still have some points that are not clear to me , so I was wondering if anyone can provide me with better clarification : As far as I understand it , when setting a Spacewalk server as a proxy iit will cache the rpm's and errata's and the clients will you LAN to retrieve the updates ,that the server acquired via it's subscription to channels on the RHN network . But if the server is RH6 and some of my clients are RH5 , how can i associate the channels for those to the server ? Also , where do I need to define when setting the proxy the server that that proxy is querying or is done in the background and he is using it's already defined RHN channels ? Thanks Assaf * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6(L) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTagXNGK6JZrjLX7GAQj5ugf/XqzSbOlDPjBuWmhk3nAymoiREfC1gzo7 BoS5gHoEmSKFlmrJIJqzrK97fOReULhXE1Pe89dPqJyRqHVUjB9iL3cAUi2bWTmm sc1/fVUHXgu7GyPVDiFHoA1m62uZDs3Tn8WcsyYhXX2m+S9w1R9tYgJhm9tonBV7 TTc/5cCNSksrURLmkrYasEmukTNiRQpWd73390vV/QYmVU07QTF7z8phW6sjhUji XSmhcVbodq4KMuqGhI4iV9WsFSUVfQ3e/mbXJTO7CFuyaew1PhTmxYDVaRCKbfpP ovRSSvliUlD39k8xy9A/09UIGVidbSeMvdQXsSUCHwp38t3vWFgIKg== =oE8g -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] registering on the same host
Hello I've reinstalled my server on an RHEL6 platform and since i want the server to be the proxy to the RH network , i wished to register the host as a client on the server ( same host) This is the error I got : rhnreg_ks --serverUrl=https://host.foo.com/XMLRPC --activationkey=1-18ec022c1a02a7bccd8594c57013ff5b --force An error has occurred: class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError' See /var/log/up2date for more information [root@host ~]# less /var/log/up2date [root@host ~]# tail -20 /var/log/up2date File /usr/share/rhn/up2date_client/rhnserver.py, line 64, in __call__ raise up2dateErrors.SSLCertificateVerifyFailedError() class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError': The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification. [Mon Apr 18 14:11:04 2011] up2date Traceback (most recent call last): File /usr/sbin/rhnreg_ks, line 213, in module cli.run() File /usr/share/rhn/up2date_client/rhncli.py, line 74, in run sys.exit(self.main() or 0) File /usr/sbin/rhnreg_ks, line 90, in main rhnreg.getCaps() File /usr/share/rhn/up2date_client/rhnreg.py, line 231, in getCaps s.capabilities.validate() File /usr/share/rhn/up2date_client/rhnserver.py, line 156, in __get_capabilities self.registration.welcome_message() File /usr/share/rhn/up2date_client/rhnserver.py, line 64, in __call__ raise up2dateErrors.SSLCertificateVerifyFailedError() class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError': The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification. It seems this was a known issue in older versions that was resolved with a rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm , but I was unable to find any place to download this rpm . when I tried to find out what provides the SSL certification , i got this result yum provides /usr/share/rhn/RHNS-CA-CERT Loaded plugins: refresh-packagekit, rhnplugin rhn-client-tools-1.0.0-38.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: InstallMedia Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.0.0-39.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: rhel-x86_64-server-6 Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: spacewalk Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.3.12-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: spacewalk-client Matched from: Filename: /usr/share/rhn/RHNS-CA-CERT rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk Repo: installed Matched from: Other : Provides-match: /usr/share/rhn/RHNS-CA-CERT I am not sure which of those is the correct one to use , so I have no idea how to proceed from this point . Any one can help ? Thanks Assaf PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Configuring Proxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello I read the wiki about the proxy and also the RHN pdf about the proxy , but still have some points that are not clear to me , so I was wondering if anyone can provide me with better clarification : As far as I understand it , when setting a Spacewalk server as a proxy iit will cache the rpm's and errata's and the clients will you LAN to retrieve the updates ,that the server acquired via it's subscription to channels on the RHN network . But if the server is RH6 and some of my clients are RH5 , how can i associate the channels for those to the server ? Also , where do I need to define when setting the proxy the server that that proxy is querying or is done in the background and he is using it's already defined RHN channels ? Thanks Assaf -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTagRiWK6JZrjLX7GAQg/iQf+PLY9T6bTobWgbOdjcXdD2z8g1XsEECna tqsmbVEFlRmz3oRYJzOVd+6f6dC8TFTWKhB5YAOk3bA5d1OzgTH3wYi4HMhyx4sm 6Fx2nhXaCyyO15UkfN5p/C4ly47zHPsrhQYGWm1hU6jmGI6jBMGz/OYJ2cAPIN32 zw377qphYVUZlc3VIUT68Ov7oM6bfuaeyMvcg0WbUODaOvNtfCzm95ABR1BfA7Cr mCGAnPsXVwWZRkBD30K9eqOXNtmFPJzYHjvEnhRObs/NBGCf1F7kzX5438OGyH5X lhri/6VaOTdLhMKDFkEqHbc88yJTZrAHHGQArI8DLzyGKw1Tqi3zwQ== =L6/m -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Configuring Proxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Also to add to my confusion when i try to run the script I am getting an error ./configure-proxy.sh ERROR: RHN Proxy does not appear to be registered When looking at the RHN channels i do not see a proxy channel , but other wise the server is registered and listed on the RHN. Thanks Assaf On 15 Apr 2011, at 10:36, Assaf Flatto wrote: * PGP Signed: 15/04/2011 at 10:36:09 Hello I read the wiki about the proxy and also the RHN pdf about the proxy , but still have some points that are not clear to me , so I was wondering if anyone can provide me with better clarification : As far as I understand it , when setting a Spacewalk server as a proxy iit will cache the rpm's and errata's and the clients will you LAN to retrieve the updates ,that the server acquired via it's subscription to channels on the RHN network . But if the server is RH6 and some of my clients are RH5 , how can i associate the channels for those to the server ? Also , where do I need to define when setting the proxy the server that that proxy is querying or is done in the background and he is using it's already defined RHN channels ? Thanks Assaf * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6(L) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTagXNGK6JZrjLX7GAQj5ugf/XqzSbOlDPjBuWmhk3nAymoiREfC1gzo7 BoS5gHoEmSKFlmrJIJqzrK97fOReULhXE1Pe89dPqJyRqHVUjB9iL3cAUi2bWTmm sc1/fVUHXgu7GyPVDiFHoA1m62uZDs3Tn8WcsyYhXX2m+S9w1R9tYgJhm9tonBV7 TTc/5cCNSksrURLmkrYasEmukTNiRQpWd73390vV/QYmVU07QTF7z8phW6sjhUji XSmhcVbodq4KMuqGhI4iV9WsFSUVfQ3e/mbXJTO7CFuyaew1PhTmxYDVaRCKbfpP ovRSSvliUlD39k8xy9A/09UIGVidbSeMvdQXsSUCHwp38t3vWFgIKg== =oE8g -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Configuring Proxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Further more when trying to install the proxy-common package - it produces an error of conflicts yum install spacewalk-proxy-common Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * base: mirror.switch.ch * centosplus: mirror.switch.ch * contrib: mirror.switch.ch * extras: mirror.switch.ch * rpmforge: fr2.rpmfind.net * updates: mirror.switch.ch Setting up Install Process Resolving Dependencies - -- Running transaction check - --- Package spacewalk-proxy-common.noarch 0:1.3.11-1.el5 set to be updated - -- Processing Dependency: spacewalk-proxy-broker = 1.3.11 for package: spacewalk-proxy-common - -- Running transaction check - --- Package spacewalk-proxy-broker.noarch 0:1.3.11-1.el5 set to be updated - -- Processing Dependency: squid for package: spacewalk-proxy-broker - -- Processing Dependency: spacewalk-ssl-cert-check for package: spacewalk-proxy-broker - -- Running transaction check - --- Package spacewalk-ssl-cert-check.noarch 1:2.1-1.el5 set to be updated - -- Processing Dependency: /etc/cron.daily/certwatch for package: spacewalk-ssl-cert-check - --- Package squid.x86_64 7:2.6.STABLE21-6.el5 set to be updated - -- Running transaction check - --- Package crypto-utils.x86_64 0:2.3-2.el5 set to be updated - -- Processing Conflict: spacewalk-proxy-broker conflicts rhns-satellite-tools - -- Finished Dependency Resolution spacewalk-proxy-broker-1.3.11-1.el5.noarch from spacewalk has depsolving problems -- spacewalk-proxy-broker conflicts with spacewalk-backend-tools Error: spacewalk-proxy-broker conflicts with spacewalk-backend-tools You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest Is this due to an repo out of date or something more then just that ? Assaf On 15 Apr 2011, at 11:00, Assaf Flatto wrote: * PGP Signed: 15/04/2011 at 11:00:20 Also to add to my confusion when i try to run the script I am getting an error ./configure-proxy.sh ERROR: RHN Proxy does not appear to be registered When looking at the RHN channels i do not see a proxy channel , but other wise the server is registered and listed on the RHN. Thanks Assaf On 15 Apr 2011, at 10:36, Assaf Flatto wrote: Old Signed: 15/04/2011 at 10:36:09 Hello I read the wiki about the proxy and also the RHN pdf about the proxy , but still have some points that are not clear to me , so I was wondering if anyone can provide me with better clarification : As far as I understand it , when setting a Spacewalk server as a proxy iit will cache the rpm's and errata's and the clients will you LAN to retrieve the updates ,that the server acquired via it's subscription to channels on the RHN network . But if the server is RH6 and some of my clients are RH5 , how can i associate the channels for those to the server ? Also , where do I need to define when setting the proxy the server that that proxy is querying or is done in the background and he is using it's already defined RHN channels ? Thanks Assaf * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6(L) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6(L) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTahSL2K6JZrjLX7GAQhQ9wgAsjdOKRneaXAO/oqLICQ04BA7X29evzqk GNF/Tz7V3Vvdrw72pVUwJBJ44pWrXKbukKImWSFNf8mLghpS6kYKrHpZkNHaxrV9 D/uDfI2npdB3akHwfPnPCLvCykZSz1Y5a3GDseTwQ+jcflA+ZG11K6LiJra4U3XB E23IppEoqkcAT+Bvl3HzZjkLPqnSEuuEii6uSkVMzqiVgQuwTAK6A235UTvlCcmQ uJF3HUPwpwW0DEsHqspsDoXzpqgjaFZ/vg9THXdazLD3gEJKjS1uXZGT5kndkvfZ 0km8K1wptzC3KlLsqPoNMxj0DrBEt4dkOqYD85xZ1lqbUE6FQlb84A== =8Lpg -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Configuring Proxy
this is my server not a client. And it is running on Centos so it is not registered in the RHN. On 15 Apr 2011, at 15:14, Wojtak, Greg wrote: This confused me as well. I think the procedure is to install the spacewalk-clent-repo rpm and associated tools and then register it to spacewalk with a Provisioning entitlement as you would any normal client. On 2011-04-15 6:00 AM, Assaf Flatto assaf.fla...@goldmoney.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Also to add to my confusion when i try to run the script I am getting an error ./configure-proxy.sh ERROR: RHN Proxy does not appear to be registered When looking at the RHN channels i do not see a proxy channel , but other wise the server is registered and listed on the RHN. Thanks Assaf On 15 Apr 2011, at 10:36, Assaf Flatto wrote: Old Signed: 15/04/2011 at 10:36:09 Hello I read the wiki about the proxy and also the RHN pdf about the proxy , but still have some points that are not clear to me , so I was wondering if anyone can provide me with better clarification : As far as I understand it , when setting a Spacewalk server as a proxy iit will cache the rpm's and errata's and the clients will you LAN to retrieve the updates ,that the server acquired via it's subscription to channels on the RHN network . But if the server is RH6 and some of my clients are RH5 , how can i associate the channels for those to the server ? Also , where do I need to define when setting the proxy the server that that proxy is querying or is done in the background and he is using it's already defined RHN channels ? Thanks Assaf * Assaf Flatto assaf.fla...@goldmoney.com * 0xE32D7EC6(L) ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTagXNGK6JZrjLX7GAQj5ugf/XqzSbOlDPjBuWmhk3nAymoiREfC1gzo7 BoS5gHoEmSKFlmrJIJqzrK97fOReULhXE1Pe89dPqJyRqHVUjB9iL3cAUi2bWTmm sc1/fVUHXgu7GyPVDiFHoA1m62uZDs3Tn8WcsyYhXX2m+S9w1R9tYgJhm9tonBV7 TTc/5cCNSksrURLmkrYasEmukTNiRQpWd73390vV/QYmVU07QTF7z8phW6sjhUji XSmhcVbodq4KMuqGhI4iV9WsFSUVfQ3e/mbXJTO7CFuyaew1PhTmxYDVaRCKbfpP ovRSSvliUlD39k8xy9A/09UIGVidbSeMvdQXsSUCHwp38t3vWFgIKg== =oE8g -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] triggering scripts on a client machine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello First let me say thanks for all the help in setting up my spacewalk server and client , I am now able to deploy software and scripts to the target server. What I'd like to ask is how can I make spacewalk deploy a file (bash script ) and trigger it to execute ? is that at all possible ? Also is there a way to do a bulk upload of files to spacewalk ? I have about 60+ scripts that I need to upload so a bulk upload will be very handy. Thank you Assaf -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTaa9xWK6JZrjLX7GAQjsigf+MZU56sb/8q84VtRf8WrZ/3X3HlFZoApE 5NIsmBjjXMQBzDRBrFFCT13Qcjakg6mCl4EfYw1pjGJjgi7bB5fp31HRT0AWvobc eawLxDMOfmyLirHLpkwfZa4wAPsWVMehMSv4aRWLo2edJeet5RJ/0UWWXQbxE9CK OtSa9zbGdiRakJ3hNJJCXs8bSGeIJV5mQnR4b1hSFXlALfE6RgtdXU2xfHyVMbwE dathfqrYDjTAQoLPYCgYqo8Cff9A28DwDTKr1iKmUsfpesrgbRsXIX6v/yCGW2zx gkNvjBw951lLIHIS9vxVmphCJYnxXEPjmKKEdzQfkAmYhmJ/yaG5mw== =P7n6 -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] triggering scripts on a client machine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 what I want to do is upload the files once ( the 60+ files ) ,but be able to schedule a remote command to run on a weekly/monthly basis . i guess the second part can be done via a cron entry . On 14 Apr 2011, at 12:49, Brian Collins wrote: What I'd like to ask is how can I make spacewalk deploy a file (bash script ) and trigger it to execute ? is that at all possible ? Yes. The easiest way is simply to schedule a remote command to run on the server. I'm on Satellite, but I assume Spacewalk is quite similar...there is a Remote Command link for a system or a system set, and in there you can put script commands to run on the remote machine. You can schedule them to run as soon as possible, which means the next time the system checks in, or no sooner than a specific time. If you'd like to copy a script to the client and then execute it, that's a bit more tricky. Essentially you'd have to upload it via a config channel, then run (via Remote Command) something like at to get it to go. Or, I suppose you could upload the script to one of the cron folders, where it'd get picked up. But I prefer the first method, of using Remote Command. Also is there a way to do a bulk upload of files to spacewalk ? I have about 60+ scripts that I need to upload so a bulk upload will be very handy. Yep, and fairly straightforward. Use the Spacewalk APIs, which you can script with Perl, Python, Java, et al. If you're familiar with Python, I have a couple of scripts that do this already for my Satellite installation. The API isn't that tough to get started with. But, if you're wanting to upload the scripts and then execute them remotely, that's a bit more involved. Brian Collins, RHCE Systems Engineer Southeastern Data Cooperative bri...@sedata.com ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTabrTGK6JZrjLX7GAQhoqwgAlSRAbFuhrgAPvRvfpnBhOlQkXY+Z1Kkp MY5AYDyWbbFZ+XQ3mh8IKmjGk4bdX6Np5ltXEa5UUixOPpNSZgfLxY6oBESUYUwP mMuqh+obl6hRVhHaUSUwSsPmqv18szi6f/ZKB2OvUJxOjqodjwQOb6OPA7OjOxky HBYHCM0x/g0UlgkRQrNU37jA1r7hKBL/xdpTBpcGFjBrp2pssK1aqa2b3DaiHHJi 28tpPoEBwyP4cKt218acEXupJ5VzyZ/cTq39A4/v0XusxgQowOJHUp5IBEVxa3ha JqzBsn/tpPOYnRPizXB+yvjFUzY2QMQjOJzXYL4qaqiSgVlPBhOFQg== =qgZV -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] error generated when running rhn_check on client
Hello When trying to do an rhn_check on a client machine i am getting this error : rhn_check -v XMLRPC ProtocolError: ProtocolError for FOO /XMLRPC: 500 Internal Server Error and i am getting the email (below) from the server . Can you tell me what is the issue ? Thank you Exception reported from FOO Time: Wed Apr 13 10:04:56 2011 Exception type spacewalk.server.rhnSQL.sql_base.SQLStatementPrepareError Exception while handling function queue.get Request object information: URI: /XMLRPC Remote Host: X.X.X.X Server Name: FOO0 Headers passed in: Accept-Encoding: identity Content-Length: 2715 Host: FOO content-type: text/xml user-agent: rhn.rpclib.py/$Revision$ x-client-version: 1 x-info: RPC Processor (C) Red Hat, Inc (version $Revision$) x-rhn-client-capability: osad.ping(1)=1,packages.verifyAll(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,osad.rhn_check(1)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1,osad.ping(1)=1,packages.verifyAll(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,osad.rhn_check(1)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1 x-rhn-transport-capability: follow-redirects=3 x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version $Revision$) x-up2date-version: 1.3.12-1.el6 Extra information about this error: SQL Error generated: ('syntax error at or near ) at character 1296\n', 0, \nselect cfn.path,\n cc.label config_channel,\n ccont.contents file_contents,\n ccont.is_binary is_binary,\n c.checksum_type,\n c.checksum,\n ccont.delim_start,\n ccont.delim_end,\n cr.revision,\n ci.username,\n ci.groupname,\n ci.filemode,\n\t cft.label,\n\t ci.selinux_ctx,\n case \nwhen cft.label='symlink' then (select path from rhnConfigFileName where id = ci.SYMLINK_TARGET_FILENAME_ID)\nelse ''\nend as symlink\t \n from \n rhnConfigFileState cfs,\n rhnConfigContent ccont,\n rhnChecksumView c,\n rhnConfigChannel cc,\n rhnConfigFileName cfn,\n rhnConfigInfo ci,\n rhnConfigFile cf,\n rhnConfigRevision cr,\n\t rhnConfigFileType c! ft, \n rhnActionConfigRevision acr\n where acr.server_id = %(server_id)s\n and acr.action_id = %(action_id)s\n and acr.config_revision_id = cr.id\n and cr.config_file_id = cf.id\n and cr.config_info_id = ci.id\n and cf.config_file_name_id = cfn.id\n and cf.config_channel_id = cc.id\n and cf.state_id = cfs.id\n and cfs.label = 'alive'\n and cr.config_content_id = ccont.id (+)\n and cr.config_file_type_id = cft.id\n and ccont.checksum_id = c.id(+)\n) Exception Handler Information Traceback (most recent call last): File /usr/lib/python2.4/site-packages/spacewalk/server/apacheRequest.py, line 118, in call_function response = apply(func, params) File /usr/share/rhn/server/handlers/xmlrpc/queue.py, line 326, in get ret = self.__getV2(action) File /usr/share/rhn/server/handlers/xmlrpc/queue.py, line 84, in __getV2 result = method(self.server_id, action['id'], dry_run) File /usr/lib/python2.4/site-packages/spacewalk/server/action/configfiles.py, line 103, in deploy return _get_files(server_id, action_id) File /usr/lib/python2.4/site-packages/spacewalk/server/action/configfiles.py, line 159, in _get_files h.execute(action_id=action_id, server_id=server_id) File /usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py, line 163, in execute return apply(self._execute_wrapper, (self._execute, ) + p, kw) File /usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py, line 268, in _execute_wrapper raise rhnSQL.SQLStatementPrepareError(0, str(e), self.sql) SQLStatementPrepareError: ('syntax error at or near ) at character 1296\n', 0, \nselect cfn.path,\n cc.label config_channel,\n ccont.contents file_contents,\n ccont.is_binary is_binary,\n c.checksum_type,\n c.checksum,\n ccont.delim_start,\n ccont.delim_end,\n cr.revision,\n ci.username,\n ci.groupname,\n ci.filemode,\n\t cft.label,\n\t ci.selinux_ctx,\n case \n
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I've upgraded to the 1.4RC and still getting the same issue after restarting the server btw - i found that the tomcat is pending till the httpd service is starting , but the httpd is starting AFTER the tomcat in the spacewalk-service initiation file , is this a bug or by design ? Assaf On 13 Apr 2011, at 12:13, Michael Mraka wrote: Assaf Flatto wrote: % Hello % % When trying to do an rhn_check on a client machine i am getting this error : % rhn_check -v % XMLRPC ProtocolError: ProtocolError for FOO /XMLRPC: 500 Internal Server Error % % and i am getting the email (below) from the server . % % Can you tell me what is the issue ? I guess you are trying to deploy a configuration file from Spacewalk 1.3 server @ PostgreSQL. It's been fixed in 1.4 RC. % Thank you ... % SQL Error generated: ('syntax error at or near ) at character 1296\n', 0, \nselect cfn.path,\n cc.label config_channel,\n ccont.contents file_contents,\n ccont.is_binary is_binary,\n c.checksum_type,\n c.checksum,\n ccont.delim_start,\n ccont.delim_end,\n cr.revision,\n ci.username,\n ci.groupname,\n ci.filemode,\n\t cft.label,\n\t ci.selinux_ctx,\n case \nwhen cft.label='symlink' then (select path from rhnConfigFileName where id = ci.SYMLINK_TARGET_FILENAME_ID)\nelse ''\nend as symlink\t \n from \n rhnConfigFileState cfs,\n rhnConfigContent ccont,\n rhnChecksumView c,\n rhnConfigChannel cc,\n rhnConfigFileName cfn,\n rhnConfigInfo ci,\n rhnConfigFile cf,\n rhnConfigRevision cr,\n\t rhnConfigFileType c! % ft, % \n rhnActionConfigRevision acr\n where acr.server_id = %(server_id)s\n and acr.action_id = %(action_id)s\n and acr.config_revision_id = cr.id\n and cr.config_file_id = cf.id\n and cr.config_info_id = ci.id\n and cf.config_file_name_id = cfn.id\n and cf.config_channel_id = cc.id\n and cf.state_id = cfs.id\n and cfs.label = 'alive'\n and cr.config_content_id = ccont.id (+)\n and cr.config_file_type_id = cft.id\n and ccont.checksum_id = c.id(+)\n) Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: iso-8859-1 wsBVAwUBTaWtFWK6JZrjLX7GAQhArgf+PUTedEqRGmQYfcPIW2JdFzI1psPgy8sf M18xS039TADIjzm4r6Zv/PqL3vomyGzLh4d8/StnFHu/5zX0GUZCHcaR7k+00BjJ lAKHixCVWE5e7SbXtzhltKIs6sPBMymX7a5w8a3a/zBqe0USLFfDQM7aPVmP3RQT O55cJCQCGAT0JG6niJDXWVN3rR3vlzqhogk5k3Uo0k9CMEwjAVeniH47Fah16sz7 Zh4KML0nlHm+BOpV4jq2xARswypNWtEhBXiOPGXN+Kht3VNjZHsSgJQLZoAjS8Qi vwB19TidH4v8a8l5P4MyiLz/NBoIl1C4XbJBUjdZbGO93YQ2LAeUmw== =uHvF -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 13 Apr 2011, at 15:09, Jan Pazdziora wrote: On Wed, Apr 13, 2011 at 03:02:58PM +0100, Assaf Flatto wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I've upgraded to the 1.4RC and still getting the same issue after restarting the server The repo hasn't been regenerated yet, it will be in about an hour. Ok , i will wait and try another update then. btw - i found that the tomcat is pending till the httpd service is starting , but the httpd is starting AFTER the tomcat in the spacewalk-service initiation file , is this a bug or by design ? What makes you think that tomcat is waiting for httpd? Well , on my machine it is waiting for a long time ( some time even 20 minutes ) until i manually start httpd , and then the tomcat kick up and works , I've seen it in ALL of my spoacewalk start and restart i have done. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTaWwEWK6JZrjLX7GAQgeOgf+IZNWbfEkMcgY10NA01+vMCmmKeD7D8eT rKqd+2IZ8cnUL2zF1KZvrjcdrkMjrx7bXcPf0na9kaZcV07bfazMKGyCIqoiyw12 L18dmckRaJxrkuIw3+7lzS6ZkZYxvckVNQNuLshKQ/RAT72lNHmp30grYeoVEs4A JRCt0mw0s5yX1Ljc8iARNA+PuZOfNHVCVkLGQ8vaKtlprkrZgulham83Gjhwf+XJ DTWZSbr09yID+6x8/bI944DZmvOHVkOd+iLxRLbKwret0oMTdxmGp3Aw5BjZfXbb KhaEbC+Xb3q0vVsWpNukZMytYrjaqAOxFBIoF6V7RmCU/edMDl99zQ== =HCI9 -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yes , i just upgraded to the 1.4 RC and did a restart of spacewalk and had the same issues i had on 1.3 , both the postgresql and the tomcat hangup . On 13 Apr 2011, at 15:24, Jan Pazdziora wrote: On Wed, Apr 13, 2011 at 03:15:42PM +0100, Assaf Flatto wrote: What makes you think that tomcat is waiting for httpd? Well , on my machine it is waiting for a long time ( some time even 20 minutes ) until i manually start httpd , and then the tomcat kick up and works , I've seen it in ALL of my spoacewalk start and restart i have done. This issue was in Spacewalk nightly and it's been fixed on March 25, so it should not appear in 1.4 RC. Does it happen in 1.4 RC for you? -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTaWzmWK6JZrjLX7GAQgZrAf/ZAs47WJOE6w2rSVsEvJtKvHTwSao2PjF b/XLOJ26nLCes8vhc5E6zj8+zruO2AYI6VIIVIbhgGv0RfEmlfO26kJuWqLBOuyv 5zyA5LbFVf26gPULrr+O1pCzcfLxRmwBolrtdAZdZ8Ezg+BfVmooKQ114m+CdD2L c5TKZiShe75ZP742Kwz5T0oXrKj75uINVOIqKiAp2ib+VAK2y0TOXfJRzFjNJuyX oZoaEcUib/ORLfzCA+bexD5Q8zdw3io0/Bv2wkWVVkXofGbaZ5HCEbpRWBZxa2YK 7pPSWfDNWto1dVZQk4ynxvrR5DLvhWI4Dq6DaZ2SqZxwtkawbn94Zw== =3mfx -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 i just did a restart to paste the results : /usr/sbin/spacewalk-service restart Shutting down spacewalk services... Stopping RHN Taskomatic... Stopped RHN Taskomatic. Stopping cobbler daemon: [ OK ] Stopping rhn-search... Stopped rhn-search. Stopping MonitoringScout ... [ OK ] Stopping Monitoring ... [ OK ] Stopping httpd:[ OK ] Stopping tomcat5: [ OK ] Shutting down osa-dispatcher: [ OK ] Terminating jabberd processes ... Stopping router: [ OK ] Stopping sm: [ OK ] Stopping c2s: [ OK ] Stopping s2s: [ OK ] Done. Starting spacewalk services... Initializing jabberd processes ... Starting router: [ OK ] Starting sm: [ OK ] Starting c2s: [ OK ] Starting s2s: [ OK ] Starting osa-dispatcher: RHN 1438 2011/04/13 14:50:52 -00:00: ('Server did not return a features / stanza',) RHN 1438 2011/04/13 14:50:52 -00:00: ('Traceback (most recent call last):\n File /usr/share/rhn/osad/jabber_lib.py, line 253, in setup_connection\nc = self._get_jabber_client(js)\n File /usr/share/rhn/osad/jabber_lib.py, line 310, in _get_jabber_client\nc.connect()\n File /usr/share/rhn/osad/jabber_lib.py, line 583, in connect\nraise SSLDisabledError\nSSLDisabledError\n',) [ OK ] Starting tomcat5: [ OK ] Waiting for tomcat to be ready ... # lsof -i |grep tomcat java 1973 tomcat 70u IPv6 1074846 TCP *:webcache (LISTEN) java 1973 tomcat 72r IPv6 1075282 TCP *:8009 (LISTEN) java 1973 tomcat 73r IPv6 1075283 TCP localhost.localdomain:8005 (LISTEN) java 1973 tomcat 123r IPv6 1075040 TCP localhost.localdomain:44595-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 124r IPv6 1075043 TCP localhost.localdomain:44596-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 125r IPv6 1075045 TCP localhost.localdomain:44597-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 126r IPv6 1075051 TCP localhost.localdomain:44600-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 127r IPv6 1075049 TCP localhost.localdomain:44599-localhost.localdomain:postgres (ESTABLISHED) now when i manually start httpd : /etc/init.d/httpd start Starting httpd:[ OK ] [root@~]# lsof -i |grep tomcat java 1973 tomcat 70u IPv6 1074846 TCP *:webcache (LISTEN) java 1973 tomcat 72r IPv6 1075282 TCP *:8009 (LISTEN) java 1973 tomcat 73r IPv6 1075283 TCP localhost.localdomain:8005 (LISTEN) java 1973 tomcat 123r IPv6 1075040 TCP localhost.localdomain:44595-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 124r IPv6 1075043 TCP localhost.localdomain:44596-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 125r IPv6 1075045 TCP localhost.localdomain:44597-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 126r IPv6 1075051 TCP localhost.localdomain:44600-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 127r IPv6 1075049 TCP localhost.localdomain:44599-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 138r IPv6 1079852 TCP localhost.localdomain:44622-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 139r IPv6 1079854 TCP localhost.localdomain:44623-localhost.localdomain:postgres (ESTABLISHED) java 1973 tomcat 140r IPv6 1079856 TCP localhost.localdomain:44624-localhost.localdomain:postgres (ESTABLISHED) and then the spacewalk start script moves and gives this output : Starting httpd: Starting Monitoring ... [ OK ] Starting MonitoringScout ... [ OK ] Starting rhn-search... Starting cobbler daemon: [ OK ] Starting RHN Taskomatic... Done. and then i have access to the spacewalkj web interface . On 13 Apr 2011, at 15:44, Jan Pazdziora wrote: On Wed, Apr 13, 2011 at 03:30:46PM +0100, Assaf Flatto wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yes , i just upgraded to the 1.4 RC and did a restart of spacewalk and had the same issues i had on 1.3 , both the postgresql and the tomcat hangup . But in the nextdoor thread you say that in fact, tomcat does
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 RHEL 6.0 On 13 Apr 2011, at 16:09, Jan Pazdziora wrote: On Wed, Apr 13, 2011 at 03:55:15PM +0100, Assaf Flatto wrote: Starting tomcat5: [ OK ] Waiting for tomcat to be ready ... # lsof -i |grep tomcat java 1973 tomcat 70u IPv6 1074846 TCP *:webcache (LISTEN) java 1973 tomcat 72r IPv6 1075282 TCP *:8009 (LISTEN) And in this situation, the above line is not found by /usr/sbin/lsof -t -i TCP:8009 -p 1973 (the line in spacewalk-service)? What OS is this? -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTaW+Y2K6JZrjLX7GAQiqzAf+MDNhoH20n0NTbGNjNSyF9IwXJQ+O/S8O nyBBiJxd7pAiUoZp1VLFfmrVSaKVv0SGq81MfoYTnnNEsSxqY+FHbGBIhDQ10V2K B/bGXVtIqt3ghX0JhFe4A21YjqLrsgX2cVDHDeUHXyhX/cNRO3VedW7kZLXYrWYp fNhpfITkTwKDStrzBVjvXv0/gDeGaCgpRkDCGnlgmK7oawQqFh+lV47A8lYUs6jV 4NiGSnrWeV1hBbLp8AgHlaxnwz+KQX1Pr76McehQzmlngTQJo+f5fnFpIwtcp54j VTAQhU5LnJa8c1QuYifYfQCG8L7r918hKgNc1hCiBqtGxkTxHMBoSg== =GL8F -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] error generated when running rhn_check on client
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sorry , Client is on RHEL 6.0 Server is on Centos 5.6 On 13 Apr 2011, at 16:09, Jan Pazdziora wrote: On Wed, Apr 13, 2011 at 03:55:15PM +0100, Assaf Flatto wrote: Starting tomcat5: [ OK ] Waiting for tomcat to be ready ... # lsof -i |grep tomcat java 1973 tomcat 70u IPv6 1074846 TCP *:webcache (LISTEN) java 1973 tomcat 72r IPv6 1075282 TCP *:8009 (LISTEN) And in this situation, the above line is not found by /usr/sbin/lsof -t -i TCP:8009 -p 1973 (the line in spacewalk-service)? What OS is this? -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list -BEGIN PGP SIGNATURE- Version: PGP Desktop 10.1.0 (Build 860) Charset: us-ascii wsBVAwUBTaXAMWK6JZrjLX7GAQh8qwf9EkYoPGpUEux3nzOcvgsnljslXG9UsEtU 9sIYBPaTSQkXc/dHM3PD9i/2kVmHjR2tNGO+v+RfjydLx1TM23RkqR7iBihK5ssy 9rXKxPwe5qBVXfT9SbOEhY11YZD9a3/AqslwGYsKUhD7wYDE5zx8ADbfmzosTbjt TsaFAuGEB+OMF6Jz+JgWCTouantlVT10nVLQcPdUxgAPHsHfi+CaLXi1A0HX2Pff w+nBvVSu4fR2Uf5su+Mv6ZazSiYv8+aFif0SDVUq2Z/QvpOdGDqdKELWsFSF2+cS CoUTY4pouWlu6DqFRLDwlmTZ+xxy7JccyJ6ln3aFHa5nTi1M4NHsLg== =PSdZ -END PGP SIGNATURE- ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] unable to test deployment to client server
Hello All I am trying to learn how to deploy configuration file to a client server . but when ever i try to deploy i am getting the following error : Missing Capabilities An operation could not be completed on a system due to a missing capability. The server FOO does not have the configfiles.deploy client capability. Please enable the capability before proceeding with the operation. and then i get the email below ? i tried touch /etc/sysconfig/rhn/allowed-actions/configfiles/all and installed the rhncfg utility to try to use the rhn-actions-control , but that command is not available on my client server hence am unable to get deploy to work . Any ideas ? Thanks Begin forwarded message: The following exception occurred while executing this request: POST /rhn/configuration/channel/DeployConfirm.do Date:4/12/11 12:04:44 PM GMT+00:00 Headers: host: x.x.x.x user-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-language: en-us,en;q=0.5 accept-encoding: gzip,deflate accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 connection: keep-alive referer: https://172.16.2.9/rhn/configuration/channel/DeployConfirm.do?lower=1ccid=1 cookie: JSESSIONID=F5D42025D1C56634165A2B4705525488; pxt-session-cookie=37x61fb248a0056ebdaa0271a1a48380d8b content-type: application/x-www-form-urlencoded content-length: 655 Request: Local Name = x.x.x.x Server Name = x.x.x.x Requested Session Id came from Cookie Requested Session Valid = true Session = org.apache.catalina.session.StandardSessionFacade@3d0ddb0e[session=StandardSession[F5D42025D1C56634165A2B4705525488]] Protocol = https Request Locale = en_US Request Character Encoding = UTF-8 Attribute Names = rhnActiveLang, javax.servlet.include.request_uri, javax.servlet.include.context_path, javax.servlet.include.servlet_path, __sitemesh__page, javax.servlet.jsp.jstl.fmt.timeZone.request, error, javax.servlet.request.key_size, __sitemesh__using_stream, datePickerForm, requestedUri, javax.servlet.request.ssl_session, org.apache.struts.action.MESSAGE, session, selectedFiles, __sitemesh__filterapplied, javax.servlet.request.cipher_suite, parentUrl, org.apache.struts.action.EXCEPTION, org.apache.struts.action.mapping.instance, org.apache.struts.action.MODULE, selectedSystems, Form Variables: use_date: false list_1680466951_sortby: list_1680466951_sortdir: list_2261958725_sortdir: list_1680466951_parent_is_an_element: true date_month: 3 list_2261958725_sortby: list_2261958725_oldfilterval: list_1680466951_search_child: false list_1680466951_filterby: System Name dispatch: Deploy Files to Selected Systems list_1680466951_search_parent: true date_minute: 57 list_2261958725_parent_is_an_element: true list_2261958725_search_child: false list_2261958725_filterby: Path submitted: true date_year: 2011 list_1680466951_filterval: list_2261958725_search_parent: true ccid: 1 date_day: 12 date_am_pm: 0 list_1680466951_oldfilterval: date_hour: 11 list_2261958725_filterval: User Information: User assaff (id 1, org_id 1) Exception: com.redhat.rhn.manager.MissingCapabilityException at com.redhat.rhn.manager.action.ActionManager.createConfigActionForServers(ActionManager.java:458) at com.redhat.rhn.manager.action.ActionManager.createConfigAction(ActionManager.java:499) at com.redhat.rhn.manager.configuration.ConfigurationManager.deployFiles(ConfigurationManager.java:2091) at com.redhat.rhn.frontend.action.configuration.channel.ChannelDeployConfirmAction.doScheduleDeploy(ChannelDeployConfirmAction.java:156) at com.redhat.rhn.frontend.action.configuration.channel.ChannelDeployConfirmAction.execute(ChannelDeployConfirmAction.java:68) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:101) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at
[Spacewalk-list] file deployment not processed
Hello I've tried to test the deployment of files after uploading several sample maintenance files to the server and assigned them to the target client. Action Type: Deploy config files to system Scheduler: assaf Earliest execution: 4/12/11 12:45:24 PM GMT Notes: Revision 1 of /weekly/phase.1/diskspace from Phase1 now i am waiting for the system to process the request but for the last 2 hours it has not done anything . I thought of using the osad tool , but i have postgresql on version 1.3 and hence it does not work , and i need to verify that i can use the system as needed , how can i force the deploy and check it (i down loaded the satellite pdfs from redhat but found no way to resolve my issue , and also not in the wiki) Thanks sorry for too many emails - this is my first run with spacewalk . Assaf ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] file deployment not processed
Could this be related ? I restarted the spacewalk server and this came up with the osa-dispatcher Starting osa-dispatcher: RHN 32301 2011/04/12 14:15:06 -00:00: ('Server did not return a features / stanza',) RHN 32301 2011/04/12 14:15:06 -00:00: ('Traceback (most recent call last):\n File /usr/share/rhn/osad/jabber_lib.py, line 253, in setup_connection\nc = self._get_jabber_client(js)\n File /usr/share/rhn/osad/jabber_lib.py, line 310, in _get_jabber_client\nc.connect()\n File /usr/share/rhn/osad/jabber_lib.py, line 583, in connect\nraise SSLDisabledError\nSSLDisabledError\n',) On 12 Apr 2011, at 14:52, Assaf Flatto wrote: Hello I've tried to test the deployment of files after uploading several sample maintenance files to the server and assigned them to the target client. Action Type: Deploy config files to system Scheduler: assaf Earliest execution: 4/12/11 12:45:24 PM GMT Notes: Revision 1 of /weekly/phase.1/diskspace from Phase1 now i am waiting for the system to process the request but for the last 2 hours it has not done anything . I thought of using the osad tool , but i have postgresql on version 1.3 and hence it does not work , and i need to verify that i can use the system as needed , how can i force the deploy and check it (i down loaded the satellite pdfs from redhat but found no way to resolve my issue , and also not in the wiki) Thanks sorry for too many emails - this is my first run with spacewalk . Assaf ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] file deployment not processed
following on the issue with the restart , the server is stuck in the restart process in the Waiting for tomcat to be ready ... stage for more then 10 minutes . these are the errors i found in the catalina.out Apr 12, 2011 3:12:46 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase has been specified, and will be ignored Apr 12, 2011 3:12:46 PM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: LifecycleException: Error initializaing : java.lang.NullPointerException at org.apache.catalina.core.StandardContext.start(StandardContext.java:3986) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1193) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616)at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)Apr 12, 2011 3:12:46 PM org.apache.catalina.startup.HostConfig deployDescriptorSEVERE: Error deploying configuration descriptor rhn.xmljava.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: Error initializaing : java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:764) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1193) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Apr 12, 2011 3:12:49 PM com.mchange.v2.log.MLog clinit INFO: MLog clients using java 1.4+ standard logging. Any ideas why? On 12 Apr 2011, at 15:16, Assaf Flatto wrote: * PGP Signed: 12/04/2011 at 15:16:31 Could this be related ? I restarted the spacewalk server and this came up with the osa-dispatcher Starting osa-dispatcher: RHN 32301 2011/04/12 14:15:06 -00:00: ('Server did
Re: [Spacewalk-list] file deployment not processed
java -version java version 1.6.0_17 OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) It worked before , ( well i was able to login and sync repos and attach clients ), and then i unpicked the check box for disconnected , and restarted the server . Since then it did not come up . On 12 Apr 2011, at 16:39, Kobus Bensch wrote: which jvm are you using? On 12/04/11 16:18, Assaf Flatto wrote: following on the issue with the restart , the server is stuck in the restart process in the Waiting for tomcat to be ready ... stage for more then 10 minutes . these are the errors i found in the catalina.out Apr 12, 2011 3:12:46 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase has been specified, and will be ignored Apr 12, 2011 3:12:46 PM org.apache.catalina.core.ContainerBase addChildInternal SEVERE: ContainerBase.addChild: start: LifecycleException: Error initializaing : java.lang.NullPointerException at org.apache.catalina.core.StandardContext.start(StandardContext.java:3986) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1193) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616)at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)Apr 12, 2011 3:12:46 PM org.apache.catalina.startup.HostConfig deployDescriptorSEVERE: Error deploying configuration descriptor rhn.xmljava.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: Error initializaing : java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:764) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:634) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:561) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1193) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43
[Spacewalk-list] Admin login and channels
Hello I am new to spacewalk and i apologise if I my questions seem silly in advance . I have just finished installing spacewalk on Centos5 machine and set up the initial account ( the admin account , if i got this right ) . Now I am trying to create a channel and i get this error ; Red Hat channels require admin privileges The channel name is called redhat 6 and so is the label . am i missing something ? Thank you Assaf PGP.sig Description: PGP signature ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list