Directadmin Custombuild Problem

latheesan

Verified User
Joined
Nov 27, 2005
Messages
33
Directadmin Customapache Problem

Hello,

I noticed that my host gave me PHP 4, so I decided to use "Custombuild" option to upgrade php and apache at same time. So, I followed this guide and did this :

Code:
cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build all

When it finished, I got the following output :

*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
[root@server customapache]#

So, i followed the instruction and typed the following command :

Code:
/sbin/service httpd restart

As soon as I did this, i got the following error :

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory
[FAILED]

Can you help please? Where Im I going wrong?
 
Last edited:
I even tried this instruction :

Code:
cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build update_data_ap2
./build apache_2
./build php_ap2 n
./build mod_perl_ap2

and at the end, i typed this command :

Code:
/sbin/service httpd restart

I get the following error :

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libperl.so into server: /usr/lib/apache/libperl.so: undefined symbol: ap_table_merge
 
[root@server customapache]# /sbin/service httpd start
Starting httpd: Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
[root@server customapache]#

what it means ?? I see many line have Order, deny allowed .....
 
I don't know what's wrong ... that's why i posted here hoping someone would reply with a possible fix.

Right now ... my web server isn't working ...
 
Don't use customapache if you are using custombuild configuration files. It will fix your problems:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build all d
 
Don't use customapache if you are using custombuild configuration files. It will fix your problems:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build all d

LOL That's what I did and this is where my problems started. :eek:

The best way to install apache 2 and php is with custombuild:
http://files.directadmin.com/services/custombuild/1.1


Type: /sbin/service httpd restart
[root@server2 custombuild]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Sat Jul 26 10:37:25 2008] [warn] module php5_module is already loaded, skipping
Syntax error on line 16 of /etc/httpd/conf/ips.conf:
User cannot occur within <VirtualHost> section

Btw, line 16 shows: CustomLog /var/log/httpd/homedir.log homedir

...

Search the forums a little more...
All is good.

echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq
 
Last edited:
Back
Top