These two lines tell me that you are missing spacewalk-client related rpms. If you use spacewalk-common-channels script then you should have gotten a channel automatically for this. It's easy enough to manually create one, make it a child channel of your base channel, then populate it.
/tmp/ks-script-RBANet: line 137: rhnreg_ks: command not found /tmp/ks-script-RBANet: line 143: rhn_check: command not found On Fri, Oct 18, 2013 at 5:21 AM, Lupin Deterd <[email protected]> wrote: > Here's my ks-rhn-post.log > > Seems that the first issue is the libxml2 dependy but that particular > version is on my child channel "centos6-x86_64-updates" what puzzle me > though is why it's not being pick up. > > > [root@localhost ~]# cat ks-rhn-post.log > /tmp/ks-script-RBANet: line 100: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT: > No such file or directory > Can't open /etc/sysconfig/rhn/up2date: No such file or directory. > --2013-10-18 22:13:43-- > http://192.168.152.129/download/package/740540d1b458a6e2bd900ee0af82e6da97ab37b5/0/4/3093/pyOpenSSL-0.10-2.el6.x86_64.rpm > Connecting to 192.168.152.129:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 216752 (212K) [application/octet-stream] > Saving to: `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' > > 0K .......... .......... .......... .......... .......... 23% 6.05M 0s > 50K .......... .......... .......... .......... .......... 47% 6.28M 0s > 100K .......... .......... .......... .......... .......... 70% 8.56M 0s > 150K .......... .......... .......... .......... .......... 94% 5.97M 0s > 200K .......... . 100% > 4.55M=0.03s > > 2013-10-18 22:13:44 (6.41 MB/s) - > `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' saved > [216752/216752] > > --2013-10-18 22:13:44-- > http://192.168.152.129/download/package/3ea5b0a6437725fcdfe569dc46867f16dd0c87b2/0/4/7972/rhnlib-2.5.65-1.el6.noarch.rpm > Reusing existing connection to 192.168.152.129:80. > HTTP request sent, awaiting response... 200 OK > Length: 65208 (64K) [application/octet-stream] > Saving to: `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm' > > 0K .......... .......... .......... .......... .......... 78% 9.91M 0s > 50K .......... ... 100% > 2.19M=0.01s > > 2013-10-18 22:13:44 (5.63 MB/s) - > `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm' saved [65208/65208] > > --2013-10-18 22:13:44-- > http://192.168.152.129/download/package/bdd293123a1c719a45099ac1e59d9643631e773b/0/4/6761/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm > Reusing existing connection to 192.168.152.129:80. > HTTP request sent, awaiting response... 200 OK > Length: 328816 (321K) [application/octet-stream] > Saving to: > `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm' > > 0K .......... .......... .......... .......... .......... 15% 11.1M 0s > 50K .......... .......... .......... .......... .......... 31% 5.45M 0s > 100K .......... .......... .......... .......... .......... 46% 2.99M 0s > 150K .......... .......... .......... .......... .......... 62% 4.39M 0s > 200K .......... .......... .......... .......... .......... 77% 5.11M 0s > 250K .......... .......... .......... .......... .......... 93% 8.24M 0s > 300K .......... .......... . 100% > 19.0M=0.06s > > 2013-10-18 22:13:44 (5.46 MB/s) - > `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm' saved > [328816/328816] > > FINISHED --2013-10-18 22:13:44-- > Downloaded: 3 files, 596K in 0.1s (5.79 MB/s) > warning: /tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm: Header V3 > RSA/SHA256 Signature, key ID c105b9de: NOKEY > warning: /tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm: Header V4 > DSA/SHA1 Signature, key ID 863a853d: NOKEY > error: Failed dependencies: > libxml2 = 2.7.6-12.el6_4.1 is needed by > libxml2-python-2.7.6-12.el6_4.1.x86_64 > Can't open /etc/sysconfig/rhn/up2date: No such file or directory. > cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory > --2013-10-18 22:13:44-- > http://192.168.152.129/pub/RHN-ORG-TRUSTED-SSL-CERT > Connecting to 192.168.152.129:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 5316 (5.2K) [text/plain] > Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' > > 0K ..... 100% 180M=0s > > 2013-10-18 22:13:44 (180 MB/s) - `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' > saved [5316/5316] > > Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular > file. > /tmp/ks-script-RBANet: line 137: rhnreg_ks: command not found > /tmp/ks-script-RBANet: line 143: rhn_check: command not found > > > > On Fri, Oct 18, 2013 at 3:21 PM, Suh, Tim <[email protected]> wrote: > >> The best way is to check the log file. There should be rhn-post-ks.log >> file in the root user directory. Inspect the file to see what might have >> gone wrong. >> >> >> On Thu, Oct 17, 2013 at 9:30 PM, Lupin Deterd <[email protected]>wrote: >> >>> Hi, >>> >>> I'm struggling with my spacewalk client doing >>> auto-register/subscription using activation key. Following are what I did. >>> >>> -> Setup org >>> -> Create Channels on default org using spacewalk-common-channels >>> centos6-x86_64 >>> centos6-x86_64-centosplus >>> centos6-x86_64-extras >>> centos6-x86_64-fasttrack >>> centos6-x86_64-updates >>> centos6u4-x86_64 >>> -> populate it using repo-sync >>> >>> -> Create a channel "centos6-with-tools" as child to centos6-x86_64 >>> -> populate with packages from >>> http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/ >>> >>> -> Create activation key, linked to to base channel centos6-x86_64 and >>> centos6-with-tools as child >>> -> Create Kickstart Distr >>> ->Create Kickstart profile, linked the activation key. >>> ->Did a cobbler buildiso using the ks profile. >>> ->Provision a vm. >>> >>> The provision/install OS part is doing fine and dandy but it didn't >>> auto-register. >>> >>> Any idea where I can start digging? >>> >>> Thanks, >>> lupin >>> >>> _______________________________________________ >>> Spacewalk-list mailing list >>> [email protected] >>> https://www.redhat.com/mailman/listinfo/spacewalk-list >>> >> >> >> _______________________________________________ >> Spacewalk-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/spacewalk-list >> > > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
