LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2015, 12:38 AM   #1
kamran.ayub
Member
 
Registered: Jan 2012
Posts: 72

Rep: Reputation: Disabled
Centos Kickstart Installation Error


Dear All,

I am doing kickstart installation based on centos and getting installation error at the end of installation. It is throwing some exception for anaconda. If I agree with this exception and passed Ctrl+C to it it finishes installation and everything I passed in kick start file is installed perfectly. How can I remove the exception attached here.

Following is my kick start file:

########################################

install
text
reboot
# Use the cdrom for the package install
cdrom
lang en_US.UTF-8
keyboard us
skipx
# You'll need a DHCP server on the network for the new install to be reachable via SSH
#network --device eth0 --bootproto dhcp --noipv6
network --device eth0 --bootproto static --ip 10.111.X.X --netmask 255.255.255.0 --gateway 10.111.X.X --nameserver 10.111.X.X --hostname test-system --noipv6
# Set the root password below !! Remember to change this once the install has completed !!
rootpw testsystem
# Enable iptables, but allow SSH from anywhere
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc Asia/Karachi
# Storage partitioning and formatting is below. We use LVM here.
bootloader --location=mbr --driveorder=sda --append=" rhgb creashkernel=auto quiet"
zerombr
clearpart --all
part /boot --fstype=ext4 --size=500
part /data --fstype=ext4 --size=4096
part swap --size=1024
part / --fstype=ext4 --grow --size=1000

# Defines the repo we created
repo --name="CentOS" --baseurl=file:///mnt/source --cost=100

# The below line installs the bare minimum WITH docs. If you don't want the docs, coment it out and uncomment the line below it.
#packages --nobase
packages --nobase --excludedocs --ignoremissing
@core
@base
@debugging
-@Conflicts (Server)
perl-Time-HiRes
wget
make
openssl-devel
ncurses-devel
newt-devel
libxml2-devel
kernel-devel
gcc
gcc-c++
sqlite-devel
cpp
libgcc
libgomp
libstdc++
libstdc++-devel
libuuid
libxml2
locate
telnet
perl
python
php
httpd
libnfnetlink-devel
pkgconfig
slang-devel
openscap-devel
openssl
perl-XML-TokeParser
perl-libs
php-cli
php-common
mysql-server
mysql-libs
libuuid-devel
mysql-devel
%post --interpreter=/bin/bash --erroronfail --log=/mnt/sysimage/root/ks-post.log
mkdir /mnt/tmp
/bin/echo "nameserver 10.111.X.X" >> /etc/resolv.conf
/bin/echo "nameserver 10.111.X.X" >> /etc/resolv.conf
/bin/echo "nameserver 4.2.X.X" >> /etc/resolv.conf
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
mount /dev/cdrom /mnt
cp -rf /mnt/asterisk/* /usr/local/src/
cd /usr/local/src
tar -xvzf asterisk-11-current.tar.gz
cd asterisk-11.9.0/
./configure --libdir=/usr/lib64 && echo "Done"
menuselect/menuselect --enable res_config_mysql menuselect.makeopts
menuselect/menuselect --enable cdr_mysql menuselect.makeopts
make && make install && echo "Done"
make samples && make config && echo "Done"
/sbin/ldconfig
asterisk
asterisk -rx "core stop now"
asterisk
/sbin/ldconfig
exit 0
%end
##################################


Exception which I am getting at the end of installation is attached herewith to see.

Please help to remove this exception error.
Thanks

regards,
Kamran
Attached Thumbnails
Click image for larger version

Name:	ks.cfg error.JPG
Views:	31
Size:	73.0 KB
ID:	17988  

Last edited by kamran.ayub; 04-03-2015 at 12:49 AM.
 
Old 04-04-2015, 09:04 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
What version of Centos are you installing?
 
Old 04-07-2015, 10:16 PM   #3
kamran.ayub
Member
 
Registered: Jan 2012
Posts: 72

Original Poster
Rep: Reputation: Disabled
I am using Centos 6.4 X86_64
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Spacewalk Kickstart installation problem only for CentOS 5.X vikas027 Linux - Software 1 12-17-2013 11:04 PM
[SOLVED] kickstart installation centos http rajesh00749 Linux - Newbie 1 09-29-2013 09:42 PM
Centos 6.4 kickstart installation not working rootr9 Linux - General 1 09-24-2013 03:55 AM
Kickstart installation problems with CentOS 5.2 triley Linux - General 3 10-21-2008 12:37 PM
CentOS kickstart installation with nodefaults shubb Linux - Distributions 3 10-13-2008 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 PM.

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