Re: [CentOS] CentOS 5.1 install via PXE Failure

2008-03-14 Thread William L. Maltby
On Fri, 2008-03-14 at 16:32 +1100, James Gray wrote:
> James
> -- 
> Q:  What lies on the bottom of the ocean and twitches?
> A:  A nervous wreck

I had to say thank you for that one! Made me laugh out loud at 05:40
with only one cup of coffee ingested.

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.1 install via PXE Failure

2008-03-13 Thread James Gray
On Fri, 14 Mar 2008 02:24:39 am Joshua Baker-LePain wrote:
> On Thu, 13 Mar 2008 at 5:11pm, James Gray wrote
>
> > The installer starts, loads the kickstart script (attached), successfully
> > verifies the installation media, checks the dependencies for the packages
> > to be installed, formats the hard drive(s), then attempts to download the
> > package:
> > sysklogd-1.4.1-39.2.x86_64.rpm
>
> Somehow, your install is looking for CentOS 5.0 files rather than 5.1.
> Make sure that your repodata files match up with what is actually in your
> repo.  Make sure there aren't any crossed symlinks somewhere.

Indeed - you are correct :)  Seems someone had "played" with our rsync script 
and it was missing those repodata files! G.  Thanks for the heads-up!

Cheers,

James
-- 
Q:  What lies on the bottom of the ocean and twitches?
A:  A nervous wreck.


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.1 install via PXE Failure

2008-03-13 Thread Joshua Baker-LePain

On Thu, 13 Mar 2008 at 5:11pm, James Gray wrote


The installer starts, loads the kickstart script (attached), successfully
verifies the installation media, checks the dependencies for the packages to
be installed, formats the hard drive(s), then attempts to download the
package:
sysklogd-1.4.1-39.2.x86_64.rpm


Somehow, your install is looking for CentOS 5.0 files rather than 5.1. 
Make sure that your repodata files match up with what is actually in your 
repo.  Make sure there aren't any crossed symlinks somewhere.


--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.1 install via PXE Failure

