Installing Sealion on Centos 5 – Python Dependency
Overview
This is a short guide containing the steps I took to install Sealion on an older Centos 5 server. Sealion is a activity monitoring service website that reports the status of your linux every 5 minutes. An agent running on your server runs a set of common commands (i.e. ps, top, vmstat, …) and reports the results back to the sealion.com site web console where you can view the results. The Sealion introduction video says it all.
Installation Problems
The normal agent installation is usually a one line command but it failed on my server with this python dependency error:
Performing dependency check…
Error: Python dependency check failed
File “../bin/check_dependency.py”, line 19
except Exception as e:
^
SyntaxError: invalid syntax
The Sealion site didn’t list the dependencies and there weren’t any support documents that I could find. I emailed Sealion and they replied with a link to this article for installing Python 2.7 on RedHat or SUSE.
Installing Python 2.7 got me one step closer but failed during the make process for the sqlite module with the following error:
In function ‘_pysqlite_set_result’: error: ‘sqlite3_int64’ undeclared
After some searching this article came up listing the error as a known bug in Python 2.7.3. I repeated the Python installation with 2.7.8 and substituted the correct Pthyon version into the agent installation curl command and all worked.
Complete Procedure
- wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
- tar -xvf Python-2.7.8.tgz
- cd Python-2.7.8
- ./configure
- make
- make install
- curl -s https://agent.sealion.com | sudo bash /dev/stdin -o YOURSEALIONKEY -p /usr/local/bin/python2 Tip: The -p parameter specifies which version of python to use. Substitute /usr/local/bin/python2 with the location your make install command placed Python and YOURSEALIONKEY with the user key obtained from the Sealion add server screen.
Note: As part of the troubleshooting process I updated sqlite but I’m not certain this was required. If you have problems try:
yum install sqlite.i386 sqlite-devel.i386
This installed and started the Sealion agent and after a few minutes server and server data appeared in my Sealion.com console.
Thoughts About Sealion
This is my first attempt at evaluating the Sealion linux server monitoring service. Other servers more up-to-date distributes installed the agent without issue.
The Sealion site is beautiful, functional, but a little sparse on content. There are only sporadic references to it across the internet (as of the time of writing) when I went searching for installation assistance. The lack of community activity leaves me a little worried about the reputation of Sealion but I can’t deny that the service is useful and easy to use. Their support email address responded quickly when I finally submitted my issue.
The service meets a need and has value to me. I hope to see it’s reputation increases and turn into a reasonably priced service.
Revision: 2014-07-04 Minor correction thanks to feedback from Team Sealion.
Microsoft Takes No-IP Down
As an occasional user of No-IP it shocked and outraged me to see Microsoft using court action to circumvent the services of another company without first pursuing the matter through non-legal channels. As a network administrator I understand the reasoning behind Microsoft’s actions but according to No-IP it was forcefully done without warning. Slashdot has some interesting comments explaining the legality of the action but the general sentiment is against Microsoft.
While everyone is so focused on the consolidation of computing resources in the cloud I think this should be a reminder of what one (perhaps misplaced) court action can do to an entire company and section of the internet community.
NetBeans 8 Navigator Empty or Blank When viewing Drupal PHP Files
It was exciting to see NetBeans 8 released as I use it as my primary editor for PHP projects (along with Xdebug of course) but the excitement was short lived when the navigator window frame was empty for all of my Drupal project files. After a bit of googling and checking the NetBeans bug tracker I wasn’t getting anywhere until I tried one last ditch generic search on Google which held the answer.
According to this blog posting it was discovered that the .install and .module files lose their content type and aren’t parsed as PHP files. A simple configuration change to set the correct content type fixes the issue. Wonderful!
Bookmark – jQuery UI Widget Collections
Knowing JavaScript and jQuery will get a developer only to a certain level of productivity before a plateau is reached where the next step is to become familiar with user interface widgets to make everything visually appealing and functional.
Thus far my primary experience has been using jqGrid but need to expand the number of available controls I’m comfortable implementing. I’m trying to locate which javascript widget libraries are the most popular and worth my time becoming familiar with. This is a list of the widget collections I intend to further review (in no particular order) :
Also worth noting are the following lists of jQuery Plugins and collections that came up in searching:
- http://tutorialzine.com/2013/04/50-amazing-jquery-plugins/
- http://www.sitepoint.com/top-5-jquery-ui-alternatives/
Opinions About What Makes Sci-Fi Great
What makes for a great science fiction movie? Is it futuristic technology, exotic alien places, hypothetical situations based on advances in technology, a story that explores what the future could become?
It was an overcast and rainy Saturday with nothing much to focus on doing except tend to the house. For background noise and casual viewing I watched Star Trek Into Darkness followed by Close Encounters of the Third Kind as I went about my day.
When Star Trek Into Darkness was in theaters I didn’t catch my interest because the previous Star Trek (2009) movie was so disappointing. There were no expectations that Star Trek Into Darkness would be any better than the previous movie so I waited for it to come out on rental and when NetFlix announced it was available for instant viewing the bar was low enough and I decided to view it.
The entire Star Trek Into Darkness movie was an action drama that explored a different time line in the Star Trek universe and focused on character relationships while being wrapped up in future sci-fi technology. It was less science fiction and more action adventure designed to make a box office hit that would appeal to a wider audience. I’m not a huge trekkie but it was like building a car and forgetting to put the tires on – it may look and feel like a car but it can’t go anywhere.
The movie did start with a controversial situation about the prime directive and is adhering to it more important that one person’s life but the focus was less on the prime directive and society and more focused on Kirk and Spock’s relationship and ‘feelings’ towards each other. This seemed to set the tone for the entire movie which was nothing more than a display about how each character felt toward the situation at hand. For a sci-fi movie that focused so much on feelings had a real ho-hum attitude afterwards.
With a Saturday not yet half finished and more chores to do I queued up Close Encounters of the Third Kind. It’s a movie that I remember watching several times throughout my childhood. At the time I didn’t fully understanding some of the sub-plots about the conflict in Rory’s family or the government attempt to keep the encounters a secret so it was interesting to watch again after so many years. Despite being over 30 years old with some inconsistent editing, weak character development, and slow plot development while having no real focus on sci-fi technology , future societies, etc it did capture the most important aspect of science fiction – exploration.
The sense of exploration, the drive to find out what’s out there, is the driving force behind a good science fiction movie. I think that is why Star Trek Into Darkness was so disappointing because Star Trek the Next Generation, Star Trek Voyager, and even Star Trek Enterprise were some of my favorite stories in the Star Trek series.
As a society are we so emotionless that we have to go to a movie to watch someone else face there feelings and deal with there emotional situations to be entertained?
In my opinion there is nothing wrong with a sci-fi movie that explores the consequences and emotional situations that arise in pursuit of exploration but I want to end the movie with a sense of ‘Wow, that was interesting, wouldn’t it be so cool if <insert amazing place> existed!’ or ‘That’s so interesting, just imagine how <insert new technology> could transform society’.
To end a movie with the impression that I primarily watched characters go from one dramatic situation to the next is saddening. I don’t need to go to the movies for that, all I have to do is be a Dad and live my life to experience more than enough drama!
A sense of exploration, what could be out there, out in the world, space, cyber-space, and how it might transform society as we know it, now that’s something to think about… if you ask me.
What makes science fiction great for you?