View Full Version : 6.2-RELEASE-p9 amd64 install problem

01-14-2008, 05:06 AM
I'm getting something like this when trying to run setup.sh. I also tried custom setup but it gives same errors.

www-6# ./setup.sh

*** DirectAdmin already exists ***
Press Ctrl-C within the next 10 seconds to cancel the install
Else, wait, and the install will continue, but will destroy existing data

Please enter your Client ID : xxxxxx
Please enter your License ID : xxxxxx
Please enter your hostname \(server.domain.com\)
It must be a Fully Qualified Domain Name
Do *not* use a domain you plan on using for the hostname:
eg. don't use domain.com. Use server.domain.com instead.
Do not enter http:// or www

Enter your hostname (FQDN) : xxx.xxx.xxx
Client ID: xxxxxxx
License ID: xxxxxxx
Hostname: xx.xxx.xxx
Is this correct? (y,n) : y
The following ethernet devices were found. Please enter the name of the one you wish to use:

xl0 re0 pflog0

Enter the device name: xl0
Using xl0
Using xx.xx.xx.xx
Is xx.xx.xx.xx the IP in your license? (y,n) : y

DirectAdmin will now be installed on: FreeBSD 6.2
Is this correct? (must match license) (y,n) : y

You now have 2 options for your apache/php setup.

1: customapache: older, more tested. Includes Apache 1.3, php 4 and frontpage.
2: custombuild 1.1: newer, less tested. Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available with Apache 2.x.
Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61

Enter your choice (1 or 2): 2
You have chosen custombuild 1.1.

Would you like the default settings of apache 2.2 and php 5 cli? (y/n): y
Using the default settings for custombuild.
beginning pre-checks, please wait...
wget not found: Attempting to install wget ...
Fetching http://files.directadmin.com/services/packages-6-stable/Latest/wget.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/libiconv-1.9.2_1.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/gettext-0.14.5.tbz... Done.
adding bison ...
Fetching http://files.directadmin.com/services/packages-6-stable/Latest/bison.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/m4-1.4.4.tbz... Done.
adding gd ...
Fetching http://files.directadmin.com/services/packages-6-stable/Latest/gd.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/png-1.2.8_2.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/pkgconfig-0.20.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/jpeg-6b_3.tbz... Done.
Fetching http://files.directadmin.com/services/packages-6-stable/All/freetype2-2.1.10_2.tbz... Done.
chmod: /usr/local/bin/webalizer: No such file or directory
wrote key file "/etc/namedb/rndc.key"
/libexec/ld-elf.so.1: /usr/lib/libssl.so.4: unsupported file layout
/libexec/ld-elf.so.1: /usr/lib/libssl.so.4: unsupported file layout
Unable to download /usr/local/directadmin/update.tar.gz

DirectAdmin Support
01-14-2008, 10:41 PM

The wget binary doesn't appear to be working on that OS.
Try creating your own build of wget:
Use "fetch" to get the wget source.
Also, on freeBSD you want --prefix=/usr/local


06-24-2008, 05:15 AM
The DA version of "wget" barely works on any version of FreeBSD. It would be better if the setup script built it from ports or source and then wrote /root/.wgetrc with

check_certificate = off

in it. Then it should be able to download the DA licence file without bitching

BTW I know this is an old post but that doesn't change the fact that the DA provided "wget" doesn't work on any BSD server version 6.x or higher. It complains about libintl which I've installed though its a newer version.

Ideally the DA provided "wget" should either be built statically or the aforementioned suggestion should be used.

01-18-2009, 08:44 PM
I realize this is an old post but if you create a simlink to the more recent version of libintl it will work just fine.