LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-22-2010, 12:30 PM   #1
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Rep: Reputation: 16
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
 
Old 03-23-2010, 07:44 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by naman.jandial View Post
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.
 
Old 03-23-2010, 07:53 AM   #3
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
Thanks Deadeyes

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.

currently my base.repo file looks like this:

[base]
name=base
baseurl=ftp://172.24.0.2/pub/Server
gpgcheck=0

[server]
name=server
baseurl=ftp://172.24.0.2/pub/Server
gpgcheck=0

[VT]
name=VT
baseurl=ftp://172.24.0.2/pub/VT
gpgcheck=0

[Cluster]
name=Cluster
baseurl=ftp://172.24.0.2/pub/Cluster
gpgcheck=0

[ClusterStorage]
name=ClusterStorage
baseurl=ftp://172.24.0.2/pub/ClusterStorage
gpgcheck=0

httpd, vsftpd and dhcp services are installed and working.
portmap and nfs services are started and are on.

Thanks

Last edited by naman.jandial; 03-23-2010 at 08:02 AM.
 
Old 03-23-2010, 05:11 PM   #4
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
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.
 
Old 03-23-2010, 05:15 PM   #5
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
Got it, will try it and will post back
Thanks again
 
Old 03-24-2010, 03:26 AM   #6
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
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.
 
Old 03-24-2010, 05:01 AM   #7
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by naman.jandial View Post
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.
 
Old 03-24-2010, 08:15 AM   #8
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
I will try these and will post back with more results,

Thanks
 
Old 03-25-2010, 04:23 AM   #9
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
Hello Deadeyes

I performed the steps that you mentioned and got some postive results.

1.) showmount -e displays the mont point as /var/ftp/pub

2.) I performed
Code:
service nfs restart
service nfslock restart
and it indeed locked the ports where I wanted and were being displayed in the rpcinfo -P

3.) Additionally I created ser.repo and eneterd the server entries as:
Quote:
[server]
name=server
baseurl=ftp://172.24.0.2/pub/Server
gpgcheck=0
and base.repo as
Quote:
[base]
name=base
baseurl=ftp://172.24.0.2/pub/Server
gpgcheck=0
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:

i) vsftpd
ii) dhcpd
iii) portmap
iv) nfs
v) nfslock

don't know where I am missing.

Thanks for your help again.
 
Old 03-26-2010, 03:20 AM   #10
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
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.
 
Old 03-26-2010, 07:42 AM   #11
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
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.
 
Old 03-26-2010, 09:44 AM   #12
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by naman.jandial View Post
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 .
 
Old 03-26-2010, 10:17 AM   #13
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
Thanks again. Will try and post back with more results.
 
Old 03-27-2010, 07:07 AM   #14
naman.jandial
Member
 
Registered: Jan 2010
Posts: 30

Original Poster
Rep: Reputation: 16
Hi

I did flush the iptables :
Code:
iptables -F
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.
 
Old 03-27-2010, 12:11 PM   #15
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by naman.jandial View Post
Hi

I did flush the iptables :
Code:
iptables -F
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?
 
  


Reply

Tags
kickstart



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kickstart Configurator Problem - Red Hat Enterprise Linux server 5 sj_johney Linux - Server 7 04-22-2012 10:47 AM
Kickstart Configurator...but no internet access Latitude Linux - Newbie 5 04-13-2009 01:28 PM
kickstart configurator utility ahmedb72 Red Hat 0 01-15-2006 11:07 PM
how to save the kickstart configurator file? kpachopoulos Fedora 0 09-16-2004 03:07 PM
Kickstart configurator from tape R2RO Linux - Networking 2 05-02-2003 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration