{"id":1460,"date":"2014-07-02T08:59:32","date_gmt":"2014-07-02T12:59:32","guid":{"rendered":"http:\/\/www.insidethe.com\/blog\/?p=1460"},"modified":"2014-07-04T08:31:40","modified_gmt":"2014-07-04T12:31:40","slug":"installing-sealion-on-centos-5-python-dependency","status":"publish","type":"post","link":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/","title":{"rendered":"Installing Sealion on Centos 5 &#8211; Python Dependency"},"content":{"rendered":"<h1>Overview<\/h1>\n<p>This is a short guide containing the steps I took to install <a title=\"Sealion Linux Server Monitoring Home Page\" href=\"http:\/\/sealion.com\" target=\"_blank\">Sealion<\/a> 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, &#8230;) and reports the results back to the sealion.com site web console where you can view the results. \u00a0The <a title=\"Sealion Introduction Video\" href=\"https:\/\/www.youtube.com\/watch?v=fLqVQd1SMmY\" target=\"_blank\">Sealion introduction video<\/a> says it all.<\/p>\n<h1>Installation Problems<\/h1>\n<p>The normal agent installation is usually a one line command but it failed on my server with this python dependency error:<\/p>\n<blockquote><p>Performing dependency check&#8230;<br \/>\nError: Python dependency check failed<br \/>\nFile &#8220;..\/bin\/check_dependency.py&#8221;, line 19<br \/>\nexcept Exception as e:<br \/>\n^<br \/>\nSyntaxError: invalid syntax<\/p><\/blockquote>\n<p>The Sealion site didn&#8217;t list the dependencies and there weren&#8217;t any support documents that I could find. I emailed Sealion\u00a0and they replied with a link to this article for installing <a title=\"Installing Python 2.7 on Redhat\" href=\"http:\/\/stackoverflow.com\/questions\/4149361\/on-linux-suse-or-redhat-how-do-i-load-python-2-7\" target=\"_blank\">Python 2.7 on RedHat or SUSE<\/a>.<\/p>\n<p>Installing Python 2.7 got me one step closer but failed during the make process for the\u00a0sqlite module with the following error:<\/p>\n<blockquote>\n<pre>In function \u2018_pysqlite_set_result\u2019:\r\nerror: \u2018sqlite3_int64\u2019 undeclared<\/pre>\n<\/blockquote>\n<p>After some searching this article came up listing the error as a\u00a0<a title=\"Python SQLite Module Issue14572\" href=\"http:\/\/bugs.python.org\/issue14572\" target=\"_blank\">known bug in Python 2.7.3<\/a>. I repeated the Python installation with 2.7.8 and substituted the correct Pthyon version into the agent installation curl command and all worked.<\/p>\n<h1>Complete Procedure<\/h1>\n<ol>\n<li>wget https:\/\/www.python.org\/ftp\/python\/2.7.8\/Python-2.7.8.tgz<\/li>\n<li>tar -xvf Python-2.7.8.tgz<\/li>\n<li>cd Python-2.7.8<\/li>\n<li>.\/configure<\/li>\n<li>make<\/li>\n<li>make install<\/li>\n<li>curl -s https:\/\/agent.sealion.com | sudo bash \/dev\/stdin -o\u00a0<strong><strong><em>YOURSEALIONKEY\u00a0<\/em><\/strong><\/strong><em>-p<\/em><strong><strong><em> <em><strong>\/usr\/local\/bin\/python2\n<p><\/strong><\/em><\/em><\/strong><\/strong>Tip: The -p parameter specifies which version of python to use. Substitute\u00a0<strong>\/usr\/local\/bin\/python2\u00a0<\/strong>with the location your make install command placed Python and\u00a0<strong><em>YOURSEALIONKEY<\/em><\/strong><em>\u00a0<\/em>with the user key obtained from the Sealion add server screen.<\/li>\n<\/ol>\n<p>Note: As part of the troubleshooting process I updated\u00a0sqlite but I&#8217;m not certain this was required. If you have problems try:<\/p>\n<blockquote><p>yum install sqlite.i386\u00a0sqlite-devel.i386<\/p><\/blockquote>\n<p>This installed and started the Sealion agent and after a few minutes server and server data appeared in my Sealion.com console.<\/p>\n<h1>Thoughts About Sealion<\/h1>\n<p>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.<\/p>\n<p>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&#8217;t deny that the service is useful and easy to use. Their support email address responded quickly when I finally submitted my issue.<\/p>\n<p>The service meets a need and has value to me. I hope to see it&#8217;s reputation increases\u00a0and turn\u00a0into\u00a0a reasonably priced service.<\/p>\n<p>Revision: 2014-07-04 Minor correction thanks to feedback from Team Sealion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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, &#8230;) and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[17],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing Sealion on Centos 5 - Python Dependency - Insidethe.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Sealion on Centos 5 - Python Dependency - Insidethe.com\" \/>\n<meta property=\"og:description\" content=\"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, &#8230;) and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/\" \/>\n<meta property=\"og:site_name\" content=\"Insidethe.com\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-02T12:59:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-07-04T12:31:40+00:00\" \/>\n<meta name=\"author\" content=\"Jared\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jared\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/\",\"url\":\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/\",\"name\":\"Installing Sealion on Centos 5 - Python Dependency - Insidethe.com\",\"isPartOf\":{\"@id\":\"https:\/\/insidethe.com\/blog\/#website\"},\"datePublished\":\"2014-07-02T12:59:32+00:00\",\"dateModified\":\"2014-07-04T12:31:40+00:00\",\"author\":{\"@id\":\"https:\/\/insidethe.com\/blog\/#\/schema\/person\/046e8441af869a735c4e31ac51541a99\"},\"breadcrumb\":{\"@id\":\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/insidethe.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing Sealion on Centos 5 &#8211; Python Dependency\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/insidethe.com\/blog\/#website\",\"url\":\"https:\/\/insidethe.com\/blog\/\",\"name\":\"Insidethe.com\",\"description\":\"It is my space, but better than myspace\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/insidethe.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/insidethe.com\/blog\/#\/schema\/person\/046e8441af869a735c4e31ac51541a99\",\"name\":\"Jared\",\"sameAs\":[\"https:\/\/www.insidethe.com\/blog\"],\"url\":\"https:\/\/insidethe.com\/blog\/author\/jared\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing Sealion on Centos 5 - Python Dependency - Insidethe.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/","og_locale":"en_US","og_type":"article","og_title":"Installing Sealion on Centos 5 - Python Dependency - Insidethe.com","og_description":"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, &#8230;) and [&hellip;]","og_url":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/","og_site_name":"Insidethe.com","article_published_time":"2014-07-02T12:59:32+00:00","article_modified_time":"2014-07-04T12:31:40+00:00","author":"Jared","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jared","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/","url":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/","name":"Installing Sealion on Centos 5 - Python Dependency - Insidethe.com","isPartOf":{"@id":"https:\/\/insidethe.com\/blog\/#website"},"datePublished":"2014-07-02T12:59:32+00:00","dateModified":"2014-07-04T12:31:40+00:00","author":{"@id":"https:\/\/insidethe.com\/blog\/#\/schema\/person\/046e8441af869a735c4e31ac51541a99"},"breadcrumb":{"@id":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/insidethe.com\/blog\/2014\/07\/installing-sealion-on-centos-5-python-dependency\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/insidethe.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Installing Sealion on Centos 5 &#8211; Python Dependency"}]},{"@type":"WebSite","@id":"https:\/\/insidethe.com\/blog\/#website","url":"https:\/\/insidethe.com\/blog\/","name":"Insidethe.com","description":"It is my space, but better than myspace","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/insidethe.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/insidethe.com\/blog\/#\/schema\/person\/046e8441af869a735c4e31ac51541a99","name":"Jared","sameAs":["https:\/\/www.insidethe.com\/blog"],"url":"https:\/\/insidethe.com\/blog\/author\/jared\/"}]}},"_links":{"self":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/1460"}],"collection":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/comments?post=1460"}],"version-history":[{"count":3,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/1460\/revisions"}],"predecessor-version":[{"id":1464,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/1460\/revisions\/1464"}],"wp:attachment":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/media?parent=1460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/categories?post=1460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/tags?post=1460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}