You are hereTechnote

Technote


Java Installation Issues on Windows 7 64-bit; Error 1335 with Data1.cab

As most people now know, java being installed (and seldom updated) on nearly every system running Windows has created major security problems, what with all of the security holes being "day one" exploited.

The proper solution (as is the case with most security problems) is to remove something when it isn't specifically needed!

When I looked at my own system, I had disabled java from being activated by the browser (disabling the add-ins for chrome, IE, Firefox, etc.) so I was relatively safe from website/ad based attacks, but I also found that I was running three different installations of java including two for 32-bit and one for 64-bit.

I figured the easy thing to do was remove all of them, then add back the freshest version of one I needed for my Eclipse IDE to work.

Uninstall went fairly well, but I had problems when I tried to install the 64-bit version of java. Every time I installed it, I would get:

Error 1335: The cabinet file Data1.cab required
for this installation is corrupt and cannot be used.

I tried lots of different things from the googles, but it took a combination of things to get it to finally install...

Isolating a Load Balanced Connection on a Sonicwall

When we were having problems testing the Comcast modem for problems, we also had some issues with testing. Whenever we tested the load balanced connection, we were never sure what connection things would go out on.

If you want to force the Sonicwall to route a particular device's traffic to a particular interface (ignoring load balancing's randomness or Sonicwall's route optimizations), then you need to create a routing rule. The rule overrides everything (until you delete the rule)...

Tip: Largest Files in Linux

Here's a quick tip on how to find the largest files on your Linux system. If you are running low on disk space, knowing your largest files can be very handy for getting rid of especially large unneeded files and getting things going, again. I know I sometimes set aside a backup of a database that might be 20GB or more, such as during a migration or upgrade or debug session, then end up forgetting I have it sitting there. When space gets tight, I look for the largest files first, then I don't have to spend a lot of time getting things back where they belong.

This command will list the 30 largest files on your system and sort from largest file size down in size. This 2015 version is improved and takes into account filenames with spaces or escaped characters:




find / -mount -type f -printf '%s|"%h/%f"\n' | \
 awk '{FS="|"; printf "%10d MB\t%s\n",($1/1024)/1024,$2}' | \
 sort -rnk1 | head -30

Run it as all one line.

Moving a Domain Off a Multi-domain Zimbra Server

I had a situation where a Zimbra server was hosting several domains. Some of them were related in such a way that there could be no downtime where any of the domains couldn't send to each other, even during a migration to another server.

One of the domains was going to be hosted by another server. It happened that the domain I'm talking about only used Zimbra for account, pop3 and smtp mail services, so I didn't have to worry about moving mailboxes and mails, but I had to make sure that the emails kept flowing.

So, the new server was set up and ready. All accounts were loaded. Email would go in and out of that server.

We made the big switch of the DNS and outside mail started to flow in. However, I ran into a problem where the mails being sent using the old server would not route after having deactivated the domain on that server. All I'd get is a 550 error telling me that user was not on that server.

So, here's what I did...

Samsung Galaxy Tablet 10.1s Won't Boot

OK, fantastic, I just got a free, totally sweet, Samsung Galaxy 10" Tablet for being at Google IO. I spent the second day of GoogleIO using only the tablet (and barely my Nexus One phone) having left my backpack and laptop safely locked up. Feeling the freedom, baby! I was hoping for about 8 hours of battery, but I was pleasantly surprised to find that, after a full day of use during the conference, I still had 50% of my battery left!

Everything was going fantastic. I dropped my stuff off in my hotel room, set up everything to charge, the took off for dinner (In-N-Out, DoubleDouble combo #1, if you're keeping track).

When I got back to my room after dinner, disaster had struck! My little tablet was totally dead. Completely unresponsive. All attempts to reset by holding in the power button failed. I was getting pretty desperate...

AVG Remote Admin Server Goes to 100% CPU

One of my client's AVG Remote Admin servers would go to 100% CPU usage and then refuse remote connections. Sometimes it would be temporary, but sometimes it would take a start/stop of the service to get things going again.

That would be OK, once a year or so, but this system started needed it every week.

While I haven't run a full week after what I did, I did come up with a way to start off with a clean database, which is what the problem was, I think...

Odd Excel 2003 Hanging Mouse Cursor

I had a system with an odd little problem. The user was using Excel 2003 and all of a sudden, it looked like Excel hung. Everywhere the user clicked with the left mouse button, nothing happened. The right button would select a cell an inch away from the cell that was clicked on and the pop-up menu would appear down and to the right from the point clicked. While Excel looked like it was hung, it really wasn't as even though it wasn't behaving, it was running...

"2 Snaps Up!" or How to Slap Down Snap on Windows 7

Windows 7 is basically OK, but there are some things that have been added to "improve" it that drive me nuts. One of those is the default setting that causes windows that get near the edge of the screen to suddenly pop full screen. In addition to these kinds of new "features", Windows 7 also does a good job hiding where you need to go to fix these settings.

The Aero interface is what does this and the feature is called the "Snap Window Arrangement" feature.

So, if you've done some searching and hit Google and been scared off by the articles that tell you to change the registry and logoff/logon, have no fear! The setting is easy to change, doesn't require a logoff/logon, and is super simple to do, once you find it...

Eclipse 64-bit Complains about Memory on an 8GB system?

I was getting an error in Eclipse (Helios) when starting up complaining about "GC overhead limit exceeded". GC is the garbage collector, but I hadn't changed any limits. I was using more and larger projects...

Ricoh MP C3000 Won't Send Scans Via Gmail or Google Apps

I just lost 3 hours of my life I'll never get back because after upgrading a client to Google Apps, I couldn't get their Ricoh MP C3000 to send scans via email!

Ugh!

I've used gmail and Ricoh printers for, like, forever, and haven't had a problem with either, but neither one wanted to place nice when I tried to point the Ricoh at gmail.

I scanned forums, manuals, and tried all of the settings that work fine on the other setups I've had. I checked AT&T, Google, and Ricoh sites for info, but no joy.

It turned out to be pretty simple, and then not...

Did this help you? You can help me!


Did you find this information helpful? You can help me back by linking to this page, purchasing from my sponsors, or posting a comment!


+One me on Google:


Follow me on twitter: http://twitter.com/mojocode









Affiliation Badges