Histone
Subversion not responding
Issue - Subversion fails to respond on the web.
Observations - Numerous apache processes are running and has exceeded the number of children processes as prescribed in httpd.conf file. This error can be found in the apache error log. Doing an 'svnadmin verify' will just hang.
Why this happens - Unknown at the moment.
Solution - Perform the following steps to bring subversion back up.
- Login as root
- cd /etc/init.d
- ./apache2 stop
- su - www-data
- svnadmin recover /repos
- svnadmin recover /tutorialrepos
- exit
- ./apache2 start
How to stop a hacker (ssh)
Issue - In /var/log/auth.log, you've noticed there are a lot of ssh attempts from one IP using numerous different user ID's.
Solution - Just stop ssh, wait about 2 minutes, and then restart it. The person trying to hack into the machine is most likely using some sort of automated program and so keeping ssh off for a while usually stops the person's attempts.
- BEWARE - If you are remotely stopping ssh, do not exit your session. If you do, the only way to get ssh back up is to physically go to the histone machine and then start ssh from there.
--
VinceMancini - 25 Sep 2006