<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I've setup a fresh Spacewalk .6 instance.  While trying to populate a Centos 5.3 x86_64 channel I'm getting the following error:<br><span>[root@spacewalk src]# rhnpush -vvv --channel=centos5-x86_64-base --server=<a target="_blank" href="http://localhost/APP">http://localhost/APP</a> --dir=/var/www/html/centos/5/os/x86_64/CentOS</span><br>Uploading files from directory /var/www/html/centos/5/os/x86_64/CentOS<br><span>Connecting to <a target="_blank" href="http://localhost/APP">http://localhost/APP</a></span><br><span>url is <a target="_blank" href="http://localhost/PACKAGE-PUSH">http://localhost/PACKAGE-PUSH</a></span><br>Result codes: 200 OK<br>Computing md5sum and package Info .This may take sometime ...<br>Package
 /var/www/html/centos/5/os/x86_64/CentOS/libXdamage-devel-1.0.3-2.1.i386.rpm already exists on the RHN Server-- Skipping Upload....<br>**snip**<br>Package /var/www/html/centos/5/os/x86_64/CentOS/glibc-devel-2.5-34.x86_64.rpm already exists on the RHN Server-- Skipping Upload....<br>Package /var/www/html/centos/5/os/x86_64/CentOS/dbus-libs-1.1.2-12.el5.x86_64.rpm already exists on the RHN Server-- Skipping Upload....<br><br>Error Message:<br>    ORA-00001: unique constraint (SPACEWALK.RHN_CNP_CID_NID_UQ) violated<br>ORA-06512: at "SPACEWALK.RHN_CHANNEL", line 1131<br>ORA-06512: at line 1<br>Error Class Code: 23<br>Error Class Info: Could not update database entry.<br><br>The given channel is configured as follows:<br>Channel Name:      CentOS 5 x86_64 - Base<br>Channel Label:     centos5-x86_64-base<br>Parent Channel:    (none)<br>Architecture:   
 x86_64<br>Summary:    CentOS 5 x86_64 - Base<br>Description:    CentOS 5 x86_64 - Base<br>Channel Entitlement Name:    Private Channel Family 1<br>Last Modified:    2009-08-20 08:03:27.0<br>Last Repo Build:    2009-08-20 07:47:40<br>Repo Cache Status:    Completed<br>Packages:    2647<br><br>When trying to use the spacewalk-repo-sync command to populate that same channel it just hangs:<br>[root@spacewalk src]# /usr/bin/spacewalk-repo-sync -u file:///var/www/html/centos/5/os/x86_64/ -c "centos5-x86_64-base" -t yum -l "centos5-x86_64-base"<br>Repo file:///var/www/html/centos/5/os/x86_64/ has 3272 packages.<br>1/625 : compat-libstdc++-33-3.2.3-61-0.i386<br>**snip**<br>624/625 : sblim-gather-provider-2.1.2-31.el5_2.1-0.i386<br>625/625 : urw-fonts-2.3-6.1.1-0.noarch<br><hangs here><br><br>The child channels that are dependent on the Base channel
 have no problem with being populated with updates:<br>Channel Name    Packages<br>Parent Channel Button  CentOS 5 x86_64 - Base      2647<br>Child Channel CentOS 5 x86_64 - CentOSPlus     93<br>Child Channel CentOS 5 x86_64 - Extras     278<br>Child Channel CentOS 5 x86_64 - Updates     620 <br><br>The contents of /var/www/html/centos are taken directly from the CentOS rsync servers with the following command:<br>rsync -aqzH --delete --exclude="*.iso" us-msync.centos.org::CentOS /var/www/html/centos<br><br><br>Anyone have any idea on what would be violating the unique Oracle constraint?<br><br>Regards,<br>Matt<br><br></div></div><br>

      </body></html>