Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

Fixing php in Ubuntu

Running php scripts on apache in your Ubuntu desktop won’t be sweat at first. You might notice that php scripts start downloading when you start accessing them via browser. This is mainly because of small configuration issues that we can find on machine. If you have enabled userdir module (https://localhost/~yourusername), it contains a line to disable php values as follows in /etc/apache2/mods-enabled/php5.conf :

php_admin_value engine Off

All that you have to do is to disable the above line and restart apache to get php working.

Fix: fixquota fails with journaled quota support: not available with vzaquota (disabled)

If you’re running cPanel server on a OpenVZ hardware node, you might face issues with quota for few reasons:

1. Secondary quota might not have been enabled on hardware node.

You can verify by checking for “DISK_QUOTA=yes” in /etc/vz/conf/vz.conf

Also, QUOTAUGIDLIMIT needs to be set for the VPS in  /etc/sysconfig/vz-scripts/CT_ID.conf (PS: CT_ID is the container id of the VPS)

2. You should have initialized the quota via WHM.

If you continue to face problem even after applying both fixes, re-initializing quota might help as per  Here is the excerpt:

WHM/Cpanel, a popular commercial web-based control panel for Linux, has a tendency to overwrite the special quota files in the VE context. I am referring to:

lrwxr-xr-x 1 root root 39 Jun 8 17:27 -> /proc/vz/vzaquota/00000073/
lrwxr-xr-x 1 root root 38 Jun 8 17:27 aquota.user -> /proc/vz/vzaquota/00000073/aquota.user

The result of these being overwritten will be WHM showing “unlimited” quota reports for all users in the system. An quick solution to this is to run these commands from within the VE as root:

rm -rf /aquota.user 2>/dev/null
rm -rf / 2>/dev/null
unlink /aquota.user 2>/dev/null
unlink / 2>/dev/null
for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done

journled quota support warning didn’t get resolved even after this. Yet to check for the core reason for the same.

Fix: Ubuntu: Failed to open hiberfil.sys data attribute: No such file or directory

Opening NTFS partitions might be difficult if the filesystem goes corrupt while you’re on .


“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 fsck.ntfs file is not linked any more to 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 -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: , , ,

Jinitator not working on Windows 7

If you find not working on your windows machine, I recommend you to follow this link by RAYMOND REID to get this sorted.

Raymond recommends you to install the jiniator in windows compatibility mode as usual and then replace jvm.dll which reports error with an alternative jvm.dll in jinitiator directory (C:\Program Files (x86)\Oracle\JInitiator\bin\hotspot\).

Thanks Raymond you saved a day…

Once this is done, you can see your application running fine on IE, as well as in

Tags: , , , , ,

Force unity at startup for NVidia GeForce Go 7300/7400

Go 7300/7400 might have been black listed on as they found to have been hanging during the startup. Unity 3D can run with the “nvidia 173″ driver on these cards.

To force detection at startup, you can:

  • sudo nano /etc/environment
  • Save the file with Ctrl+S
  • reboot

Ensure you are choosing the “” session in gdm (default). This will bypass the detection and try to start unity 3D. This will help you run Unity on your machine.. Be warned about any slowness that you might feel while using it.

Tags: , , , ,

Installing a 32bit or 64 bit .msi using WINE

If you’re trying to install and files on your box, you might not see it firing up. component is needed which was introduced Windows 2000 or later to install these files. The executable ‘msiexec’ can let you install these .msi packages.

Use the following command to install the msi package named xyz.msi

msiexec /i xyz.msi


msiexec /i fileinstaller.msi

If you don’t find msiexec working, Download Winetricks by Dan Kegel’s to get the binary and start using it.

Note: Winetricks is also good to get many of the Windows binaries, dependencies, dlls etc. Ensure that you have a license to use them on your machine.

Tags: , ,

Windows key + D in Ubuntu 10.10

Unable to use “Windows Key + D” combination on Maverik? Here is a quick fix. Run the following command in console gconftool-2 -t str –set /apps/metacity/global_keybindings/show_desktop "d" Or Access System -> preferences -> key board shortcuts Here set the key binding for “Hide all normal windows and set focus to desktop” action to Mod4+D as […]