./build: Permission denied ERROR

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
Tried installing custombuild on a new box and received:
"./build: Permission denied" when I tried the "./build update_data" command.
Never received that before.
I then did "chmod 777 build", which worked, but when I came to "./build all" I got MD5 checksum errors.
Tried re-installing, same error.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,918
Location
LT, EU
Try:
Code:
cd /usr/local/directadmin
mv custombuild custombuild.old
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
Try:
Code:
cd /usr/local/directadmin
mv custombuild custombuild.old
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update
No, still doesn't work:
[root@seagate custombuild]# ./build update
-bash: ./build: Permission denied
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,918
Location
LT, EU
Code:
chmod 755 build
And report this problem to DirectAdmin support :)
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
I get the checksum errors now, here are a few:

Downloading apache_1.3.41.tar.gz...
--05:30:21-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 325.70K/s ETA 00:00

05:30:29 (312.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]


*** MD5 Checksum for apache_1.3.41.tar.gz Failed. Redownloading...***

Downloading apache_1.3.41.tar.gz...
--05:30:29-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 326.68K/s ETA 00:00

05:30:37 (313.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]



*** MD5 Checksum for apache_1.3.41.tar.gz failed *again*.***
The md5 checksum value may be incorrect, or a wrong file is being downloaded.
Install continuing with this possibly corrupted file. (it may also be fine)


File already exists: configure/ap1/configure.apache_ssl
Downloading mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz...
--05:30:37-- http://files.directadmin.com/services/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
05:30:37 ERROR 404: Not Found.


*** MD5 Checksum for mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz Failed. Redownloading...***

Downloading mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz...
--05:30:37-- http://files.directadmin.com/services/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
05:30:37 ERROR 404: Not Found.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 2842: cd: mod_ssl-2.8.31-1.3.41-1.3.41: No such file or directory
Configuring mod_ssl-2.8.31-1.3.41-1.3.41...
/usr/local/directadmin/custombuild/configure/ap1/configure.apache_ssl: line 3: ./configure: is a directory

*** There was an error while trying to configure apache+mod_ssl. Check the configure/ap1/configure.apache_ssl file
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
checksum error

I get the checksum errors now, here are a few:

Downloading apache_1.3.41.tar.gz...
--05:30:21-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 325.70K/s ETA 00:00

05:30:29 (312.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]


*** MD5 Checksum for apache_1.3.41.tar.gz Failed. Redownloading...***

Downloading apache_1.3.41.tar.gz...
--05:30:29-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 326.68K/s ETA 00:00

05:30:37 (313.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]



*** MD5 Checksum for apache_1.3.41.tar.gz failed *again*.***
The md5 checksum value may be incorrect, or a wrong file is being downloaded.
Install continuing with this possibly corrupted file. (it may also be fine)



File already exists: configure/ap1/configure.apache_ssl
Downloading mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz...
--05:30:37-- http://files.directadmin.com/services/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
05:30:37 ERROR 404: Not Found.


*** MD5 Checksum for mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz Failed. Redownloading...***

Downloading mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz...
--05:30:37-- http://files.directadmin.com/services/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/mod_ssl-2.8.31-1.3.41-1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
05:30:37 ERROR 404: Not Found.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 2842: cd: mod_ssl-2.8.31-1.3.41-1.3.41: No such file or directory
Configuring mod_ssl-2.8.31-1.3.41-1.3.41...
/usr/local/directadmin/custombuild/configure/ap1/configure.apache_ssl: line 3: ./configure: is a directory

*** There was an error while trying to configure apache+mod_ssl. Check the configure/ap1/configure.apache_ssl file
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
why aren't my posts showing :confused:
this one is for some reason, been trying to post the checksum errors
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
I get the checksum errors now, here are a few:

Downloading apache_1.3.41.tar.gz...
--05:30:21-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 325.70K/s ETA 00:00

05:30:29 (312.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]


*** MD5 Checksum for apache_1.3.41.tar.gz Failed. Redownloading...***

Downloading apache_1.3.41.tar.gz...
--05:30:29-- http://files.directadmin.com/services/custombuild/apache_1.3.41.tar.gz
=> `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,483,180 (2.4M) [application/x-gzip]

100%[====================================>] 2,483,180 326.68K/s ETA 00:00

05:30:37 (313.34 KB/s) - `/usr/local/directadmin/custombuild/apache_1.3.41.tar.gz' saved [2483180/2483180]



*** MD5 Checksum for apache_1.3.41.tar.gz failed *again*.***
The md5 checksum value may be incorrect, or a wrong file is being downloaded.
Install continuing with this possibly corrupted file. (it may also be fine)
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,918
Location
LT, EU
Right, mod_ssl has wrong version set. It needs to be 2.8.31 instead of 2.8.31-1.3.41.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,918
Location
LT, EU
So, myuserid, it should work without any problems now :) Thanks John.
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
Thanks, apache checksum is correct, but.....
the mod_ssl checksum is now incorrect as well:
*** MD5 Checksum for mod_ssl-2.8.31-1.3.41.tar.gz Failed. Redownloading...***
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
and:
*** MD5 Checksum for autoconf-2.61.tar.gz failed *again*.***

I think you need to check them all
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,005
Hello,

You must still have the old versions.txt

Delete the versions.txt.
Code:
rm -f versions.txt
./build update_data
John
 

myuserid

Verified User
Joined
Feb 23, 2008
Messages
29
Ok, I will do that in a minute, my server has just died so waiting for a reboot.
Thanks,
 
Top