Questions tagged [systemctl]

systemctl is used to control the systemd system and service manager.

systemctl can be used to control the systemd system/service manager.

Reference: http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=systemctl

503 questions
-1
votes
1 answer

Systemctl command getting this error: Failed to et D-bus: Unkknown error -1 | Docker Opensuse

In opensuse docker container, cronjob is not working. When I try systemctl command getting this error: Failed to et D-bus: Unknown error -1 . I have tried many blogs and stackoverflow questions everywhere It was advised that basic architecture of…
-1
votes
1 answer

Why can't I execute systemctl commands as superuser?

I wrote a script to download and install kubernetes on an ubuntu machine. The last part of the script would be to start the kubelet service. echo "Initializing the master node" kubeadm reset systemctl start kubelet.service kubeadm init I am forcing…
Nicolas El Khoury
  • 5,867
  • 4
  • 18
  • 28
-2
votes
0 answers

service loaded : Loaded: not-found (Reason: No such file or directory)

At present, the state state of the service file shows not-found, but the service is still running. May I ask what causes this: test.service source files in the/opt directory , its Execstart=/usr/sbin/start.sh also is in the/opt directory, both file…
-2
votes
1 answer

ExecStart fails in systemd service for Golang webapp

I'm new to golang and am trying to host a simple website on my server. I'm on Ubuntu 18.04 My domain root directory is in /var/www/vhosts/mydomain.com/mydomain.com There I have a main.go file which is rendering a simple Hello World in the…
DevMan
  • 538
  • 1
  • 5
  • 25
-2
votes
2 answers

How to see if a service is running on Linux?

I'm using systemctl to setup and run my serviced on a Linux Redhat. How can I check if a service is in running state? I can use systemctl is-active to check if the service is is active or not. But I would like to check if the…
Lasse Frandsen
  • 141
  • 1
  • 7
-2
votes
1 answer

Systemd service leaves out command in script

I am trying to start a service named pigpiod.service via systemd. It invokes a script with three commands. The second one is left out. Why is this? /etc/systemd/system/pigpiod.service: [Unit] Description=Starts…
303
  • 888
  • 1
  • 11
  • 31
-3
votes
1 answer

Binding to IPv6 address not available since kernel does not support IPv6

Trying to autostart mongodb , but does not work $ sudo systemctl status mongod.service -l ● mongod.service - High-performance, schema-free document-oriented database Loaded: error (Reason: Invalid argument) Active: inactive (dead) Docs:…
Dhirendra Patil
  • 134
  • 1
  • 7
1 2 3
33
34