Custombuild is out of beta.

Is custombuild working fine on your system?


  • Total voters
    110
in debian 3.1 i have this error:
Code:
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
With previous version i not have this problem.
 
Maybe you try "./build php n" ;) Try "./build php" or "./build freetype" and "./build php n" then.
 
Now Im getting next:

Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration

my options.conf:
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=no
php5_cgi=yes
apache_ver=2.2
mail-header-patch=yes
dovecot=yes

And you have error on line 296. You have one ; too much

and also after make mod_perl the script exits becaus e.custombuild file exists!
I have commented out exit command so I have builded successfully but I get the mentioned error :(


Regards
 
Thank you for the bug report. Are you using the latest version of custombuild? Try:
Code:
./build update
./build suphp
./build php
service httpd restart
 
I think I have the latest one. I have run update_script ... Now apache starts but Im getting in error log next message :/ Dunno why :(

[Sat Jun 23 14:24:55 2007] [error] [client 220.xxx.xx.xxx] SoftException in Application.cpp:351: Mismatch between target UID (1004) and UID (1013) of file "/usr/home/linuxsi/domains/linux-si.org/public_html/index.php"
 
Run update, instead of update_scipt, because suPHP configuration file has been changed. Post an output of "ls -la /usr/home/linuxsi/domains/linux-si.org/public_html/index.php". And "cat /etc/passwd | grep 1004", "cat /etc/passwd | grep 1013".
 
Last edited:
su-2.05b# ls -la /usr/home/linuxsi/domains/linux-si.org/public_html/index.php
-rw-r--r-- 1 linuxsi linuxsi 94 May 19 20:36
/usr/home/linuxsi/domains/linux-si.org/public_html/index.php

su-2.05b# cat /etc/passwd | grep 1004
apache:*:1004:1004:User &:/var/www/apache:/bin/sh

su-2.05b# cat /etc/passwd | grep 1013
linuxsi:*:1013:1013:User &:/home/linuxsi:/sbin/nologin
 
Try to comment out "suPHP_UserGroup apache apache" in /etc/httpd/conf/extra/httpd-suphp.conf and restart apache then. Tell me if it helps. :)
 
Thank you :)

I found a new issue.

The configuration file was set to something like this

default_php=4
php4_cli=no
php4_cgi=yes
php5_cli=no
php5_cgi=yes
apache_ver=2.2
mail-header-patch=no
dovecot=no

It should work, but it doesn't. PHP is being compiled as CLI, and I cannot compile it as CGI. I am sure my file /configure/suphp/configure.php5 is right, have good chmod 755 and all the rest is OK.

To me it looks like, the system doesn't use the file configure.php5 in suPHP directory.
 
Code:
CONF_FILE=${CWD}/${PHP5_CONFIGURE_SUPHP};
Code:
CONF_FILE=${CWD}/${PHP4_CONFIGURE_SUPHP};

The file is being executed every time when you compile PHP as CGI :) I don't see any problem here, it uses file from configure/suphp directory as it should :) Do you get any error?
 
LionRoc, May I check your server? If yes - please send me your server details via PM system. If not - please post an output of "ls -la /var/www/html".
 
I have you on Skype....

