@how@
Verified User
[root@sky updatescript]# ./update.script
update.script core invalid. Aborting,
Download update.script again.
clean update script folder
rm -fr *
then download it again and chmod.
Wael
[root@sky updatescript]# ./update.script
update.script core invalid. Aborting,
Download update.script again.
>/etc/init.d/httpd restart
Interruzione di httpd: [ OK ]
Avvio di httpd: httpd: Syntax error on line 168 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib64/libxml2.so into server: /usr/lib64/libxml2.so: cannot open shared object file: No such file or directory
thanks a lot,
just a fix for you, after installation on 64bit i made the http-include change as required and on restart i had this:
Code:>/etc/init.d/httpd restart Interruzione di httpd: [ OK ] Avvio di httpd: httpd: Syntax error on line 168 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib64/libxml2.so into server: /usr/lib64/libxml2.so: cannot open shared object file: No such file or directory
ive noticed that that lib was in /usr/local/lib/ and not in /usr/lib64/ so ive wrote in http-include the right path.
regards
#Rule to allow Roundcube html2text
SecRule REQUEST_FILENAME "/bin/html2text.php" \
"allow,phase:1,nolog,ctl:ruleEngine=Off"
#Rule to allow Roundcube to forward imbedded images and exclude from compression scanning
<LocationMatch 'webmail.*/'>
SecRuleRemoveById 950004,950019,960903
</LocationMatch>
#Rule to allow Roundcube html2text
SecRule REQUEST_FILENAME "/roundcube/bin/html2text.php" \
"allow,phase:1,nolog,ctl:ruleEngine=Off"
#Rule to allow Roundcube to forward imbedded images and exclude from compression scanning
<LocationMatch '^/roundcube/'>
SecRuleRemoveById 950004,950019,960903
</LocationMatch>
cd /usr/local/updatescript
rm -rf *
wget http://tools.web4host.net/update.script
chmod 755 update.script
Hi Wael,
im facing a problem, ive noticed is a "know problem" and i found a fix but doesnt merge my needs.
i use to forward all wemail.DOMAIN to /var/www/html/webmail so my webmail urls arent domain/webmail but webmail.domain/
Ive tryed to add a rule in mod_security like this
Code:#Rule to allow Roundcube html2text SecRule REQUEST_FILENAME "/bin/html2text.php" \ "allow,phase:1,nolog,ctl:ruleEngine=Off" #Rule to allow Roundcube to forward imbedded images and exclude from compression scanning <LocationMatch 'webmail.*/'> SecRuleRemoveById 950004,950019,960903 </LocationMatch>
but is not working...
the correct one ive found here on the forum solving the problem on domain/webmail is this one:
Code:#Rule to allow Roundcube html2text SecRule REQUEST_FILENAME "/roundcube/bin/html2text.php" \ "allow,phase:1,nolog,ctl:ruleEngine=Off" #Rule to allow Roundcube to forward imbedded images and exclude from compression scanning <LocationMatch '^/roundcube/'> SecRuleRemoveById 950004,950019,960903 </LocationMatch>
Have any suggestio to point me to the right direction?
Thanks
1) Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_clamav.so into server: libclamav.so.6: cannot open shared object file: No such file or directory
2) After I install Proftpd with mod_clamav, how do i know it is working. Where the virus detection logs? I try upload it and still the eicar file go through
[root@get05 ~]# find / -name mod_clamav.so1) Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_clamav.so into server: libclamav.so.6: cannot open shared object file: No such file or directory
find / -name mod_clamav.so
when you find where is that mod do
nano /etc/httpd/conf/httpd.conf
and edit the path of the mod with the correct one
[root@get05 ~]# proftpd -vv2) After I install Proftpd with mod_clamav, how do i know it is working. Where the virus detection logs? I try upload it and still the eicar file go through
nano /etc/proftpd.conf
and search if <IfModule mod_clamav.c>
is present, if not add after <Global> the following
<IfModule mod_clamav.c>
ClamAV on
ClamServer localhost
ClamPort 3310
ClamMaxSize 5 Mb
</IfModule>
Save, exit, restart proftpd.
The messages of virus found prolly will be in this file:
/var/log/proftpd/access.log
>/usr/sbin/proftpd -vv
ProFTPD Version: 1.3.4rc1 (devel)
Scoreboard Version: 01040003
Built: dom dic 19 2010 14:27:50 CET
Loaded modules:
mod_cap/1.0
mod_qos/0.1
mod_deflate/0.5.4
mod_copy/0.2
mod_clamav.c
mod_wrap2_file/1.2
mod_wrap2/2.0.6
mod_wrap/1.2.3
mod_readme.c
mod_ratio/3.3
mod_ident/1.0
mod_facts/0.1
mod_delay/0.6
mod_site.c
mod_log.c
mod_ls.c
mod_auth.c
mod_auth_file/0.8.3
mod_auth_unix.c
mod_xfer.c
mod_core.c
cd /usr/local/updatescript/
./update.script UPDATEME
./update.script PROFTPMODCLAMAV