<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
We setup a web server that serves RedHat Advanced Servers 3.0 and 4.0
for i386 and x86_64.<br>
Basically, we copied the contents of CD's to their respective CDs.<br>
Eg: redhat advanced server 3 on x86_64 to
<dir>/redhat/AS3.0/x86_64/<br>
<br>
As part of install process, we create kickstart on the fly and the
client downloads the required files like vmlinuz, initrd product.img,
updates.img and netstg2.img etc from the webserver.<br>
Of late, we have been running into a weird problem wherein the path to
the above, at time refers to disk1 and at other times refers to the
right path in the webserver. Also,<br>
although the file exists in a given directory, the server returns a
HTTP 404 file not found error. I checked directory permissions on the
directory, and they appear to be ok.<br>
<br>
Please find an extract from our webserver log below:<br>
<br>
<small>2005/12/09 06:23:13 10.149.17.213 200 26261
/redhat/AS3.0/x86_64/ks.cfg HTTP/1.1<br>
2005/12/09 06:23:14 10.149.17.213 200 158
/redhat/AS3.0/x86_64/isolinux/vmlinuz HTTP/1.1<br>
2005/12/09 06:23:20 10.149.17.213 200 158
/redhat/AS3.0/x86_64/isolinux/initrd.img HTTP/1.1<br>
<font color="#ff6666">2005/12/09 06:25:16 10.149.17.213 404 78
/redhat/AS3.0/x86_64/RedHat/base/updates.img HTTP/1.1</font><br>
<font color="#ff6666">2005/12/09 06:25:17 10.149.17.213 404 78
/redhat/AS3.0/x86_64/disc1/RedHat/base/updates.img HTTP/1.1</font><br>
2005/12/09 06:25:18 10.149.17.213 200 158
/redhat/AS3.0/x86_64/RedHat/base/product.img HTTP/1.1<br>
<font color="#ff6666">2005/12/09 06:25:27 10.149.17.213 404 78
/redhat/AS3.0/x86_64/disc1/RedHat/base/product.img HTTP/1.1<br>
</font>2005/12/09 06:25:28 10.149.17.213 200 159
/redhat/AS3.0/x86_64/RedHat/base/netstg2.img HTTP/1.1<br>
<font color="#ff6666">2005/12/09 06:26:36 10.149.17.213 404 78
/redhat/AS3.0/x86_64/disc1/RedHat/base/netstg2.img HTTP/1.1</font><br>
<br>
<br>
<br>
</small>The other interesting thing is that although I see a HTTP 404
for files like updates.img, the installer does not complain about it
and proceeds.<br>
However, when it fails to find netstg2.img, it pops up a window on the
screen complaining that netstg2.img cannot be found in a given
directory although the file exists there.<br>
<br>
Do I need to run genhdlist or pkgorder once I copy the contents of the
CD into the webserver's directory? <br>
I thought genhdlist talks only about rpms and not about updates or
netstg2. <br>
Did anyone run into issues like the above? Any pointers would be
greatly appreciated.<br>
<br>
thanks<br>
Prasanna<br>
<br>
<br>
<br>
</body>
</html>