View Single Post
  #4  
Old 24th January 2007, 03:28
Bailx Bailx is offline
Junior Member
 
Join Date: Dec 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you must be speaking of the ARTWORK, which was "optional"

most likely what happened was WGET never retrieved the SRPMS from the redhat servers....

this actually happened to me so much that i put my own files up, and had my own private script i ran instead of that one.

in a perfect world my script would work fine, but perhaps the redhat servers don't like people downloading their artwork?

at any rate.... you can easily fix your problem by either reinstalling the standard centos artwork packages.... or by running a modified script... such as the one below.

*note that the only difference is where the SRPMS are downloaded from...

sorry that you ran into problems.... but hey at least they weren't related to the actual ISPCONFIG portion.... i threw the artwork stuff on there as a bonus...

*note that this script will work... NOW... but i might be moving my server soon, and at which point you'd have to download the files from somewhere else....

the easiest thing for you might be to just download the files manually, and comment out the parts in the script where WGET is used....

Code:
#! /bin/bash
# Artwork Replacer for CentOS 4.4 (64-bit)
#
# Install Dependencies
#
yum install gtk+-devel gdk-pixbuf-devel gtk2-devel qt-devel kdebase-devel icon-slicer arts-devel -y
#
# Download
#
cd /tmp
wget http://bailx.com/centos/redhat-logos-1.1.26-1.src.rpm
wget http://bailx.com/centos/redhat-artwork-0.120.1-1.2E.src.rpm
wget http://bailx.com/centos/firstboot-1.3.39-5.src.rpm
#
# Extract
#
cd /tmp
rpm -i --force --nosignature redhat-logos-1.1.26-1.src.rpm
rpm -i --force --nosignature redhat-artwork-0.120.1-1.2E.src.rpm
rpm -i --force --nosignature firstboot-1.3.39-5.src.rpm
#
# Build
#
cd /usr/src/redhat
rpmbuild -ba SPECS/redhat-logos.spec
rpmbuild -ba --nodeps SPECS/redhat-artwork.spec
rpmbuild -ba SPECS/firstboot.spec
#
# Remove CentOS Artwork Packages
#
rpm -e --nodeps redhat-logos-1.1.26-1.centos4.4
rpm -e --nodeps redhat-artwork-0.120.1-1.2E.centos4.4.x86_64
rpm -e --nodeps redhat-artwork-0.120.1-1.2E.centos4.4.i386
rpm -e --nodeps firstboot-1.3.39-5.centos4.noarch
#
# Install
#
rpm -i RPMS/noarch/redhat-logos-1.1.26-1.noarch.rpm
rpm -i RPMS/x86_64/redhat-artwork-0.120.1-1.2E.x86_64.rpm
# rpm -i RPMS/i386/redhat-artwork-0.120.1-1.2E.i386.rpm
rpm -i RPMS/noarch/firstboot-1.3.39-5.noarch.rpm
#
# Clean Up
#
rm -f /tmp/redhat-logos-1.1.26-1.src.rpm
rm -f /tmp/redhat-artwork-0.120.1-1.2E.src.rpm
rm -f /tmp/firstboot-1.3.39-5.src.rpm
rm -fdr /usr/src/redhat/BUILD/firstboot*
rm -fdr /usr/src/redhat/BUILD/redhat*
rm -fdr /usr/src/redhat/RPMS/noarch
rm -fdr /usr/src/redhat/RPMS/x86_64
rm -fdr /usr/src/redhat/RPMS/i386
rm -f /usr/src/redhat/SOURCES/*
rm -f /usr/src/redhat/SPECS/*
rm -f /usr/src/redhat/SRPMS/*
#
# Yum Configuration
#
rm -f /etc/yum.conf
cd /etc
wget http://bailx.com/centos/yum.conf
dos2unix yum.conf
chmod 644 /etc/yum.conf
chown root:root /etc/yum.conf
Reply With Quote