<div dir="ltr">Hello Francisco, good morning<div><br></div><div>If you check inside the directory that Stephen told you, you can see a lot of sql scripts (Oracle and Postgresql), check the scripts according your db and check what they are doing.</div><div><br></div><div>You can check in your db and see if you need or not apply the command's.</div><div><br></div><div>If you are not familiar with db administration, I really recommend you prepare a new machine, create a backup of your prod machine, restore in the new server (using the same ssl cert) and test with a lab client, check where you get errors or messages in nowadays in your prod. environment and test in the new server.</div><div><br></div><div>Ps.: Try to do this in a separated network (virtual for example) and test, if works fine, you can just upgrade your scenario.</div><div><br></div><div>I'm not sure about "all error" that you are getting, but this can be a good way.</div><div><br></div><div>Take Care</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div>
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a></div></div></div>
<br><div class="gmail_quote">On Wed, Feb 4, 2015 at 12:46 PM, Francisco Cardoso <span dir="ltr"><<a href="mailto:francisco.cardoso@gmail.com" target="_blank">francisco.cardoso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Stephen,<br>
<br>
Can you tell me how to apply those scripts ?<br>
Is there any "way" with the spacewalk-schema-upgrade ?<br>
Never have to do this so if you could give me some pointers would really<br>
appreciate it.<br>
<br>
Regards,<br>
<br>
FC<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Stephen Herr [mailto:<a href="mailto:sherr@redhat.com">sherr@redhat.com</a>]<br>
Sent: 04 February 2015 14:36<br>
To: <a href="mailto:francisco.cardoso@gmail.com">francisco.cardoso@gmail.com</a>; <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
Subject: Re: [Spacewalk-list] Help - Garbage in Database<br>
<br>
On 02/02/2015 07:54 PM, Francisco Cardoso wrote:<br>
> Hello,<br>
><br>
> I finally had the time to look up into why I think I was having<br>
> Internal Server Errors on some of my pages and I think I know why L<br>
><br>
> Some of my Activation Keys , Systems and so on had the Monitoring<br>
> Entitlement activated.<br>
><br>
> Any way I can prune the database and get rid of it ?<br>
><br>
> Regards,<br>
><br>
> Francisco<br>
><br>
<br>
This should not be a problem unless you are running Spacewalk Nightly<br>
packages on an un-upgraded database. You need to manually apply the database<br>
changes that have not been applied to your db (ensure you have latest<br>
spacewalk-schema installed, look in<br>
/etc/sysconfig/rhn/schema-upgrade/spacewalk-schema-2.2-to-spacewalk-schema-2<br>
.3/).<br>
spacewalk-schema-upgrade cannot do it for you if you're using nightly, only<br>
if you're upgrading from one release to another (2.1 to 2.2).<br>
<br>
-Stephen<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</div></div></blockquote></div><br></div>