Re: [Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Robert Paschedag
Am 18. Juli 2018 03:32:02 MESZ schrieb "Yakin, Francis" : >Another thing, postgres is not bundled with spacewalk-service. So, it's >not restart when I run "spacewalk-service restart" >Should I stop the postgres manually before I run >"spacewalk-hostname-rename"? And then restart it before

Re: [Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Yakin, Francis
Another thing, postgres is not bundled with spacewalk-service. So, it's not restart when I run "spacewalk-service restart" Should I stop the postgres manually before I run "spacewalk-hostname-rename"? And then restart it before "Starting spacewalk services...? Francis From: Yakin, Francis

Re: [Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Yakin, Francis
Postgres I did that, I use spacewalk-service restart before I ran "spacewalk-hostname-rename" script [root@ala-spacewalk-prod ~]# spacewalk-service restart Shutting down spacewalk services... Redirecting to /bin/systemctl stop taskomatic.service Stopping cobblerd (via systemctl):

Re: [Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Yakin, Francis
Postgres From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Wilkinson, Matthew Sent: Tuesday, July 17, 2018 1:55 PM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] spacewalk-hostname-rename failed which DB are you using postgres or

Re: [Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Wilkinson, Matthew
which DB are you using postgres or oracle? If you used the spacewalk-service command to stop with the bundled DB, it will stop postgres and you'll have to start it up before you run the command. --Matthew Wilkinson From: spacewalk-list-boun...@redhat.com

[Spacewalk-list] spacewalk-hostname-rename failed

2018-07-17 Thread Yakin, Francis
Hi All, I encountered this issue when I try to run "spacewalk-hostname-rename" script [root@ala-spacewalk-prod init.d]# /bin/spacewalk-hostname-rename 147.11.147.159 Validating IP ... OK = hostname: ala-spacewalk-prod.wrs.com ip: 147.11.147.159

Re: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')

2018-07-17 Thread Robert Paschedag
On 07/17/18 12:54, Giles Coochey wrote: > On 17/07/2018 11:26, Robert Paschedag wrote: >> >>> Gesendet: Dienstag, 17. Juli 2018 um 11:28 Uhr >>> Von: "Giles Coochey" >>> An: "spacewalk-list@redhat.com" >>> Betreff: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value >>> violates unique

Re: [Spacewalk-list] rhn_register issue with spacewalk 2.4 on CentOS 7

2018-07-17 Thread Jérôme Meyer
Finally I was able to pass the following command and register my client: rhnreg_ks --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --serverUrl=https://client.x.y/XMLRPC --activationkey=1-CentOS --force But afterwards unfortunately the problem occurs with the osad comnnection. I see in log

Re: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')

2018-07-17 Thread Giles Coochey
On 17/07/2018 11:26, Robert Paschedag wrote: Gesendet: Dienstag, 17. Juli 2018 um 11:28 Uhr Von: "Giles Coochey" An: "spacewalk-list@redhat.com" Betreff: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database

[Spacewalk-list] rhn_register issue with spacewalk 2.4 on CentOS 7

2018-07-17 Thread Jérôme Meyer
Hi All, I always needed to use rhn_check to enable the command on the client. For this reason, I've 1) re-created the CA Key pair and Web SSL for my server 2) configure server and client with new Key pair 3) delete client host on spacewalk. When I want to register my client the following error

Re: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')

2018-07-17 Thread Robert Paschedag
> Gesendet: Dienstag, 17. Juli 2018 um 11:28 Uhr > Von: "Giles Coochey" > An: "spacewalk-list@redhat.com" > Betreff: [Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates > unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.') > > I'm getting the unique

[Spacewalk-list] ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')

2018-07-17 Thread Giles Coochey
I'm getting the unique contrainst violation on attempting to reposync my Centos 6 OS updates. I've googled the error and see that in the past it is due to misnaming of packages in the repo, but it doesn't help me find which package might be the root cause of this (prior reports seem to

Re: [Spacewalk-list] Rename the spacewall server

2018-07-17 Thread Robert Paschedag
Am 17. Juli 2018 02:46:10 MESZ schrieb "Yakin, Francis" : >Do we need to re-register all clients? rhnreg_ks command? > No, it shouldn't. But you might need to change the server name within the config files on all clients in case you are unable to use the "old" name as CNAME for the 'new' name