<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Failed To Create User in OpsCenter 1.3.1</title>
		<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 16:05:59 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/failed-to-create-user-in-opscenter-131" rel="self" type="application/rss+xml" />

		<item>
			<title>thobbs on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-660</link>
			<pubDate>Fri, 11 Nov 2011 18:35:19 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">660@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Whoops, used a semicolon instead of a colon there:&#60;/p&#62;
&#60;p&#62;PYTHONPATH=/usr/share/opscenter/lib/py:/usr/share/opscenter/lib/py-debian/2.6/amd64 python2.6 /usr/share/opscenter/bin/set_passwd.py $ARGS&#60;/p&#62;
&#60;p&#62;or&#60;/p&#62;
&#60;p&#62;PYTHONPATH=/usr/share/opscenter/lib/py:/usr/share/opscenter/lib/py-debian/2.6/i386 python2.6 /usr/share/opscenter/bin/set_passwd.py $ARGS
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-659</link>
			<pubDate>Fri, 11 Nov 2011 18:31:09 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">659@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It looks like Paul left one item out of PYTHONPATH.  This should fix it for you:&#60;/p&#62;
&#60;p&#62;If you're running on a 64bit system, it should be:&#60;/p&#62;
&#60;p&#62;PYTHONPATH=/usr/share/opscenter/lib/py;/usr/share/opscenter/lib/py-debian/2.6/amd64 python2.6 /usr/share/opscenter/bin/set_passwd.py $ARGS&#60;/p&#62;
&#60;p&#62;If you're running on a 32bit system, it should be:&#60;/p&#62;
&#60;p&#62;PYTHONPATH=/usr/share/opscenter/lib/py;/usr/share/opscenter/lib/py-debian/2.6/i386 python2.6 /usr/share/opscenter/bin/set_passwd.py $ARGS
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-658</link>
			<pubDate>Fri, 11 Nov 2011 18:00:13 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">658@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I tried it&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
$ export PYTHONPATH=/usr/share/opscenter/lib/python2.6&#60;br /&#62;
$ /usr/share/opscenter/bin/set_passwd.py&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;/usr/share/opscenter/bin/set_passwd.py&#34;, line 32, in &#38;lt;module&#38;gt;&#60;br /&#62;
    Config.init_config(__file__, config_dir=confdir)&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Config.py&#34;, line 378, in init_config&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/metricstore/CassandraStore.py&#34;, line 16, in &#38;lt;module&#38;gt;&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Settings.py&#34;, line 4, in &#38;lt;module&#38;gt;&#60;br /&#62;
  File &#34;/usr/local/lib/python2.6/dist-packages/telephus/cassandra/ttypes.py&#34;, line 7, in &#38;lt;module&#38;gt;&#60;br /&#62;
    from thrift.Thrift import *&#60;br /&#62;
ImportError: No module named thrift.Thrift&#60;br /&#62;
root@control-01# &#60;/p&#62;
&#60;p&#62;so I need to install the Thrift package from Apache? I thought it would be included?&#60;/p&#62;&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>thepaul on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-652</link>
			<pubDate>Fri, 11 Nov 2011 15:12:26 +0000</pubDate>
			<dc:creator>thepaul</dc:creator>
			<guid isPermaLink="false">652@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Apologies- there is indeed a bug in set_passwd.py relating to how it is packaged. It is already fixed in the next version, but in the meantime you should be able to make it run like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
PYTHONPATH=/usr/share/opscenter/lib/py python2.6 /usr/share/opscenter/bin/set_passwd.py $ARGS&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-651</link>
			<pubDate>Fri, 11 Nov 2011 14:51:28 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">651@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;okay.. I got a co-worker to help me, we got rid of the try and we got this:&#60;br /&#62;
root@control-01:~# python2.6 set_passwd.py&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;set_passwd.py&#34;, line 32, in &#38;lt;module&#38;gt;&#60;br /&#62;
    Config.init_config(__file__, config_dir=confdir)&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Config.py&#34;, line 378, in init_config&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/metricstore/CassandraStore.py&#34;, line 16, in &#38;lt;module&#38;gt;&#60;br /&#62;
  File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Settings.py&#34;, line 4, in &#38;lt;module&#38;gt;&#60;br /&#62;
