<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/1.9.3" -->
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"					xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
		<channel rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11">
			<title>Maintenance</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11</link>
			<description>HCMC Maintenance</description>
			<dc:language>en-CA</dc:language>
			<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=1.9.3"/>
			<sy:updatePeriod>hourly</sy:updatePeriod>
			<sy:updateFrequency>1</sy:updateFrequency>
			<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
			<items>
				<rdf:Seq>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=tomcat_upgrade_on_peach_problems&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=changed_group_settings_on_moses_emls_and&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=javaws_not_running_jnlp_files&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=java_headless&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=rsync_problem_on_rutabaga&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=network_troubles_solved&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=all_projects_moved_to_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=testing_on_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=creating_a_gource_visualization_of_svn_w&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
									<rdf:li rdf:resource="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=ssh_recursively_remove_folders_and_their&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
								</rdf:Seq>
			</items>
		</channel>
		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=tomcat_upgrade_on_peach_problems&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Tomcat upgrade on peach - problems</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=tomcat_upgrade_on_peach_problems&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-06-11T15:54:41Z</dc:date>
			<dc:creator>Greg</dc:creator>
			<dc:subject>Servers</dc:subject>
			<description> (Mins: 45) Last night we upgraded Tomcat on peach to the latest version in order to take advantage of some recent GC optimizations. Unfortunately it also included a security fix that broke all of our Cocoon apps. So, bcgenesis, mariage, ach, myndir, etc. were dead.

Sysadmin fixed some of them with an adjustment to the web.xml file inside of each app like this:

Around line 708 in &#60;app-name&#62;/WEB-INF/web.xml, look for
&#60;servlet-mapping&#62;
    &#60;servlet-name&#62;WebDAVServlet&#60;/servlet-name&#62;
    &#60;url-pattern&#62;/webdav/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;

