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

learn more… | top users | synonyms

1
vote
1answer
20 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 ...
0
votes
0answers
29 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. ...
0
votes
0answers
60 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
99 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' ...
5
votes
1answer
110 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. ...
2
votes
1answer
65 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 ...
0
votes
1answer
450 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 ...
2
votes
1answer
266 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
595 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
2answers
613 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 ...
0
votes
0answers
276 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 ...
0
votes
2answers
286 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 ...
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
18 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 ...
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 ...
3
votes
0answers
85 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 ...