PDA

View Full Version : ./setup.sh error on FreeBSD 6.1



suhailc
02-15-2008, 03:58 PM
Hi all,

I'm getting the following error whilst running "./setup/sh" on a freshly installed and upgraded FreeBSD 6.1 server:


Enter your choice (1 or 2): 1
Using customapache with apache 1.3 and php 4.
beginning pre-checks, please wait...
adding gd ...
Fetching http://files.directadmin.com/services/packages-6-stable/Latest/gd.tbz... Done.
pkg_add: package 'gd-2.0.33_4,1' or its older version already installed
--2008-02-15 23:28:49-- https://www.directadmin.com/cgi-bin/daupdate?uid=7264&lid=25332
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... connected.
ERROR: cannot verify www.directadmin.com's certificate, issued by `/C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services Division/CN=Thawte Server CA/emailAddress=server-certs@thawte.com':
Unable to locally verify the issuer's authority.
To connect to www.directadmin.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
tar: Error opening archive: Empty input file: Inappropriate file type or format
Cannot find the DirectAdmin binary. Extraction failed

If I try and re-install OpenSSL from the ports, I get the following error:


Enter your choice (1 or 2): 1
Using customapache with apache 1.3 and php 4.
beginning pre-checks, please wait...
adding gd ...
Fetching http://files.directadmin.com/services/packages-6-stable/Latest/gd.tbz... Done.
pkg_add: package 'gd-2.0.33_4,1' or its older version already installed
chmod: /usr/local/bin/webalizer: No such file or directory
--2008-02-15 23:23:55-- https://www.directadmin.com/cgi-bin/daupdate?uid=7264&lid=25332
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... connected.
Segmentation fault (core dumped)
tar: Error opening archive: Empty input file: Inappropriate file type or format
Cannot find the DirectAdmin binary. Extraction failed


Any ideas?

Regards,
Suhail.

nobaloney
02-15-2008, 10:18 PM
Check with DA sales to make sure you've got the right code for your OS distribution.

Jeff

DirectAdmin Support
02-16-2008, 01:01 AM
Hello,

I ran the following to fix it:
http://help.directadmin.com/item.php?id=119

With the --prefix=/usr/local
then:
rehashJohn

suhailc
02-16-2008, 03:39 AM
Ah I did try that but didn't run the "rehash" which is probably why it didn't work the first time round for me.

Many thanks for your excellant support as usual!

Regards,
Suhail.