Urgent: Service Restart Failed After Rebuilding

selfwebhosting

Verified User
Joined
Jan 12, 2006
Messages
75
Location
Canada
I used the update script to add freetype and then used smtalk's customapache to rebuild php. But I typed the wrong command. Instead of typing:

./rebuild php

I typed...

./rebuild all

Now the process is complete but I cannot start httpd. The error I have is:

Syntax error on line 17 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: apr_table_set

What should I do?
 
Anyone there who knows the solution?

After commenting out the LoadModule php5_module /usr/lib/apache/libphp5.so line, I have this error trying to restart:

Starting httpd: Syntax error on line 32 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration

So commenting the LoadModule php5_module is not the solution and it creates more problems.

Help!!!!!
 
Try:
HTML:
./build all

Then
HTML:
service httpd restart

That fixed the php issue for me now I am working on a perl one :P
 
selfwebhosting, make sure that it's really "./build rewrite_confs" (with no mistypes).
 
./build rewrite_confs

Does not work for me either.

[root@www customapache]# ./build rewrite_confs
*************************************
* *
* DirectAdmin WebServices Installer *
* *
*************************************

To build everything run:
./build all

Other options:
./build php
./build apache_mod_ssl
./build gd
./build libjpeg
./build libpng
./build zlib
./build curl
./build mcrypt
./build mhash
./build zzip
./build mod_perl
./build mod_frontpage #dso depreciated
./build frontpage_ext
./build webalizer
./build zend (not included with 'all')

Apache 2 options (beta):
./build update_data_ap2
./build convert
./build apache_2
./build php_ap2
./build mod_frontpage_ap2
./build mod_perl_ap2

Dovecot options (beta):
./build update_dovecot
./build dovecot
./build todovecot

Remove old build data:
./build clean


Get lastest build script and data
./build update

Get data for current build script
./build update_data

You can pass a 2nd argument to automate the input
./build <option1> d : do the default action
./build <option1> y : answer yes to all questions
./build <optino1> n : answer no to all questions
 
My problem was that I upgraded for apache 1.3 and my version is 2.0, Is it possible you are doing this as well?

Good luck.
 
Back
Top