• M2Crypto SSL Check Error: Peer certificate subjectAltName does not match [Solved]

    Question: I’m stuck with M2crypto SSL check error while installing Webmin package on RHEL 5.5. Here’s the complete error message: # yum install webmin File “/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Checker.py”, line 88, in__call__ fieldName=’subjectAltName’) M2Crypto.SSL.Checker.WrongHost: Peer certificate subjectAltName does not match host, expected netix.dl.sourceforge.net, got DNS:mirrors.netix.net How to solve this issue? How to solve the…

  • Fix 404 Error on Password protected folders inside WordPress!

    If you are trying to password protect a folder inside WordPress directory, then you will probably end up with ‘404 not found’ error while accessing it via web browser. This error is caused due to the WordPress Permalink feature. This tutorial will tell you how to fix 404 Error on…

  • Unknown column password_last_changed in ‘mysql.user’ [Solved]

    Question: After upgrading MySQL to version 5.7, I’m not able to create a user or set password using GRANT query. Here’s the error message: Unknown column password_last_changed in ‘mysql.user’. For e.g., mysql> GRANT ALL PRIVILEGES ON db_name.* TO ‘db_user’@localhost IDENTIFIED BY ‘mypass’; ERROR 1054 (42S22): Unknown column ‘password_last_changed’ in ‘mysql.user’ Solution: The issue…

  • Yetishare PHP script error-failed to generate download link [Solved]

    Yetishare PHP script Error : My client has been using Yetishare file hosting script on his website and came up with a complaint that the script was not allowing users to download files. Also the script displayed a vague message “Failed to generate download link”. So if you are facing similar…

  • Change MySQL engine type of all tables from MyISAM to InnoDB

    Do you want to change MySQL engine type of a table from MyISAM to InnoDB? Well, it can be done using ALTER TABLE statement, but what if you have few hundreds of tables and you need to convert all of those into InnoDB? In that case, the ALTER TABLE statement has to…

  • Fix WordPress Posts 404 Error after changing Permalink!

    Question: I changed the default permalink structure to postname, but now all the WordPress posts throw 404 not found error. However, the WordPress has updated .htaccess with necessary rules and below is the snapshot of it. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond…

  • OpenStack Fake Driver for Cloud Simulations [Tutorial]

    OpenStack is a popular cloud operating system that allows you to control large amount of compute, storage and networking resources. It supports all popular Hypervisors such as KVM, Xen, VMware, HyperV etc…and this integration is made using compute drivers – libvirt.LibvirtDriver for KVM, xenapi.XenAPIDriver for Xen, vmwareapi.VMwareVCDriver for VMware and hyperv.HyperVDrive for HyperV….

  • OpenStack Compute Error – No compute node record for host [Solved]

    OpenStack compute Error: Though the compute hosts had nova-compute service listening, those nodes were not displayed when ‘nova hypervisor-list‘ command was executed. # nova hypervisor-list +—-+—————————-+——-+———+ | ID | Hypervisor hostname | State | Status | +—-+—————————-+——-+———+ But the command nova service-list didn’t have any problem in displaying the compute hosts….

  • OpenStack VM Launch Error – Last exception: Binding failed for port [Solved]

    Error:  “Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance <instance_id>. Last exception: Binding failed for port. ucode: 500” while launching a VM in OpenStack Mitaka. If you are stuck with a similar issue, here’s how you can solve it. Solution: In addition to the above error message, look…

  • Disable annoying Ads on Android Lock screen

    Do you see an advertisement banner on your Android lock screen? There are plenty of applications in Google Play that are supported by advertisements, but they display Ads within their app screen. However, certain application (such as Turbo Cleaner, Fast Cleaner, TrustGo, Opera Mini etc.) may go beyond their boundary limits…

  • Create Maven JAR in NetBeans IDE – Step by Step tutorial

    It was my first Java project after several years of working with Linux and PHP. Fortunately, Maven with NetBeans saved my day. But what I felt was lacking with NetBeans is the ability to create Maven JAR file – yes, I couldn’t find an option to generate a Maven JAR using…

  • Date function in JavaScript creating Wrong month? [Solved]

    Question: While using Date function in JavaScript, the month created is wrong. For example, for displaying the month of November, I pass ’11’ as an argument to the date function. But the result is December. Below is the function reference and its possible arguments. new Date(year, month[, date[, hours[, minutes[, seconds[,…

  • MySQL Table Crash fix – marked as crashed and should be repaired?

    One of the table in my MySQL database has been corrupted and the worst part of it is, the corrupted one was the sessions table – due to which the application was not able to store sessions for the users. Well, I got this error when I tried to take a backup…

  • maven missing dependency jta-1.0.1B – Failure to find javax.transaction:jta:jar [Solved]

    I got an error – maven missing dependency for jta-1.0.1b while building a CloudReports project in Netbeans IDE. The error hinted that it has failed to find javax.transaction:jta:jar in the maven repository. Below is the complete error message. [WARNING] An error occurred during dependency resolution. Failed to retrieve javax.transaction:jta-1.0.1B Caused…

  • W3TotalCache Update Issue – Unable to upload media in WordPress [Solved]

    Well, I updated W3TotalCache plugin from version 0.9.4.1 to 0.9.5 and ended up with an error “failed to open stream: No such file or directory. PHP Fatal error:  require(): Failed opening required” while uploading media in WordPress. Here’s the complete error message in Apache error log. PHP Warning:  require(home/user/wp-content/plugins/w3-total-cache/.php): failed…

  • How to Configure virt-manager for Nested Virtualization Support?

    Question: I have installed KVM hypervisor on my Debian Guest OS (basically a nested virtualization) which is hosted on a Ubuntu machine. However, when I run the kvm command, I get this error  – “Could not access KVM kernel module: No such file or directory. failed to initialize KVM: No…

  • How to Fix Error – qemu: could not load PC BIOS ‘bios.bin’?

    Question: I have configured qemu-kvm on Ubuntu machine and got a qemu error – ‘could not load PC BIOS bios.bin‘ while executing qemu-system-x86_64 command.  How to solve this error? Solution: QEMU-KVM will need a BIOS such as Seabios, vgabios, boschs etc… to start VMs. By default, these bios will be…