RedHat 9 Kickstart via FTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fist off, thanks to Richard Black and Ron Reed for helping me with my
full-duplex issue last week.  I'm got that working.  On to the next oddity
which may be more of an install issue and not purely a kickstart one, but
here goes...

Setup:
Kickstart Server: RedHat 9 w/ vsFTPd 1.1.3
RedHat Directory location: /opt/local/redhat9
FTP information (ftp://username:password@server/opt/local/redhat9) is left
out of the ks.cfg so the user is forced to enter his/her password to
authenticate to the FTP server from which the OS image is being pulled.  

Everything cruises along fine until anaconda goes to pull the hdlist from
/opt/local/redhat9/RedHat/base/hdlist  Anaconda tries five times and then
dies saying it can't pull the file due to "missing file or bad media."  On
another VT, anaconda spits out a 550 error, saying it can't change to
directory.  Keep in mind that this KS server also serves up RedHat 8.0 (via
NFS and FTP)from /opt/local/redhat8 which works fine.  RedHat 9.0 NFS works
fine as well from this server.  After verifying the permissions on
everything and availability of the data via manual ftp, I fired up ethereal
to see what's going on and found something very interesting.  The data is
below, but I'll try and paraphrase it here.  

When RedHat 8.0 anaconda goes to get the hdlist, it connects via FTP and
then CWDs to "/" then to "opt" then to "local" then "redhat8" etc... until
it gets to the base directory.  It reads the hdlist and then the comps.xml
and chugs along its merry way.  RedHat 9.0 anaconda also connects fine via
ftp, but it tries to CWD to "opt" without going to "/" first.  This wouldn't
be a problem except that since users are logging in as themselves, they are
dropped into their ${HOME} which is usually not "/".  Anaconda is attempting
to pull the hdlist file from ${HOME}/opt/local/redhat9/RedHat/base and it
just isn't there.  

I suppose I could sym-link ${HOME}/opt to point to /opt, but I've never been
a big fan of spaghetti sym-linking to Band-Aid underlying problems.  I have
applied the fixes to bugzilla number 87867 and it either doesn't address
this issue or I'm not applying the fixes right (dumped the files to an ext2
floppy and ran a linux updates from the boot prompt off the install CD).
Anyway, I'd appreciate any information/suggestions anyone has on this one.
Thanks in advance

Bill

Bill Anderson
TDS Telecom ISS

P.S. Oh yeah, here are the ethereal dumps starting with the RedHat 8.0 (the
one that works).


RH 8.0 

   No. Time         Source Destination Protocol Info
  12393 26.152408   server client FTP      Response: 220 (vsFTPd 1.1.3)
  12395 26.152656   client server FTP      Request: USER user
  12397 26.154186   server client FTP      Response: 331 Please specify the
password.
  12398 26.154360   client server FTP      Request: PASS password
  12399 26.162789   server client FTP      Response: 230 Login successful.
Have fun.
  12400 26.162987   client server FTP      Request: CWD /
  12401 26.163405   server client FTP      Response: 250 Directory
successfully changed.
  12402 26.163579   client server FTP      Request: CWD opt
  12403 26.163669   server client FTP      Response: 250 Directory
successfully changed.
  12404 26.163837   client server FTP      Request: CWD local
  12405 26.163917   server client FTP      Response: 250 Directory
successfully changed.
  12406 26.164085   client server FTP      Request: CWD redhat8
  12407 26.164165   server client FTP      Response: 250 Directory
successfully changed.
  12408 26.164331   client server FTP      Request: CWD RedHat
  12409 26.164409   server client FTP      Response: 250 Directory
successfully changed.
  12410 26.164576   client server FTP      Request: CWD base
  12411 26.164653   server client FTP      Response: 250 Directory
successfully changed.
  12412 26.164869   client server FTP      Request: TYPE I
  12413 26.164934   server client FTP      Response: 200 Switching to Binary
mode.
  12414 26.165122   client server FTP      Request: TYPE A
  12415 26.165186   server client FTP      Response: 200 Switching to ASCII
mode.
  12416 26.165364   client server FTP      Request: PASV
  12417 26.165548   server client FTP      Response: 227 Entering Passive
Mode (204,246,8,205,202,229)
  12421 26.170103   client server FTP      Request: NLST hdlist
  12422 26.173478   server client FTP      Response: 150 Here comes the
directory listing.
  12424 26.173663   server client FTP      Response: 226 Directory send OK.
  12429 26.175917   client server FTP      Request: TYPE I
  12430 26.175994   server client FTP      Response: 200 Switching to Binary
mode.
  12431 26.176180   client server FTP      Request: PASV
  12432 26.176314   server client FTP      Response: 227 Entering Passive
