<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fixlinux.com &#187; OS X</title>
	<atom:link href="http://fixlinux.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://fixlinux.com</link>
	<description>security + stability = sanity</description>
	<lastBuildDate>Wed, 07 Dec 2011 04:03:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Tomcat cluster fails to start on OS X Lion</title>
		<link>http://fixlinux.com/2011/08/17/tomcat-cluster-fails-to-start-on-os-x-lion/</link>
		<comments>http://fixlinux.com/2011/08/17/tomcat-cluster-fails-to-start-on-os-x-lion/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 19:55:20 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://fixlinux.com/?p=546</guid>
		<description><![CDATA[In the process of upgrading my dev environment to OS X Lion I discovered that Tomcat failed to start up correctly. I discovered the following in the log files: 2011-08-15 18:06:24,605 [] INFO o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/6.0.32 2011-08-15 18:06:24,606 [] INFO o.a.catalina.ha.tcp.SimpleTcpCluster - Cluster is about to start 2011-08-15 18:06:24,650 [] INFO [...]]]></description>
			<content:encoded><![CDATA[<p>In the process of upgrading my dev environment to OS X Lion I discovered that Tomcat failed to start up correctly.</p>
<p>I discovered the following in the log files:</p>
<pre>2011-08-15 18:06:24,605 [] INFO  o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/6.0.32
2011-08-15 18:06:24,606 [] INFO  o.a.catalina.ha.tcp.SimpleTcpCluster - Cluster is about to start
2011-08-15 18:06:24,650 [] INFO  o.a.c.tribes.transport.ReceiverBase - Receiver Server Socket bound to:/127.0.0.1:5000
2011-08-15 18:06:24,660 [] INFO  o.a.c.tribes.membership.McastService - Attempting to bind the multicast socket to /228.0.0.4:45564
2011-08-15 18:06:24,668 [] INFO  o.a.c.tribes.membership.McastService - Setting multihome multicast interface to:/127.0.0.1
2011-08-15 18:06:24,669 [] INFO  o.a.c.tribes.membership.McastService - Setting cluster mcast soTimeout to 500
2011-08-15 18:06:24,673 [] INFO  o.a.c.tribes.membership.McastService - Sleeping for 1000 milliseconds to establish cluster membership, start level:4
2011-08-15 18:06:25,675 [] INFO  o.a.c.tribes.membership.McastService - Done sleeping, membership established, start level:4
2011-08-15 18:06:25,681 [] ERROR o.a.catalina.ha.tcp.SimpleTcpCluster - Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.io.IOException: Can't assign requested address; No faulty members identified.
</pre>
<p>After some checking of my /etc/hosts file and a couple other things I found a very relevant <a href="http://confluence.atlassian.com/display/DOC/Cluster+Troubleshooting#ClusterTroubleshooting-PreferIPv4">Tomcat Cluster troubleshooting tip</a>.</p>
<p>I added the following to my catalina.sh file for the JAVA_OPTS variable, and Tomcat started up as usual:</p>
<pre>-Djava.net.preferIPv4Stack=true</pre>
<p>Turns out it was trying to setup the Tomcat cluster on my IPv6 interface and then I assume trying to access it via the IPv4 interface.  Obviously they couldn&#8217;t communicate.</p>
<p>I&#8217;ve never had to do this on any prior version of OS X, nor any of my Linux machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://fixlinux.com/2011/08/17/tomcat-cluster-fails-to-start-on-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OS X System Startup</title>
		<link>http://fixlinux.com/2006/07/07/mac-os-x-system-startup/</link>
		<comments>http://fixlinux.com/2006/07/07/mac-os-x-system-startup/#comments</comments>
		<pubDate>Fri, 07 Jul 2006 19:01:05 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://fixlinux.com/2006/07/07/mac-os-x-system-startup/</guid>
		<description><![CDATA[http://www.kernelthread.com/mac/osx/arch_startup.html This page briefly describes the sequence of events that happen when Mac OS X boots.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kernelthread.com/mac/osx/arch_startup.html">http://www.kernelthread.com/mac/osx/arch_startup.html</a></p>
<p>This page briefly describes the sequence of events that happen when Mac OS X boots.</p>
]]></content:encoded>
			<wfw:commentRss>http://fixlinux.com/2006/07/07/mac-os-x-system-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount a firewire drive at boot on OS X</title>
		<link>http://fixlinux.com/2006/06/28/mount-a-firewire-drive-at-boot-in-os-x/</link>
		<comments>http://fixlinux.com/2006/06/28/mount-a-firewire-drive-at-boot-in-os-x/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 17:09:35 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://fixlinux.com/2006/06/28/mount-a-firewire-drive-at-boot-in-os-x/</guid>
		<description><![CDATA[I run OS X on my desktop (settle down now, more on this later). The default behavior of OS X does not mount external drives at boot time. This is very frustrating. The following command will configure your mac to mount all connected disks at startup (not just upon a user logging in). sudo defaults [...]]]></description>
			<content:encoded><![CDATA[<p>I run OS X on my desktop (settle down now, more on this later).</p>
<p>The default behavior of OS X does not mount external drives at boot time.  This is very frustrating.  The following command will configure your mac to mount all connected disks at startup (not just upon a user logging in).</p>
<pre><code>sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true</code></pre>
<p>Reboot and you&#8217;ll find all your disks already mounted if you ssh in remotely (even without having logged in via the GUI).</p>
<p>If you want to reverse this setting just change &#8220;true&#8221; to &#8220;false&#8221; at the end of the line.</p>
]]></content:encoded>
			<wfw:commentRss>http://fixlinux.com/2006/06/28/mount-a-firewire-drive-at-boot-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

