Custombuild 2.0-alpa1 Errors

Status
Not open for further replies.

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,806
Location
A Coruña, Spain
Hi, for everyone will have problem with Custombuild 2.0 please post here.

Here first problem ive noticed:

Code:
>./build options
Apache: 2.2.21
Dovecot: 2.0.16
AWstats: 6.95
Exim: 4.77
exim.conf update: no
SpamAssassin: 3.3.2
ClamAV: 0.97.3
MySQL: 5.1.60
MySQL backup: no
PHP (default): 5.3 as cli
PHP (additional): 5.2 as 5.2
phpMyAdmin: 3.4.9-all-languages
ProFTPD: 1.3.4a
Pure-FTPd: no
Atmail webmail: no
RoundCube webmail: 0.7
Replace "php.ini" with './build all' and './build php-ini':
Cron for notifications and (or) updates: yes
Auto notifications: yes
Auto notifications email address: [email protected]
Auto updates: yes
Run "clean" every time: yes
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: no
Show texts in bold: yes
SquirrelMail: no
UebiMiau: no
Zend Optimizer: 3.3.3
ionCube loader: 4.0.10

Code:
>php -v
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220060519 which is installed, is outdated.

PHP Warning:  PHP Startup: suhosin: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP 5.2.17 (cli) (built: Jan  7 2012 00:20:56)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

Ecluding suhosin problem that i know why it happend.. the question is, why 5.2.17 start as default?

Here the second:

Code:
>./build suphp
File already exists:    suphp-0.7.1.tar.gz
MD5 Checksum on suphp-0.7.1.tar.gz passed.
Found /usr/local/directadmin/custombuild/suphp-0.7.1.tar.gz
Extracting ...
Done.
Configuring suphp-0.7.1...
./build: line 3704: /usr/local/directadmin/custombuild/: is a directory

*** There was an error while trying to configure suPHP. Check the  file

suPhp seems to get not installed.

Another issue:

Code:
>ll
total 8.0K
drwxr-xr-x 2 root root 4.0K Jan  7 00:33 conf
-rwxr-xr-x 1 root root  775 Jan  7 00:33 configure.php53

../../build used_configs
Apache configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.apache
PHP (default) configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.php53
ProFTPD configuration file: /usr/local/directadmin/custombuild/configure/proftpd/configure.proftpd
phpMyAdmin themes directory: /usr/local/directadmin/custombuild//usr/local/directadmin/custombuild/custom/phpmyadmin/themes
phpMyAdmin configuration file: /usr/local/directadmin/custombuild//usr/local/directadmin/custombuild/custom/phpmyadmin/config.inc.php

phpMyAdmin point to a wrong folder.. and apparently PHP do the same cause in first ls you can see there is a configure.php53 file.

Hope smtalk will look at this thread cause i would like to use custombuild 2 as default on my next installations.

I would also ask if mailman is now working or still not.

Regards
 
Hello,

Alpha version is not recommended to use. Beta2 is ready and should be uploaded to DA servers very soon (http://www.custombuild.eu/build), it has no known issues, however, some functionality might be added later. Wrong path of phpMyAdmin custom themes/configs is fixed. It was just shown incorrectly using "./build used_configs", but custom configs were still used. Mailman is not implemented into DA yet, you should email John to get more information about it (he planned to check it after holidays).

Good luck!
 
hehe i know is still not recommended but i suppose to use it on a test server should be useful to know-how and to help you with bugs.

Then once all test are done use as standard for the "know/working part" of it.

Ill download the new build to check it.

One more question... php can be installed twice as cli? does it work?? if not, installing as cgi will install suphp automatically i suppose, so, wasnt working cause suphp was falling, am i correct?

Thanks
 
New issue:

on build apache:
Code:
Starting httpd: /etc/init.d/httpd: line 55: 16926 Terminated              $ENV $httpd -k start -DSSL

EDIT: removing /etc/init.d/httpd and rebuilding solved the issue.
 
hehe i know is still not recommended but i suppose to use it on a test server should be useful to know-how and to help you with bugs.

Then once all test are done use as standard for the "know/working part" of it.

Ill download the new build to check it.

One more question... php can be installed twice as cli? does it work?? if not, installing as cgi will install suphp automatically i suppose, so, wasnt working cause suphp was falling, am i correct?

Thanks

Just do the following to update it to beta2:
Code:
cd /usr/local/directadmin/custombuild
wget -O build http://www.custombuild.eu/build

If you would like to have 2 different versions of PHP installed on the system, you cannot have them both set to be installed as mod_php (CLI). At least one of them must be set to be CGI/FCGI (I'll probably replace suPHP with mod_fastcgi for Apache 2.4 installations).
 
yes ive downloaded latest version and checked trying to install php 5.3 as clie and 5.2 as cgi but seems it doenst work atm :)
 
No errors, but php 5.2 seems to be the default and is instlaled as cgi

If php1_mode=cgi is set and php1_release=5.2 then it is not a bug. Have you run "./build php n" after the changes? What is the output of "./build options"?
 
The set is in my first post :)

Im reinstlaling the text box cause im testing kickstart for centos 6.

