StatusNet は一部、インターネットサービスにアクセスする箇所があるの
で、私がクリーンルームに設置した時はいくつかエラーが発生しました。

参考までに、情報と対策をまとめておきます。

インストール時に以下のエラーが発生。

Install StatusNet
・Starting installation...
・Checking database...
・Changing to database...
・Running database script...
・Adding SMS carrier data to database...
・Adding notice source data to database...
・Adding foreign service data to database...
・Writing config file...
Fatal error: Call to undefined method Ostatus_profile::ensureprofile() in /var/www/statusnet/install.php on line 907

http://update.status.net/ へのアクセスを試みるためのようです。イン
ストールの最後のフェーズなので対策は不要ですが、気になる人は以下の
パッチを当ててからインストールすると良いと思います。

--- orig/statusnet-0.9.1/install.php	2010-03-29 00:39:56.000000000 +0900
+++ statusnet-0.9.1/install.php	2010-04-14 13:00:19.000000000 +0900
@@ -898,19 +898,6 @@
     $user->grantRole('owner');
     $user->grantRole('moderator');
     $user->grantRole('administrator');
-
-    // Attempt to do a remote subscribe to [email protected]
-    // Will fail if instance is on a private network.
-
-    if (class_exists('Ostatus_profile') && $adminUpdates) {
-        try {
-            $oprofile = Ostatus_profile::ensureProfile('http://update.status.net/');
-            Subscription::start($user->getProfile(), $oprofile->localProfile());
-            updateStatus("Set up subscription to <a href='http://update.status.net/'>[email protected]</a>.");
-        } catch (Exception $e) {
-            updateStatus("Could not set up subscription to <a href='http://update.status.net/'>[email protected]</a>.");
-        }
-    }

     return true;
 }

ハッシュタグへのリンクをクリックすると、以下のエラーが発生。

Warning: Cannot modify header information - headers already sent by (output started at /var/www/statusnet/lib/xmloutputter.php:230) in /var/www/statusnet/lib/htmloutputter.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /var/www/statusnet/lib/xmloutputter.php:230) in /var/www/statusnet/lib/error.php on line 75
Hoge StatusNet Hoge StatusNet

Unable to connect to tcp://hashtags.wikia.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: ??????????????

こちらは http://hashtags.wikia.com/ へのアクセスを試みるためのよう
です。以下のパッチを当てればアクセスしなくなります。

--- orig/statusnet-0.9.1/plugins/WikiHashtagsPlugin.php	2010-03-29 00:39:56.000000000 +0900
+++ statusnet-0.9.1/plugins/WikiHashtagsPlugin.php	2010-04-12 19:50:12.000000000 +0900
@@ -63,35 +63,13 @@

             if (!empty($tag)) {

-                $url = sprintf('http://hashtags.wikia.com/index.php?title=%s&action=render',
-                               urlencode($tag));
                 $editurl = sprintf('http://hashtags.wikia.com/index.php?title=%s&action=edit',
                                    urlencode($tag));

-                $request = HTTPClient::start();
-                $response = $request->get($url);
-                $html = $response->getBody();
-
                 $action->elementStart('div', array('id' => 'wikihashtags', 'class' => 'section'));

-                if ($response->isOk() && !empty($html)) {
-                    $action->element('style', null,
-                                     "span.editsection { display: none }\n".
-                                     "table.toc { display: none }");
-                    $action->raw($html);
-                    $action->elementStart('p');
-                    $action->element('a', array('href' => $editurl,
-                                                'title' => sprintf(_('Edit the article for #%s on WikiHashtags'), $tag)),
-                                     _('Edit'));
-                    $action->element('a', array('href' => 'http://www.gnu.org/copyleft/fdl.html',
-                                                'title' => _('Shared under the terms of the GNU Free Documentation License'),
-                                                'rel' => 'license'),
-                                     'GNU FDL');
-                    $action->elementEnd('p');
-                } else {
-                    $action->element('a', array('href' => $editurl),
-                                     sprintf(_('Start the article for #%s on WikiHashtags'), $tag));
-                }
+				$action->element('a', array('href' => $editurl),
+								 sprintf(_('Start the article for #%s on WikiHashtags'), $tag));

                 $action->elementEnd('div');
             }