Trouble Installing on Ubuntu 12.04
I’m using the installer for Debian, making the modification described at https://gist.github.com/1410317 (and changing “squeeze” to the appropriate name). Here’s the problem I’m running into: $ sudo /opt/vertica/sbin/install_vertica [...] Checking/fixing OS parameters….. Error: No JSON object could be decoded Traceback (most recent call last): File “/opt/vertica/bin/verticaInstall.py”, line 1188, in if not SSH.check_min_free_kbytes(installerSSH, fix=True): File “/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py”, line 2425, in check_min_free_kbytes data =json.loads( ”.join(res[host][1])) File “/opt/vertica/oss/python/lib/python2.7/json/__init__.py”, line 310, in loads return _default_decoder.decode(s) File “/opt/vertica/oss/python/lib/python2.7/json/decoder.py”, line 346, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File “/opt/vertica/oss/python/lib/python2.7/json/decoder.py”, line 364, in raw_decode raise ValueError(“No JSON object could be decoded”) ValueError: No JSON object could be decoded Installation failed. I went to /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py and put in a print statement just to see the strings that it is concatenating and trying (and failing) to load and this is what I get: Checking/fixing OS parameters….. Package 'vertica’ is not available. Use dpkg –info (= dpkg-deb –info) to examine archive files, and dpkg –contents (= dpkg-deb –contents) to list their contents. { “hostname”:”ip-10-141-139-114″, “devices”:[ {"device":"/dev/xvda1", "readahead":128 }, {"device":"/dev/xvdb", "readahead":128 } ], “file_max”:{ “current”:377658, “suggested”:65536 }, “max_map”:{ “current”:65530, “suggested”:240030 }, “min_free_kbytes”:{ “current”:7869, “suggested”:4096 }, “virtual_space”:{ “current”:”unlimited”, “suggested”:”unlimited” }, “max_file_size”:{ “current”:”unlimited”, “suggested”:”unlimited” }, “max_open_file”:{ “current”:”1024″, “suggested”:”65536″ }, “pam_su_enabled”:”false”, “nics”:[ {"name":"eth0", "speed":"unknown", "ipaddr":"10.141.139.114", "broadcast":"10.141.139.127", "netmask":"255.255.255.192"}, {"name":"lo", "speed":"locallink", "ipaddr":"127.0.0.1", "broadcast":"255.255.255.255", "netmask":"255.0.0.0"}], “total_memory”:3750, “max_user_proc”:”29879″, “vertica”:{“brand”:”package vertica-ce is not installed”}, “cpu_info”:{ “number_of_cpus”:1, “cpu_type”:” Intel(R) Xeon(R) CPU E5645 @ 2.40GHz”}} Error: No JSON object could be decoded $ dpkg –info vertica-ce_6.0.1-0_amd64.deb [...] Package: vertica-ce Is this is simply a matter of having to rename some ‘vertica’s somewhere to ‘vertica-ce’? Or if not that, then what?
0
Comments