not restart or start httpd

sarwhost

Verified User
Joined
May 6, 2013
Messages
37
Hello all
i canot restart HTTPD
it error
[root@s custombuild]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/porteghal/httpd.conf:
Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration
I run comments
but not the solved problem
please help me
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build set mysql_inst yes
./build update
./build mysql
./build php n
 
Be sure you have no custom virtual_host2*.conf in /usr/local/directadmin/data/templates/custom/
And if you have, be sure they are similar to the standard ones in /usr/local/directadmin/data/templates/
In case they are not, and you need custom things, copy the original ones and re-edit them, than run:

Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs

Regards
 
I run comments
but not the solved problem
please help me

"RMode" relates to mod_ruid2, so you need

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

and make sure you've CB 2.0:

Code:
./build version

What version is there?
 
Back
Top