Upgrade to CustomBuild 2.0 >> httpd error

Luke

Verified User
Joined
Feb 15, 2014
Messages
46
Hello, from updating to CB 2.0 I have done these steps:

Code:
cd /usr/local/directadmin
mv custombuild custombuild_1.x
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build
./build update
./build update_script
./build all d

And afer these commands I got this:

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

Type: /sbin/service httpd restart
[root@323876 custombuild]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_ruid2.so into server: /usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory
 
Try to rewrite_confs, in the cb 2.0 faq it says that it is needed. I would do this:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build mod_ruid2
./build rewrite_confs
 
Yes, ditto commands are the ones you should use. However, the main part missed is "./build mod_ruid2", according to the error you provided.
 
HTML:
[root@323876 custombuild]# ./build rewrite_confs
Using 109.235.66.159 for your server IP
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_ruid2.so into server: /usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory
 
Oh, I thought I can edit and add some information later, but from now as I see I can't edit, so:

Try to rewrite_confs, in the cb 2.0 faq it says that it is needed. I would do this:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build mod_ruid2
./build rewrite_confs

After I write:

./build php n or ./build rewrite_confs

I get:

HTML:
Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 51 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_ruid2.so into server: /usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory
 
@Luke, Just finish all the lines of commands I posted, and don't worry about errors before you have finished doing all the commands. You need to run ./build mod_ruid2 also. Edit: Try id in this order:

Code:
./build mod_ruid2
./build apache
./build rewrite_confs
 
You CAN like a thread: way at the top, just under the thread title; search for Rate this Thread; it's a drop-down.

Jeff
 
Yep, but we want to "thank" or "like" posts. It's to show our appreciation for people who put the time and effort to build proper, extensive replies :).
 
hey all.
i after custombuild 2 , my https service is down .
and have this error :

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

but i use all commands in this topic .
but dont work for me .
please help me .
 
Run this and update us with results:

Code:
cd /usr/local/directadmin/custombuild/
./build update
./build apache
./build php n
./build rewrite_confs
 
Cannot find libcap.so for apache. Please install libcap
yum -y install libcap-devel

error
 
Package Arch Version Repository Size
================================================================================
Installing:
bzip2-devel x86_64 1.0.5-7.el6_0 base 250 k
libcap-devel x86_64 2.16-5.5.el6 base 24 k
libtool x86_64 2.2.6-15.5.el6 base 564 k
Updating:
bind x86_64 32:9.8.2-0.30.rc1.el6_6.3 updates 4.1 M
bind-libs x86_64 32:9.8.2-0.30.rc1.el6_6.3 updates 884 k
bind-utils x86_64 32:9.8.2-0.30.rc1.el6_6.3 updates 185 k
cyrus-sasl-devel x86_64 2.1.23-15.el6_6.2 updates 303 k
db4-devel x86_64 4.7.25-19.el6_6 updates 6.6 M
libcurl-devel x86_64 7.19.7-40.el6_6.4 updates 245 k
openssl x86_64 1.0.1e-30.el6.11 updates 1.5 M
openssl-devel x86_64 1.0.1e-30.el6.11 updates 1.2 M
unzip x86_64 6.0-2.el6_6 updates 149 k
Updating for dependencies:
curl x86_64 7.19.7-40.el6_6.4 updates 194 k
cyrus-sasl x86_64 2.1.23-15.el6_6.2 updates 78 k
cyrus-sasl-gssapi x86_64 2.1.23-15.el6_6.2 updates 34 k
cyrus-sasl-lib x86_64 2.1.23-15.el6_6.2 updates 136 k
cyrus-sasl-plain x86_64 2.1.23-15.el6_6.2 updates 31 k
db4 x86_64 4.7.25-19.el6_6 updates 563 k
db4-cxx x86_64 4.7.25-19.el6_6 updates 588 k
db4-utils x86_64 4.7.25-19.el6_6 updates 130 k
libcurl x86_64 7.19.7-40.el6_6.4 updates 166 k

Transaction Summary
================================================================================
Install 3 Package(s)
Upgrade 18 Package(s)

Total size: 18 M
Is this ok [y/N]: y
Downloading Packages:
error: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD

and

Problem opening package db4-4.7.25-19.el6_6.x86_64.rpm




Problem opening package xfsprogs-3.1.1-16.el6.x86_64.rpm
 
Back
Top