Code:
su-2.05b# ls -al
total 110
drwxr-xr-x   8 root          wheel         1536 May 30 19:25 .
drwxr-xr-x   9 root          wheel          512 Apr 15 20:00 ..
-rw-r--r--   1 root          wheel          284 Aug 27  2005 404.shtml
-rw-r--r--   1 500           500           2326 Jan  6  2005 apache_pb.gif
-rw-r--r--   1 root          wheel            0 Apr 15 18:42 favicon.ico
drwxr-xr-x  17 squirrelmail  squirrelmail   512 May 30 23:50 horde
-rw-r--r--   1 root          wheel         2673 Apr 15 18:42 index.html
-rw-r--r--   1 500           500           1884 Jan  6  2005 index.html.ca
-rw-r--r--   1 500           500           1583 Jan  6  2005 index.html.cz
-rw-r--r--   1 500           500           2274 Jan  6  2005 index.html.de
-rw-r--r--   1 500           500           1557 Jan  6  2005 index.html.dk
-rw-r--r--   1 500           500           1877 Jan  6  2005 index.html.ee
-rw-r--r--   1 500           500           1677 Jan  6  2005 index.html.el
-rw-r--r--   1 root          500           2673 Apr 15 18:41 index.html.en
-rw-r--r--   1 500           500           1799 Jan  6  2005 index.html.es
-rw-r--r--   1 500           500           1525 Jan  6  2005 index.html.fr
-rw-r--r--   1 500           500           3706 Jan  6  2005 index.html.he.iso8859-8
-rw-r--r--   1 500           500           2585 Jan  6  2005 index.html.hu
-rw-r--r--   1 500           500           1847 Jan  6  2005 index.html.it
-rw-r--r--   1 500           500           1799 Jan  6  2005 index.html.ja.jis
-rw-r--r--   1 500           500           1333 Jan  6  2005 index.html.kr.iso-kr
-rw-r--r--   1 500           500           1896 Jan  6  2005 index.html.lb.utf8
-rw-r--r--   1 500           500           2007 Jan  6  2005 index.html.nl
-rw-r--r--   1 500           500           1534 Jan  6  2005 index.html.nn
-rw-r--r--   1 500           500           1526 Jan  6  2005 index.html.no
-rw-r--r--   1 500           500           1497 Jan  6  2005 index.html.po.iso-pl
-rw-r--r--   1 500           500           1842 Jan  6  2005 index.html.pt
-rw-r--r--   1 500           500           2035 Jan  6  2005 index.html.pt-br
-rw-r--r--   1 500           500           1591 Jan  6  2005 index.html.ru.cp-1251
-rw-r--r--   1 500           500           1585 Jan  6  2005 index.html.ru.cp866
-rw-r--r--   1 500           500           1589 Jan  6  2005 index.html.ru.iso-ru
-rw-r--r--   1 500           500           1585 Jan  6  2005 index.html.ru.koi8-r
-rw-r--r--   1 500           500           3134 Jan  5  2005 index.html.ru.ucs2
-rw-r--r--   1 500           500           6268 Jan  5  2005 index.html.ru.ucs4
-rw-r--r--   1 500           500           2318 Jan  6  2005 index.html.ru.utf8
-rw-r--r--   1 500           500           1700 Jan  6  2005 index.html.se
-rw-r--r--   1 500           500           1062 Jan  6  2005 index.html.zh-tw.big5
drwxr-xr-x   8 root          wheel         3072 Apr 15 18:42 manual
drwxr-xr-x   2 namedftp      named          512 Jun 23 16:00 namedftp
lrwxr-xr-x   1 root          wheel           17 Apr 15 18:38 phpMyAdmin -> phpMyAdmin-2.10.0
drwxr-xr-x  11 root          wheel         2560 Apr 15 18:38 phpMyAdmin-2.10.0
-rwxr-xr-x   1 root          wheel           65 Apr 15 18:38 redirect.php
lrwxr-xr-x   1 root          wheel           19 Apr 15 18:38 squirrelmail -> squirrelmail-1.4.9a
drwxr-xr-x  16 root          wheel          512 Dec  3  2006 squirrelmail-1.4.9a
drwxr-xr-x  11 root          wheel         1024 Apr 20 12:54 webmail


but files in phpMyAdmin dir are all owned with phpmyadmin user .. horde and squirrelmail dir are owned with user squirrelmail ....
 
I dont have webapps user ? OR did you mean "webapps" for each app own user ? Why this was working before upgrade ? And also all phpmyadmin, horde, squirrelmail are owned with their own users. Here are links to dirs so user is still root:wheel because you cant change owner of links.... Files in folder are owned with each user....
 
Back
Top