How to get IP of guest OS in VirtualBox

After upgrading my VM running Fedora 23 beta to the release version, Gnome Desktop Manager (GDM) no longer started again. This is the same issue with newer version of xorg-x11-*, and it’s not yet supported by VirtualBox 5.0. I previously posted a quick fix by downgrading xorg-x11-* packages. To do that, I need to ssh into the VM. Here’s how we can find the IP address of running VMs. Let’s list the VMs available: ...

November 11, 2015 · 1 min · 149 words · kenno

Changing MongoDB storage engine from Mmapv1 to WiredTiger

Changing the storage engine for a standalone MongoDB server from Mmapv1 to WiredTiger is relatively painless. Here’s how I did it. Backup the database mongodump --out /srv/backup/mongodb Stop monbodb service service mongodb stop Update mongodb.conf. Here’s my /etc/mongodb.conf file: # mongod.conf storage: dbPath: "/var/lib/mongo" engine: wiredTiger wiredTiger: engineConfig: cacheSizeGB: 1 statisticsLogDelaySecs: 0 journalCompressor: snappy directoryForIndexes: false collectionConfig: blockCompressor: snappy indexConfig: prefixCompression: true systemLog: verbosity: 1 path: "/var/log/mongodb/mongod.log" logAppend: true logRotate: reopen destination: file timeStampFormat: iso8601-utc processManagement: fork: true pidFilePath: "/var/run/mongodb/mongod.pid" net: bindIp: 127.0.0.1 port: 27017 wireObjectCheck: false unixDomainSocket: enabled: true Start monbodb service ...

November 3, 2015 · 1 min · 131 words · kenno

GDM Doesn’t Start on Fedora 23 Beta and VirtualBox

I just finished upgrading Fedora 22 to Fedora 23 Beta and upon rebooting, gdm no longer started. I tried to reinstall the VirtualBox Guest Additions; unfortunately it still didn’t fix. To cut the story short, someone has given a working tip at this forum. The solution is to downgrade xorg-x11-server-Xorg package. # dnf --showduplicates --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg # mount /dev/cdrom /mnt; cd /mnt # ./VBoxLinuxAdditions.run # reboot After rebooting, I was able to login again. ...

October 27, 2015 · 1 min · 78 words · kenno

Kinetis Design Studio crashes on Kubuntu 14.04

On Kubuntu 14.04, Kinetis Design Studio (KDS) could be started, but when I tried to create a new project, it’d crash with the following message displayed in the terminal: $ kinetis-design-studio java: /build/buildd/gtk2-engines-oxygen-1.4.5/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::setButton(GtkWidget*): Assertion `!_button._widget' failed. KDS is a Eclipse-based IDE. So I suspect the issue is related to Eclipse IDE itself. (I can’t confirm this as I’m not running the Eclipse IDE on this machine. I know I could have just downloaded and test it; but I don’t have time.) ...

August 3, 2015 · 2 min · 277 words · kenno

Updating Kinetis Design Studio on Linux

For Linux users who want to update Kinetis Design Studio (DKS), if you launch KDS as a non-privileged user, you’d have to relaunch KDS with sudo for update to go ahead. $ sudo /opt/Freescale/KDS_3.0.0/eclipse/kinetis-design-studio Then to update it, just click on Help -> Check for Updates from the menu.

July 28, 2015 · 1 min · 49 words · kenno