When centos 5.7 is reinstalled and re-configured as usual ill do again test with custombuild 2.

But the set was the right one in first post.

Regards and thanks
 
The set is in my first post :)

Im reinstlaling the text box cause im testing kickstart for centos 6.

When centos 5.7 is reinstalled and re-configured as usual ill do again test with custombuild 2.

But the set was the right one in first post.

Regards and thanks

php1_release/mode did not work properly in alpha version, that's why you had problems. I suggested you to use beta2 version which has this bug fixed.
 
Ok, taken latest build.

Made options.conf configuration.

./build update show this:



Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().

After re-run ./build update no error occurs.

Ill test php now with this settings:

Code:
>./build options
Apache: 2.2.21
Dovecot: 2.0.16
AWstats: 6.95
Exim: 4.77
exim.conf update: no
SpamAssassin: 3.3.2
ClamAV: 0.97.3
MySQL: 5.1.60
MySQL backup: no
PHP (default): 5.3 as cli
PHP (additional): 5.2 as 5.2
phpMyAdmin: 3.4.9-all-languages
ProFTPD: 1.3.4a
Pure-FTPd: no
Atmail webmail: no
RoundCube webmail: 0.7
Replace "php.ini" with './build all' and './build php-ini':
Cron for notifications and (or) updates: yes
Auto notifications: yes
Auto notifications email address: [email protected]
Auto updates: yes
Run "clean" every time: yes
Run "clean_old_webapps" every time: yes
Run "clean_old_tarballs" every time: yes
Show texts in bold: yes
SquirrelMail: no
UebiMiau: no
Zend Optimizer: 3.3.3
ionCube loader: 4.0.10
 
Done build php n

and result is, 5.2.17 is default:

Code:
>php -v
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220060519 which is installed, is outdated.

PHP 5.2.17 (cli) (built: Jan  8 2012 18:49:20)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
 
Another curios thing to notice:

Code:
>./build zend
File already exists:    ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
There is no Zend Opimizer available for PHP6.
There is no php6 set in options.conf so this message is not related :)

Regards
 
I am sorry to say that, but it is hard to help you when you are still using the alpha version. If you do "./build update" you automatically get alpha instead of beta2. There are no problems you mentioned in beta2 version. For example, no word 'PHP6' at all if you search http://custombuild.eu/build.
 
Oh damn.. sorry i didnt get the build update re-download the alpha version...

Just downlaoded beta and run ./build php n

Code:
>./build php n
Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().
For mod_ruid2 you must have apache_ver 2.0, 2.2 or 2.4 set.

Now edited options.conf on mor_ruid2 line from yes to no and compiling php.

Compilatoin went fine, php 5.3 is default but i had those errors:

Code:
Installing PDO headers:          /usr/local/php5/include/php/ext/pdo/
Increasing memory limit to 32M...
Can't open /usr/local/etc/php52/cgi/php.ini: No such file or directory.
Can't open /usr/local/etc/php52/cgi/php.ini: No such file or directory.
PHP 5.2.17 Installed.
Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().
./build: line 7359: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7360: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7361: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7362: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7363: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7364: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7365: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7366: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7367: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7368: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7369: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7370: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7371: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7372: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7373: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7374: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7375: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7376: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7377: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7378: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7379: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7380: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7381: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7382: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7383: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7384: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7385: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7386: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7387: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7388: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7389: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7390: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7391: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7392: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7393: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7394: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7395: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7396: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7397: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7398: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7399: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7400: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7401: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7402: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7403: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7418: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7425: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7426: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7427: /usr/local/suphp/etc/suphp.conf: No such file or directory
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
ionCube loader has been installed.
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: cannot open shared object file: No such file or directory

Rewriting all users httpd.conf files, please wait...
Debug mode. Level 10

Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: cannot open shared object file: No such file or directory

Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().
[19:57:36] [email protected] [/usr/local/directadmin/custombuild]

>php -v
PHP 5.3.8 (cli) (built: Jan  8 2012 19:55:23)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
[19:57:42] [email protected] [/usr/local/directadmin/custombuild]
>nano /etc/httpd/conf/httpd.conf
[19:57:59] [email protected] [/usr/local/directadmin/custombuild]
>./build rewrite_confs
Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().
Using 93.63.209.91 for your server IP

./build: line 7359: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7360: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7361: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7362: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7363: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7364: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7365: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7366: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7367: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7368: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7369: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7370: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7371: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7372: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7373: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7374: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7375: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7376: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7377: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7378: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7379: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7380: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7381: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7382: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7383: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7384: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7385: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7386: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7387: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7388: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7389: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7390: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7391: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7392: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7393: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7394: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7395: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7396: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7397: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7398: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7399: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7400: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7401: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7402: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7403: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7418: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7425: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7426: /usr/local/suphp/etc/suphp.conf: No such file or directory
./build: line 7427: /usr/local/suphp/etc/suphp.conf: No such file or directory
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: cannot open shared object file: No such file or directory

Skipping mod_ruid2 tarball, needs more arguments in doclean_old_tarballs().

Hope is helpfull

Regards
 
Status
Not open for further replies.
Back
Top