<?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: sdelmas</title>
		<link><a href='http://www.datastax.com/support-forums/profile/sdelmas'>sdelmas</a></link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 13:57:13 +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>Sven on "File  offset bug ?"</title>
			<link>http://www.datastax.com/support-forums/topic/file-offset-bugs#post-11261</link>
			<pubDate>Mon, 20 May 2013 14:50:33 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">11261@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;For Cassandra questions, this forum is no longer the best place to look for help, it's mostly kept around for old references.  I suggest subscribing to the Cassandra users list linked at the bottom of &#60;a href=&#34;http://cassandra.apache.org/&#34; rel=&#34;nofollow&#34;&#62;http://cassandra.apache.org/&#60;/a&#62;, visiting &#60;a href=&#34;http://http://planetcassandra.org/&#34; rel=&#34;nofollow&#34;&#62;http://http://planetcassandra.org/&#60;/a&#62; and using &#60;a href=&#34;http://stackoverflow.com/search?q=cassandra&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/search?q=cassandra&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yienyien on "File  offset bug ?"</title>
			<link>http://www.datastax.com/support-forums/topic/file-offset-bugs#post-11260</link>
			<pubDate>Mon, 20 May 2013 14:37:33 +0000</pubDate>
			<dc:creator>yienyien</dc:creator>
			<guid isPermaLink="false">11260@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Could I have some feedbacks please ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11092</link>
			<pubDate>Wed, 15 May 2013 22:32:35 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11092@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Great, glad to help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11088</link>
			<pubDate>Wed, 15 May 2013 20:18:19 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11088@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That did the trick!..&#60;/p&#62;
&#60;p&#62;Thanks..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11087</link>
			<pubDate>Wed, 15 May 2013 20:07:41 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11087@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You'll specifically need to replace the two function calls (&#60;code&#62;cleanlibs&#60;/code&#62;, &#60;code&#62;cleanup&#60;/code&#62;) with &#34;&#60;code&#62;exit 0&#60;/code&#62;&#34;.  It wasn't hitting the &#34;&#60;code&#62;exit 1&#60;/code&#62;&#34; case, just erroring on one of those two functions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11086</link>
			<pubDate>Wed, 15 May 2013 19:54:05 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11086@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;As you can see below I changed the &#34;exit 1&#34; to an &#34;exit 0&#34; but now get the error in the outpu.&#60;/p&#62;
