Linux

Generate Shorewall blacklist from Spamhaus and DShield

vi /etc/shorewall/makeblacklist Paste the code below, and save it. #!/bin/sh echo “#ADDRESS/SUBNET PROTOCOL PORT” > /tmp/blacklist wget -q -O – http://feeds.dshield.org/block.txt | awk –posix ‘/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.0\t/ { print $1 “/24”;}’ >> /tmp/blacklist wget -q -O – http://www.spamhaus.org/drop/drop.lasso | awk –posix ‘/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\// { print $1;}’ >> /tmp/blacklist echo “#LAST LINE — ADD YOUR ENTRIES BEFORE THIS ONE …

Generate Shorewall blacklist from Spamhaus and DShield Read More »

[Solved]Package adobe-flashplugin is virtual on 64bit Ubuntu 10.04

I’m setting up 64bit Ubuntu 10.04 LTS today and received this error “adobe-flashplugin is virtual”, which is listed here: https://bugs.launchpad.net/ubuntu/+source/apturl/+bug/554449. The fix was simple. Following the directions found here: https://help.ubuntu.com/community/RestrictedFormats/Flash You just need to install the 64 bit version from the PPA by executing the following:

[solved] /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2)

/usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libgd.so.2) /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libgd.so.2) [adrotate banner=”1″] /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2) /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2) vi /etc/crontab and edit the mrtg line by appending the >/dev/null 2>&1 at the end of line: …

[solved] /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2) Read More »

Update server with custombuild in DirectAdmin

Update server with Custombuild in DirectAdmin cd /usr/local/directadmin/ ./build clean ./build options ./build versions ./build update_versions [adrotate banner=”1″] [root@server custombuild]# ./build versions Latest version of DirectAdmin: 1.35.1 Installed version of DirectAdmin: 1.35.1 Latest version of Apache: 2.2.15 Installed version of Apache: 2.2.15 Latest version of ProFTPD: 1.3.2 Installed version of ProFTPD: 1.3.2 Latest version of …

Update server with custombuild in DirectAdmin Read More »

[Solved] [error] (28) No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352).

[Mon Mar 22 20:28:47 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Mon Mar 22 20:28:47 2010] [notice] mod_python: using mutex_directory /tmp [Mon Mar 22 20:28:47 2010] [error] (28)No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352). [adrotate banner=”1″] [Mon Mar …

[Solved] [error] (28) No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352). Read More »