PDA

View Full Version : Custom Apache Build System


Pages : 1 [2]

NickVDB
02-14-2006, 03:04 PM
After running customapache ./build clean and then ./build all apache fails without error.. and it doesnt say ok anymore when starting.

thoroughfare
02-14-2006, 03:22 PM
Nick,

Try downgrading to Apache 1.3.33, PHP to 4.3.11 AND ZEND to 5.7.

Had the exact same issue, Zend is the culprit.

HTH,
Matt

NickVDB
02-14-2006, 03:27 PM
Thanks matt it worked.

thoroughfare
02-14-2006, 03:48 PM
No worries, I had 6 hours of Apache downtime thanks to that yesterday :(

Matt

Equand
02-27-2006, 07:14 PM
this problem is on freebsd 4.10

ok theres a huge problem with this i see... i've made like thoroughfare said (thanx mate), but now i've got another problem

mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in

well as far as i understood php 4.3.11 wasn't supposed to work with mysql 4.11, now any suggestions? how to fix the non working zend? i need latest php 4 to work...

Webcart
02-28-2006, 11:07 AM
Originally posted by Equand
mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in

well as far as i understood php 4.3.11 wasn't supposed to work with mysql 4.11, now any suggestions? how to fix the non working zend? i need latest php 4 to work...

PHP 4.3.11 can work with MySQL 4.1x just fine.
You just need to make sure PHP is compiled with mysql extension supporting MySQL 4.1x. Change "--with-mysql" to "--with-mysql=/PATH/TO/MySQL41".
Alternatively, you can force old-style authentication in MySQL 4.1x: http://dev.mysql.com/doc/refman/4.1/en/password-hashing.html

Let us know how it goes.

Equand
02-28-2006, 02:42 PM
Originally posted by Webcart
PHP 4.3.11 can work with MySQL 4.1x just fine.
You just need to make sure PHP is compiled with mysql extension supporting MySQL 4.1x. Change "--with-mysql" to "--with-mysql=/PATH/TO/MySQL41".
Alternatively, you can force old-style authentication in MySQL 4.1x: http://dev.mysql.com/doc/refman/4.1/en/password-hashing.html

Let us know how it goes.
Thank you that worked

Equand
02-28-2006, 02:50 PM
ok now because i had downgraded from 2.0 to 1.3.33 i have one problem, the restart of the process
whenever i do that apache doesn't startup until i do '/usr/sbin/apachectl start' , any clues why /usr/sbin/httpd not working?
and now apache goes down every 1 hour

************
fixed
************
rm -rf /usr/local/Zend
/usr/local/directadmin/customapache/build zend
************
after procedures
************
cat /usr/local/lib/php.ini-zend_optimizer.bak >> /usr/local/lib/php.ini
************
and don't forget to edit php.ini afterwards to delete all old zend added text (new zend will be on top of .ini)
this may be redone buy installing several different zend optimizers

thanx to everybody...

now i got last question, how to reconfigure gd to use freetype?

Equand
03-01-2006, 09:28 AM
new bug
Mar 1 19:19:47 customer-2448 /kernel: pid 24105 (httpd), uid 0: exited on signal 11 (core dumped)
Mar 1 19:19:56 customer-2448 /kernel: pid 24148 (httpd), uid 0: exited on signal 11 (core dumped)
Mar 1 19:20:00 customer-2448 /kernel: pid 24243 (httpd), uid 0: exited on signal 11 (core dumped)
Mar 1 19:20:02 customer-2448 /kernel: pid 24289 (httpd), uid 0: exited on signal 11 (core dumped)
Mar 1 19:20:12 customer-2448 /kernel: pid 24331 (httpd), uid 0: exited on signal 11 (core dumped)

and i don't know why (

now disconnected zend, it works but, why it stopped working? all day it worked ok...

bigboy
03-04-2006, 03:21 AM
masage my server
#dmesg

zend error or apache ?

pid 17104 (httpd), uid 1004: exited on signal 11
pid 2380 (httpd), uid 1004: exited on signal 11
pid 8630 (httpd), uid 1004: exited on signal 11
pid 7041 (cpio), uid 0 inumber 49539 on /mnt: filesystem full
pid 57319 (httpd), uid 1004: exited on signal 11
pid 4206 (httpd), uid 1004: exited on signal 11
pid 67833 (httpd), uid 1004: exited on signal 11
pid 39818 (httpd), uid 1004: exited on signal 11
pid 70924 (httpd), uid 1004: exited on signal 11
pid 72220 (httpd), uid 1004: exited on signal 11
pid 29557 (httpd), uid 1004: exited on signal 11
pid 47286 (httpd), uid 1004: exited on signal 11
pid 30746 (httpd), uid 1004: exited on signal 11
pid 34299 (httpd), uid 1004: exited on signal 11
pid 50252 (httpd), uid 1004: exited on signal 11
pid 34622 (httpd), uid 1004: exited on signal 11
pid 26371 (httpd), uid 1004: exited on signal 11
pid 26767 (httpd), uid 1004: exited on signal 11
pid 87003 (httpd), uid 1004: exited on signal 11
pid 34081 (httpd), uid 1004: exited on signal 11
pid 32796 (httpd), uid 1004: exited on signal 11
pid 34343 (httpd), uid 1004: exited on signal 11
pid 67709 (httpd), uid 1004: exited on signal 11
pid 56991 (httpd), uid 1004: exited on signal 11
pid 71917 (httpd), uid 1004: exited on signal 11
pid 3990 (httpd), uid 1004: exited on signal 11
pid 73522 (httpd), uid 1004: exited on signal 11
pid 70217 (httpd), uid 1004: exited on signal 11
pid 69082 (httpd), uid 1004: exited on signal 11
pid 82616 (httpd), uid 1004: exited on signal 11

SeLLeRoNe
03-07-2006, 02:32 AM
i made an error...

i've deleted all in /usr/local/customapache/

how i can solve it? where i can download build?

please help me!

Chrysalis
03-07-2006, 10:50 AM
http://files.directadmin.com/services/customapache/

wget http://files.directadmin.com/services/customapache/build

then running ./build update and ./build update_data might recover everything else. If not manually grab the files on the dir.

SeLLeRoNe
03-07-2006, 10:56 AM
thanks a lot

SeLLeRoNe
03-07-2006, 10:59 AM
configure: error: APR could not be located. Please use the --with-apr option.
configure failed for srclib/apr-util

*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file



now i got this error.. what can i do?

thanks

Chrysalis
03-08-2006, 11:56 AM
you are using default switches and deleted nothing else other then the customapache dir?

SeLLeRoNe
03-08-2006, 12:01 PM
i've deleted all for error.. i've take build from url gived me in this forum and made an build update and build update_data.. and now i got that error...

DirectAdmin Support
03-08-2006, 09:15 PM
Hello,

For apache 2? You'd have to run:

./build update_data_ap2

If you just type "./build" you'll get all the things you can run.

John

SeLLeRoNe
03-09-2006, 06:09 AM
i know, i've made:

./build clean
./build update_data_ap2
./build apache_2

and i've got that error...

DirectAdmin Support
03-09-2006, 04:05 PM
Not sure. Have you tried following it's recommendations?
Try adding:
--with-apr
to your configure.apache_2 file.

John

SeLLeRoNe
03-09-2006, 04:23 PM
i've tried but i've the same error, the configure.apache_2 is downloaded by build script from your website.. what can be wrong?

checking for chosen layout... apr-util
Applying apr-util hints file rules for i386-unknown-freebsd5.5
checking for APR... no
configure: error: APR could not be located. Please use the --with-apr option.
configure failed for srclib/apr-util

*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file



>uname -a
FreeBSD Flame.CrazyNetwork.it 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #1:

Chrysalis
03-10-2006, 03:30 PM
I have no idea what APR even is so hard to help you here, I checked my configure.apache_2 file and it has no --with-apr defined.

SeLLeRoNe
03-12-2006, 09:44 AM
how can i downgrade to apache 1.3.33 from2.0.55?

i lose all domains added after upgrade to 2.0.55?

jmstacey
03-12-2006, 11:44 AM
http://help.directadmin.com/item.php?id=54

SeLLeRoNe
03-12-2006, 11:45 AM
but i lost all domain added after upgrade to 2.0.55?

DirectAdmin Support
03-12-2006, 03:04 PM
Hello,

By "lost" I'm assuming you mean the just are not showing up?

If that's the case, then you'd likely just be missing your Include lines from the /etc/httpd/conf/httpd.conf

Here is a simple script that will re-fill them (it may add duplicate entries, so you'd have to remove any duplicates)cd /usr/local/directadmin/data/users
for i in `ls`; do { echo "Include /usr/local/directadmin/data/users/$i/httpd.conf" >> /etc/httpd/conf/httpd.conf; }; done;John

SeLLeRoNe
03-12-2006, 03:13 PM
thanks a lot, and sorry for my bad english :)

Atlantis95
03-15-2006, 05:05 PM
Note for FreeBSD users.

(for who has bookmarked this url as I did)

In case above is not working proper, then look at :
http://help.directadmin.com/item.php?id=95

It seems that in some circumstances a module mod_perl.c is doing weird. It looks to me that is error has been introduced lately.

SeLLeRoNe
03-15-2006, 05:17 PM
i've freebsd and those istruction work fine...


sometimes i have problem with mod_perl.. but now work..

WebXplosion
04-11-2006, 10:23 AM
Can customapache be used without overwriting my previous PHP settings for instance?

Fantole
06-30-2006, 10:46 AM
Hello has all :D

Sorry if my English is bad :rolleyes:

I write here while hoping to find a solution with my problem

I tested this with my Shell to update my GD


cd /usr/local/directadmin/customapache
rm -f configure.php
./build clean
./build update
./build php y


But once this of validated
./build php y

At the beginning all goes well, but after its blocks .
I have this error
Server unexpectedly closed network connection

Thus I started again my host, but its did not update anything.
Have said to me to test with Nice.

But I am NOOB and I know nothing there.

Can have to help me ?

Thank you, and sorry if I write at the bad place :(

DirectAdmin Support
06-30-2006, 12:04 PM
Hello,

I wouldn't recommend using the "./build php y" option as it will throw you into an inifinte loop if the compile fails... eg:
"The compile has failed, do you want to try again (y/n)"
selecting yes would throw you around as you would have selected yes all the time.

Instead use either:

./build php d

or

./build php n

I use "n" myself, as it's faster, but the d is good as it's essentially a "y" (yes) so it will compile any modules that are missing, but will skip existing ones and head straight to php (faster).

If you do want to recompile all php modules as well, then use just:

./build php

and manually select 'y' when it asks you. This will prevent any infinite loops ;)

John

Fantole
06-30-2006, 03:51 PM
Thank you very much

Its impecable functions :cool:

It in were made very simple :eek:

But I thought of being able to use FreeType

Mais sa ne fonctionne pas

There is you lines like this one to install that ?

Because I would like to use a police true type to make a visual confirmation.

Example : http://forum.phpbb.biz/files/screen_304.gif

HenkTank
07-06-2006, 03:09 AM
edit:

apache works again. No idea why

So is DA supported on Debian? Because we got much instal errors!

jmstacey
07-06-2006, 01:39 PM
Originally posted by HenkTank
So is DA supported on Debian? Because we got much instal errors!

Although I haven't done an install on Debian in quite awhile, I didn't run into many problems at the time. As far as I know it's still marked as beta, but I haven't had to much time to check in lately.

Fantole
09-19-2006, 05:19 AM
No solution under Debian? :(

fwpeter
09-26-2006, 01:10 PM
Originally posted by Fantole
No solution under Debian? :(

I don't have any problems under Debian. Installing DA is a piece of cake. Just make sure you have a clean install of Debian (don't install Apache, PHP, mail, etc.)

See: http://www.directadmin.com/installguide.html

Keeping it secure and up to date is all to you, but Waels update script works great with Debian.

Fantole
09-27-2006, 02:52 AM
I have already directadmin installed on my Host

There must be well a problem some share? :( :( :o

blazingbiz
10-16-2006, 02:15 PM
I'm a newbi and I tried to update my server which is running CentOS 4.1 to Php5 and Apache 2.2.3 I read and followed the instructions here in this forum with the ./ build commands and I also followed instructions on my hosting company's knowledgebase and another DA thread that essentially installed Php5 and Apache 2.2.3 manually the traditional way. I just followed both procedures and I did the manual way twice because my httpd wasn't showing up anymore.

I did the manual install of Php5 and the manual wget of apache-httpd2.2.3 using make and make install first, then the customapache ./ build methods, then the manual wget of apache-httpd2.2.3 using make and make install twice more because things were not working right.

Needless to say, my httpd is down and has been down since I did this. What is worse is that I cannot log in to my server now using SSH and putty, I get "Server unexpectedly refused connection" and then click ok and putty shows "inactive" and then shuts down.

Any suggestions about what to do at this point? Also if I get my server back up, how can I make sure I get Php5 and apache2.2.3 working right on my DA/CentOS server with the latest version of DA. I had just figured out that I needed to update my DA version before all this happened. I was running 1.23.6 I think. When I try to manually do this from the Admin CP, I got an error about my license not being valid. It expires every month along with my hosting payment billing cycle I think. How can take care of the updating of my license and DA version once my server and everything is back up?

Thanks

blazingbiz
10-16-2006, 02:26 PM
I can connect to my server now with putty, I think this was a temporary thing because my hosting tech support person was logged in as root when I tried last time.

tygersclaw
11-06-2006, 10:36 AM
I tried to update my customapache today and although I ran all the commands, nothing happened when I issued the ./build all command.

I tried the following and this was my output...


[root@da1 customapache]# wget http://files.directadmin.com/services/customapache/build
--13:16:26-- http://files.directadmin.com/services/customapache/build
=> `build.5'
Resolving files.directadmin.com... 199.237.54.170
Connecting to files.directadmin.com[199.237.54.170]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57,287 [text/plain]

100%[====================================>] 57,287 --.--K/s

13:16:26 (1.10 MB/s) - `build.5' saved [57,287/57,287]

[root@da1 customapache]# chmod 755 build
[root@da1 customapache]# ./build update
[root@da1 customapache]# ./build all

And as I said earlier, after I issue the ./build all command, nothing happens.

Nothing....

Is there something I am doing wrong??

DirectAdmin Support
11-06-2006, 10:40 AM
Hello,

If you check what you did, you've downloaded it to "build.5", and not "build". If you use wget to download a file that already exists where you're downloading to, it wget ends up adding .# to the end.. so you'd have to add "-O build" to the wget line.

I actually just recommend typing:

./build update

to get the new build script and all it's new data, over wget.
The update will also update all configure files if there are new apache or php versions.

If nothing happens, it likely means you're build is empty, so you need to use your wget command, along with the -O option.

wget -O build http://files.directadmin.com/services/customapache/build

John

tygersclaw
11-06-2006, 10:55 AM
Thanks John!! That

wget -O build http://files.directadmin.com/services/customapache/build

got herr built!! Thanks again!!!!

vbrednikov
12-03-2006, 08:06 AM
Here in Russia there is a very popular apache module mod_charset (http://apache.lexa.ru/english/), which is needed to support lots of russian encodings (there are 4 general charsets here: cp1251, koi8-r, cp866, iso8859-5, and some others). It's distributed in two ways: as a ready apache tarball with the module included, and as a patch which can be applied to apache source tree.

So we want to use it at our hosting. The problem is that this patch must be applied BEFORE configure, and it is not compatible with some patch from mod_ssl distribution, which we need too.

Of course I can compile and install apache manually but it will be overwritten during next update.

What will you recommend to do?

jmstacey
12-03-2006, 12:22 PM
I can't think of a way around it. You will have to reaply the patch everytime you update Apache regardless of whether or not it is through custom apache. You may want to write a shell script which will automatically apply the changes you need to apache and the build script. When update time rolls around all you would have to do would be to execute your custom script.

xemaps
12-03-2006, 01:07 PM
Originally posted by vbrednikov
Here in Russia there is a very popular apache module mod_charset (http://apache.lexa.ru/english/), which is needed to support lots of russian encodings (there are 4 general charsets here: cp1251, koi8-r, cp866, iso8859-5, and some others). It's distributed in two ways: as a ready apache tarball with the module included, and as a patch which can be applied to apache source tree.

So we want to use it at our hosting. The problem is that this patch must be applied BEFORE configure, and it is not compatible with some patch from mod_ssl distribution, which we need too.

Of course I can compile and install apache manually but it will be overwritten during next update.

What will you recommend to do?

Have you tried that ?
# /usr/sbin/apxs -iac mod_charset.c
Then the module is added to apache 1.3.xx
and you can add directives at server level, host, domain aso

be sure to copy charset at right place, see their doc.

vbrednikov
12-05-2006, 12:13 AM
Originally posted by jmstacey
I can't think of a way around it. You will have to reaply the patch everytime you update Apache regardless of whether or not it is through custom apache. You may want to write a shell script which will automatically apply the changes you need to apache and the build script. When update time rolls around all you would have to do would be to execute your custom script.
Originally posted by xemaps
Have you tried that ?
# /usr/sbin/apxs -iac mod_charset.c
Then the module is added to apache 1.3.xx
and you can add directives at server level, host, domain aso

Thank you jmstacey and xemaps for your answers. I found a third way: Apache 2 contains the similar functionality (charset_lite) so I will upgrade apache.

freshmint
01-24-2007, 01:53 AM
Sorry not going thru the whole thread, but does the build script overwrites changes we make on the configure.* scripts?

Like I modify my configure.* to modules I'd like to compile in both apache and php and when updating build scripts, changes are gone and now I have default configure.* scripts.

jlasman
01-24-2007, 01:04 PM
Yes it can. Depending on exactly what you run, It deletes them and completely reloads them.

You might want to save them first, and compare later. That's what we do.

Jeff

Chrysalis
03-20-2007, 08:33 AM
the script should download .default or .dist files not overwrite current ones and perhaps echo to terminal to check them for changes.

maldito
03-21-2007, 10:38 PM
As posted here (http://www.directadmin.com/forum/showthread.php?t=9881) I upgraded from 1.3 to 2.0.5x using the custom apache script.

Now, I have 2 important questions:

1- Which modules are loaded? I know perl, php and frontpage are running, but about the rest? where are they?

2- Which mpm mode am I running? Since I only run one cpu, prefork should be my best option, but the config has the other 2 modes and they are all conditioned with an "If".

I would really apreciate the help

pucky
03-22-2007, 11:58 AM
This thread is getting very confusing. Cant determine what works and what doesnt work from peoples installation experience. Maybe it should be closed and restarted

jlasman
03-22-2007, 09:39 PM
the script should download .default or .dist files not overwrite current ones and perhaps echo to terminal to check them for changes.
My recollection is that it did overwrite. You're welcome to check :) .

Jeff

Chrysalis
03-24-2007, 10:59 PM
it does overwrite and I am saying I think its a bad idea to do that. Hmm looks like I posted that comment on the wrong thread was more of a response for the new beta script.

jlasman
03-25-2007, 12:01 PM
This thread is getting very confusing. Cant determine what works and what doesnt work from peoples installation experience. Maybe it should be closed and restarted
Perhaps you're right.

I don't have time right now to pull the good stuff and create a How-To.

Do you :) ?

Jeff

sky
05-26-2007, 10:42 AM
Can i directly install this on a new server ?

smtalk
05-26-2007, 11:18 AM
It's installed by default on DirectAdmin server in /usr/local/directadmin/customapache.

sky
05-26-2007, 11:35 AM
sry i got the whrong post.
i whas talking about the new custom beta install. but i found that i just need to add .custombuild before launching ./setup.sh

Equand
11-16-2007, 10:55 PM
the installation script using defaults doesn't create dovecot, how do i fix this? it gives a lot of errors while da is running.

tarquel
11-16-2007, 11:02 PM
Equand:

http://www.directadmin.com/features.php?id=590

Read through that and at the line "To convert to dovecot:" the instructions are there for you.

Regards.
Nath.

Equand
11-16-2007, 11:22 PM
how do i just disable the check for this service? so i don't recieve messages that it's not running?

freshmint
11-17-2007, 02:18 PM
how do i just disable the check for this service? so i don't recieve messages that it's not running?

http://www.directadmin.com/features.php?id=487

branz
01-10-2008, 02:23 PM
Hello all,

This thread holds information about our customapache build script. It allows everyone to rebuild apache easily and customize php more easily.

Comes with:
Apache 1.3.33
mod_ssl 2.8.22
mod_perl 1.29
php 4.3.11
zend 2.5.7
gd 2.0.33
libjpeg 6b
libpng 1.2.7
libmcrypt 2.5.7
zlib 1.2.1
curl 7.12.3
mod_frontpage 1.6.1
Frontpage 5.0.2.2510
mhash 0.9.1
zzip 0.10.82

As root, type:cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all



And if you want to have Zend, after the whole thing finishes, type:
./build zend

and answer all questions.
Zend install = /usr/local/Zend
php.ini = /usr/local/lib
Apache config dir = /etc/httpd/conf
php = 4.3.9
apache bin = /usr/sbin

it will try to restart the server, which might fail, so type
service httpd restart

I've tested it on my box at home, and our test box. Let me know how it goes for you guys. Takes about 15 minutes on a 750Mhz.

You can have a look at the <? phpinfo(); ?> that it will produce here:
http://files.directadmin.com/info.php

If you have any comments on the default ./configure for apache and php, I'd love to hear them.

Thanks,

John

I just built but I got apache failed after I restarted :(
Please help.....

[root@xxxxxx customapache]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 149 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `auth_anon_module' in file /etc/httpd/modules/mod_auth_anon.so: /etc/httpd/modules/mod_auth_anon.so: undefined symbol: auth_anon_module
[FAILED]

SajtXL
03-05-2008, 11:36 AM
Hi all. Try to run ./build an a new server...
To fix the problem, I need to manually remove file /usr/lib/apache/libphp5.so,
then run the update again.
I have try that several times, but always the same failure.

Here are the log:


Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.so /usr/lib/apache/libphp5.so
cp: cannot create regular file `/usr/lib/apache/libphp5.so': Text file busy
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
-bash-3.00#

Webcart
03-06-2008, 10:31 AM
Hi all. Try to run ./build an a new server...
To fix the problem, I need to manually remove file /usr/lib/apache/libphp5.so,
then run the update again.
I have try that several times, but always the same failure.

Try shutting Apache down before the build.

labrocca
03-07-2008, 04:58 AM
FYI- There seems to be a bug in the mod_deflate conf file for apache 2.2 in the custombuild. Zip files are corrupted when being served.

Here is some info:
http://www.buberel.org/serendipity/index.php?/archives/258-HOWTO-Configure-apache-to-correctly-serve-Zip-files-to-Internet-Explorer.html

Basically apache is compressing a compressed file for IE and it becomes corrupt.

Please fix asap. For now I have commented out the deflate-conf file in httpd.conf and that seems to have corrected the problem but not sure if other side effects will occur or if I am even using mod_deflate at all now. I would like a more permanent solution.

Chrysalis
03-12-2008, 11:11 AM
I seen the corrupt zip issue on a server hosting vBB but the opposite to what that article says, IE7 could successfully open the zip files not corrupted but any other browser like firefox and opera couldnt.

labrocca
03-12-2008, 02:17 PM
It's actually Mybb software that I run. Obviously there are some issues though with the mod_deflate and different browsers.

avaz
06-17-2008, 11:50 AM
Hi all,

I am sure this question has been asked various times, but I haven't quite figured out how to solve one problem.

I am on FreeBSD 7-STABLE, trying to build customapache in DA.
After performing
./build all

I get the following error:


zziptest.c: In function 'main':
zziptest.c:76: error: lvalue required as left operand of assignment
*** Error code 1

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

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

Stop in /usr/local/directadmin/customapache/zziplib-0.10.82.

*** The make has failed, do you want to try to make again? (y,n):


The reason I tried to rebuild apache, because for some reason, after installing DA, I cannot start apache, it gives me the following error:


# /usr/sbin/apachectl start
Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: Undefined symbol "ap_palloc"
/usr/sbin/apachectl start: httpd could not be started


I have not experienced such issues when installed DA on CentOS.

Suggestions and help would be much appreciated.
Thank you in advance

Webcart
06-17-2008, 12:58 PM
The reason I tried to rebuild apache, because for some reason, after installing DA, I cannot start apache, it gives me the following error:


# /usr/sbin/apachectl start
Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: Undefined symbol "ap_palloc"
/usr/sbin/apachectl start: httpd could not be started


I have not experienced such issues when installed DA on CentOS.

Suggestions and help would be much appreciated.
Thank you in advance
Well, I can't help you much with the rebuild, but if you comment out line 31 in your /etc/httpd/conf/httpd.conf file, you should be able to start Apache.
In order to comment out that line add # at the beginning:
#LoadModule env_module /etc/httpd/modules/mod_env.so

Chrysalis
06-18-2008, 11:48 AM
the zziptest.c error lines are missing only some there.

Which license type have you got installed on that server?

smtalk
08-05-2008, 12:02 PM
You can have a look at the <? phpinfo(); ?> that it will produce here:
http://files.directadmin.com/info.php

This link is not working anymore.

DirectAdmin Support
08-05-2008, 09:09 PM
Correct, I removed it a long time ago. I considered giving away all of the server info away slightly insecure. If anyone wants to post theirs, be my guest ;) If it wasn't an active data server for, it might be a different story, but since we need it, I removed the link. Also, it's no longer a standard compile of apache as I removed the bulk of everything else that wasn't required for it since as a plain old file server, it doesn't need any of the bells and whistles that our usual apache compiles get.

John

CentOS5
10-02-2008, 11:17 AM
Installed centos 5.2 with DA no problems, i have few questions, it has installed devoct instead of vm-Pop3d, can i remove devcot and install vm via custombuild?

I am asking this because moving from freebsd box and need to back up user data (email etc) and move, if i have vm-pop3d on freebsd and devcot on centos will i have problems, also if i use devcot i have just wasted gigs of space on var which i made 30gb.

Thanks