C
C
chelkaz2017-04-19 17:12:22
linux
chelkaz, 2017-04-19 17:12:22

Why does the Invalid argument in journalctl -f cause the service not to start?

journalctl -f Swears that:

Failed to add dependency on redis-server, ignoring: Invalid argument

Here is the service I'm running. There is a launch after redis-server.
[Unit]
Description=Queue worker
After=nginx.service
After=httpd.service
After=redis-server
After=mysql.service
.......

But redis-server itself
# systemctl status redis-server
redis-server.service - LSB: redis-server - Persistent key-value db
   Loaded: loaded (/etc/rc.d/init.d/redis-server; bad; vendor preset: disabled)
   Active: active (running) since Wed 2017-04-19 16:21:23 MSK; 41min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/redis-server.service
           └─385 /usr/local/redis/bin/redis-server 127.0.0.1:6379

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2017-04-19
@Zarom

Have you tried pointing that out?
After=redis-server.service

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question