Category: Linux Troubleshooting
BigBrother BB4 is not mailing
Are you still using Big Brother monitoring system (http://www.bb4.org) as I do? Does that old undocumented piece of software send you any notification via mail? Then please check those points:
1) BB needs the command mail. So make shure that "mailx" or the mail command is installed on your system.
2) Check the bbsys.local file, if the alias for mail is set. If not, enter this line manually MAIL="/bin/mail -s"; export MAIL
Oh no! But the file tells you not to edit it by hand!?!... Just do it...
3) Take care of your bbwarnsetup.cfg and bbwarnrules.cfg files
4) check your logs under ../bbvar/acks/notifications.log
Enjoy your daily dosis of SPAM ![]()
SSL Stuff
SSL Server Key generation:
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
cp server.key server.key.org
openssl rsa -in server.key.org -out server.key
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
In Apache:
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

Sources:
http://www.akadia.com/services/ssh_test_certificate.html
https://www.sslshopper.com/ssl-converter.html
http://www.werthmoeller.de/doc/microhowtos/openssl/
https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&id=AR198
https://www.startssl.com/
TCP Tweaks
Windows TCP-Tweak:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters.
REG_DWORD, key "Tcp1323Opts", value 3
REG_DWORD, key "GlobalMaxTcpWindowSize", value e.g. 4000000, decimal
Linux TCP-Tweak:
/proc/sys/net/ipv4/tcp_rmem - memory reserved for TCP rcv buffers
/proc/sys/net/ipv4/tcp_wmem - memory reserved for TCP snd buffers
/proc/sys/net/core/rmem_max - maximum receive window
/proc/sys/net/core/wmem_max - maximum send window
Sources:
http://www.psc.edu/networking/projects
/tcptune/
Repair Disk
fdisk -lu
e2fsck -c /dev/sda3
dd if=/dev/zero of=/dev/sda3 bs=4096 count=1 seek=3441271
:: Next >>