&#60;p&#62;case &#34;$1&#34; in&#60;br /&#62;
    abort-install)&#60;br /&#62;
        [ -z &#34;$2&#34; ] &#38;amp;&#38;amp;  cleanup&#60;br /&#62;
    ;;&#60;/p&#62;
&#60;p&#62;    remove&#124;upgrade&#124;failed-upgrade&#124;abort-upgrade)&#60;br /&#62;
        cleanlibs&#60;br /&#62;
    ;;&#60;/p&#62;
&#60;p&#62;    purge&#124;disappear)&#60;br /&#62;
        cleanup&#60;br /&#62;
    ;;&#60;/p&#62;
&#60;p&#62;    *)&#60;br /&#62;
        echo &#34;postrm called with unknown argument \`$1'&#34; &#38;gt;&#38;amp;2&#60;br /&#62;
        exit 0&#60;br /&#62;
    ;;&#60;br /&#62;
esac&#60;/p&#62;
&#60;p&#62;Output&#60;/p&#62;
&#60;p&#62;The following packages will be REMOVED:&#60;br /&#62;
  opscenter&#60;br /&#62;
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.&#60;br /&#62;
1 not fully installed or removed.&#60;br /&#62;
After this operation, 78.0 MB disk space will be freed.&#60;br /&#62;
Do you want to continue [Y/n]? Y&#60;br /&#62;
(Reading database ... 54706 files and directories currently installed.)&#60;br /&#62;
Removing opscenter ...&#60;br /&#62;
dpkg: error processing opscenter (--remove):&#60;br /&#62;
 subprocess installed post-removal script returned error exit status 1&#60;br /&#62;
No apport report written because MaxReports is reached already&#60;br /&#62;
                                                              Processing triggers for ureadahead ...&#60;br /&#62;
Errors were encountered while processing:&#60;br /&#62;
 opscenter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11085</link>
			<pubDate>Wed, 15 May 2013 19:37:06 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11085@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Man, bash is pickier than I thought about empty blocks.  Instead of commenting out the function calls, you can just put &#34;&#60;code&#62;exit 0&#60;/code&#62;&#34; there so that the block isn't empty.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11084</link>
			<pubDate>Wed, 15 May 2013 19:29:44 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11084@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Tried commenting out the 2 calls to the functions further down past the functions itself but now getting the error below.&#60;/p&#62;
&#60;p&#62;The following packages will be REMOVED:&#60;br /&#62;
  opscenter&#60;br /&#62;
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.&#60;br /&#62;
1 not fully installed or removed.&#60;br /&#62;
After this operation, 78.0 MB disk space will be freed.&#60;br /&#62;
Do you want to continue [Y/n]? Y&#60;br /&#62;
(Reading database ... 54706 files and directories currently installed.)&#60;br /&#62;
Removing opscenter ...&#60;br /&#62;
/var/lib/dpkg/info/opscenter.postrm: 45: /var/lib/dpkg/info/opscenter.postrm: Syntax error: &#34;;;&#34; unexpected&#60;br /&#62;
dpkg: error processing opscenter (--remove):&#60;br /&#62;
 subprocess installed post-removal script returned error exit status 2&#60;br /&#62;
No apport report written because MaxReports is reached already&#60;br /&#62;
                                                              Processing triggers for ureadahead ...&#60;br /&#62;
Errors were encountered while processing:&#60;br /&#62;
 opscenter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11083</link>
			<pubDate>Wed, 15 May 2013 18:52:47 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11083@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hmm, bash might require that function definitions contain at least one non-comment line.  Try commenting out the calls to those two functions instead of the body of the functions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11080</link>
			<pubDate>Wed, 15 May 2013 18:21:12 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11080@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Commented out both functions as below but getting a syntax error now.&#60;/p&#62;
&#60;p&#62;cleanlibs () {&#60;br /&#62;
#    [ -d /usr/share/opscenter/lib ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        find /usr/share/opscenter/lib -name &#34;*.pyc&#34; -exec rm {} \; &#38;amp;&#38;amp; \&#60;br /&#62;
#        find /usr/share/opscenter/lib -depth -type d -empty -exec rmdir {} \;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;cleanup () {&#60;br /&#62;
#    [ -d /var/run/opscenter ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        [ &#34;&#60;code&#62;stat --printf=&#38;quot;%h&#38;quot; /var/run/opscenter&#60;/code&#62;&#34; = 2 ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        rmdir /var/run/opscenter &#124;&#124; true&#60;br /&#62;
#    [ -d /var/lib/opscenter/ssl ] &#38;amp;&#38;amp; rm -rf /var/lib/opscenter/ssl&#60;br /&#62;
#    # don't nuke RRDs if they're still around&#60;br /&#62;
#    [ -d /var/lib/opscenter ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        [ &#34;&#60;code&#62;stat --printf=&#38;quot;%h&#38;quot; /var/lib/opscenter&#60;/code&#62;&#34; = 2 ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        rmdir /var/lib/opscenter &#124;&#124; true&#60;br /&#62;
#    [ -f /usr/share/opscenter/agent/opscenter-agent/agentKeyStore ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        rm /usr/share/opscenter/agent/opscenter-agent/agentKeyStore&#60;br /&#62;
#    [ -f /etc/opscenter/install_id ] &#38;amp;&#38;amp; \&#60;br /&#62;
#        rm /etc/opscenter/install_id&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Output&#60;/p&#62;
&#60;p&#62;The following packages will be REMOVED:&#60;br /&#62;
  opscenter&#60;br /&#62;
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.&#60;br /&#62;
1 not fully installed or removed.&#60;br /&#62;
After this operation, 78.0 MB disk space will be freed.&#60;br /&#62;
Do you want to continue [Y/n]? Y&#60;br /&#62;
(Reading database ... 54708 files and directories currently installed.)&#60;br /&#62;
Removing opscenter ...&#60;br /&#62;
/var/lib/dpkg/info/opscenter.postrm: 25: /var/lib/dpkg/info/opscenter.postrm: Syntax error: &#34;}&#34; unexpected&#60;br /&#62;
dpkg: error processing opscenter (--remove):&#60;br /&#62;
 subprocess installed post-removal script returned error exit status 2&#60;br /&#62;
No apport report written because MaxReports is reached already&#60;br /&#62;
                                                              Processing triggers for ureadahead ...&#60;br /&#62;
Errors were encountered while processing:&#60;br /&#62;
 opscenter&#60;br /&#62;
E: Sub-process /usr/bin/dpkg returned an error code (1)&#60;/p&#62;
&#60;p&#62;Thanks..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11076</link>
			<pubDate>Wed, 15 May 2013 15:58:11 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11076@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Ah, sorry, the error in your case was in the postrm script, not the prerm script.  Edit &#60;code&#62;/var/lib/dpkg/info/opscenter.postrm&#60;/code&#62; and comment out the contents of the &#60;code&#62;cleanlibs()&#60;/code&#62; function:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
cleanlibs () {&#60;br /&#62;
    # [ -d /usr/share/opscenter/lib ] &#38;amp;&#38;amp; \&#60;br /&#62;
    #   find /usr/share/opscenter/lib -name &#34;*.pyc&#34; -exec rm {} \; &#38;amp;&#38;amp; \&#60;br /&#62;
    #   find /usr/share/opscenter/lib -depth -type d -empty -exec rmdir {} \;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You can just run &#60;code&#62;apt-get remove opscenter&#60;/code&#62; directly to test out the changes.  If that does not work for some reason, you can comment out the call to &#60;code&#62;cleanlibs&#60;/code&#62; and &#60;code&#62;cleanup&#60;/code&#62; further down in the same file.&#60;/p&#62;
&#60;p&#62;As I mentioned, we're looking to fix both scripts within the next release or so.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11075</link>
			<pubDate>Wed, 15 May 2013 15:50:05 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11075@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I've edited the above file as below but still getting the same error.&#60;/p&#62;
&#60;p&#62;if [ -r &#34;$UPGRADE_MONITOR_PID&#34; ]; then&#60;br /&#62;
    pid=&#34;$(cat &#34;$UPGRADE_MONITOR_PID&#34;)&#34;&#60;br /&#62;
    if grep -q &#34;opscenter_upgrader.py&#34; &#34;/proc/$pid/cmdline&#34; 2&#38;gt;/dev/null; then&#60;br /&#62;
        skip_stop=1&#60;br /&#62;
    fi&#60;br /&#62;
fi&#60;/p&#62;
&#60;p&#62;if [ -x &#34;/etc/init.d/opscenterd&#34; ]; then&#60;br /&#62;
if [ -x &#34;which invoke-rc.d 2&#38;gt;/dev/null&#34; ]; then&#60;br /&#62;
invoke-rc.d opscenterd stop &#124;&#124; true&#60;br /&#62;
else&#60;br /&#62;
/etc/init.d/opscenterd stop &#124;&#124; true&#60;br /&#62;
fi&#60;br /&#62;
fi&#60;/p&#62;
&#60;p&#62;# dh_installdeb will replace this with shell code automatically&#60;/p&#62;
&#60;p&#62;Output&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-0-1-31:~$ sudo apt-get install dse-full&#60;br /&#62;
sudo: unable to resolve host ip-10-0-1-31&#60;br /&#62;
Reading package lists... Done&#60;br /&#62;
Building dependency tree&#60;br /&#62;
Reading state information... Done&#60;br /&#62;
dse-full is already the newest version.&#60;br /&#62;
The following packages will be REMOVED:&#60;br /&#62;
  opscenter&#60;br /&#62;
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.&#60;br /&#62;
1 not fully installed or removed.&#60;br /&#62;
After this operation, 78.0 MB disk space will be freed.&#60;br /&#62;
Do you want to continue [Y/n]? Y&#60;br /&#62;
(Reading database ... 54708 files and directories currently installed.)&#60;br /&#62;
Removing opscenter ...&#60;br /&#62;
dpkg: error processing opscenter (--remove):&#60;br /&#62;
 subprocess installed post-removal script returned error exit status 1&#60;br /&#62;
Processing triggers for ureadahead ...&#60;br /&#62;
Errors were encountered while processing:&#60;br /&#62;
 opscenter&#60;br /&#62;
E: Sub-process /usr/bin/dpkg returned an error code (1)&#60;/p&#62;
&#60;p&#62;Thanks..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thobbs on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11074</link>
			<pubDate>Wed, 15 May 2013 15:29:09 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">11074@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The error you're getting when uninstalling the opscenter package looks like a bug that we're working on fixing right now.&#60;/p&#62;
&#60;p&#62;To workaround the problem, you'll need to edit &#60;code&#62;/var/lib/dpkg/info/opscenter.prerm&#60;/code&#62; and change the condition close to the bottom of the file to:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
if [ -x &#34;/etc/init.d/opscenterd&#34; ]; then&#60;br /&#62;
    if [ -x &#34;&#60;/code&#62;&#60;code&#62;which invoke-rc.d 2&#38;gt;/dev/null&#60;/code&#62;&#34; ]; then&#60;br /&#62;
        invoke-rc.d opscenterd stop &#124;&#124; true&#60;br /&#62;
    else&#60;br /&#62;
        /etc/init.d/opscenterd stop &#124;&#124; true&#60;br /&#62;
    fi&#60;br /&#62;
fi&#60;/p&#62;</description>
		</item>
		<item>
			<title>gdelgado on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11073</link>
			<pubDate>Wed, 15 May 2013 15:15:45 +0000</pubDate>
			<dc:creator>gdelgado</dc:creator>
			<guid isPermaLink="false">11073@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Tried the suggestion and got the error below would you recommend to use Ubuntu 12.04 for the install?&#60;/p&#62;
&#60;p&#62; sudo apt-get install dse-full&#60;br /&#62;
sudo: unable to resolve host ip-10-0-1-31&#60;br /&#62;
Reading package lists... Done&#60;br /&#62;
Building dependency tree&#60;br /&#62;
Reading state information... Done&#60;br /&#62;
dse-full is already the newest version.&#60;br /&#62;
The following packages will be REMOVED:&#60;br /&#62;
  opscenter&#60;br /&#62;
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.&#60;br /&#62;
1 not fully installed or removed.&#60;br /&#62;
After this operation, 78.0 MB disk space will be freed.&#60;br /&#62;
Do you want to continue [Y/n]? Y&#60;br /&#62;
(Reading database ... 54708 files and directories currently installed.)&#60;br /&#62;
Removing opscenter ...&#60;br /&#62;
dpkg: error processing opscenter (--remove):&#60;br /&#62;
 subprocess installed post-removal script returned error exit status 1&#60;br /&#62;
No apport report written because MaxReports is reached already&#60;br /&#62;
                                                              Processing triggers for ureadahead ...&#60;br /&#62;
Errors were encountered while processing:&#60;br /&#62;
 opscenter&#60;br /&#62;
E: Sub-process /usr/bin/dpkg returned an error code (1)&#60;/p&#62;
&#60;p&#62;Thanks..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "package opscenter is not ready for configuration  cannot configure (current status `half-installed&#38;#"</title>
			<link>http://www.datastax.com/support-forums/topic/package-opscenter-is-not-ready-for-configuration-cannot-configure-current-status-half-installed#post-11069</link>
			<pubDate>Wed, 15 May 2013 13:51:47 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">11069@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you try installing dse-full separately first please, and then opscenter. This looks like an opscenter install problem, which should be discussed in the opscenter forum. Be aware that Ubuntu 13.04 has not been qualified at this point and thus is not officially supported.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
