Tag: Karmic Koala
Ubuntu 9.10 – There was an error during the CUPS operation: ‘httpConnectionEncrypt failed’.
by Craig Mayhew on Jan.07, 2010, under General
CUPS had me chasing around for a while to fix this issue. Whenever I tried to print I realized there were no printers and going to “System -> Administration -> Printing” caused the error “There was an error during the CUPS operation: ‘httpConnectionEncrypt failed’” when I tried to connect to the local CUPS service. The “/etc/init.d/cups” file had completely disappeared and reinstalling the cups package didn’t fix it! In the end I marked the cups package for “complete removal” which also removes the configuration files. After this I then reinstalled CUPS, “/etc/init.d/cups” reappeared and it worked once again. Unfortunately I had to reinstall my printers on this machine.
Steps were:
- Complete removal of CUPS package including the configuration files
- Reinstall the CUPS package.
- Start the CUPS service with “sudo /etc/init.d/cups restart” in the terminal.
- Reinstall your printers
- Print stuff!
Slow DNS Lookups in Firefox on Ubuntu 9.10 Karmic Koala
by Craig Mayhew on Nov.07, 2009, under Guides/Fixes, Linux/Ubuntu
Unfortunately the IPv6 issue is still at large in Karmic Koala and will effect just about every internet application.
The problem is caused by Ubuntu requesting everything by IPv6 first even if there are no IPv6 Interfaces configured and timing out each time when it doesn’t get a response.
The workaround in firefox is to go to “about:config”, just type it into the address bar and hit enter. Then change the value network.dns.disableIPv6 to TRUE.
The bug can be tracked here:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/417757
Setting Up PPTP VPN in Ubuntu 9.10 Karmic Koala
by Craig Mayhew on Nov.05, 2009, under Guides/Fixes, Linux/Ubuntu
Ubuntu 9.10 doesn’t come with VPN connectivity out of the box. So you need to install 3 packages to get it to work. Symptoms of these packages not being installed are grayed out “Add” buttons and grayed out “Apply” buttons in the VPN connection manager.
Here’s the command to install the 3 packages:
sudo apt-get install network-manager-pptp network-manager-vpnc network-manager-openvpn
I have no idea why Ubuntu doesn’t include these packages by default. Looks like a great many people are having this issue: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/107738
Installing VMware server 2.0.2 on Ubuntu 9.10 Karmic Koala 64bit
by Craig Mayhew on Nov.03, 2009, under Guides/Fixes, Linux/Ubuntu
I recently upgraded to Ubuntu Karmic Koala and fully expected this to break my VMWare server install. Sure enough I got plenty of errors when trying to compile VMWare Server with the latest kernel. Here’s the solution:
Download VMware Server (2.0.1 or 2.0.2) – in gz format. You will also need a license key.
If you have tried to install vmware server already and something went wrong during the install, then do these two steps first:
first, delete the vmware modules
rm -rf /usr/lib/vmware/modules/
if needed (you’ll know if you need to do this one):
rm -rf /lib/modules/2.6.31-13-server/misc/vm*
Install:
Run vmware-install.pl. Somewhere in the installation process you should be asked:
Do you want this program to invoke the command for you now? [yes]
you should answer: no
Then run the patch vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh.
sudo ./vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
After this, run
/usr/bin/vmware-config.pl
If the vmware-config.pl aborts, because it couldn’t shut down all vmware services then kill them manually and then rerun vmware-config.pl:
kill -9 $( grep -i vm | awk '{ print $2 }' )
And hopefully that should work!