Following is an error encountered on Ubuntu 12.04 LTS
$ sudo apt-get update
E: The method driver /usr/lib/apt/methods/http could not be found.
This can be easily fixed by installing apt-transport-https as follows.
sudo apt-get install apt-transport-https
Vmware Workstation breaks if you try using upcoming Linux kernel release’s and at the same time, VMWare community moves fast to push a quick patches to applied for those who dare to use cutting edge beta OS on their machines.
WoodyZ on https://communities.vmware.com provides a patch which just works for Linux Kernel 3.13.
Here is the patch provided from WoodyZ for your quick reference.
Apply the patch to /usr/lib/vmware/modules/source/vmnet.tar (Extract, apply the patch using patch command, compress the files back to vmnet.tar) and run vmware workstation again.
--- vmnet-only/filter.c 2013-10-18 15:11:55.000000000 -0400
+++ vmnet-only/filter.c 2013-12-21 20:15:15.000000000 -0500
@@ -27,6 +27,7 @@
#include <linux/mutex.h> #include <linux/netdevice.h> +#include <linux/version.h> #if COMPAT_LINUX_VERSION_CHECK_LT(3, 2, 0)
# include <linux/module.h> #else
@@ -203,7 +204,11 @@
static unsigned int
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
VNetFilterHookFn(unsigned int hooknum, // IN:
+VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
struct sk_buff *skb, // IN:
@@ -252,7 +257,12 @@
/* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */
/* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */
- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
packetHeader = compat_skb_network_header(skb);
ip = (struct iphdr*)packetHeader;
You might get to see the above error while booting your VM’s on VMWare Workstation 9.x on Ubuntu.
This issue might get sorted by adding the following line to .vmx line of the VM.
mks.gl.allowBlacklistedDrivers = TRUE
Read the further discussion on this topic at vmware forum.
Following command enables the display of all Startup Programs on Uubuntu:
sudo sed -i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop
Give it a try!
The flash plug-in was blocked because it is out of date
Troubled with the repeated error messages on Google Chrome in your 64bit Ubuntu/Linux mint? Here is a simple fix :-
Open a new tab on your Google Chrome and type “about:plugins”
Ensure you click on details on the right handside to view more details about the outdated plugins.
Find the flash plugin which was reported outdated. If you have moved from 32 bit OS profile to 64 bit, you might have left some plugin traces in your home directory.
Disable or remove that outdated file to get rid of the issue. Now, its time to get back to work!
Tags: Adobe flash, Linux Mint, Ubuntu
Try unity_support_test command on console to test 3d support for Unity desktop as follows
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce Go 7400/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 280.13
Not software rendered: yes
Not blacklisted: no
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: no
Tags: Ubuntu, Ubuntu 11.04, Ubuntu 11.10, Unity 3d
Opening NTFS partitions might be difficult if the filesystem goes corrupt while you’re on Ubuntu.
“Error mounting: mount exited with exit code 18: Failed to open hiberfil.sys data attribute: No such file or directory
Failed to mount ‘/dev/sdb1′: No such file or directory”
On Ubuntu 11.10 fsck.ntfs file is not linked any more to ntfsck utility to check filesystem also causes trouble to get the issue resolved automatically.
Even after finding this matter, manual run of fsck doesn’t seem to be making life smoother.
Following little option came to help in this situation:
mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/366C97626C971C25
Other simple fix that you might find is to run chkdsk on windows for the drive, but some of the ubuntu forums show that even that is not a good solution to make partition work on Linux.
Anyways remove_hirefile was good.
Tags: hiberfile.sys hiberfile, ntfs-3g, ntfsck, Ubuntu
After installing and configuration of slapd on Ubuntu 10.10, slapd failed to start with the following error
Starting OpenLDAP: slapd – failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system’s logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via “slapd -d 16383″ (warning:
this will create copious output).
Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
slapd -h ‘ldap:/// ldapi:/// ldaps:///’ -g openldap -u openldap -F /etc/ldap/slapd.d/
Verifying syslog displayed an error related to TLS certs again.
“main: TLS init def ctx failed: -64″
Certs inside /etc/ssl/private found to be owned by root and group is set to be ssl-cert. As slapd runs as the user openldap, the user should have access to the certs created.
Reading various posts on forums etc, adding openldap user to the ssl-cert group resolved the above said issue
Tags: Ldap, slapd, Ubuntu, Ubuntu 10.10