ImportError: No module named telephus.cassandra.ttypes&#60;br /&#62;
root@control-01:~# &#60;/p&#62;
&#60;p&#62;question, what where do I get that?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Failed To Create User in OpsCenter 1.3.1"</title>
			<link>http://www.datastax.com/support-forums/topic/failed-to-create-user-in-opscenter-131#post-649</link>
			<pubDate>Fri, 11 Nov 2011 02:37:40 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">649@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I tried to install OpsCenter 1.3.1 on my Ubuntu 10.04LTS box for an trial. My issue so far is that I'm not able to create users, I keep getting python errors. I'm not a pythonite, so I'm kind of stuck. Anyone have any ideas? Here's the basic info&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
root@control-01:/etc/opscenter#&#60;br /&#62;
root@control-01:/etc/opscenter#&#60;br /&#62;
root@control-01:/etc/opscenter# cat /etc/issue&#60;br /&#62;
Ubuntu 10.04.3 LTS \n \l&#60;/p&#62;
&#60;p&#62;root@control-01:/etc/opscenter# python --version&#60;br /&#62;
Python 2.6.5&#60;br /&#62;
root@control-01:/etc/opscenter# python2.6 --version&#60;br /&#62;
Python 2.6.5&#60;br /&#62;
root@control-01:/etc/opscenter# python&#60;br /&#62;
python            python2           python2.6         python2.6-config  python-config&#60;br /&#62;
root@control-01:/etc/opscenter# python&#60;br /&#62;
python            python2           python2.6         python2.6-config  python-config&#60;br /&#62;
root@control-01:/etc/opscenter# python2 --version&#60;br /&#62;
Python 2.6.5&#60;br /&#62;
root@control-01:/etc/opscenter# python2.6-config&#60;br /&#62;
Usage: /usr/bin/python2.6-config [--prefix&#124;--exec-prefix&#124;--includes&#124;--libs&#124;--cflags&#124;--ldflags&#124;--help]&#60;br /&#62;
root@control-01:/etc/opscenter#&#60;br /&#62;
root@control-01:/etc/opscenter#&#60;br /&#62;
root@control-01:/etc/opscenter#&#60;br /&#62;
root@control-01:/etc/opscenter# dpkg-query --list &#124; grep ops&#60;br /&#62;
ii  opscenter-free                  1.3-1                             Simple and powerful management of Cassandra&#60;br /&#62;
root@control-01:/etc/opscenter# python2.6 /usr/share/opscenter/bin/set_passwd.py wang&#60;br /&#62;
Unable to import needed OpsCenter packges.&#60;br /&#62;
This script must currently be run with python2.6 on Redhat systems and&#60;br /&#62;
either python2.5 or 2.6 on Debian systems.&#60;/p&#62;
&#60;p&#62;root@control-01:/etc/opscenter# python2.6 /usr/share/opscenter/bin/set_passwd.py wang admin&#60;br /&#62;
Unable to import needed OpsCenter packges.&#60;br /&#62;
This script must currently be run with python2.6 on Redhat systems and&#60;br /&#62;
either python2.5 or 2.6 on Debian systems.&#60;/p&#62;
&#60;p&#62;root@control-01:/etc/opscenter# python2 /usr/share/opscenter/bin/set_passwd.py wang admin&#60;br /&#62;
Unable to import needed OpsCenter packges.&#60;br /&#62;
This script must currently be run with python2.6 on Redhat systems and&#60;br /&#62;
either python2.5 or 2.6 on Debian systems.&#60;/p&#62;
&#60;p&#62;root@control-01:/etc/opscenter# python /usr/share/opscenter/bin/set_passwd.py wang admin&#60;br /&#62;
Unable to import needed OpsCenter packges.&#60;br /&#62;
This script must currently be run with python2.6 on Redhat systems and&#60;br /&#62;
either python2.5 or 2.6 on Debian systems.&#60;/p&#62;
&#60;p&#62;root@control-01:/etc/opscenter# python2.6 -c &#34;import opscenterd;print opscenterd;&#34;&#60;br /&#62;
&#38;lt;module 'opscenterd' from '/usr/lib/python2.6/dist-packages/opscenterd/__init__.pyc'&#38;gt;&#60;br /&#62;
root@control-01:/etc/opscenter# cat /usr/share/opscenter/bin/set_passwd.py&#60;/p&#62;
&#60;/blockquote&#62;</description>
		</item>

	</channel>
</rss>
