Questions tagged [systemctl]

systemctl is the main command to control and introspect the systemd Linux init system.

systemd is a system and service manager in Linux. More information about switches and arguments can be found here.

228 questions
2
votes
0 answers

vsftpd failing to start

I have tried solutions presented in the following posts: https://unix.stackexchange.com/questions/364529/centos-vsftpd-not-starting/364555 https://superuser.com/questions/987912/why-my-vsftp-service-cant-start VSFTP Fails to start CentOS 7 I am…
Naltroc
  • 121
  • 1
  • 3
2
votes
2 answers

Is it possible to extend the WantedBy systemd unit property?

I have a unit file and I want to modify some of the properties. I've been able to extend all the properties using the /etc/systemd/system/unitname.service.d/ directory but cannot get the WantedBy property to be extended. Original Unit File…
vane
  • 155
  • 1
  • 2
  • 9
2
votes
0 answers

How can I troubleshoot a systemctl maintained daemon, on Oracle Linux 7, when it dies immediately after being spawned?

I'm trying to run jenkins, via systemctl, and it keeps dying immediately after being started. There is nothing in the "systemctl status" nor in "journalctl". Jenkins logs also show nothing. I've narrowed down the segment of code that starts the…
wsaxton
  • 195
  • 11
2
votes
2 answers

Why my service restarted every 90 seconds?

I'm working with Ubuntu Server 16.04. Here's the .service file: [Unit] Description=NoDescpt [Service] ExecStart=/home/git/cmd/daphnei Restart=always KillSignal=SIGQUIT Type=notify NotifyAccess=all [Install] WantedBy=multi-user.target And the…
hsfzxjy
  • 123
  • 1
  • 5
2
votes
2 answers

Redis runs on OpenSuse 42.1, but throws many errors, How do I fix?

Installed Redis 3.2.4 on OpenSuse 42.1 with package manager. The machine has 16GB of memory. Did these steps to get running. (I would like to run as deamon, but havent changed the settings.) cp default.conf.example default.conf chown root.redis…
Merlin
  • 131
  • 4
2
votes
2 answers

Trouble creating PID file in systemd service script

I'm trying to get RipRight installed on Debian, for which there doesn't appear to be any pre-built package. I'm having difficulty getting a systemd script working to start/stop RipRight running as a daemon because it can't write the PID file to…
jia103
  • 121
  • 1
  • 1
  • 3
2
votes
2 answers

can't stop mysql/mariadb with `systemctl stop`

EDIT it started working by itself. I can't see how to delete or flag this question. Mariadb is up and running on CentOS 7 $ ps aux | grep mysqld mysql 4249 0.0 9.0 841448 89576 pts/0 Sl 12:25 0:00 /usr/libexec/mysqld ...snip... $…
spraff
  • 549
  • 4
  • 8
  • 18
2
votes
1 answer

Puppet and systemctl trouble

I have some trouble with puppet and systemctl. I used to load several parameters for a 'service' but it's not working anymore on centos7. This is my error: Error: Could not enable [ntpd ntpdate]: Error: /Stage[main]/Ntp::Service/Service[[ntpd…
Skullone
  • 195
  • 1
  • 1
  • 11
2
votes
1 answer

Truncated/missing logs with systemd on Ubuntu 16.04

I am using Ubuntu 16.04 server, have created a basic nodejs script and packaged it in a simple systemd service. Content of api.service at…
quentinadam
  • 321
  • 2
  • 12
2
votes
1 answer

Missing firewallD in CentOS 7 VPS

i fresh installed CentOS 7 in a OVH VPS. but when i ran the command firewall-cmd i got this: -bash: firewall-cmd: command not found so i was looking how resolve that and i saw that basically i needed to install it. So I was trying to fully disable…
DiogoSaraiva
  • 409
  • 4
  • 16
2
votes
2 answers

syslog-ng working as foreground process but not as daemon

I'm working to implement syslog-ng OSE in my environment. Eventually I'd like to setup a central logging server, but in order to get my feet wet, I'm starting with a simple configuration. I've created a config that contains a single source, a…
NevDull
  • 21
  • 4
2
votes
2 answers

systemctl Failed to parse kill mode, ignoring mixed

On CentOS 7 I wanted to check the status of the nginx service: # systemctl status nginx -l nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled) Active: inactive (dead) Jun 30…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
2
votes
2 answers

Elasticsearch service often goes down or gets killed

My webserver is running ubuntu 14.10 with elasticsearch 1.5.0 and java 1.7u55 For some reason, the elasticsearch service often goes down, resulting in my website not being available to my users anymore (using FOSElasticaBundle with symfony). I am…
Sébastien
  • 250
  • 3
  • 9
2
votes
0 answers

CentOS 7: Nginx systemctl hangs on start, why?

I compiled nginx with pagespeed and made the nginx.service file in /usr/lib/systemd/system/nginx.service but when i try to do systemctl start nginx it just hangs, nginx does start but systemctl hangs. I have to use ctrl+c to get out.
therealssj
  • 131
  • 4
2
votes
1 answer

Why does passenger-install-nginx-module neither install Nginx nor implement Passenger support on Centos7 while the output indicates the contrary?

Introduction At the moment there are approximately 100 Puppet agents that connect to the Puppetmaster. Sometimes it takes a while before implemented changes on the Puppetmaster are picked up by the agents. Some information has been found that…
030
  • 5,901
  • 13
  • 68
  • 110