View Full Version : Urgent: Service Restart Failed After Rebuilding
selfwebhosting
06-09-2007, 08:26 AM
I used the update script (http://www.directadmin.com/forum/showthread.php?t=12099&highlight=rebuild) 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?
selfwebhosting
06-09-2007, 08:47 AM
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!!!!!
smtalk
06-09-2007, 09:12 AM
./build rewrite_confs
./build php n
selfwebhosting
06-09-2007, 09:19 AM
running ./build rewrite_confs gives me the list of all options - did not do anything I guess.
Try:
./build all
Then
service httpd restart
That fixed the php issue for me now I am working on a perl one :P
smtalk
09-14-2007, 12:20 PM
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.
smtalk
09-15-2007, 12:16 AM
./build rewrite_confs
Does not work for me either.
You're using customapache and not custombuild.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.