<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #913: Drupal Site off-line</title>
    <link>http://localhost:8080/trac/ticket/913</link>
    <description>&lt;p&gt;
The physical server running the virtual servers has been upgraded, this is why there was downtime this morning, everything seems to be up OK apart from Drupal:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;h2 id="Siteoff-line"&gt;Site off-line&lt;/h2&gt;
&lt;p&gt;
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I don't know the cause of this, I have restarted &lt;tt&gt;nginx&lt;/tt&gt;, &lt;tt&gt;php5-fpm&lt;/tt&gt; and &lt;tt&gt;mysqld&lt;/tt&gt;.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/913</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 Jul 2016 08:51:48 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost:8080/trac/ticket/913#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/913#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/trac/ticket/913?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 13 Jul 2016 08:54:07 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/913#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/913#comment:2</guid>
      <description>
        &lt;p&gt;
Great, site is back.
&lt;/p&gt;
&lt;p&gt;
Thanks Chris.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 13 Jul 2016 08:54:25 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/913#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/913#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 Jul 2016 09:00:59 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/913#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/913#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Problems like this usually relate to issues related to the connection with MySQL, it is up:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc/init.d/mysql status
[info] /usr/bin/mysqladmin  Ver 9.0 Distrib 5.5.50-MariaDB, for debian-linux-gnu on x86_64
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Server version          5.5.50-MariaDB-1~wheezy
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 5 min 52 sec
Threads: 1  Questions: 42787  Slow queries: 4  Opens: 665  Flush tables: 2  Open tables: 128  Queries per second avg: 121.553.
&lt;/pre&gt;&lt;p&gt;
But Redis isn't running:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc/init.d/redis-server status
redis-server is not running
&lt;/pre&gt;&lt;p&gt;
And won't run:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/etc/init.d/redis-server start
Starting redis-server: touch: cannot touch `/var/run/redis/redis.pid': No such file or directory
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mkdir /var/run/redis
chown redis:redis /var/run/redis/
/etc/init.d/redis-server start
Starting redis-server: redis-server.
/etc/init.d/redis-server status
redis-server is running
&lt;/pre&gt;&lt;p&gt;
And this has been added to the root crontab so it does start on boot next time:
&lt;/p&gt;
&lt;pre class="wiki"&gt;@reboot mkdir /var/run/redis ; chown redis:redis /var/run/redis ; /etc/init.d/redis-server start
&lt;/pre&gt;&lt;p&gt;
I think that solves this issue, closing this ticket.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>