Forum down
-
your redis server is not running. You need to start it first. I would suggest to run service redis-server start. Then check for redis with netstat -ntlp. Once the redis server is up and running then you can start the nodebb application
-
@Peter-Zoltan-Keresztes Hi Peter, thanks for the help! I ran the command per your instructions:
[root@offroadbc /]# service redis-server start
Redirecting to /bin/systemctl start redis-server.service
Failed to start redis-server.service: Unit redis-server.service failed to load: No such file or directory.
[root@offroadbc /]# -
Do you have redis-server installed? Try running rpm -qa | grep redis
-
[root@offroadbc /]# rpm -qa | grep redis
redis-2.8.19-2.el7.x86_64
[root@offroadbc /]# -
@ron_jeremy OK it seam you have your redis installation screwed. Backup your database if it is not empty run rpm -e redis-2.8.19-2.el7.x86_64 . Then yum install redis-server. That should fix the installation
-
@Peter-Zoltan-Keresztes Hi Peter, thanks for the continued help.
[root@offroadbc /]# rpm -e redis-2.8.19-2.el7.x86_64
[root@offroadbc /]# yum install redis-server
Loaded plugins: fastestmirror
base | 3.6 kB 00:00
epel/x86_64/metalink | 13 kB 00:00
epel | 4.3 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): epel/x86_64/updateinfo | 444 kB 00:00
(2/2): epel/x86_64/primary_db | 3.7 MB 00:02
Loading mirror speeds from cached hostfile- base: mirror.supremebytes.com
- epel: mirror.sfo12.us.leaseweb.net
- extras: mirror.supremebytes.com
- updates: mirror.supremebytes.com
No package redis-server available.
Error: Nothing to do
[root@offroadbc /]#
-
@ron_jeremy how about yum search redis?
-
[root@offroadbc /]# yum search redis
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile- base: centos.sonn.com
- epel: mirrors.kernel.org
- extras: centos.sonn.com
- updates: centos.sonn.com
============================== N/S matched: redis ==============================
collectd-redis.x86_64 : Redis plugin for collectd
collectd-write_redis.x86_64 : Redis output plugin for collectd
hiredis.x86_64 : Minimalistic C client library for Redis
hiredis-devel.x86_64 : Development files for hiredis
opensips-redis.x86_64 : Redis connector
perl-Apache-Session-Redis.noarch : Redis driver for Apache::Session::NoSQL
perl-Redis.noarch : Perl binding for Redis database
php-nrk-Predis.noarch : PHP client library for Redis
php-pecl-redis.x86_64 : Extension for communicating with the Redis key-value
: store
python-redis.noarch : Python 2 interface to the Redis key-value store
python-trollius-redis.noarch : Redis client for the Python event loop PEP3156
: for Trollius.
syslog-ng-redis.x86_64 : redis support for syslog-ng
uwsgi-logger-redis.x86_64 : uWSGI - redislog logger plugin
uwsgi-router-redis.x86_64 : uWSGI - Plugin for Redis router support
redis.x86_64 : A persistent key-value database
Name and summary matches only, use "search all" for everything.
[root@offroadbc /]# -
@ron_jeremy ok you have redis on epel repo, Just run yum install redis.
-
[root@offroadbc ~]# yum install redis
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile- base: centos.sonn.com
- epel: mirror.sfo12.us.leaseweb.net
- extras: centos.sonn.com
- updates: centos.sonn.com
Package redis-2.8.19-2.el7.x86_64 already installed and latest version
Nothing to do
-
@Peter-Zoltan-Keresztes @pichalite Just wanted to say THANK YOU to the both of you for all the help -- it was really appreciated. I have destroyed the DigitalOcean Droplet because spending my evenings and weekends with with my face buried in a terminal is not very appealing.
Unfortunately, It doesn't look good for me + NodeBB. That fact that I can unknowingly and easily nuke the forum simply by playing with settings in the frontend with little to no chance of fixing it has given me a lot to think about.
I need to make a decision on forum software within the next few months, but NodeBB is scaring the shit out of me. It's too bad Flarum is still some months (or a year) away from production.
Now I'm not sure what to do.
-
@ron_jeremy switch to Ubuntu and install the latest Redis over Chris Lea's repo:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-serverThat should work out of the box. Unfortunately CentOS has somehow problems with Redis sometimes.
If this is not going to work, then I will eat my pants.
-
@AOKP THx for your help -- I have a new instance of NodeBB (on Ubuntu 14.04) up and running.
The testing continues.