The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
17 views

How to tell systemctl that service has started already

I have a service Unit-File mediation.service like this: [Unit] Description=Mobile-IP Log dumper [Service] Type=forking ExecStart=/opt/mediation/mediation start ExecStopPost=/opt/mediation/mediation ...
0
votes
0answers
89 views

systemctl debian 8 jessie: Failed to get D-Bus connection: Unknown error -1

Unfortunately, in my Debian 8 jessie systemctl does not work at all. Every systemctl command results in: Failed to get D-Bus connection: Unknown error -1 systecmtl status udev Failed ...
2
votes
1answer
346 views

Error enabling sshd on Ubuntu 16.04

I just installed Ubuntu Server 16.04 on a virtual machine and then installed openssh-server. When I tried to enable sshd: systemctl enable sshd.service I got this message: Failed to execute ...
2
votes
1answer
118 views

How do I get systemctl to print in color when being interacted with from a non-tty?

When I run a command like this: # systemctl status plexmediaserver I get nicely colored output. But when I run the following command: # watch -n300 --color systemctl status plexmediaserver Is ...
1
vote
1answer
157 views

systemd keeps stopping and restarting a service

Before systemd, my /etc/init.d/referee script would start/stop/restart a service without issue. Converting to systemd, which calls the same init.d script, the service starts without an error and then ...
1
vote
1answer
72 views

Systemd service successful but did not start script

I created a script that has to start on boot. So for this script I created a systemd service and enabled it in systemctl. The script is creating a folder in /mnt, then mounts a cd to it, copies files, ...
3
votes
1answer
550 views

How does systemctl schedule system shutdown?

When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...
3
votes
1answer
1k views

How to debug old init.d script under systemd?

I can't get any output from the script. systemd just prints: sinopia.service: control process exited, code=exited status=203 Failed to start LSB: starts the sinopia web server. I can't even launch ...
0
votes
1answer
52 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
2
votes
2answers
1k views

Why does systemd process stop as soon as it starts for foreman server process?

I am trying to export a simple Ruby app using foreman. Based on its usage for systemd, I appear to be doing things correctly. However, when I start the target/service, I get status messages along the ...
1
vote
1answer
615 views

Wireless Network Interface name changes sometime after reboot

On my arch linux machine,for some reason the interface name of my wirless network device sometimes changes from "wlp2s0" to "wlan0". I then have to setup my network manually or restart the computer. ...
1
vote
0answers
763 views

Arch Linux “poweroff” always waits 90 seconds in VMware Player

I am running Arch Linux (installed from archlinux-2014.01.05-dual.iso) on VMware Player and have installed vmtoolsd (which belongs to open-vm-tools). Now my problem is that, whenever I do poweroff or ...
5
votes
2answers
2k views

How to debug old initd script under systemd?

I have an older initd script to start my application. It worked fine under older versions of SuSE, but fails on Open SuSE 12.3. The strange thing is cd /etc/init.d ; ./script start works fine. /...
1
vote
1answer
2k views

rfkill unblock all service does not work on ArchLinux

I'm trying to set up my HP EliteBook 2530p with ArchLinux. Everything works except for the wifi card which is hardblocked by default. Typing rfkill unblock all works and unblocks the wifi card until ...
0
votes
1answer
505 views

Xvnc via systemctl : how to use “xhost +”

I would like to run Xvnc on Fedora 16 as a service. Not vncserver, given that carries the weight of a full window manager, but just Xvnc to start X. I would also like "xhost +" to run on the X ...
1
vote
1answer
483 views

Why would vncserver not use the xstartup script?

I am using Fedora 16, and I've set up vncserver, using the systemctl method... /lib/systemd/system/vncserver@:1.service: [Unit] Description=Remote desktop service (VNC) After=syslog.target network....
1
vote
1answer
609 views

why is systemd/systemctl system v?

I recently installed arch-linux, where support for tsystem V has been DROPPED in lieu of systemd. I'm wondering if anyone knows exactly why. I know that systemd is newer, but does rc.d have security ...
1
vote
0answers
317 views

pronunciation of 'ctl' in commands like 'systemctl' [closed]

There are sorts of commands like 'systemctl', 'hostnamectl', or 'jounralctl'. I realize that 'ctl' is shorthand for control, but I'm wondering what the generally accepted pronunciation of 'ctl' is.
2
votes
1answer
446 views

systemctl (Fedora 17) and interacting spawned processes's consoles

Introduction I've recently upgraded to Fedora 17 and I'm getting used to the newer systemctl daemon manager versus shell init scripts. A feature I need on some of my daemons is the ability to ...
1
vote
1answer
416 views

Understanding init script faults with sysctl

I made my own init script for starting a Mono web application within mod-mono-server2 container (I didn't use AutoHosting, I'm aware of it). When I had openSUSE 11.4 with init I was able to read on ...