Archive for the ‘Software’ Category
Monday, April 30th, 2012
Getting a cron error like this from Parallels Plesk Panel?
/etc/cron.daily/60sa-update:
[: 9: 1: unexpected operator
[: 14: 1: unexpected operator
run-parts: /etc/cron.daily/60sa-update exited with return code 1
The solution:
Open /etc/cron.daily/60sa-update in your favorite text editor and change the top line from “#!/bin/sh” to “#!/bin/bash“.
Credit for this fix goes to this post at Mammuts FAQ (Spanish).
Tags: Parallels Plesk Posted in Software | No Comments »
Thursday, April 26th, 2012
…Of course, the error doesn’t come until after a few hours of downloading all of the new packages.
Yet another Ubuntu upgrade bug not solved in time for release. The details are in the bug report here. I don’t understand how this bug has been known since February and not fixed in time for release.
The workaround: Download and install the Ubuntu 12.04 versions of libtinfo5, libncurses5, and libncursesw5 (in that order). You will have unresolved dependencies until you install all three, but you should be able to do them one by one with dpkg -i. (Do not just double-click and use the graphical Ubuntu software manager; use dpkg -i from the terminal.) After they are installed, run the distribution upgrade like normal.
Tags: Ubuntu Posted in Software | 9 Comments »
Thursday, December 22nd, 2011
For this article, I am assuming that you are comfortable getting around Linux in general and Ubuntu in particular, and are familar with the ins and outs of disk partitioning. I will be describing the steps that I took to make this happen, but not going into too much detail for each individual step. See the bottom of this post for some useful links if you’d like to read up on the topic first. Note that it is very possible to lose your partitions when doing this sort of work so proceed carefully and do not blame me if something goes awry.
(more…)
Tags: GPT, Linux, Ubuntu, UEFI Posted in Software | No Comments »
Friday, April 29th, 2011
I upgraded a couple of machines to Ubuntu 11.04, and after the reboot, they just booted up to a grub prompt. Like this (except an older version of grub reported):

(more…)
Tags: Ubuntu Posted in Software | 39 Comments »
Saturday, April 23rd, 2011
This is an error message that pops up when trying to do an operation using OpenSSL running on Windows. It appears, best as I can gather, that the path to OpenSSL’s config file is hard-coded into the executable, and it won’t be able to find it if it is not in the expected place. In this case, I was using the copy of OpenSSL bundled with the Windows version of the Apache web server, but I imagine the error message may show up with other Windows distributions of OpenSSL as well.
The solution is to add an environment variable, OPENSSL_CONF, and set it to the complete path to an OpenSSL config file. (In this case, again, it is located in Apache’s conf directory.) Then, restart your command prompt instance and all should be good.
Tags: Apache, OpenSSL Posted in Software | 5 Comments »
Saturday, January 22nd, 2011
I’ve been having an issue where my physical ethernet interface would disappear from the choices of interfaces to bridge to in VMware Workstation for Windows whenever I hibernate my machine. This is a little annoying, as I have a VM that I would like attached to the physical network.
The easy solution to this problem is to open up the virtual network editor and click on the “Restore Defaults” button. This reinstalls the VMware network components and sets everything back up like it would be if your install was brand new. However, it’s annoying to have to do this every time I power up the machine.
continuum over at the VMware Communities message boards pointed me towards the solution — restarting the hidden “vmnetbridge” service also does the trick. However, again, it’s annoying to have to do this every time the machine is powered on.
I tried writing a batch file to restart the service and scheduling that to execute at power on but I couldn’t find an appropriate trigger to have the Windows task scheduler execute it.
So, I wrote a system service in C# that hangs out in the background and restarts the vmnetbridge service whenever the machine wakes up from hibernate or sleep. This handles the problem brilliantly — no effort required after the service is installed, but the VMware “Bridge” interface keeps working as expected. You can download it from its new project page, here.
Tags: VMware, VMware Workstation Posted in Software | No Comments »
Wednesday, January 19th, 2011
This is a problem I noticed many months ago, but did not seriously look in to until just now.
I like to use the monthly Mozilla Foxkeh desktop wallpaper. Right now, I have the January 2011 wallpaper — this nice, large, lossless PNG. (By the way, the word that he is in the progress of writing is “火狐”, which literally means “fire fox.” How cool!)
Anyway, I noticed that there is crappy compression on the image shown on my desktop, particularly around the numbers that make of the calendar. This has been occurring in the wallpapers for past months as well. If I open up the PNG (that I told Windows to use!!) and zoom way in, the image is crystal clear. But on the desktop, it is junk. Take a look, I zoomed in on the “2011″ at the top-left of the calendar. On the left is the data from the PNG as viewed in any decent graphics application, and on the right is what appears on my desktop.

Yuck!
(more…)
Tags: Image Compression, PNG, Windows 7 Posted in Software | 1 Comment »
Tuesday, January 4th, 2011
Nowadays, most local area networks have a DHCP server running on them. This is, of course, how hosts on the network are assigned their IP address and other stuff they need to know (router address, DNS servers, etc.).
The DHCP server has a pool of addresses that it is allowed to hand out to clients, and it will often hand out these addresses sequentially. In some cases, the address chosen for a particular client may be based on some sort of hash function on the client’s MAC address (so that the client will always be assigned the same address, unless there is a hash collision).
Of course, sometimes it’s nice to assign a particular device on your network a specific IP address (a “static” or “fixed” IP address). This way, you will always know without any doubt what the IP address or your printer or file server or whatever is. Of course, you can just set the address manually on the device, taking care to place it outside of the DHCP pool.
(more…)
Tags: DHCP, Ubuntu Server Posted in Software | 2 Comments »
Wednesday, December 29th, 2010
In VMware Workstation, I’ve been getting this error for a while when I tried to start up a VM using the “Bridged” network interface.
Cannot open file “C:\ProgramData\VMware\dndlogs\dndlog.conf”: The system cannot find the path specified.
The network bridge on device VMnet0 is temporarily down because the bridged Ethernet interface is down. The virtual machine may not be able to communicate with the host or with other machines on your network.
Not too big a deal, usually using the NAT interface works just fine, but it does prevent other machines on the network from talking to the VM which is sometimes a handy feature to have.
(more…)
Tags: VMware, VMware Workstation Posted in Software | 3 Comments »
Saturday, November 13th, 2010
Here’s something that I thought would be nice.
Lightbox is a nifty little JavaScript/CSS package you can download that allows you to make nifty slideshows on a web page with little effort. Pretty much, your page has thumbnail images that link to the larger images, with a specific rel attribute on the a tags that make the links, and Lightbox takes over to display the large image in a nifty Flash-free box when you click on a thumbnail. If you have several images, it’ll make a nifty slide show for you. You can read more and see it in action if you click the link at the start of this paragraph.
Well, the box with the image in it has a close button at the bottom. What if I want to put it on the top instead?
(more…)
Tags: JavaScript Posted in Software | 14 Comments »
|