Entries Categorized as 'Tips & Tricks'

MariaDB Unknown/unsupported storage engine: InnoDB

Date March 13, 2017

I had this problem re-occurring in one of my servers. MariaDB wont start due to this error. To fix my problem, remove these log files… /var/lib/mysqld/ib_logfile0 /var/lib/mysql/ib_logfile1 /var/lib/mysql/aria_log_control ib_logfile may be 0 or 1 If you want to be safe.. just rename it to another file temporarily to see if it works. Sources for the […]

Ubuntu 16.04.02 Hang on Reboot or Shutdown

Date February 28, 2017

Had a problem after an update that when I force a restart or a shutdown on my server, it hangs on the last part of the process. To fix my problem, I had to edit the /etc/default/grub config file and added acpi=force apm=power_off to the config line, between the double quotation marks… 1 GRUB_CMDLINE_LINUX_DEFAULT=""GRUB_CMDLINE_LINUX_DEFAULT="" and […]

Heap Dump and Remote Tomcat 8-OpenJDK 8 Memory Monitoring

Date February 13, 2017

Memory problem.. the thorn of web apps… I have to connect to my remote server to monitor its memory usage and produce a heap dump. Bellow is the steps I had to configure the server to allow me to connect a remote monitor tool. Requirement: VisualVM app, download here Access your catalina.sh file. Look for […]

Regenerate Missing MariaDB/MySQL Config(my.cnf) File

Date August 15, 2016

I ran into this problem after upgrading/intalling MariaDB, the config file was missing.   To regenerate the config file… try executing… 1 dpkg –force-confmiss -i /var/cache/apt/archives/mysql-common*.debdpkg –force-confmiss -i /var/cache/apt/archives/mysql-common*.deb

Ubuntu has changed its network naming scheme starting 15.04

Date July 30, 2016

I recently updated to Ubuntu 16.04.1 LTS from 14.04 and ran into this problem as not having my network adapter detected on startup. No network adapter, no connection to the internet, no updates… I did some research and digging and it seems that starting ¬†Ubuntu 15.04, as quoted from one of the forums.. “…starting with […]

MySQL 5.6 and Up: High Memory Usage

Date April 27, 2016

Had a problem with a fresh install of MySQL 5.7 using more than normal memory. Researching around the net, one feature that was added (5.6?) that fixed my problem was performance schema ( performance_schema ). Disabling is easy enough as adding¬†performance_schema=0 in my.cnf config file.   Thanks to Joel Abraham for the fix.

Connecting to MySQL on a Remote Server through Port Forwarding and Reverse SSH Tunnel

Date March 9, 2016

I had a problem connecting to a remote server that has its ports blocked by the ISP. So technically, I can’t port forward my way into the server. The only way around this is to SSH connect from my remote server to my main server and access the remote server via reverse SSH tunneling. This […]

Shrink/Compact and Re-size VMWare Image in VMWare Player

Date January 30, 2014

I had an office PC converted into a VMWare image and wanted to reduce the image file after cleaning up unwanted files and applications. The compact command for the HDD will not totally reduce the image file size in the HOST OS. VM Image OS is Windows XP. For linux, I will assume a different […]

Installing Gitorious in Ubuntu 12.04 Server – How-To

Date January 9, 2013

I wanted to setup my own Git repository locally and with an accompanying front end GUI. Before Gitorious, I installed Git from scratch and also installed Gitolite. That will be another post later on. Initially I followed the script from http://blog.kyodium.net/2011/09/install-gitorious-on-ubuntu-1104.html but its based on Ubuntu 11.04, there are some missing packages that was not […]

Yahoo! Mail SSL Support

Date December 13, 2012

Yahoo! Mail finally has SSL support, or I just noticed it now. Anyway.. for those who are paranoid or takes security to another level, like me, you can enable SSL support under the Mail Options, under the Options tab. Just enable the check box and save your settings. You need to reload the page as […]