and change webdav/* to something else, like webdavservlet/*

</description>
			<content:encoded><![CDATA[<p>Mins: 45</p>Last night we upgraded Tomcat on peach to the latest version in order to take advantage of some recent GC optimizations. Unfortunately it also included a security fix that broke all of our Cocoon apps. So, bcgenesis, mariage, ach, myndir, etc. were dead.

Sysadmin fixed some of them with an adjustment to the web.xml file inside of each app like this:

Around line 708 in &#60;app-name&#62;/WEB-INF/web.xml, look for
&#60;servlet-mapping&#62;
    &#60;servlet-name&#62;WebDAVServlet&#60;/servlet-name&#62;
    &#60;url-pattern&#62;/webdav/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;

and change webdav/* to something else, like webdavservlet/*

</description>
			<content:encoded><![CDATA[<p>Last night we upgraded Tomcat on peach to the latest version in order to take advantage of some recent GC optimizations. Unfortunately it also included a security fix that broke all of our Cocoon apps. So, bcgenesis, mariage, ach, myndir, etc. were dead.</p>

<p>Sysadmin fixed some of them with an adjustment to the web.xml file inside of each app like this:</p>

<p>Around line 708 in &lt;app-name&gt;/WEB-INF/web.xml, look for<br />
<code>&lt;servlet-mapping&gt;<br />
    &lt;servlet-name&gt;WebDAVServlet&lt;/servlet-name&gt;<br />
    &lt;url-pattern&gt;/webdav/*&lt;/url-pattern&gt;<br />
&lt;/servlet-mapping&gt;</code></p>

<p>and change webdav/* to something else, like webdavservlet/*</p>

]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=changed_group_settings_on_moses_emls_and&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Changed group settings on Moses EMLS and Scraps blogs</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=changed_group_settings_on_moses_emls_and&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-05-29T17:48:30Z</dc:date>
			<dc:creator>sarneil</dc:creator>
			<dc:subject>Activity log</dc:subject>
			<description> (Mins: 30) I have a bunch of new users to add to the system and make members of the CanMys blog. When I added the first and logged in as him, I noticed that when I clicked on the Posts button, I was allowed to see posts from the Moses, EMCS and Scraps blogs. Turns out those three blogs had group permissions which made all users of type "Blogger" members and with permission to upload to the media folder, but do nothing else. Those three blogs also have individual users with specific permissions.
I disabled the is-member checkbox for Bloggers in the group permissions for each of those three blogs. That automatically disabled the upload checkbox. There should be no change of behaviour for specific users that are members of those blogs. 
</description>
			<content:encoded><![CDATA[<p>Mins: 30</p>I have a bunch of new users to add to the system and make members of the CanMys blog. When I added the first and logged in as him, I noticed that when I clicked on the Posts button, I was allowed to see posts from the Moses, EMCS and Scraps blogs. Turns out those three blogs had group permissions which made all users of type "Blogger" members and with permission to upload to the media folder, but do nothing else. Those three blogs also have individual users with specific permissions.
I disabled the is-member checkbox for Bloggers in the group permissions for each of those three blogs. That automatically disabled the upload checkbox. There should be no change of behaviour for specific users that are members of those blogs. 
</description>
			<content:encoded><![CDATA[<p>I have a bunch of new users to add to the system and make members of the CanMys blog. When I added the first and logged in as him, I noticed that when I clicked on the Posts button, I was allowed to see posts from the Moses, EMCS and Scraps blogs. Turns out those three blogs had group permissions which made all users of type "Blogger" members and with permission to upload to the media folder, but do nothing else. Those three blogs also have individual users with specific permissions.<br />
I disabled the is-member checkbox for Bloggers in the group permissions for each of those three blogs. That automatically disabled the upload checkbox. There should be no change of behaviour for specific users that are members of those blogs. </p>
]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=javaws_not_running_jnlp_files&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>javaws not running jnlp files</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=javaws_not_running_jnlp_files&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-05-27T19:34:18Z</dc:date>
			<dc:creator>Greg</dc:creator>
			<dc:subject>Documentation</dc:subject>
			<description> (Mins: 0) To fix this problem, run
sudo update-alternatives --config javaws
and choose the java 7 version</description>
			<content:encoded><![CDATA[<p>Mins: 0</p>To fix this problem, run
sudo update-alternatives --config javaws
and choose the java 7 version</description>
			<content:encoded><![CDATA[<p>To fix this problem, run<br />
sudo update-alternatives --config javaws<br />
and choose the java 7 version</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=java_headless&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Java headless</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=java_headless&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-05-17T16:20:57Z</dc:date>
			<dc:creator>Greg</dc:creator>
			<dc:subject>Servers</dc:subject>
			<description> (Mins: 15) The ISE was getting the error
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
when running xwiki.
It turns out that the existence of quotes in JAVA_OPTS directives causes the option to be ignored. So, for future reference, use -Djava.awt.headless=true instead of -Djava.awt.headless="true" when launching tomcat on a headless server.</description>
			<content:encoded><![CDATA[<p>Mins: 15</p>The ISE was getting the error
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
when running xwiki.
It turns out that the existence of quotes in JAVA_OPTS directives causes the option to be ignored. So, for future reference, use -Djava.awt.headless=true instead of -Djava.awt.headless="true" when launching tomcat on a headless server.</description>
			<content:encoded><![CDATA[<p>The ISE was getting the error<br />
<code>java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment</code><br />
when running xwiki.<br />
It turns out that the existence of quotes in JAVA_OPTS directives causes the option to be ignored. So, for future reference, use <code>-Djava.awt.headless=true</code> instead of <code>-Djava.awt.headless="true"</code> when launching tomcat on a headless server.</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=rsync_problem_on_rutabaga&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Rsync problem on rutabaga</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=rsync_problem_on_rutabaga&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-05-09T17:14:12Z</dc:date>
			<dc:creator>Greg</dc:creator>
			<dc:subject>Servers</dc:subject>
			<description> (Mins: 120) After an update to DSM 4.2 rutabaga no longer allowed rsync backups, failing with:

sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: remote command not found (code 127) at io.c(605) [Receiver=3.0.9]

After much wailing and gnashing of teeth we discovered that non-interactive users do not have /usr/syno/bin in their path (it *is* in their path if they shell in to the NAS, so they can run rsync *from* the NAS when shell'd in). 

So, that's an easy fix, says us: add a symlink to /usr/syno/bin/rsync in a logical spot that *is* in a non-interactive path, like /usr/bin.

Problem: admin user cannot su root (error message = su: must be suid to work properly), so cannot create symlink.

Answer: TURN ON TELNET AND LOG IN AS ROOT USING THE WORST POSSIBLE METHOD!!! Then, you make the symlink and turn off telnet - quick!</description>
			<content:encoded><![CDATA[<p>Mins: 120</p>After an update to DSM 4.2 rutabaga no longer allowed rsync backups, failing with:

sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: remote command not found (code 127) at io.c(605) [Receiver=3.0.9]

After much wailing and gnashing of teeth we discovered that non-interactive users do not have /usr/syno/bin in their path (it *is* in their path if they shell in to the NAS, so they can run rsync *from* the NAS when shell'd in). 

So, that's an easy fix, says us: add a symlink to /usr/syno/bin/rsync in a logical spot that *is* in a non-interactive path, like /usr/bin.

Problem: admin user cannot su root (error message = su: must be suid to work properly), so cannot create symlink.

Answer: TURN ON TELNET AND LOG IN AS ROOT USING THE WORST POSSIBLE METHOD!!! Then, you make the symlink and turn off telnet - quick!</description>
			<content:encoded><![CDATA[<p>After an update to DSM 4.2 rutabaga no longer allowed rsync backups, failing with:</p>

<p>sh: rsync: not found<br />
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]<br />
rsync error: remote command not found (code 127) at io.c(605) [Receiver=3.0.9]</p>

<p>After much wailing and gnashing of teeth we discovered that non-interactive users do not have /usr/syno/bin in their path (it *is* in their path if they shell in to the NAS, so they can run rsync *from* the NAS when shell'd in). </p>

<p>So, that's an easy fix, says us: add a symlink to /usr/syno/bin/rsync in a logical spot that *is* in a non-interactive path, like /usr/bin.</p>

<p>Problem: admin user cannot su root (error message = su: must be suid to work properly), so cannot create symlink.</p>

<p>Answer: TURN ON TELNET AND LOG IN AS ROOT USING THE WORST POSSIBLE METHOD!!! Then, you make the symlink and turn off telnet - quick!</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=network_troubles_solved&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Network troubles - solved</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=network_troubles_solved&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-05-08T21:57:09Z</dc:date>
			<dc:creator>Greg</dc:creator>
			<dc:subject>Activity log</dc:subject>
			<description> (Mins: 120) This morning we got nets to set up B047 on the switch. Some time after that 3 machines lost the ability to get a DHCP address - I have no idea if there is a causal relationship between these things.

After much mucking about, it *looks* like it might have been a communication problem between the DHCP server and the machines.
Even forcibly releasing the DHCP lease didn't make any difference.

In the end, I booted the machine with a LiveCD and fiddled with enabling/disabling the network (in the network manger). I got a proper IP and rebooted in the installed OS. That seemed to break it out of the loop.

A bit perplexing and aggravating because I don't actually know what the problem was...</description>
			<content:encoded><![CDATA[<p>Mins: 120</p>This morning we got nets to set up B047 on the switch. Some time after that 3 machines lost the ability to get a DHCP address - I have no idea if there is a causal relationship between these things.

After much mucking about, it *looks* like it might have been a communication problem between the DHCP server and the machines.
Even forcibly releasing the DHCP lease didn't make any difference.

In the end, I booted the machine with a LiveCD and fiddled with enabling/disabling the network (in the network manger). I got a proper IP and rebooted in the installed OS. That seemed to break it out of the loop.

A bit perplexing and aggravating because I don't actually know what the problem was...</description>
			<content:encoded><![CDATA[<p>This morning we got nets to set up B047 on the switch. Some time after that 3 machines lost the ability to get a DHCP address - I have no idea if there is a causal relationship between these things.</p>

<p>After much mucking about, it *looks* like it might have been a communication problem between the DHCP server and the machines.<br />
Even forcibly releasing the DHCP lease didn't make any difference.</p>

<p>In the end, I booted the machine with a LiveCD and fiddled with enabling/disabling the network (in the network manger). I got a proper IP and rebooted in the installed OS. That seemed to break it out of the loop.</p>

<p>A bit perplexing and aggravating because I don't actually know what the problem was...</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=all_projects_moved_to_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>All projects moved to Peach</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=all_projects_moved_to_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-03-26T20:26:53Z</dc:date>
			<dc:creator>mholmes</dc:creator>
			<dc:subject>R &#38; D</dc:subject>
			<description> (Mins: 180) All current Tomcat-based projects have now been moved to Peach, with the help of RE, who has re-pointed all the relevant domains. The IALLTJournal project has been retired, since it's no longer in use, as has the old version of Francotoile, which was built on eXist 1.4. This was a fairly slow and careful migration over a couple of days, and we expect no problems, but Pear will continue to run for a little while just in case.</description>
			<content:encoded><![CDATA[<p>Mins: 180</p>All current Tomcat-based projects have now been moved to Peach, with the help of RE, who has re-pointed all the relevant domains. The IALLTJournal project has been retired, since it's no longer in use, as has the old version of Francotoile, which was built on eXist 1.4. This was a fairly slow and careful migration over a couple of days, and we expect no problems, but Pear will continue to run for a little while just in case.</description>
			<content:encoded><![CDATA[<p>All current Tomcat-based projects have now been moved to Peach, with the help of RE, who has re-pointed all the relevant domains. The IALLTJournal project has been retired, since it's no longer in use, as has the old version of Francotoile, which was built on eXist 1.4. This was a fairly slow and careful migration over a couple of days, and we expect no problems, but Pear will continue to run for a little while just in case.</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=testing_on_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Testing on Peach</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=testing_on_peach&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-02-01T19:29:36Z</dc:date>
			<dc:creator>mholmes</dc:creator>
			<dc:subject>R &#38; D</dc:subject>
			<description> (Mins: 30) Tomcat has now been configured so that a slash not followed by a filename is handled by the webapp, not trapped as an error by Tomcat itself. I've also uploaded and tested the new Moses app on Peach, confirming that while the eXist dashboard and eXide fail under Tomcat 6, they work under Tomcat 7.</description>
			<content:encoded><![CDATA[<p>Mins: 30</p>Tomcat has now been configured so that a slash not followed by a filename is handled by the webapp, not trapped as an error by Tomcat itself. I've also uploaded and tested the new Moses app on Peach, confirming that while the eXist dashboard and eXide fail under Tomcat 6, they work under Tomcat 7.</description>
			<content:encoded><![CDATA[<p>Tomcat has now been configured so that a slash not followed by a filename is handled by the webapp, not trapped as an error by Tomcat itself. I've also uploaded and tested the new Moses app on Peach, confirming that while the eXist dashboard and eXide fail under Tomcat 6, they work under Tomcat 7.</p>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=creating_a_gource_visualization_of_svn_w&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>Creating a gource visualization of SVN work</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=creating_a_gource_visualization_of_svn_w&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-01-23T21:58:53Z</dc:date>
			<dc:creator>mholmes</dc:creator>
			<dc:subject>Activity log</dc:subject>
			<description> (Mins: 30) 

To create a visualization with gource (on Linux), first install gource (it's in the Ubuntu repo), then:

cd [the SVN directory you want to work on]

svn log -r 11019:11452 --xml --verbose --quiet &#62; svnlog.xml
[Choose the revision numbers you want.]

gource -1280x720 -o - svnlog.xml | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 video.mp4</description>
			<content:encoded><![CDATA[<p>Mins: 30</p>

To create a visualization with gource (on Linux), first install gource (it's in the Ubuntu repo), then:

cd [the SVN directory you want to work on]

svn log -r 11019:11452 --xml --verbose --quiet &#62; svnlog.xml
[Choose the revision numbers you want.]

gource -1280x720 -o - svnlog.xml | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 video.mp4</description>
			<content:encoded><![CDATA[

<p>To create a visualization with gource (on Linux), first install gource (it's in the Ubuntu repo), then:</p>

<pre>cd [the SVN directory you want to work on]

svn log -r 11019:11452 --xml --verbose --quiet &gt; svnlog.xml
[Choose the revision numbers you want.]

gource -1280x720 -o - svnlog.xml | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 video.mp4</pre>]]></content:encoded>
		</item>

		
		<item rdf:about="http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=ssh_recursively_remove_folders_and_their&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
			<title>ssh recursively remove folders and their contents</title>
			<link>http://hcmc.uvic.ca/blogs/index.php?blog=11&amp;title=ssh_recursively_remove_folders_and_their&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
			<dc:date>2013-01-16T18:33:13Z</dc:date>
			<dc:creator>sarneil</dc:creator>
			<dc:subject>Documentation</dc:subject>
			<description> (Mins: 0) 
to recursively remove folders and their contents

rm -rf path/to/folder</description>
			<content:encoded><![CDATA[<p>Mins: 0</p>
to recursively remove folders and their contents

rm -rf path/to/folder</description>
			<content:encoded><![CDATA[
to recursively remove folders and their contents

rm -rf path/to/folder]]></content:encoded>
		</item>

		</rdf:RDF>