Mode (204,246,8,205,58,190)
  12436 26.176815   client server FTP      Request: RETR hdlist
  12437 26.176970   server client FTP      Response: 150 Opening BINARY mode
data connection for hdlist (2339328 bytes).
  15850 26.717572   server client FTP      Response: 226 File send OK.
  15864 26.926481   server client FTP      Response: 226 File send OK.
  15866 26.926707   client server FTP      Request: TYPE I
  15867 26.929820   server client FTP      Response: 200 Switching to Binary
mode.
  15868 26.930026   client server FTP      Request: TYPE A
  15869 26.930108   server client FTP      Response: 200 Switching to ASCII
mode.
  15870 26.930282   client server FTP      Request: PASV
  15871 26.930414   server client FTP      Response: 227 Entering Passive
Mode (204,246,8,205,130,39)
  15875 26.930923   client server FTP      Request: NLST comps.xml
  15876 26.931090   server client FTP      Response: 150 Here comes the
directory listing.
  15878 26.931234   server client FTP      Response: 226 Directory send OK.
  15883 26.931679   client server FTP      Request: TYPE I
  15884 26.931741   server client FTP      Response: 200 Switching to Binary
mode.
  15885 26.931914   client server FTP      Request: PASV
  15886 26.932021   server client FTP      Response: 227 Entering Passive
Mode (204,246,8,205,99,95)
  15890 26.932488   client server FTP      Request: RETR comps.xml
  15891 26.932610   server client FTP      Response: 150 Opening BINARY mode
data connection for comps.xml (622587 bytes).
  16796 27.082504   server client FTP      Response: 226 File send OK.

RH 9.0

    No. Time        Source Destination Protocol Info
  15618 57.153834   server client FTP      Response: 220 (vsFTPd 1.1.3)
  15620 57.154082   client server FTP      Request: USER user
  15622 57.154391   server client FTP      Response: 331 Please specify the
password.
  15623 57.154561   client server FTP      Request: PASS password
  15624 57.162712   server client FTP      Response: 230 Login successful.
Have fun.
  15625 57.162920   client server FTP      Request: CWD opt
  15626 57.164415   server client FTP      Response: 550 Failed to change
directory.
  15737 62.161894   server client FTP      Response: 220 (vsFTPd 1.1.3)
  15739 62.162145   client server FTP      Request: USER user
  15741 62.162363   server client FTP      Response: 331 Please specify the
password.
  15742 62.162530   client server FTP      Request: PASS password
  15743 62.171437   server client FTP      Response: 230 Login successful.
Have fun.
  15744 62.171639   client server FTP      Request: CWD opt
##### EDITOR'S NOTE: Unlike RH8, RH9 does not CWD to / before trying to go
to opt.
##### Logging into the server as a user, I get dropped into the home account
of the user
##### and the path to the install area is /opt/local/redhat9 not
${HOME}/opt/local/redhat9
##### which is there RH9 is trying to go.
  15745 62.171747   server client FTP      Response: 550 Failed to change
directory.
  15747 62.172156   server client FTP      Response: 500 OOPS: 
  15748 62.172185   server client FTP      Response: vsf_sysutil_recv_peek:
no data
  15856 67.172450   server client FTP      Response: 220 (vsFTPd 1.1.3)
  15858 67.172699   client server FTP      Request: USER user
  15860 67.173902   server client FTP      Response: 331 Please specify the
password.
  15861 67.174081   client server FTP      Request: PASS password
  15862 67.182094   server client FTP      Response: 230 Login successful.
Have fun.
  15863 67.182297   client server FTP      Request: CWD opt
  15864 67.182634   server client FTP      Response: 550 Failed to change
directory.
  15866 67.183030   server client FTP      Response: 500 OOPS: 
  15867 67.183069   server client FTP      Response: vsf_sysutil_recv_peek:
no data
  15983 72.183763   server client FTP      Response: 220 (vsFTPd 1.1.3)
  15985 72.184005   client server FTP      Request: USER user
  15987 72.184223   server client FTP      Response: 331 Please specify the
password.
  15988 72.184390   client server FTP      Request: PASS password
  15989 72.193352   server client FTP      Response: 230 Login successful.
Have fun.
  15990 72.193554   client server FTP      Request: CWD opt
  15991 72.193911   server client FTP      Response: 550 Failed to change
directory.
  15993 72.194310   server client FTP      Response: 500 OOPS: 
  15994 72.194340   server client FTP      Response: vsf_sysutil_recv_peek:
no data
  16102 77.186706   server client FTP      Response: 500 OOPS: 
  16103 77.186740   server client FTP      Response: vsf_sysutil_recv_peek:
no data




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux