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.
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 https://wiki.openvz.org/Cpanel_quotas 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 aquota.group -> /proc/vz/vzaquota/00000073/aquota.group
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 /aquota.group 2>/dev/null
unlink /aquota.user 2>/dev/null
unlink /aquota.group 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.
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
If you find jinitator 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 184.108.40.206\bin\hotspot\).
Thanks Raymond you saved a day…
Once this is done, you can see your application running fine on IE, Firefox as well as Google Chrome in Windows 7
Tags: Firefox, Google Chrome, Java, Jinitator, Windows 7, Windows7
NVidia GeForce Go 7300/7400 might have been black listed on Ubuntu 11.04 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
- add: UNITY_FORCE_START=1
- Save the file with Ctrl+S
Ensure you are choosing the “ubuntu” 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: GeForce, Natty Narwhal, Nvidia, Ubuntu, Ubuntu 11.04
If you’re trying to install and MSI files on your linux box, you might not see it firing up. Windows Installer 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
wine 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: msi, windows installer, wine
Unable to edit password protected MS Office spreadsheet on OpenOffice? Here is a simple fix. Follow these steps to repair the problem: 1. Open the password protected file 2. On the standard toolbar click on “Edit File” button as shown …
Read more »
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 […]