Parallels Bug – root login reset when change hostname

June 15, 2009 No comments »

Sent this to Parallels yesterday – hope they fix it..

==================================

Hi,

This weekend after 5 months accessed the Parallels control panel and “corrected” my server from the initial hostname, and did other maint and stumbled onto a bug, well what seems to me a bug.
It can be replicated like this:
For purposes of this say root was originally “root#ABC” and the new one is “root#DEF”
1. At the command line of the VPS, change root to something else, in this case change from root#ABC to root#DEF

2. In the Parallels automation change the hostname of the VPS.

3. The root password will now be set back to the old one.

I’d like to have been warned instead of wondering for a few hours why my server root password changed. Glad to know why – and that it was not rooted.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Hosting – moved last night..

February 21, 2009 No comments »

Glad to have cpanel – moved all accounts to the second VPS – while the other one had more space and such, there are stability and care levels not being met.  Feel free to email me for details.

you can still pickup email if you like at the old server, but incoming email has been disabled so it’ll go to the new server..

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Free Wiring Diagrams Online at Autozone.com

December 20, 2008 1 comment »

Found this here:

http://forum.doityourself.com/automotive-service-repairs/281894-alternator-wiring-diagram.html

You can find most of the diagrams on www.autozone.com

Log in with your vehicle info-

Click on Repair Info

Then Vehicle Repair Guides

Click Chassis Electrical (main screen, center)

Clcick on Wiring Diagrams to the right side of the page! Wala!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

suPHP – fixing busted parts of the site + vtiger forms

November 20, 2008 No comments »

Had to fix some parts of the site today:
* mod security – body limit was gagging up phpmyadmin – vtiget with 300+ tables hitting the limit in modsecurity_crs_10_config.conf: SecResponseBodyLimit 524288 – changed to larger…

Also fixed some suphp stuff, and fixed the db names for the vtiger forms – things ought to be better now – pages are working.. Thanks for commenting – an sorry to everyone that visited a broken page.. :(

Vtiger form demo here: http://mochabomb.com/Demo/cms/index.php?option=com_vtwebform&module=Lead

Anything else broken, please comment below – thanks!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Drop Bogon IP’s quickly and easily

October 15, 2008 No comments »

Blocking bogon’s is good for you and your servers health – only because they are generally un-assigned by IANA or the RIR. These bogus IP blocks are perfect for spamming and criminal activity. Read more about them here.

To block these, I wrote this a while back and while hits may be low, in case they ever get routed or make it to my box. I do need to expand to allow updates if a block is now assigned.

#!/bin/sh
#
# Drop all these bad IP's
#
TMPFILE=/tmp/`apg -a 1 -M nc -n 1 -m 26`

touch $TMPFILE

curl -s http://www.spamhaus.org/drop/drop.lasso |grep ^[1-9]|cut -f 1 -d ' ' > $TMPFILE  

for IP in `cat $TMPFILE`; do
    /sbin/shorewall drop $IP
    sleep 5
done

Run this as a cron or in sync with reloading IP tables.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Mochabomb is Digg proof thanks to caching by WP Super Cache