very annoying custombuild 1.1 bug

jackc

Verified User
Joined
Jan 19, 2007
Messages
336
httpd downloaded, but custombuild thinks the server is down and keep trying a down server...this bug has been there for a very long time, never been fixed, please fix it asap!

Downloading httpd-2.2.11.tar.gz...
--02:15:59-- http://files.directadmin.com/services/custombuild/httpd-2.2.11.tar.gz
=> `/usr/local/directadmin/custombuild/httpd-2.2.11.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: 6,806,786 (6.5M) [application/x-gzip]

100%[===========================================================================

02:18:01 (55.08 KB/s) - `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'

Fileserver is down, using the backup file server..
--02:18:01-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
=> `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:21:11-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 2) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:24:22-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 3) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80...


failed: Connection timed out.
Retrying.

--02:27:34-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 4) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:30:47-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 5) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:34:01-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 6) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:37:16-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 7) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:40:32-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 8) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--02:43:49-- http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
(try: 9) => `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'
Connecting to 84.16.234.222:80...
 
Are you sure this is a CustomBuild bug? It never did anything like that on my systems.
Try:
Code:
wget http://files.directadmin.com/services/custombuild/httpd-2.2.11.tar.gz
echo $?
The second command should print "0". If the file is downloaded but the result is not "0", then you have a bug in your "wget" distribution.
 
it's the custombuild comes with new DA install, when you install DA on new system, you will see this bug come up.
you can also miss it if you don't look at the screen during installation and the backup server is up and you have fast connection to the file servers.

i don't think it's the wget problem.
other files all downloaded ok just this httpd one not working.
 
Last edited:
It's not a wget problem.
Code:
wget -S http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
--2009-07-07 14:56:44--  http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Tue, 07 Jul 2009 10:02:13 GMT
  Server: Apache/2.2.4 (Unix) DAV/2
  Last-Modified: Sat, 13 Dec 2008 14:35:16 GMT
  ETag: "14b6cc-67dd02-84a75100"
  Accept-Ranges: bytes
  Content-Length: 6806786
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: application/x-gzip
Length: 6806786 (6.5M) [application/x-gzip]
 
this bug is still not fixed. waste bandwidth and time on every new DA installation.

part of the installation log:
Code:
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.so.1.2.3 /usr/local/lib
cd /usr/local/lib; chmod 755 libz.so.1.2.3
cd /usr/local/lib; if test -f libz.so.1.2.3; then \
          rm -f libz.so libz.so.1; \
          ln -s libz.so.1.2.3 libz.so; \
          ln -s libz.so.1.2.3 libz.so.1; \
          (ldconfig || true)  >/dev/null 2>&1; \
        fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
Downloading             httpd-2.2.14.tar.gz...
--2009-12-02 18:55:48--  http://files.directadmin.com/services/custombuild/httpd-2.2.14.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: 6684081 (6.4M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz'

100%[======================================>] 6,684,081   33.7K/s   in 3m 27s

2009-12-02 18:59:16 (31.5 KB/s) - `/usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz' saved [6684081/6684081]

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
Fileserver might be down, using the backup file server..
--2009-12-02 18:59:16--  http://84.16.234.222/services/custombuild/httpd-2.2.14.tar.gz
Connecting to 84.16.234.222:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6684081 (6.4M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz'

100%[======================================>] 6,684,081    112K/s   in 59s

2009-12-02 19:00:16 (110 KB/s) - `/usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz' saved [6684081/6684081]

/usr/bin/md5sum: httpd-2.2.14.tar.gz: No such file or directory

*** MD5 Checksum for httpd-2.2.14.tar.gz Failed.  Redownloading...***

Downloading             httpd-2.2.14.tar.gz...
--2009-12-02 19:00:16--  http://files.directadmin.com/services/custombuild/httpd-2.2.14.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: 6684081 (6.4M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/httpd-2.2.14.tar.gz'

50% [==================>                    ] 3,376,711   31.8K/s  eta 96s
 
Code:
          rm -f libz.so libz.so.1; \
          ln -s libz.so.1.2.3 libz.so; \
          ln -s libz.so.1.2.3 libz.so.1; \
          (ldconfig || true)  >/dev/null 2>&1; \
        fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
Downloading             httpd-2.2.11.tar.gz...
--2010-01-09 16:30:02--  http://files.directadmin.com/services/custombuild/httpd-2.2.11.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: 6806786 (6.5M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz'

100%[====================================================================================================================>] 6,806,786   1.90M/s   in 4.6s

2010-01-09 16:30:07 (1.42 MB/s) - `/usr/local/directadmin/custombuild/httpd-2.2.11.tar.gz' saved [6806786/6806786]

Fileserver is down, using the backup file server..
--2010-01-09 16:30:07--  http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
Connecting to 84.16.234.222:80... failed: Connection timed out.
Retrying.

--2010-01-09 16:33:17--  (try: 2)  http://84.16.234.222/services/custombuild/httpd-2.2.11.tar.gz
Connecting to 84.16.234.222:80...

if you are going to use the backup server atleast fix the bugs and do some checking for down server. right now i just sit there and wait for everything to timeout.

http://www.hyperspin.com/quicktest.php?action=result&qtid=338862&r=4344
 
It's not bug. It's slowly download problem and go to time out finally. I don't know why files which download from directadmin.com (which download by custombuild) is very very very slow.
 
Since DirectAdmin's two servers are on very different networks, if anyone has a problem with both servers it's possible the problem is with their own network.

Jeff
 
if you read the logs i posted and the post i made previously, you will see there is a BUG when downloading httpd.

i'm not going to go over this again to show you how it's a BUG there, you should see it if you look carefully enough and installed enough number of DA on servers.

please don't assume i'm stupid or something.
 
You can either help people understand your problem or not, as you wish. Remember, though, that this is a self-help forum and we're all volunteers. So even if we're in error, if you act self-righteous and refuse to (gentlly) help us understand the problem, you probably won't get it resolved.

If you're sure it's a bug in DirectAdmin, then you should probably report it to DirectAdmin staff.

Jeff
 
i already explained very clearly on previous posts, this is a BUG and it is showing on the screen outputs very clearly.
I'm sorry i can't make people understand when they don't even take the time to look at the screen output logs.

btw, other people reported the same thing.
http://www.directadmin.com/forum/showthread.php?t=25915

i guess i'll have John look into it instead posting here.

besides the bug, custombuild should have set a smaller value of retries and timeouts when doing wget, so when the server is down it shouldn't keep trying that many times.

again this link clearly shows the backup server was down, not my server having network problem.
http://www.hyperspin.com/quicktest.php?action=result&qtid=338862&r=4344
 
Last edited:
Hello,

There are 2 issues at play in your output.

1) The issue with the apache download.

and

2) the fact that our backup files server seems to have vanished. I've changed the build script to use a different backup server (which is not in Europe) until we figure out what happened to it.

Regarding the apache download, I recall making a change to the build script to address that issue a few weeks ago.
I had discovered that the doZlib() function, run just before apache is compiled, did not return the current working directory to the custombuild directory, so the "checkFile" function was checking for the httpd tar.gz inside the zlib directory. I added the simple code:
Code:
cd ${CWD};
at the end of the doZlib function. I'm not sure if you were using an older script, so to be sure, I've just added that cd to the top of the doApache2 funciton to ensure it's parked in the correct directory.

Let me know if you're still seeing that error for new installs and I'll dig deeper.

John
 
Back
Top