setup.sh / custombuild bug?

KC08

Verified User
Joined
Dec 27, 2008
Messages
14
Hello,

Every time when I tried to install DA the first time on a clean system (CentOS 4 or 5), I found 2 things:

1. Even I select 5.1 when asked for MySQL version, it still gives me 5.0
2. When it tries to download httpd, it "fails" several times even I see that it downloaded the file successfully, and then it tries to download again until it gives up and start the installation. I think this is related to the path the script is in because I noticed the following messages:

Downloaded file /usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz does not exist after download
cwd is: /usr/local/directadmin/custombuild/zlib-1.2.3

Please try to fix the problems. Thank you.


P.S. I use the standard method to start the installation, i.e.:

wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh


Ken
 
Hello,

Thanks for that report.
I've been trying to hunt it down for quite some time now, hence I added the cwd bit in a hope that someone was able to duplicate it.
I've added a simple
Code:
cd ${CWD}
to the end of the doZlib function to resolve the issue.

As for mysql, I'm not as sure about that one.
The way the installer works, is DA will install the included mysql package and setup the user/pass for da_admin. That's done with them mysql.sh script and the mysql package from the /usr/local/directadmin/scripts/packages directory.

Then custombuild runs after that, and will upgrade to whatever you've set.
So to see why the upgrade isn't working, try
Code:
cd /usr/local/directadmin/custombuild
./build mysql
John
 
Hi John,

Thank you for your reply. I noticed that the final installed version is indeed 5.1. I don't know what happened. I may check this again if I install another copy of DA later.

Hope the installer can be fixed soon.
 
Back
Top