Custombuild is out of beta.

Is custombuild working fine on your system?


  • Total voters
    110
OK, I took a look inside the log files, it's showing bytes instead of number, I suppose it's something wrong with the httpd.conf logging when custombuild/DA created it.
Code:
[root@host5 domains]# cat domain.net.bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes
bytes

edit:
ok, it seems missing
Code:
LogFormat "%b" bytes
in httpd.conf

smtalk could you fix this please, thanks!
 
Last edited:
Just run "./build rewrite_confs", or delete /etc/httpd/conf and run "./build all d".
 
new httpd conf says all include files get overwritten by directadmin, why and when is this?

Since customising mpm etc. is done in some of these files.

line 27 of /etc/httpd/conf/extra/httpd-deflate.conf I had to comment out still.
 
Last edited:
Chrysalis, they're being owerwriten when you use "rewrite_confs" option.
 
New host (as usual Debian Etch, this time it's official 4.0R0 but with version number downgraded to 3.1 in /etc/debian_version), done the OS and DA install twice (from scratch), same effect as below:

% cat httpd-vhosts.conf

<VirtualHost 87.204.147.156:80>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost"
ScriptAlias /cgi-bin/ /var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

<VirtualHost 87.204.147.156:443>
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* "/home/$1/public_html$2"
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>


Please take a look at ServerName and ScriptAlias directives. AliasMatch is visibly FUBARed as well.

./build rewrite_confs and 'echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue' do NOT correct the issue.


There are more serious errors in Apache configuration, they prevent
Apache from starting up.

Please resolve this issue. I can offer you (smtalk) login to our host for diagnostics. Write me at admin at domeny dot pl.
 
Last edited:
all seam ok
just done a new install on a fedora core 6
 
Marcin, please write this to support[at]directadmin.com, thank you.
 
Anyone are having problems now? Because I got no reports for a whole week. :)
 
Anyone are having problems now? Because I got no reports for a whole week. :)
in freebsd 4.11 and 5.5 i still have problems with zziplib.
Is any here who have build without problems in freebsd server?
 
blueice, it's a problem both of PHP 4.4.7 and zziplib creators :) With PHP 5.2.2 there are no problems at all. Try to use zziplib 0.10.82.
 
blueice, it's a problem both of PHP 4.4.7 and zziplib creators :) With PHP 5.2.2 there are no problems at all. Try to use zziplib 0.10.82.
hi, are you sure? you have try?
I hope in freebsd the script use zziplib 0.10.82 by default.
I have try now with the official method in freebsd 5.5 and php 5.5.2 and i have this problem:
Trying to make zZip...
cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: skipping top_srcdir/Makefile - not created
config.status: creating zzip/_config.h - prefix ZZIP for config.h defines
config.status: zzip/_config.h is unchanged
config.status: creating zzip/_msvc.h - prefix ZZIP for zzip/_msvc.in defines
config.status: zzip/_msvc.h is unchanged
make all-recursive
Making all in zzip
source='zip.c' object='zip.lo' libtool=yes depfile='.deps/zip.Plo' tmpdepfile='.deps/zip.TPlo' depmode=gcc3 /bin/sh ../uses/depcomp /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -O2 -D_USE_MMAP -fomit-frame-pointer -Wall -fno-writable-strings -Wwrite-strings -Wpointer-arith -Wsign-compare -Wmissing-declarations -c -o zip.lo `test -f zip.c || echo './'`zip.c
In file included from ../zzip/lib.h:21,
from zip.c:14:
../zzip/zzip.h:83: error: syntax error before "zzip_ssize_t"
../zzip/zzip.h:83: warning: type defaults to `int' in declaration of `zzip_ssize_t'
../zzip/zzip.h:83: warning: data definition has no type or storage class
../zzip/zzip.h:185: error: syntax error before "zzip_file_read"
../zzip/zzip.h:185: warning: type defaults to `int' in declaration of `zzip_file_read'
../zzip/zzip.h:185: warning: data definition has no type or storage class
../zzip/zzip.h:192: error: syntax error before "zzip_read"
../zzip/zzip.h:192: warning: type defaults to `int' in declaration of `zzip_read'
../zzip/zzip.h:192: warning: data definition has no type or storage class
In file included from ../zzip/lib.h:22,
from zip.c:14:
../zzip/plugin.h:45: error: syntax error before "zzip_ssize_t"
zip.c: In function `__zzip_find_disk_trailer':
zip.c:135: error: called object is not a function
zip.c:200: error: structure has no member named `read'
zip.c:200: error: syntax error before "maplen"
zip.c:202: error: `mapped' undeclared (first use in this function)
zip.c:202: error: (Each undeclared identifier is reported only once
zip.c:202: error: for each function it appears in.)
zip.c:133: error: label `cleanup' used but not defined
zip.c: At top level:
zip.c:207: error: syntax error before '{' token
*** Error code 1

Stop in /usr/local/directadmin/custombuild/zziplib-0.10.82/zzip.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/zziplib-0.10.82.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/zziplib-0.10.82.
Also with the customapache (old stable method) i can build php 4.4.7 without problem.
 
Last edited:
Hi,

if I update to new custombuild, all my file (httpd.conf ecc..) will be overwriten? I have a mod_rewrite in httpd.conf, it is cancelled ?

Excuse me for my bad english
 
Yes, they will be overwritten, but you'll have a backup too.
 
Apropos inability to build zzip 0.10.82 on FreeBSD:

In file zzip/zzip.h find line:
#include <zzip/conf.h>
and add after it:
#include <sys/types.h>

Regards,
Andrzej
 
Martynas, which configuration files does Custombuild overwrite?

Does it do it each time it's run, or onlyl the first time?

Jeff
 
Back
Top