starting and stopping redis

Ken D'Ambrosio ken at jots.org
Fri Sep 25 22:40:39 UTC 2020


On 2020-09-25 16:48, Nicholas Saunders wrote:
> I was unable to start/stop redis using the "service" command below 
> earlier:
...
> but it seems to be working now.  Is that odd to not be able to use the
> service command?
> 
> I earlier tried systmctl as well, no luck at the time.  I had to
> resort to that first command.  Perhaps using the init.d file (?)
> explicitly connected up systemctl and service?

One thing you don't mention is which version of Ubuntu this is.  I 
wouldn't be terribly surprised for an older version to have issues.  A 
newer one, though, should be able to cope.  I might suggest looking in 
the syslog or redis logfile (if there is one) to look for clues.  I'd 
also recommend going with systemctl, as service is, if not actually 
deprecated, at least not what systemd uses by default.

-Ken




More information about the ubuntu-users mailing list