Questions tagged [systemctl]
The systemctl tag has no usage guidance.
121
questions
0
votes
0
answers
16
views
Getting 'unrecognized service' error when trying to enable service listed by systemd
System info below.
I have created a service by creating /etc/systemd/system/unison-PaperPortDocs.service. When I run "systemctl --all list-unit-files 'unison*' I see the following list:
> ...
0
votes
0
answers
6
views
PowerSoft netclient on Proxmox
I'm trying to run powersoft netclient (ever ups soft) on a node (kernel Linux 6.5.13-1-pve) inside proxmox ve 8.1.3. Installation goes smoothly, but trying to start powersoft.service displays error:
...
2
votes
1
answer
105
views
How does symlink from shutdown to systemctl work?
which shutdown
returns
/usr/bin/shutdown
I also tried sudo which shutdown just in case...but got the same result.
I can see that
lrwxrwxrwx 1 root root 9 Dec 13 03:38 /usr/bin/shutdown -> ...
1
vote
1
answer
164
views
Flags for `systemctl reboot`?
I'm having trouble finding the systemd unit file for reboot. I would like to explore the options I can pass to sudo systemctl reboot, but am having trouble finding documentation or implementation to ...
0
votes
0
answers
499
views
Debian can't wake up after suspend
After some time my system suspending. After the system has suspended itself I can't wake up the computer.
I use Debian 12 and KDE.
How to fix that?
1
vote
1
answer
781
views
How do I re-time a periodic MD RAID check to get it started sometime else?
I've got an MD RAID (level 10) on my SOHO server (running OpenSuSE 15.5), which undergoes a lengthy check (> 3 hours for some 1 TB net) every Sunday at 1:00 AM local time. As the server does not ...
0
votes
1
answer
704
views
High CPU usage when starting process with systemd
I have this service file:
[Unit]
Description=MyService
[Service]
User=root
WorkingDirectory=/path/to/workingdir
ExecStart=/path/to/myservice
[Install]
WantedBy=multi-user.target
When I start ...
-3
votes
2
answers
2k
views
bind9 dont start On Kali Linux
when I install bind9 on Kali Linux,cant start or stop it. when use systemctl status bind9.service for view status it, I see message that say Unit bind9.service could not be found.
root@sarvdata:~# ...
1
vote
1
answer
113
views
How to define command line options in my sql systemctl service
I have a mysql install on Digital ocean cloud.
And by default it's working with system ctl service.
I need to run the server with those options :
That have taken from here.
So I've tried to edit this ...
1
vote
1
answer
122
views
fail2ban on xcp-ng (xen server on an centos) keeps dying
I can't get the fail2ban.service to run. It gets killed constantly
I tried to install fail2ban on an xcp-ng (8.3 alpha2). I installed it from source because the default REHL repos are turned off and I ...
1
vote
1
answer
6k
views
Why k3s install failed? Job for k3s.service failed because the control process exited with error code
I installed k3s on Ubuntu 22.04
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --flannel-backend none" K3S_TOKEN=prokupljejbb sh -s -
[INFO] Installing k3s to /usr/local/bin/k3s
[...
1
vote
0
answers
178
views
mount and systemctl not executing inside crontab
Under root, i run crontab -e and write :
0 21 * * * systemctl stop transmission-daemon && umount /mnt/WD5 && hdparm -y /dev/sda
I also tried
0 21 * * * mount /mnt/WD5
None of them ...
0
votes
1
answer
1k
views
systemctl start service command is not working in userdata of ec2
I am trying to run systemctl service in ec2 instance on launching of ec2 instance.
So for to run my script on start of ec2 instance i am running my script using user data of ec2 instance.
So my script ...
0
votes
1
answer
3k
views
How to debug: Failed to connect to bus: No such file or directory (systemctl --user status)?
I am trying to run systemctl --user status from a user account in order to not run services from root.
The way I do it is as follows:
loginctl enable-linger $USER
export XDG_RUNTIME_DIR="/run/...
1
vote
1
answer
445
views
REDHAT machine + rsyslogd eating up 10+ GB
we notice about this problem recently
we found that rsyslog service is eating memory and some times its up to 10G
we have different kind of redhat machines as version 7.6 and 7.9
is it possible to ...