Re: [Spacewalk-list] Can spacewalk manage himself?
Def. Quota Colin Coe colin@gmail.com: 2010/10/6 Benedetto Vassallo vassa...@unipa.it: Hello List, Can I register my spacewalk server into himself for management/monitoring? Thanks -- Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo Red Hat Certified Engineer Certificate Number: 804007793324656 Phone: +3909123860056 Fax: +390916529124 - This message was sent using the University of Palermo web mail interface. Yes, you can do this although I'm undecided about whether or not one should do this... I'm undecided also, becouse if my spacewalk server goes down I immediately can see it. I only want monitoring about disk usage. Regards -- Benedetto Vassallo Sistema Informativo di Ateneo Settore Gestione Reti Hardware e Software U.O. Sviluppo e manutenzione dei sistemi Università degli studi di Palermo Red Hat Certified Engineer Certificate Number: 804007793324656 Phone: +3909123860056 Fax: +390916529124 - This message was sent using the University of Palermo web mail interface. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Can spacewalk manage himself?
On Tue, 5 Oct 2010, Colin Coe wrote: Yes, you can do this although I'm undecided about whether or not one should do this... I've done this, but don't run osad on the server, and don't allow configuration/remote commands on the spacewalk server. Has worked fine for me. jh ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Can spacewalk manage himself?
On 10/05/2010 10:43 PM, Benedetto Vassallo wrote: Hello List, Can I register my spacewalk server into himself for management/monitoring? Yes. You can do it and it is quite common scenario. -- Miroslav Suchy Red Hat Satellite Engineering ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
[Spacewalk-list] Spacewalk Client Install on Solaris 10
Hi I've installed the spacewalk client on Solaris 10, but attempts to register to the spacewalk server fail. Hopefully someone will tell me what very small thing I have to do to make this work. Here are the details 1 a)The error registering the Solaris10 client # rhnreg_ks --force --serverUrl=http://myspacewalkserver/XMLRPC --activationkey=1-TestKey Traceback (most recent call last): File /opt/redhat/rhn/solaris/usr/sbin/rhnreg_ks, line 28, in ? from rhn.client.translate import _ File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/__init__.py, line 11, in ? import rpclib File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/rpclib.py, line 14, in ? import transports File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/transports.py, line 24, in ? import connections File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/connections.py, line 14, in ? import SSL File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/SSL.py, line 15, in ? from OpenSSL import SSL, crypto File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/__init__.py, line 11, in ? import rand, crypto, SSL, tsafe ImportError: ld.so.1: python: fatal: relocation error: file /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/crypto.so: symbol PyUnicodeUCS4_Decode: referenced symbol not found 1 a)Just for reference this registration works from my RHEL5 client #rhnreg_ks --force --serverUrl=http://myspacewalkserver/XMLRPC --activationkey=1-TestKey This system is not subscribed to any channels. RHN channel support will be disabled. [ 2)The effective path for the registration session #echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/local/samba/sbin:/usr/local/samba/bin:/usr/ccs/bin:/opt/redhat/rhn/solaris/bin:/opt/redhat/rhn/solaris/usr/bin:/opt/redhat/rhn/solaris/usr/sbin 3)The effective library paths #crle -c /var/ld/ld.config Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/redhat/rhn/solaris/lib Trusted Directories (ELF):/lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/redhat/rhn/solaris/lib 4)Supporting packages installed #pkginfo SUNWzlib SUNWgccruntime system SUNWgccruntime GCC Runtime libraries system SUNWzlib The Zip compression library # pkginfo |grep -i openssl utility RHATposslpyOpenSSL 0.6 application SMCossl openssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-librariesOpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) 5)Spacewalk packages i #pkginfo|grep RHAT utility RHATposslpyOpenSSL 0.6 utility RHATpythnpython 2.4.1 utility RHATrcfg rhncfg 5.1.0 utility RHATrcfgarhncfg-actions 5.1.0 utility RHATrcfgcrhncfg-client 5.1.0 utility RHATrcfgmrhncfg-management 5.1.0 utility RHATrhnc rhnclient 5.1.0 utility RHATrhnl rhnlib 1.8 utility RHATrpushrhnpush 5.1.1 utility RHATsmartsmartpm 5.1.1 6)The server uname -a SunOS myservername 5.10 Generic_142901-10 i86pc i386 i86pc ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Spacewalk Client Install on Solaris 10
Try this: export PATH=/opt/redhat/rhn/solaris/bin:/opt/redhat/rhn/solaris/usr/bin:/opt/redhat/rhn/solaris/usr/sbin:$PATH I was having the same issue because the scripts were calling the native python. Once I put the redhat directories first in my path, it worked fine. I put this in a file that I source only when I'm going to work with rhn on solaris. --Abe On Oct 6, 2010, at 12:30 PM, spo...@sympatico.camailto:spo...@sympatico.ca spo...@sympatico.camailto:spo...@sympatico.ca wrote: Hi I've installed the spacewalk client on Solaris 10, but attempts to register to the spacewalk server fail. Hopefully someone will tell me what very small thing I have to do to make this work. Here are the details 1 a)The error registering the Solaris10 client # rhnreg_ks --force --serverUrl=http://myspacewalkserver/XMLRPC --activationkey=1-TestKey Traceback (most recent call last): File /opt/redhat/rhn/solaris/usr/sbin/rhnreg_ks, line 28, in ? from rhn.client.translate import _ File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/__init__.py, line 11, in ? import rpclib File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/rpclib.py, line 14, in ? import transports File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/transports.py, line 24, in ? import connections File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/connections.py, line 14, in ? import SSL File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/SSL.py, line 15, in ? from OpenSSL import SSL, crypto File /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/__init__.py, line 11, in ? import rand, crypto, SSL, tsafe ImportError: ld.so.1: python: fatal: relocation error: file /opt/redhat/rhn/solaris/lib/python2.4/site-packages/OpenSSL/crypto.so: symbol PyUnicodeUCS4_Decode: referenced symbol not found 1 a)Just for reference this registration works from my RHEL5 client #rhnreg_ks --force --serverUrl=http://myspacewalkserver/XMLRPC --activationkey=1-TestKey This system is not subscribed to any channels. RHN channel support will be disabled. [ 2)The effective path for the registration session #echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/local/samba/sbin:/usr/local/samba/bin:/usr/ccs/bin:/opt/redhat/rhn/solaris/bin:/opt/redhat/rhn/solaris/usr/bin:/opt/redhat/rhn/solaris/usr/sbin 3)The effective library paths #crle -c /var/ld/ld.config Configuration file [version 4]: /var/ld/ld.config Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/redhat/rhn/solaris/lib Trusted Directories (ELF):/lib/secure:/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/redhat/rhn/solaris/lib 4)Supporting packages installed #pkginfo SUNWzlib SUNWgccruntime system SUNWgccruntime GCC Runtime libraries system SUNWzlib The Zip compression library # pkginfo |grep -i openssl utility RHATposslpyOpenSSL 0.6 application SMCossl openssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-librariesOpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) 5)Spacewalk packages imailto:installedr...@winfrasol1 #pkginfo|grep RHAT utility RHATposslpyOpenSSL 0.6 utility RHATpythnpython 2.4.1 utility RHATrcfg rhncfg 5.1.0 utility RHATrcfgarhncfg-actions 5.1.0 utility RHATrcfgcrhncfg-client 5.1.0 utility RHATrcfgmrhncfg-management 5.1.0 utility RHATrhnc rhnclient 5.1.0 utility RHATrhnl rhnlib 1.8 utility RHATrpushrhnpush 5.1.1 utility RHATsmartsmartpm 5.1.1 6)The server uname -a SunOS myservername 5.10 Generic_142901-10 i86pc i386 i86pc ATT1..txt ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Could not populate database
Hi. I wish to add the following, after changing the logging levels LOG: statement: begin LOG: statement: PREPARE dbdpg_p6901_1 AS SELECT tablename from pg_tables where schemaname='public' and tablename='web_customer' LOG: statement: BIND LOG: statement: EXECUTE unnamed [PREPARE: SELECT tablename from pg_tables where schemaname='public' and tablename='web_customer'] LOG: statement: rollback I hope this helps .. Thanks Greg On Thu, Oct 7, 2010 at 9:19 AM, Gregory Machin gregory.mac...@gmail.com wrote: Hi. I'm new to spacewalk and Postgresql.. Please could someone advise. I'm trying to configure spacewalk to run out of Postgresql, but the process exits with the following error ** Database: Populating database. *** Progress: # Could not populate database. The user I'm using has full rites on all databases. I can't see any errors in ./pg_log/postgresql-Thu.log . Any suggestions ? Regards Greg ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
Re: [Spacewalk-list] Can spacewalk manage himself?
Miroslav Suchý wrote: On 10/05/2010 10:43 PM, Benedetto Vassallo wrote: Hello List, Can I register my spacewalk server into himself for management/monitoring? Yes. You can do it and it is quite common scenario. I wrote many moons ago a kbase article for Red Hat on this setup - if you have a paid Satellite or RHEL subscription you should be able to login to the knowledgebase and look it up for more details. It can be done. For monitoring, use the Satellite/Spacewalk monitoring probes only and not the entire monitoring probe suite. Osad doesn't work and few other things, but osad and monitoring were top of the list. Cliff. ___ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list