Ticket #913 (closed maintenance: fixed)

Opened 4 months ago

Last modified 4 months ago

Drupal Site off-line

Reported by: chris Owned by: chris
Priority: major Milestone:
Component: Live server Keywords:
Cc: sam, paul Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.25

Description (last modified by chris) (diff)

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:

Site off-line

The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.

I don't know the cause of this, I have restarted nginx, php5-fpm and mysqld.

Change History

comment:1 Changed 4 months ago by chris

  • Description modified (diff)

comment:2 Changed 4 months ago by sam

Great, site is back.

Thanks Chris.

comment:3 Changed 4 months ago by sam

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 4 months ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.0 to 0.25

Problems like this usually relate to issues related to the connection with MySQL, it is up:

/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.

But Redis isn't running:

/etc/init.d/redis-server status
redis-server is not running

And won't run:

/etc/init.d/redis-server start
Starting redis-server: touch: cannot touch `/var/run/redis/redis.pid': No such file or directory

So:

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

And this has been added to the root crontab so it does start on boot next time:

@reboot mkdir /var/run/redis ; chown redis:redis /var/run/redis ; /etc/init.d/redis-server start

I think that solves this issue, closing this ticket.

Note: See TracTickets for help on using tickets.