[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] ColdFusion 5 and RAQ XTR
- Subject: RE: [cobalt-developers] ColdFusion 5 and RAQ XTR
- From: "Jeff Stone" <jstone5@xxxxxxxxxxxxx>
- Date: Sat Jan 5 08:52:02 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I finally found the solution to this problem. Here is the solution for
future reference. This is only for the new XTR. The 4i installed like a
champ the first time I tried to run Macromedia's original install script.
Solution
1.) The first two steps of the CF installation instructions work perfectly.
Uncompress the gunzipped file and then untar the resulting tar file.
2.) This is where my instructions begin. Untar the data.tar file into the
same directory that you untarred to in step 1. This will create a series of
directories. cd to the coldfusion directory and then cd to the JRun,
Generator and jre directories individually and untar/uncompress all of the
tar and gunzip files you find in those directories.
3.) Open the installation script (cfinstall) that is in the original root
directory and replace the do_untar() function with the do_untar() function
below. Save the new install file and then run it like the Macromedia
instructions say "./cfinstall".
4.) Follow the rest of the prompts and you should be up and running.
Here is the install script changed. I basically just removed all of the
"tar" commands and replaced them with "mv" commands, moving directories from
the setup folder to the installation directories. It was pretty easy to do,
it just took awhile to figure out the problem.
-------- start of function -----------------
do_untar()
{
echo ""
echo -n "Copying files"
here=`pwd`
oldum=`umask`
umask 0
# exit on errors in tar commands
set -e
# Main CF files into INSTALLDIR.
cd ${INSTALLDIR}
#tar xpf $here/data.tar coldfusion
mv $here/coldfusion ./
echo -n "."
chown -R root:bin ${INSTALLDIR}/coldfusion
echo -n "."
# Admin files into webserver's doc root.
# Stored in tar file under cfadmin
cd ${DOCROOT}
#tar xpf $here/data.tar cfadmin
mv $here/cfadmin ./
echo -n "."
if [ -d ${DOCROOT}/CFIDE ]; then
rm -rf CFIDE
fi
mv cfadmin/CFIDE .
rmdir cfadmin
echo -n "."
# Change ownership of admin files
chown -R root:bin ./CFIDE
echo -n "."
if [ "$DOCFDOCS" = "y" ]; then
# CF doc files into webserver's doc root.
#tar xpf $here/data.tar cfdocs
mv $here/cfdocs ./
echo -n "."
# set ownership
chown -R root:bin ./cfdocs
echo -n "."
fi
if [ "$DOEXAMPLES" = "y" ]; then
# CF example files
if [ ! -d ./cfdocs ]; then
mkdir -m 755 ./cfdocs
fi
cd ./cfdocs
#tar xpf $here/data.tar exampleapps snippets
mv $here/exampleapps ./
mv $here/snippets ./
echo -n "."
# set ownership
chown -R root:bin ./exampleapps ./snippets
echo -n "."
cd ..
fi
# Do JRun, jre, Generator
cd ${INSTALLDIR}/coldfusion/JRun
#tar xpf jrun.tar
#mv $here/coldfusion/JRun ./
#rm -rf jrun.tar
mv AllaireGraphingServlet.class servlets/
mv QueryStringHolder.class servlets/
chown -R root:bin ./*
echo -n "."
cd ${INSTALLDIR}/coldfusion/jre
#gunzip jre.tar.gz
#mv $here/coldfusion/jre ./
#tar xpf jre.tar
#rm -rf jre.tar
chown -R root:bin ./*
echo -n "."
cd ${INSTALLDIR}/coldfusion/Generator
#tar xpf generator.tar
#mv $here/coldfusion/Generator ./
#rm -rf generator.tar
chown -R root:bin ./*
echo -n "."
# turn off exit on error
set +e
echo ""
cd $here
umask $oldum
CFHOME=${INSTALLDIR}/coldfusion
} # do_untar
-------- end function -------------
-- Jeff
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Jeff Stone
Sent: Thursday, January 03, 2002 4:58 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] ColdFusion 5 and RAQ XTR
I have a RAQ XTR that I just received yesterday that I am trying to install
ColdFusion 5 Professional Server on. I have all of the current Cobalt
patches installed as well. I have been contacting Macromedia/Allaire and
searching both this forum as well as the forum over at Allaire. So far,
Allaire has been no help.
Here is my problem. I run the installation script on my RAQ using the root
login. I go through the entire installation process. I enter the serial
number and accept all of the defaults. It finally gets to the point where
it's about to install and it says, "Ready to begin the installation. Press
ENTER to continue." So, I press Enter.
Next, it says, "Copying files...mv: cfadmin/CFIDE: No such file or
directory". Then, it kicks me out of the installation script.
Allaire/Macromedia hasn't been able to tell me squat. So, thinking that the
system may be having trouble creating the "cfadmin/CFIDE" subdirectory in my
"home" directory, I created the CFIDE directory for it.
When I did that and re-ran the installation, it got past that error message
and gave me this one "Copying files.......tar: jrun.tar: Cannot open: No
such file or directory tar: Error is not recoverable: exiting now".
I have not been able to get past this point. Does anyone have a fool proof
way to install this app, because I am surely feeling like a fool right now.
There was a user on the Allaire forum that I emailed that was supposed to
have a PKG file to install this app. more easily. The installation script
that Allaire has is a breeze, but I can't seem to get it past this point.
Any help is greatly appreciated,
Jeff Stone
Stone Grove Design
jeff@xxxxxxxxxxxxxxxxxxxx