[Spacewalk-list] RHN::Exception: DBD::Oracle when trying to commit kickstart trees with make-ks-tree

Justin Sherrill jsherril at redhat.com
Sat Jun 21 03:04:32 UTC 2008


Oops,

Forgot one other thing you may need to do:

# sqlplus spacewalk/spacewalk at xe
sqlplus>  update rhnKickstartCommandName set REQUIRED = 'N' where  name 
= 'mouse' OR name = 'langsupport';
sqlplus> commit;


I've added all these steps to the wiki:
https://fedorahosted.org/spacewalk/wiki/KickstartDistro

-Justin


Justin Sherrill wrote:
> Hey Kent,
>
> It looks like the info that i added to a schema data file didn't make 
> it into the built spacewalk packages.  In the meantime, simply run:
>
>
> # sqlplus spacewalk/spacewalk at xe
>
> sqlplus>   insert into rhnKSInstallType (id, label, name)
>         values (rhn_ksinstalltype_id_seq.nextval,
>          'fedora_9','Fedora 9'
>     );
> sqlplus>   commit;
>
>
>
> Then try again the command again.
>
> I'll try to figure out what we need to do to get the schema rebuilt.
>
> -Justin
>
>
>
> Kent Baxley wrote:
>> This one might just be a problem with how I'm using the script, but, I
>> thought I'd ask :-)
>>
>> Here's what I did:
>>
>> 1) Created a channel named fedora-9-i386 and pushed content to it.
>>
>> 2) Downloaded and mounted the Fedora-9-i386-DVD.iso and mounted it
>> under /mnt/iso.
>>
>> 3) Extracted the make-ks-tree stuff.
>>
>> 4) Ran the "dry-run" of the make-ks-tree.sh script:
>>
>> ./make-ks-tree.sh --channel fedora-9-i386 --source /mnt/iso --dsn
>> spacewalk/spacewalk at xe  --install-type fedora_9
>>
>> ...this worked fine
>>
>> 5) When I tried the above script again, this time with the --commit
>> option, I get the error message attached to this email.
>>
>> If I'm using the script improperly, or, if I need to try something
>> else, then I'll be glad to do that.
>>
>> Thanks.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list