Friday, August 30, 2013

MongoDB and MacPorts (and v8)

In order to upgrade MongoDB to the latest version (using MacPorts), I had to deactivate v8, upgrade MongoDB and activate v8 again:


--->  Configuring mongodb
Error: mongodb cannot be built while v8 is active.
Error: Please deactivate v8 and try again.
Error: You can reactivate v8 again later.
Error: org.macports.configure for port mongodb returned: v8 is active
Please see the log file for port mongodb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
mtsouk$ sudo port -f deactivate v8
Password:
--->  Deactivating v8 @3.17.15_0
--->  Unable to deactivate v8 @3.17.15_0, the following ports depend on it:
--->   mongodb @2.4.6_0
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning v8
mtsouk$ sudo port upgrade outdated
--->  Computing dependencies for mongodb
--->  Configuring mongodb
--->  Building mongodb
...
mtsouk@ sudo port activate v8

Thursday, August 29, 2013

"An automated WordPress update has failed to complete"

If you get "An automated WordPress update has failed to complete" while using WordPress, the solution includes the following two steps:

  • Removing the upgrade directory from the ./wp-content directory
  • Deleting the .maintenance file from the . directory

My article for Linux User & Developer, issue 130

Article: Send Cisco logs to a remote PC
Learn the commands you need to deal with Cisco router logs and use rsyslog to receive them on a remote Linux PC

Friday, August 23, 2013

Starting MySQL on Mac OS X 10.8.4

I used to start MySQL 5.5 (MacPorts) on my Mac using the following command:
$ sudo /opt/local/share/mysql55/support-files/mysql.server start

Yesterday, I found out that this was not working anymore. The error message I was getting was the following:

$ /opt/local/share/mysql55/support-files/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/local/var/db/mysql55/monastery.local.pid).

It turns out that the new way of starting MySQL is the following:
$ sudo port load mysql56-server

PS. During the process, I have also updated MySQL to version 5.6.

Friday, August 16, 2013

iOS 7 beta 6


My MacTech July 2013 articles



Article 1: Using telnet to troubleshoot TCP/IP services
Article 2: An Introduction to Drupal
Article 3: Using VirtueMart for Web Payments
Article 4: The Mac OS X 10.8 Log Files

Tuesday, August 13, 2013

Bad Wifi days are over :)


Back online


Thursday, August 8, 2013

Curiosity



Sunday, August 4, 2013

Quality

"Everything I do & everything Pixar does
is based on a simple rule:
Quality is the best business plan, period."

John Lasseter of Pixar

Friday, August 2, 2013

Guess the web browser


Tips for success


Thursday, August 1, 2013

Bad WiFi connection


My article for Linux User & Developer magazine, issue 129

Title: Create and save data with a MongoDB database

My article for the August 2013 issue of Linux Journal

Title: Using the R Advanced Statistical Package