2008-03-12 Thread James Gray
On Thu, 13 Mar 2008 05:11:42 pm James Gray wrote:
> This is killing us :(  The odd thing is the

The last part, after the :(,  was not supposed for the e-mail...sometimes 
sloppy focus is a little sloppier than my fingers...or maybe the other way 
around ;)

James


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.1 install via PXE Failure

2008-03-12 Thread James Gray
Hi All,

This has to be something simplebut it's really busting my chops.  We have 
a PXE boot server that is used for initial installation of a number of 
operating systems and it works well.  However the CentOS 5.1 x86_64 install 
is seriously broken.

We've made the PXE boot images available from
"centos/5/os/x86_64/images/pxeboot/" in the tftp boot etc.  We've rsynced our 
mirror with a local Tier 1 mirror 
(rsync://ftp.monash.edu.au::ftp/linux/CentOS/)

Next we fire off the installation using the following 
in /tftpboot/pxelinux.cfg/default:

label 4
kernel centos5/x86_64/vmlinuz
append initrd=centos5/x86_64/initrd.img ramdisk_size=7000 
ks=http:///CentOS-5/dot/kickstart/ks.cfg.x86_64 
ksdevice=eth0 language=en text

The installer starts, loads the kickstart script (attached), successfully 
verifies the installation media, checks the dependencies for the packages to 
be installed, formats the hard drive(s), then attempts to download the 
package:
sysklogd-1.4.1-39.2.x86_64.rpm

At this point the installation will not continue because that package is not 
part of the installation!  I've verified our internal mirror with 3 other 
Tier 1 rsync hosts and all agree, our images are up-to-date and the CORRECT 
sysklogd package is actually:
sysklogd-1.4.1-40.el5.x86_64.rpm   (Note the build is 40.el5, NOT 39.2).

I've tried creating a symbolic link from sysklogd-1.4.1-40.el5.x86_64.rpm -> 
sysklogd-1.4.1-39.2.x86_64.rpm, and sourcing a real package for 
sysklogd-1.4.1-39.2.x86_64.rpm.  These last two attempts have still resulted 
in the installer claiming the RPM is corrupt, not available etc.

This is killing us :(  The odd thing is the 

James
-- 
There will be big changes for you but you will be happy.
# This kickstart configuration is for a PowerEdge 2850
# Creates system partitions (requires approx 30GB) and
# leaves any extra space unformatted.

##
# Start global configuration options #
##

# See the kickstart documentation for an explanation of these options
# 
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-options.html

lang en_AU
langsupport en_AU

keyboard us
mouse

timezone Australia/Sydney
rootpw --iscrypted 
reboot
install
url --url http:///CentOS-5/os/x86_64
bootloader --location=mbr

# Wipe the MBR
zerombr yes

# Remove the existing partition table
clearpart --all --initlabel

# Disk partitioning information
part /boot --fstype ext2 --size 100 --asprimary --ondisk=sda
part swap --size 2048 --asprimary --ondisk=sda
part / --fstype ext3 --size 10240 --asprimary --ondisk=sda
part /home --fstype ext3 --size 3072 --ondisk=sda
part /tmp --fstype ext2 --size 500 --ondisk=sda
part /var --fstype ext3 --size 16384 --ondisk=sda

auth  --useshadow  --enablemd5
firewall --disabled
selinux --disabled
skipx

# Perform installation in text mode to save probing video hardware
text


# End global configuration options #



# Package install information
%packages --resolvedeps
e2fsprogs
grub
kernel
lynx
net-snmp
net-snmp-utils
strace
ntp
exim
vim-enhanced
vim-common
perl-Digest-HMAC
perl-Digest-SHA1

# Packages to remove
-NetworkManager
-aspell
-aspell-en
-bluez-bluefw
-bluez-hcidump
-bluez-libs
-bluez-utils
-cups
-cups-libs
-dos2unix
-dosfstools
-finger
-fontconfig
-freetype
-glib
-gpm
-hesiod
-htmlview
-ipsec-tools
-irda-utils
-isdn4k-utils
-lftp
-lha
-libjpeg
-libpng
-libtiff
-nano
-pcmcia-cs
-pinfo
-ppp
-redhat-lsb
-rp-pppoe
-sendmail
-talk
-unix2dos
-unzip
-wireless-tools
-wvdial
-xorg-x11-Mesa-libGL
-xorg-x11-libs
-yp-tools
-ypbind
-zip

%post
echo "Automated Dot SOE installation `/bin/date`" > /etc/motd

# Install BCFG2 client
rpm -i 
http:///CentOS-5/local/RPMS/x86_64/redhat-lsb-3.0-8.EL.dot.x86_64.rpm
rpm -i 
http:///CentOS-5/local/RPMS/x86_64/lxml-0.9-1.x86_64.rpm
rpm -i 
http:///CentOS-5/local/RPMS/noarch/bcfg2-0.8.4-2.dot.noarch.rpm

# Install default configuration files
wget http:///CentOS-5/local/config/snmpd.conf -O 
/etc/snmpd/snmpd.conf
wget http:///CentOS-5/local/config/exim.conf -O 
/etc/exim/exim.conf
wget http:///CentOS-5/local/config/bcfg2.conf -O 
/etc/bcfg2.conf

# Turn off root logins via SSH
echo -en '\n#Turn off root login via sshd\nPermitRootLogin no\n' >> 
/etc/ssh/sshd_config

# Turn off unwanted services
chkconfig --del cpuspeed
chkconfig --del iptables
chkconfig --del kudzu
chkconfig --del mdmonitor
chkconfig --del microcode_ctl
chkconfig --del rpcidmapd
chkconfig --del rpcgssd
chkconfig --del smartd
chkconfig --del xinetd
chkconfig --del gpm
chkconfig --del lm_sensors
chkconfig --del haldaemon
chkconfig --del messagebus


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos