JungleDisk – Server Daemon Not Responding, No Backups, Not cool?

So I noticed that one of my servers wasn’t being backed up via email alerts recently. Usually I’m on top of it, but I noticed recently one less email from JungleDisk (I get completion notices on all JungleDisk Backups).

So I opened up the Jungle Disk Server Edition Management and found that I couldn’t connect to the machine I was trying to open. I thought, hrmm this happened before I just need to restart the “junglediskserver” process on the server in question. At which point I could then see the server listed in the Management console.

Once selected the server to see when the last backup was, I noticed it was 24 days from the last complete backup. I was super surprised and kinda ticked off because I didn’t notice this quick enough to fix it and neither did JungleDisk. I mean if there are 24 missed backup windows, don’t you think I should be notified.

I described the above to JungleDisk in an email to their Feedback address, lets see how they respond.

Update #1: I got a response from JungleDisk via email, they directed me to their Support System at which point I was able to post a feature request. But to my surprise their were already a handful of similar requests, so I dropped my two bits in. The one thread was over 2 years old. Great software, bad community relationship.

Update #2: I haven’t been following the thread on Jungledisk’s support site as I’ve pretty much decided to live with this problem. However, another awesome thing happened (I’m being sarcastic). Jungledisk was doing a backup and it either started super slow or during the backup it slowed down, either way the backup was going at 0.1k/s and wasn’t going to finish. It kept running, it missed the next backup window and I only knew this because I got no email about the job completing. You would think if a job takes too long and the next backup window is forthcoming, why not notify via email that it’s happening.

Simple Apache Expires Setup via .htaccess

If you’ve used Google Page Speed then you’ve probably seen “Leverage browser caching” as one of the items on the Medium Priority list. And it’s a real simple fix if you’re running Apache. Just create or edit your .htaccess file for the site you want to enable it on and input the following.

<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType image/gif "access plus 1 years"
    ExpiresByType image/jpeg "access plus 1 years"
    ExpiresByType image/png "access plus 1 years" 
    ExpiresByType text/css "access plus 1 years"
    ExpiresByType text/js "access plus 1 years"
    ExpiresByType text/javascript "access plus 1 years"
    ExpiresByType application/javascript "access plus 1 years"
    ExpiresByType application/x-javascript "access plus 1 years" 
    #ExpiresDefault "access plus 1 days"
</IfModule>

And Viola, you’re now telling Web Browsers not to grab Images/CSS or Javascript unless otherwise required.

WordPress Permalink Sub-Directory 404 Error Weirdness

I didn’t really know what to put for the title of this post, but hopefully the content makes more sense and gets indexed properly and found by people looking for this specific information.

The problem is when you install WordPress and setup Permalinks which uses a .htaccess file for Apache. The .htaccess make cause problems with other applications or HTML files you have in sub-directories in your document root.

The fix? It’s simple, just view this blog post. It explains to fix the problem you simply place “ErrorDocument 401 default” at the top of your .htaccess file and everything is resolved. Your WordPress installation still generates 404 pages, but now sub-directories work correctly.

http://www.geoffblog.com/2009/04/wordpress-htaccess-clashes-with-sub.html

Eletronics Purge – For Sale

Big Ticket Items

Apple Mac Book Pro (A1278) – Intel Core 2 Duo – 8GB Memory – 500GB Drive (Seagate Monmentus) – MB990LL/A – MacBookPro5,5 – A1278 – 2326*

 

http://www.everymac.com/ultimate-mac-lookup/?search_keywords=A1278

Bought in December 2009 – No Apple Care. Couple of scratches from wear and tear. Otherwise is good condition, and original box + cd’s and power adapter.

$1000 OBO.


The Garmin Running Package. (Brand New and Never Used.)

Garmin Forerunner 305 w/ Heart Rate Belt + $130
Garmin Foot Pod $50
DigiFit Connect iPhone Ant+ Dongle — $35


Random items.

PC133/100 Ram and Cobalt RaQ’s — http://vancouver.en.craigslist.ca/bnc/sys/2534795562.html

Nokia HF-510 – $40

Cracking Secured (WEP/WPA) Wireless Networks with Backtrack!

I’ve always been asked, “is my Wireless Network secure?” and usually reply with “As long as you’re using WPA with a strong password”. However I wanted to test that out and do some penetration testing.

I looked on the supported devices section of a popular distribution called “BackTrack” that seems to have everything you require to penetrate 802.11 wireless access points.

http://www.backtrack-linux.org/wiki/index.php/Wireless_Drivers

I’ve picked up a NetGear WG111 and a Linksys WUSB54GC, I’ve yet to test either to see if they’re going to work. And in work I mean actually be able to inject packets, as that’s the main reasoning behind it.

I will be using this guide I stumbled upon online via Google search.

http://ryanunderdown.com/linux/cracking-wep-using-backtrack.php

http://ryanunderdown.com/linux/cracking-wep-using-backtrack.php

Testing Exchange 2007 IMAPS using OpenSSL

I was trying to find out why Thunderbird wasn’t working with Exchange 2007 IMAPS (SSL). So I started testing this using OpenSSL using the following command.

openssl s_client -connect imap.host.ca:993

However, I was able to use the LOGIN command, no command would return an error or any information. I did some searching and found that you need to include “-crlf”, from the man page.

-crlf
this option translated a line feed from the terminal into CR+LF as required by some servers.

Adding this option then allowed me to login successfully. That was a good waste of 2 hours.

Installing CentOS 5.6 on Debian Xen Host

So I was trying to setup a SolusVM install on my Debian Lenny Xen machine. SolusVM requires CentOS 5.6 so I decided to do what most people have been doing online.

xen-create-image --hostname=bob.bob.ca--ip=192.168.22.4 --gateway=192.168.22.254 --netmask=255.255.255.0 --dist=centos-5 --install-method=rinse --arch=i386 --pass --force

At which point more errors popped up. Specifically…

rinse /usr/bin/python: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory

I looked into the issue further and it looks like python-libs is missing from “/etc/rinse/centos-5.packages”. Added it and re-built the VM and all is swell.

Why Jungle Disk isn’t a good option for your VPS

I started using Jungle Disk for my Dedicated Server at Softlayer. It’s a rather beefy Dual Quad Core Xeon E5420 with 12GB of memory. It’s not a sloth at all. The setup was simple, I selected the directories I wished to have backed up and also configured email alerts. I’ve had no problems with Jungle Disk on my dedicated server.

However, this is not the case with my two VPS servers. Jungle Disk seems to use quite a bit of memory over time, as you can see below this is after Jungle Disk has been running for 4 days.

root     20027  0.4 29.9 956268 78560 ?        SNsl Apr05  30:37 /usr/local/bin/junglediskserver

As you can see out of the 256MB of memory allocated to the VM, jungle disk is taking up 29.9% which seems to occur after a couple of days.

I brought it up with Jungle Disk support, they said to upgrade and I still had the same memory usage if not worse afterwards. At which point they replied with.

Hello –
Thanks for the update.
At this time, there is no resolution to the large memory footprint, however, we are aware.
Regarding the connection to Amazon… Jungle Disk utilizes many EC2 instances as our back end infrastructure. Thus, you’ll always see connections to Amazon AWS.
If you have any additional questions, don’t hesitate to update this ticket.
Thanks,JungleTravisJungle Disk Support