Systemctl is main command to control and introspect Linux daemon called `systemd`.

learn more… | top users | synonyms

5
votes
1answer
122 views

gunicorn 19.2 fails to start with 18.0 configuration

I've got a dev server running gunicorn/Django behind nginx. As part of a wider server environment update, I attempted to upgrade gunicorn from 18.0 to 19.2.1, but the service would no longer start. ...
3
votes
0answers
90 views

restarting all specific units on systemctl without for loop?

Is someone here able to start/stop/reload/... a list of units specified with a wildcard or similar method on systemctl? I try do do somethin like: systemctl restart openstack-nova-*.services or ...
2
votes
1answer
83 views

Postfix doesn't start on reboot

I'm on CentOS 7 and as far as I understand, all that is needed for Postfix to start on reboot is to run systemctl enable postfix.service However, that doesn't work for me. After a reboot, systemctl ...
2
votes
1answer
310 views

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 ...
1
vote
1answer
29 views

postgrey configuration on Fedora Core 21 is very different, and not documented

In upgrading from Fedora Core 16 to Fedora Core 21, one of the challenges has been getting postfix working with postgrey. I still don't have it working after many long hours focused on it. In the old ...
1
vote
2answers
665 views

Automatic MySQL shutdown is RHEL7

When I execute systemctl start mysql it starts MySQL but I don't get command prompt back, it just stays like that. Database starts normally. After couple of minutes database automatically shutdowns ...
1
vote
1answer
70 views

systemctl throwing errors on start/enable after package instal [duplicate]

In the effort to lock down a new Centos box I am building I am installing iptables. I would like to be able to put this in a script so I can do this to other boxes but I am getting some odd errors ...
1
vote
1answer
1k views

Starting nginx with systemctl fails, but running the command manually doesn't

On Arch Linux, for some reason, when I try to start nginx with the command "systemctl start nginx", it fails, with this being the output of "systemctl status nginx": Loaded: loaded ...
1
vote
0answers
45 views

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. ...
1
vote
1answer
658 views

Weird interaction with systemctl with Haproxy on CentOS 7

Running haproxy through systemctl is different than running it manually. on manual start, everything works. starting through systemctl, haproxy is not able to find the service it proxies, and ...
1
vote
1answer
3k views

Why isn't systemctl starting redis-server on CentOS 7?

I've installed redis on a new CentOS 7 box but can't start it using systemctl. It was installed like this: rpm -i http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm yum ...
1
vote
0answers
19 views

How to use input variables within a systemd script? [duplicate]

I'm trying to write a systemd service that both starts at boot time and can be used during a user session using the "sudo systemctl restart" command. However, when using this command I need to be ...
0
votes
2answers
327 views

MariaDB RHEL Fresh Install Root Login Issue

I just installed MariaDB on a RHEL system and this is my first time using MariaDB. I can start/stop the service only using the following commands: sudo systemctl start mariadb.service sudo systemctl ...
0
votes
1answer
59 views

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 ...
0
votes
0answers
72 views

Centos 7 kickstart systemctl

I created a kickstart file for CentOS 7 and I'm having trouble with the following entry: services --enabled=mariadb,mongod,httpd,chronyd,NetworkManager I am getting an error: No such file or ...
0
votes
1answer
113 views

CentOS7 systemctl calling ExecStop on reboot after my procceses are already killed

I have a systemd script which is as follows: [Unit] Description=My sites Before=shutdown.target reboot.target halt.target [Service] Type=oneshot ExecStart=/bin/bash -c '/etc/xxx/mySites start' ...
0
votes
1answer
547 views

Suddenly mysql/mariadb won't start

Suddenly, after simply adding a few tables to database within the install... the service won't start. Any help welcome. systemctl start mariadb Job for mariadb.service failed. See 'systemctl status ...
0
votes
0answers
291 views

Nagios 4 on Centos 7 - Old server

I am trying to install Nagios 4 on an old Pentium 4 machine running Centos 7. I have installed the OS from the x86_64 ISO provided at the website. Nagios is downloaded with wget from Sourceforge. I ...
-1
votes
0answers
20 views

“Environment” not working in systemd unit file [duplicate]

I'm trying yo make Unit file for some software. I can't create variable for later use. Example: [Service] Environment="FOO=default_foo_value" ExecStart=/bin/service $FOO Seems legit. I saw many ...