<?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; User Favorites: lunalee84</title>
		<link><a href='http://www.datastax.com/support-forums/profile/lunalee84'>lunalee84</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 15:25:07 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>lunalee84 on "OpsCenter.log error"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenterlog-error-1#post-7614</link>
			<pubDate>Wed, 21 Nov 2012 15:28:56 +0000</pubDate>
			<dc:creator>lunalee84</dc:creator>
			<guid isPermaLink="false">7614@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;I have a problem when I'm restarting the opscenter service. On the webpage I have the following error:&#60;br /&#62;
Error loading events: ClusterServices instance has no attribute 'event_store'&#60;br /&#62;
If I go to Edit Cluster and then save the settings than works fine.&#60;/p&#62;
&#60;p&#62;In the opscenterd.log file I have the following output&#60;/p&#62;
&#60;p&#62; Traceback (most recent call last):&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/scripts/_twistd_unix.py&#34;, line 317, in startApplication&#60;br /&#62;
            app.startApplication(application, not self.config['no_save'])&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/app.py&#34;, line 653, in startApplication&#60;br /&#62;
            service.IService(application).startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/service.py&#34;, line 277, in startService&#60;br /&#62;
            service.startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/defer.py&#34;, line 1141, in unwindGenerator&#60;br /&#62;
            return _inlineCallbacks(None, f(*args, **kwargs), Deferred())&#60;br /&#62;
        --- &#38;lt;exception caught here&#38;gt; ---&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/defer.py&#34;, line 1020, in _inlineCallbacks&#60;br /&#62;
            result = g.send(result)&#60;br /&#62;
          File &#34;/usr/lib/python2.6/dist-packages/opscenterd/OpsCenterdService.py&#34;, line 50, in startService&#60;/p&#62;
&#60;p&#62;          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/service.py&#34;, line 277, in startService&#60;br /&#62;
            service.startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/internet.py&#34;, line 110, in startService&#60;br /&#62;
            self._port = self._getPort()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/internet.py&#34;, line 131, in _getPort&#60;br /&#62;
            'listen%s' % (self.method,))(*self.args, **self.kwargs)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/posixbase.py&#34;, line 419, in listenTCP&#60;br /&#62;
            p.startListening()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/tcp.py&#34;, line 867, in startListening&#60;br /&#62;
            self.factory.doStart()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/protocol.py&#34;, line 45, in doStart&#60;br /&#62;
            self.startFactory()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/web/http.py&#34;, line 1755, in startFactory&#60;br /&#62;
            self.logFile = self._openLogFile(self.logPath)&#60;br /&#62;
          File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Logging.py&#34;, line 68, in _openLogFile&#60;/p&#62;
&#60;p&#62;          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 162, in __init__&#60;br /&#62;
            BaseLogFile.__init__(self, name, directory, defaultMode)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 41, in __init__&#60;br /&#62;
            self._openFile()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 167, in _openFile&#60;br /&#62;
            BaseLogFile._openFile(self)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 76, in _openFile&#60;br /&#62;
            self._file = file(self.path, &#34;w+&#34;, 1)&#60;br /&#62;
        exceptions.IOError: [Errno 13] Permission denied: '/var/log/opscenter/http.log'&#60;/p&#62;
&#60;p&#62;2012-11-18 08:25:46+0000 []  INFO: Log opened.&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: twistd 10.2.0 (/usr/bin/python2.6 2.6.5) starting up.&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: reactor class: twisted.internet.selectreactor.SelectReactor.&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: set uid/gid 1002/1001&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Logging level set to 'info'&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: OpsCenterdService startService&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: OpsCenter version: 2.1&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Compatible agent version: 2.8&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Cluster config dir '/etc/opscenter/clusters' does not exist yet&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: No clusters are configured yet, checking to see if a config migration is needed&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Main config does not appear to include a cluster configuration, skipping migration&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Cluster config dir '/etc/opscenter/clusters' does not exist yet&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: No clusters are configured&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: HTTP BASIC authentication disabled&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Starting webserver with ssl disabled.&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: SSL disabled&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: opscenterd.WebServer.OpsCenterdWebServer starting on 8888&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Starting factory &#38;lt;opscenterd.WebServer.OpsCenterdWebServer instance at 0x3e15998&#38;gt;&#60;br /&#62;
2012-11-18 08:25:46+0000 []  INFO: Unhandled error in Deferred:&#60;br /&#62;
2012-11-18 08:25:46+0000 [] Unhandled Error&#60;br /&#62;
        Traceback (most recent call last):&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/scripts/_twistd_unix.py&#34;, line 317, in startApplication&#60;br /&#62;
            app.startApplication(application, not self.config['no_save'])&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/app.py&#34;, line 653, in startApplication&#60;br /&#62;
            service.IService(application).startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/service.py&#34;, line 277, in startService&#60;br /&#62;
            service.startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/defer.py&#34;, line 1141, in unwindGenerator&#60;br /&#62;
            return _inlineCallbacks(None, f(*args, **kwargs), Deferred())&#60;br /&#62;
        --- &#38;lt;exception caught here&#38;gt; ---&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/defer.py&#34;, line 1020, in _inlineCallbacks&#60;br /&#62;
            result = g.send(result)&#60;br /&#62;
          File &#34;/usr/lib/python2.6/dist-packages/opscenterd/OpsCenterdService.py&#34;, line 50, in startService&#60;/p&#62;
&#60;p&#62;          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/service.py&#34;, line 277, in startService&#60;br /&#62;
            service.startService()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/internet.py&#34;, line 110, in startService&#60;br /&#62;
            self._port = self._getPort()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/application/internet.py&#34;, line 131, in _getPort&#60;br /&#62;
            'listen%s' % (self.method,))(*self.args, **self.kwargs)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/posixbase.py&#34;, line 419, in listenTCP&#60;br /&#62;
            p.startListening()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/tcp.py&#34;, line 867, in startListening&#60;br /&#62;
            self.factory.doStart()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/internet/protocol.py&#34;, line 45, in doStart&#60;br /&#62;
            self.startFactory()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/web/http.py&#34;, line 1755, in startFactory&#60;br /&#62;
            self.logFile = self._openLogFile(self.logPath)&#60;br /&#62;
          File &#34;/usr/lib/python2.6/dist-packages/opscenterd/Logging.py&#34;, line 68, in _openLogFile&#60;/p&#62;
&#60;p&#62;          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 162, in __init__&#60;br /&#62;
            BaseLogFile.__init__(self, name, directory, defaultMode)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 41, in __init__&#60;br /&#62;
            self._openFile()&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 167, in _openFile&#60;br /&#62;
            BaseLogFile._openFile(self)&#60;br /&#62;
          File &#34;/usr/share/opscenter/lib/py-debian/2.6/amd64/twisted/python/logfile.py&#34;, line 76, in _openFile&#60;br /&#62;
            self._file = file(self.path, &#34;w+&#34;, 1)&#60;br /&#62;
        exceptions.IOError: [Errno 13] Permission denied: '/var/log/opscenter/http.log'&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;/p&#62;
&#60;p&#62;Thank you very much.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
