This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 9 Problems / Re: AMaViS (A Mail Virus Scanner)
« on: August 31, 2024, 02:48:45 AM »
thank you it works
Been out of the game for awhile but (referring to first post) it appears to be related to amavisd trying to bond to IP6.
the "fix" appears to be to add
$inet_socket_bind = '127.0.0.1';
/etc/amavisd/amavisd.conf
BUT I'm no CWP guru and others may advise against that as there is probably a better way to fix the issue.
EDIT: In hindsight that probably a non fatal issue.
2
CentOS 9 Problems / Re: apache wont restart after enabling mod_security.
« on: August 29, 2024, 08:32:30 AM »
Its resolved now
edit mod_security.conf
nano /usr/local/apache/conf.d/mod_security.conf
LoadFile /usr/lib64/libxml2.so
LoadFile /usr/lib64/ <<<----------------remove this line.
<IfModule !unique_id_module>
LoadModule unique_id_module modules/mod_unique_id.so
</IfModule>
<IfModule !mod_security2.c>
LoadModule security2_module modules/mod_security2.so
</IfModule>
<IfModule mod_security2.c>
<IfModule mod_ruid2.c>
SecAuditLogStorageDir /usr/local/apache/logs/modsec_audit
SecAuditLogType Concurrent
</IfModule>
<IfModule itk.c>
SecAuditLogStorageDir /usr/local/apache/logs/modsec_audit
SecAuditLogType Concurrent
</IfModule>
edit mod_security.conf
nano /usr/local/apache/conf.d/mod_security.conf
LoadFile /usr/lib64/libxml2.so
LoadFile /usr/lib64/ <<<----------------remove this line.
<IfModule !unique_id_module>
LoadModule unique_id_module modules/mod_unique_id.so
</IfModule>
<IfModule !mod_security2.c>
LoadModule security2_module modules/mod_security2.so
</IfModule>
<IfModule mod_security2.c>
<IfModule mod_ruid2.c>
SecAuditLogStorageDir /usr/local/apache/logs/modsec_audit
SecAuditLogType Concurrent
</IfModule>
<IfModule itk.c>
SecAuditLogStorageDir /usr/local/apache/logs/modsec_audit
SecAuditLogType Concurrent
</IfModule>
3
CentOS 9 Problems / Re: apache wont restart after enabling mod_security.
« on: August 29, 2024, 08:24:00 AM »
how to solve this problem. plss help.;
Pages: [1]