**** PROFTPD
hi!
i have this error if upgrade v.1.3.1 to 1.3.2 (old server)
"Starting proftpd: - Fatal: unknown configuration directive 'DisplayFirstChdir' on line 40 of '/etc/proftpd.conf"
All new servers it's ok!!
Thanks!!
comment this line out.
**** PROFTPD
hi!
i have this error if upgrade v.1.3.1 to 1.3.2 (old server)
"Starting proftpd: - Fatal: unknown configuration directive 'DisplayFirstChdir' on line 40 of '/etc/proftpd.conf"
All new servers it's ok!!
Thanks!!
Concerning: /var/log/httpd/error_log
1) If I activate this line:
LoadModule security2_module /usr/lib/apache/mod_security2.so
I will get the following error and httpd can not be started:
[Wed Jun 17 11:05:26 2009] [emerg] (28)No space left on device: Couldn't create accept lock (/var/logs/accept.lock.6543) (5)
2) I am always getting the following error:
shmem.c:35: cannot create shared memory /var/tmp/clamav.shm: statistics will not be available
This only happened after I used custombuild to install zend.
(./build zend & ./build rewrite_confs)
During installation of zend, I selected /usr/.../apachectl1 (the default values always).
After installation the server would not start and I reinstalled all your mods via ./script.update (both mod_clamav & mod_security for apache 2)
What did I do wrong in the process and how to recover?
Thank you in advance!
http://www.directadmin.com/forum/showthread.php?t=30855
cp -a /tmp /tmp_backup
mount -t tmpfs tmpfs /tmp
cp -a /tmp_backup/* /tmp/
rm -rf /tmp_backup/
rm -rf /var/tmp
ln -s /tmp /var/tmp
tmpfs /dev/shm tmpfs defaults,nosuid,noexec 0 0
tmpfs /tmp tmpfs defaults,nosuid,noexec 0 0
./update.script: line 861: ldconfig: command not found
/usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
clamd: no process killed
freshclam: no process killed
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
/usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
./update.script: line 870: ldconfig: command not found
ClamAV auto start when server reboot
clamd: no process killed
freshclam: no process killed
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
/usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
[Mon Aug 17 09:09:52 2009] [error] [client 125.24.13.209] ModSecurity: Access denied with code 500 (phase 4). Pattern match "<b>Warning<\\/b>.{0,100}?:.{0,1000}?\\bon line\\b" at RESPONSE_BODY. [file "/etc/modsecurity2/modsecurity-rules-selected-by-web4host.net.conf"] [line "660"] [id "970009"] [msg "PHP Information Leakage"] [severity "WARNING"] [tag "LEAKAGE/ERRORS"] [hostname "www.xxxxxxxxx.com"] [uri "/administrator/index.php"] [unique_id "5V-bScuSfzYAAD5lhUkAAAAA"]
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eAccelerator
eAccelerator support enabled
Version 0.9.6-rc1
Caching Enabled false
Directive Local Value Master Value
hello.
today i want to install modevasive with this script.
befor this time i install it with source and so add this line on httpd.conf:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 6
DOSSiteCount 50
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 300
</IfModule>
but in this script we must creat new file :
/etc/httpd/conf/extra/httpd-includes.conf
adn then add this line en this new file:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
DOSWhitelist 127.0.0.1
DOSEmailNotify [email protected]
</IfModule>
whats differente betwet them?
tnx
so you mean i do what he say on that post ?
creat that file and paste that command on it? instead of what i say ?