New build system (BETA)

Hi,

now on apache 1.3 + suphp4 + suphp5, php wont work anymore ! Server cant handle any .php file

buildscript 1.3

in: httpd.conf you are comment out

#AddModule mod_suphp.c <- remove uncomment, then work

It should uncomment it because of:
Code:
perl -pi -e 's/^\#LoadModule suphp/LoadModule suphp/' /etc/httpd/conf/httpd.conf

I've just tried to install it and everything went fine.
 
It should uncomment it because of:
Code:
perl -pi -e 's/^\#LoadModule suphp/LoadModule suphp/' /etc/httpd/conf/httpd.conf

I've just tried to install it and everything went fine.

Yeah, but BUG, it wont uncomment AddModule:
#AddModule mod_suphp.c

As you say LoadModule is ok !!!

elif [ "${PHP4_CGI_OPT}" = "yes" ] && [ "${PHP5_CGI_OPT}" = "yes" ]; then
PHPOPT=3
# Change httpd.conf info
perl -pi -e 's/^AddModule mod_php/\#AddModule mod_php/' /etc/httpd/conf/httpd.conf
perl -pi -e 's/^LoadModule php/\#LoadModule php/' /etc/httpd/conf/httpd.conf
perl -pi -e 's/^\#LoadModule suphp/LoadModule suphp/' /etc/httpd/conf/httpd.conf

Missing:

perl -pi -e 's/^\#AddModule mod_suphp.c/AddModule mod_suphp.c/' /etc/httpd/conf/httpd.conf

or somewhere your script have wrong line add !
 
Thank you for the report. It's a minor bug. I'm going to fix it soon. :)
 
All reported problems has been fixed. mod_frontpage has been included into the script :)
 
All reported problems has been fixed. mod_frontpage has been included into the script :)

Nope, now compling wont work anymore, dont know why !

[Sat Apr 28 18:51:53 2007] [notice] Apache/1.3.37 (Unix) mod_perl/1.30 mod_ssl/2.8.28 OpenSSL/0.9.7e configured -- resuming normal operations
[Sat Apr 28 18:51:53 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Apr 28 18:51:53 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Apr 28 18:51:55 2007] [notice] child pid 5764 exit signal Segmentation fault (11)
[Sat Apr 28 18:51:56 2007] [notice] child pid 5765 exit signal Segmentation fault (11)

So your modified what ? :)
 
Also mod_frontpage

./build update_data

File already exists: configure/ap1/configure.apache_ssl
chmod: cannot access `configure.apache_ssl': No such file or directory

File already exists: frontpage.patch
File already exists: fp-patch-apache_1.3.22
File already exists: fp-patch-suexec
File already exists: mod_frontpage-.tar.gz

Some bug -> mod_frontpage-.tar.gz, no version ????

And second same:

chmod: cannot access `configure.apache_ssl': No such file or directory

Also:

./build frontpage_ext

*** Cannot find /usr/local/directadmin/custombuild/fp50.linux.tar.gz. Aborting ***

and

./build mod_frontpage
Found /usr/local/directadmin/custombuild/mod_frontpage-.tar.gz
Extracting ...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Done.
./build: line 1465: cd: mod_frontpage-: No such file or directory
Configuring mod_frontpage-...
Can't open Makefile.PL: No such file or directory.
Can't open perl script "Makefile.PL": No such file or directory
make: *** No rule to make target `clean'. Stop.
Done. Making mod_frontpage-...
Trying to make mod_frontpage...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, do you want to try to make again? (y,n):
 
Last edited:
It's just a minor bug with chmod. About mod_frontpage - there was no FRONTPAGE_VER in the build script set, add FRONTPAGE_VER=1.6.1 at the begining of the file. Change:
Code:
chmod 755 configure.apache_ssl

With:
Code:
chmod 755 $APACHE_SSL_CONFIGURE

Then run ./build update_data. Your reported bugs has been fixed and I'm going to upload a new script now.
 
And this:

[Sat Apr 28 20:25:14 2007] [notice] child pid 27277 exit signal Segmentation fault (11)

httpd wont anymore work ... this buildscript 1.05 it not work anymore, version 1.0.3 httpd worked ok !
 
And this:

[Sat Apr 28 20:25:14 2007] [notice] child pid 27277 exit signal Segmentation fault (11)

httpd wont anymore work ... this buildscript 1.05 it not work anymore, version 1.0.3 httpd worked ok !

It's working perfectly ;) I guess that you have eaccelerator, apc or any other extension loaded with PHP, try to disable it and restart httpd.
 
It's working perfectly ;) I guess that you have eaccelerator, apc or any other extension loaded with PHP, try to disable it and restart httpd.

Nope, just i sayed before , i have only clean install DA = newest version, then trying this custombuildscript. (testig environment)

And now it wont work anymore (version 1.0.5), last working version was 1.0.3

I can try again clean install if you say it working, but still would not be any problem if coming new buildscript then update this way server, not break it.
 
There is only one change in 1.0.5 - frontpage support (that could be a problem) for apache 1.3. May I take a look at your server?
 
There is only one change in 1.0.5 - frontpage support (that could be a problem) for apache 1.3. May I take a look at your server?

Yeah, just installing again DA, so you can wait that i install custombuild, or wanna install itself ?
 
Install it by yourself :) Thank you.

Clean install again, now first time worked ok: only intresting bug:

/etc/init.d/httpd restart
Stopping httpd:
Remaining processes: 16908 16910 16911 16912 16913 16914 17011 17012 17013
Stopping httpd:
Remaining processes: 16908 16910 16911 16912 16913 16914 17011 17012 17013
Stopping httpd:
Remaining processes: 16908 16910 16911 16912 16913 16914 17011 17012 17013
Stopping httpd:
Remaining processes: 16908 16910 16911 16912 16913 16914 17011 17012 17013
Stopping httpd:
Remaining processes: 16908 16910 16911 16912 16913 16914 17011 17012 17013
Stopping httpd:

I pm to you:
 
Good to hear :)

ound /usr/local/directadmin/custombuild/mod_frontpage-1.6.1.tar.gz
Extracting ...
Done.
Configuring mod_frontpage-1.6.1...

/usr/bin/install fpexec /usr/sbin/fpexec
chown root:wheel /usr/sbin/fpexec
chown: `root:wheel': invalid group
make: *** [install] Error 1
Done mod_frontpage.

You can debug this same machine if want !
 
Last edited:
Back
Top