Kickstart Configurator (GUI) crashes while loading packages.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kickstart Configurator (GUI) crashes while loading packages.
Kickstart Configurator (GUI) crashes while loading packages.
Hi all,
I was configuring a kickstart file to be able to install RHEL5 on another machine, I am using VMWARE workstation to accomplish that.
So I have configured the base.repo file and the dhcp server is working fine.
But when I gave the command to launch the Kickstart Configurator, it crashes while loading packages.
When it crashes an error was generated, the error is:
Traceback (most recent call last):
File "/usr/bin/system-config-kickstart", line 82, in ?
kickstartGui.kickstartGui(file)
File "/usr/share/system-config-kickstart/kickstartGui.py", line 158, in __init__
self.packages_class = packages.Packages(xml, self.kickstartData)
File "/usr/share/system-config-kickstart/packages.py", line 167, in __init__
self.y = sckYumBase(pbar)
File "/usr/share/system-config-kickstart/packages.py", line 142, in __init__
self.doGroupSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 415, in doGroupSetup
raise Errors.GroupsError, 'No Groups Available in any repository'
yum.Errors.GroupsError: No Groups Available in any repository
Can anyone suggest why it is crashing, it however loads perfectly when I modify the base.repo file [base] to [server] but then it doesn't loads the packages.
Please help. thanks in advance.
Naman
Last edited by naman.jandial; 03-22-2010 at 05:14 PM.
Reason: added the error message
Kickstart Configurator (GUI) crashes while loading packages.
Hi all,
I was configuring a kickstart file to be able to install RHEL5 on another machine, I am using VMWARE workstation to accomplish that.
So I have configured the base.repo file and the dhcp server is working fine.
But when I gave the command to launch the Kickstart Configurator, it crashes while loading packages.
When it crashes an error was generated, the error is:
Traceback (most recent call last):
File "/usr/bin/system-config-kickstart", line 82, in ?
kickstartGui.kickstartGui(file)
File "/usr/share/system-config-kickstart/kickstartGui.py", line 158, in __init__
self.packages_class = packages.Packages(xml, self.kickstartData)
File "/usr/share/system-config-kickstart/packages.py", line 167, in __init__
self.y = sckYumBase(pbar)
File "/usr/share/system-config-kickstart/packages.py", line 142, in __init__
self.doGroupSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 415, in doGroupSetup
raise Errors.GroupsError, 'No Groups Available in any repository'
yum.Errors.GroupsError: No Groups Available in any repository
Can anyone suggest why it is crashing, it however loads perfectly when I modify the base.repo file [base] to [server] but then it doesn't loads the packages.
Please help. thanks in advance.
Naman
There are some more bugs in this tool.
I would recommend doing a manual install, selecting the packages you want and use the generated anaconda-ks.cfg file in your /root directory generated.
You can copy paste stuff from there.
But since I am new to Linux, can you suggest me how to do a manual install of the kickstart file, or which command to run to execute the manual install.
I tried the system-config-kickstart command, but it was bringing up the GUI and thats when it was crashing again and again.
I meant that you can do just a normal install (without thinking about kickstart) using the normal installation media.
Give all the details to Anaconda (the setup program).
After the installation you will find a file in /root directory.
I think it is called kickstart-ks.cfg.
You can use that to make the same install.
When you have that there are different ways to do the automated install.
You can use on the first screen of the install cd:
linux ks=floppy
linux ks=nfs:ip:/ks.cfg
...
This depends on where you can put the file.
Ok, I tried that what you suggested
and copied the kickstart-ks.cfg as first.cfg and placed it under /var/ftp/pub (which is shared)
I then launched the installer in the new mchine and at boot prompt I stated:
Quote:
linux ks=nfs:172.24.0.2:/var/ftp/pub/first.cfg
but then it reads unable to download the kickstart file please specify the location.
However, I would like to make a point here, that my nfs is not properly setup yet as mountd and statd are taking random ports despite the fact that I have provided them static ports in /etc/sysconfig/nfs file. -- could this be the problem. Is here any way to fix this.
just tried:
Quote:
linux ks=nfs:172.24.0.2:/first.cfg
but still the same, cannot download kickstart file.
Thanks again
Last edited by naman.jandial; 03-24-2010 at 03:30 AM.
Ok, I tried that what you suggested
and copied the kickstart-ks.cfg as first.cfg and placed it under /var/ftp/pub (which is shared)
I then launched the installer in the new mchine and at boot prompt I stated:
but then it reads unable to download the kickstart file please specify the location.
You should check your exports of the nfs share.
Code:
showmount -e
on the nfs server itself.
What is in your /etc/exports file?
Quote:
However, I would like to make a point here, that my nfs is not properly setup yet as mountd and statd are taking random ports despite the fact that I have provided them static ports in /etc/sysconfig/nfs file. -- could this be the problem. Is here any way to fix this.
just tried: but still the same, cannot download kickstart file.
Thanks again
You can use
Code:
rpcinfo -p
for that.
It shows you the ports used.
Providing the ports in /etc/sysconfig/nfs as you said should fix this issue. Be sure you restart the necessary services:
Code:
service nfs restart
service nfslock restart
Check again if the ports are ok now. There might be some others too to restart.
These should be allowed by your firewall.
If unsure you can flush the iptables rules:
Code:
iptables -F
Do note that if your chain policy is not ACCEPT you probably will lock yourself out. In RHEL or CentOS this is not the case by default.
Also access rights on the /var/ftp/pub and kickstart file should be correct.
4.) Tried to launch a new machine it picked the ip from the already configured dhcp srver, yet its still nnot picking up the kickstart file at the start, the command that I am providing is linux ks=nfs:172.24.0.2:/var/ftp/pub/first.cfg
currently the following the services are running and are on:
linux ks=nfs:172.24.0.2:/var/ftp/pub/first.cfg
Is indeed the thing you need.
Are your access rights ok to this nfs share?
Can you access it from another host?
Is your firewall blocking anything?
Anything in the log files?
Alt+f1,alt+f2, ... on these screens you can also see more information about the installation process.
Will try these, thanks again.
Haven't checked the firewall yet, will check, will try to flush the IPtables.
How can I check the mount point or nfs share of the server from another machine, do you think the following command will work:
Code:
mount root@172.24.0.2:/var/ftp/pub /mnt
Thanks.
Last edited by naman.jandial; 03-26-2010 at 07:53 AM.
Will try these, thanks again.
Haven't checked the firewall yet, will check, will try to flush the IPtables.
How can I check the mount point or nfs share of the server from another machine, do you think the following command will work:
Code:
mount root@172.24.0.2:/var/ftp/pub /mnt
Thanks.
mount ip:/path /mnt
should work.
Go to /var/ftp/pub and do
ls -l
and
ls -ld .
and I was able to mount the nfs share on the other machine as
Code:
mount 172.24:0:2:/var/ftp/pub /mnt
and I ould see the contents of the same.
but the kickstart still failed. Cannot download the file.
You should search for some clues... use alt-f1, alt-f2, ... on the machine where you are trying to install.
You are very close
You can also make your kickstart file available through http.
Then you use: linux ks=http://ip/path/ks.cfg
If both machines are in another network... is the gateway correctly given through dhcp (normally this shouldn't be a problem if your other hosts are also using dhcp, that would prove it is working)?
At the moment I can't help you further... I need some more info from you now.
Do you have different ethernet devices for that host where you want to install?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.