Ok thanks David,<br><br>the first error has gone but the second not....<br>For your info I was able to set only at 4000 RHNPACKAGECHANGELOG "TEXT" column value (5000 oracle say isn't possible) but I think this is sufficient..<br>
<br>Now remains to understand why the second error persists...<br><br>Have you some other idea? What can I do?<br><br><br><br><br><div class="gmail_quote">2009/7/24 David Nutter <span dir="ltr"><<a href="mailto:davidn@bioss.sari.ac.uk">davidn@bioss.sari.ac.uk</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, Jul 24, 2009 at 10:01:30AM +0200, Tommaso Rossetto wrote:<br>
> *Hi all,<br>
><br>
> when I launch rhnpush I get this error message :*<br>
<br>
*snip*<br>
<div class="im"><br>
> Error pushing base/CentOS/setroubleshoot-2.0.5-3.el5.noarch.rpm: Error<br>
> 500Error Message:<br>
>     ORA-12899: value too large for column<br>
> "SPACEWALK"."RHNPACKAGECHANGELOG"."TEXT" (actual: 3002, maximum: 3000)<br>
> Error Class Code: 54<br>
> Error Class Info:<br>
>      Package Upload Failed due to uniqueness constraint violation.<br>
>      Make sure the package does not have any duplicate dependencies or<br>
>      does not already exists on the server (500)<br>
> Waiting 2 seconds and trying again...<br>
<br>
<br>
</div>The above should be easy to fix - just increase the size of the column<br>
"TEXT" in table RHNPACKAGECHANGELOG. Offhand, and<br>
untested, this will probably be a command like:<br>
<br>
ALTER TABLE RHNPACKAGECHANGELOG MODIFY (TEXT VARCHAR2(5000));<br>
<br>
My knowledge of oracle is minimal so the above command may be wrong. Even if<br>
it succeeds it may have bad effects so use at your own risk.<br>
<div class="im"><br>
> Error Message:<br>
>     ORA-00001: unique constraint (SPACEWALK.RHN_CNP_CID_NID_UQ) violated<br>
> ORA-06512: at "SPACEWALK.RHN_CHANNEL", line 916<br>
> ORA-06512: at line 1<br>
> Error Class Code: 23<br>
> Error Class Info: Could not update database entry.<br>
><br>
> xargs: rhnpush: exited with status 255; aborting<br>
<br>
</div>Here follows some wild speculation:<br>
<br>
I think that constraint ensures that package IDs are unique on the<br>
spacewalk server. Possibly the previous error is leaving some kind of<br>
uncompleted upload which is causing the constraint to be violated but<br>
once the push session ends the failed uploads have their transactions<br>
rolled back leaving no visible evidence such as a half uploaded<br>
package visible on the spacewalk website.<br>
<br>
Consequently if you fix the first error, the second may go away too.<br>
<br>
End of wild speculation.<br>
<br>
Regards,<br>
<font color="#888888"><br>
--<br>
David Nutter                            Tel: +44 (0)131 650 4888<br>
BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK<br>
<br>
Biomathematics and Statistics Scotland (BioSS) is formally part of The<br>
Scottish Crop Research Institute (SCRI), a registered Scottish charity<br>
No. SC006662<br>
</font><div><div></div><div class="h5"><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><br clear="all"><br>-- <br>Tommaso Rossetto<br>vicolo I Maggio , 13<br>Maserada sul Piave - 31052 (TV)<br>