module ruid2_module is already loaded, skipping

ajax20

Verified User
Joined
Jul 16, 2014
Messages
142
Hello

After following the tutorial below

Code:
[URL="https://forum.directadmin.com/showthread.php?t=37467"]https://forum.directadmin.com/showthread.php?t=37467[/URL]

When I restart HTTPd

I get the following error:

Code:
[so:warn] [pid 14221] AH01574: module ruid2_module is already loaded, skipping

When I issue

Code:
grep -R "mod_ruid2" /etc/httpd/conf/*

I get the following

Code:
/etc/httpd/conf/extra/httpd-phpmodules.conf:LoadModule	ruid2_module		/usr/lib/apache/mod_ruid2.so
/etc/httpd/conf/extra/httpd-hostname.conf:	<IfModule mod_ruid2.c>
/etc/httpd/conf/extra/httpd-vhosts.conf:    <IfModule !mod_ruid2.c>
/etc/httpd/conf/extra/httpd-vhosts.conf:    <IfModule !mod_ruid2.c>
/etc/httpd/conf/extra/httpd-modsecurity.conf:    <IfModule mod_ruid2.c>
/etc/httpd/conf/httpd.conf:LoadModule ruid2_module       /usr/lib/apache/mod_ruid2.so

Any ideas which file I should edit to remove the extra mod_ruid2 line?
By the Way, I have installed CB2.0.
Regards
 
I think I found the answer. I removed
Code:
/usr/lib/apache/mod_ruid2.so

from

Code:
/etc/httpd/conf/httpd.conf

And it seems to work.:)
 
In the link mentioned above, it says we should add the RUidGid line below between the <Directory "/var/www/html"> and </Directory>

like

Code:
<Directory "/var/www/html">
    Options -Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
   <IfModule mod_suphp.c>
        suPHP_Engine On
        suPHP_UserGroup webapps webapps
        SetEnv PHP_INI_SCAN_DIR
   </IfModule>
   RUidGid webapps webapps
</Directory>

but I do not have /var/www/html in

Code:
/etc/httpd/conf/extra/httpd-directories.conf

Instead I have

Code:
<Directory /var/www/cgi-bin>
Am I supposed to add RUidGid line below this line?

Any ideas will be appreciated.
 
Back
Top