Questions tagged [services]

Daemons are programs that constantly run in the background. They usually service requests. If you are asking about online services, please use a different tag.

Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

squid3 and no start process

In ubuntu 14.04, I have installed squid3, can start/stop it (working fine) via: service squid3 start|stop But i do not see any squid* file in /etc/init.d/ and /etc/rc.d/. How is that possible ? How ...
1 vote
0 answers
20 views

What is "ovs-testc"? How Do I Disable It?

I'd like to run an SDN application on my Ubuntu machine (ver 22.04.3 LTS). As I understand it, when the SDN runs, it needs to BIND to TCP 6653, the default port for OVS. But on my machine, the SDN ...
8 votes
3 answers
8k views

How to run a docker-compose as a systemd service?

I found this question, but that one uses cron - I'd like to use a systemd service instead. My docker-compose.yml is in /home/me, and I run it with sudo docker compose up (and just keep it running in ...
1 vote
1 answer
315 views

PvRecorder throws error when run in systemd service

I am trying to run PvRecorder on my Raspberry Pi 4 with Ubuntu 23.04 in a python script, and it works fine when run on its own, but when I run it using a systemd service, it throws errors. This is my ...
2 votes
1 answer
14k views

how to run a service a non-root user completely?

I am trying to run an application (code-server) as a sudo user. This application is basically allowing me to run Visual Studio Code online. I created the service file as below: (vsc.service) [Unit] ...
0 votes
1 answer
595 views

systemd service fails to start script in home directory

I would like to start a python script (i.e. a Flask server) at boot of Ubuntu 22.04. I have created a file /lib/systemd/system/myService.service with following content: [Unit] Description=The service ...
0 votes
1 answer
13k views

Winbind on Ubuntu 17.04 will not start

I apologize in advance as my Linux knowledge is very limited.I've installed Ubuntu 17.04 Server in a test environment and attempted to install Samba. During the installation the winbind daemon will ...
10 votes
2 answers
13k views

How to address results of `systemd-analyze security`?

I'm confused by these results. How do I go about fixing these alerts? Is this normal for a home computer with Ubuntu? Thanks. me@ubuntu:~$ systemd-analyze security UNIT ...
6 votes
1 answer
3k views

Command to list systemd services that run on startup in the order in which they run?

Is there a command to list systemd services that run on startup in the order in which they run? I'm using 18.04
2 votes
2 answers
4k views

systemd-networkd.socket failed. Any ideas on what to do?

I have a problem with the Internet connection on my Server. I cannot use Filezilla or Webmin because my systemd-networkd.socket seems to be buggy or something. Can you help me? This is my output: $ ...
3 votes
1 answer
8k views

MySQL problem on Ubuntu 16.04

It randomly broke yesterday(not starting up any more) and I don't know how to fix it. When I run: sudo service mysql start It gives this error: Job for mysql.service failed because the control ...
6 votes
2 answers
5k views

Problem with timedatectl and network time synchronisation in 16.04

I have a dual-boot machine with Windows and Xubuntu 16.04. Because of Windows, the hardware clock is set to local time, so I had to use timedatectl to make Xubuntu aware of that after the upgrade to ...
0 votes
0 answers
70 views

Can the service accounts-daemon be removed/disabled on ubuntu server

accounts-daemon service consumes a lot of CPU, I want to know if I can just disable/remove this service altogether! I am on a Ubuntu server instance and not desktop. i.e. can I purge the package ...
-1 votes
0 answers
180 views

How do I prevent the pop-up: "Daemons using outdated libraries" "Which services should be restarted?"

I want to automatically restart them. This script does not work: FILE_PATH="/etc/needrestart/needrestart.conf" # Check if the file exists if [ -f "$FILE_PATH" ]; then # Use ...
2 votes
2 answers
10k views

Cron service fails to start

I have an Ubuntu 14.04 and I am trying to start cron service without success. I always get this after running service cron start: Job for cron.service failed because the control process exited with ...
-1 votes
0 answers
74 views

port shown in nmap but no service is running on this port

I am doing nmap of x.x.x.x there I get many open ports but when I login to that system, there are no ports running and no services are shown on the ports. Please help me explain: PORT STATE ...
1 vote
1 answer
3k views

How to solve "Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142" error when trying to start ejabberd service?

I have tried to start ejabberd service with systemctl in Ubuntu 22.04, but I keep getting: Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142
0 votes
0 answers
28 views

openauto compiling error

the link of error pic /usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = f1x::openauto::autoapp::...
203 votes
1 answer
271k views

How do I override or configure systemd services?

Many sysv init scripts used a corresponding file in /etc/default to allow the administrator to configure it. Upstart jobs can be modified using .override files. How do I override or configure systemd ...
0 votes
0 answers
154 views

How to *enable* systemd-oomd on a service in system.slice? OOM-kill for non-user .service

So, Jammy 22.04 brought us new goodies, systemd-oomd. Long overdue, IMO... but asking this in 2024 I'm somewhat late to the party, too. Everyone has asked already how to disable it — yet, I'm failing ...
0 votes
2 answers
15k views

/etc/init.d/rsyslog {start | stop | restart} : Need this to work

I have read the answer/comments for the thread Diffrence between /etc/init.d/ssh start and service ssh start. But I need this /etc/init.d method to be working. I have some auto-generated scripts ...
1 vote
1 answer
6k views

service Restart=on-failure?

When I tried adding "Restart=on-failure" to my .service (which simply launches an application), I got an error where it said this wasn't allowed. Currently, it is Type=oneshot ( I also tried "simple")...
1 vote
1 answer
139 views

Problem with start up of the SLURM controller daemon

I'm trying to configure SLURM on an Ubuntu 23.10 system so that it uses MySQL via slurmdbd. This is a continuation of an earlier question which I solved through somewhat random guessing... The funny ...
1 vote
2 answers
4k views

Networking.service takes 5 minutes after uninstalling network-manager

I tried the Solution here to no avail, using sudo systemctl edit networking.service and adding TimeoutStartSec=10sec. But sudo systemd-analyze blame still puts networking.service at over 5 minutes. I ...
0 votes
1 answer
4k views

vsftpd service will not start for 14.04

I've been looking for solutions for awhile and I haven't found one that works for me. I'm new enough to linux that I'm not sure where else to turn. I can't seem to get the service to start. Any ...
41 votes
2 answers
54k views

What is the use of systemd-journal-flush.service?

It slows my system boot time. Can i disable it? What will happen if i disable it on boot? I am using Ubuntu version 18.04.
10 votes
1 answer
19k views

list all services

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some ...
0 votes
0 answers
12 views

DCA Pulse service not functioning properly (Ubuntu 22.04.3 LTS)

I'm running Ubuntu 22.04.3 LTS and installed DCA Pulse to share printer counters with my printer vendor. The service is called dcapulse.service and connects properly with the web service of my vendor. ...
0 votes
1 answer
19k views

Failed to start Snap Daemon

I am trying to install Lubuntu on a machine that has Ubuntu on it (BOTH LATEST VERSION) When I boot with ISO disk it says loading Lubuntu for a long then it says: OK Finished Plymouth boot OK Finished ...
3 votes
6 answers
8k views

Running an executable jar file when the system starts

I have a java executable jar file, which I am trying to run in a terminal. I need to auto run the project so that the jar file runs whenever I start the PC like a system service.
1 vote
0 answers
190 views

Docker daemon does not start on reboot

Please be advised that I am somewhat of a newbie at Ubuntu system configuration. I am running the snap- installed docker on Ubuntu desktop V22.04. It is running a number of containers without problems....
0 votes
1 answer
5k views

Permissions problem with Sonarr move

I am having a problem getting Sonarr to post-process downloaded files, then move them to my Plex media folder. Sonarr runs as myuser and Sabnzbd runs as sabnzbd. Sabnzbd downloads to /home/sabnzbd/...
0 votes
0 answers
43 views

I need to run a program, as sudo, on boot, in screen... Tried a few things but can't get it all to work

My goals are: I have "myprogram" that needs to be run in sudo I want to run it as a service at boot I want it to run inside screen so I can monitor it So I can do 1&2 just fine, but ...
4 votes
2 answers
17k views

Ubuntu 18.04 and systemctl service disappearing

I created and enabled a service: $ sudo systemctl enable /path/to/imaservice.service Created symlink /etc/systemd/system/multi-user.target.wants/imaservice.service → /path/to/imaservice.service. ...
5 votes
2 answers
5k views

Why is apache running in the background?

I didn't install apache. I also have ssh installed. Do apache and ssh come by default with Ubuntu? I do have LAMPP but I thought I had kept it disabled. Yet, I can see an apache initial page ...
0 votes
0 answers
37 views

Service being disabled after package updates

We use the stork service specifically for monitoring our Kea server installations. This is running on Ubuntu 22. I use systemctl to enable the service for auto start. Every time I patch these ...
3 votes
3 answers
20k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I re-...
2 votes
1 answer
16k views

systemd service failed with dependency

On my ubuntu 16.04 server, I've written two systemd services to start docker containers on system reboot. out of them, the initial one loads perfectly. The second service is dependent on the first ...
0 votes
1 answer
166 views

Run a command using system.service ./start start

I'm trying to get my system.service file to run a command that is inside my start script. I've tried adding StandardInput= which did not work, so I believe I misunderstood how that operates. I've also ...
0 votes
1 answer
681 views

Ubuntu 22.04 login loop, Failed to start GNOME Display Manager

I'm facing an issue with my Ubuntu system. GNOME Display Manager fails to start at boot and I am unable to login into another tty. Any attempt to login will get me back to credentials prompt. The only ...
71 votes
2 answers
49k views

How to disable AnyDesk autostart in Ubuntu?

AnyDesk runs in Ubuntu startup and I couldn't find any setting in order to disable it in its settings. How can I disable AnyDesk autostart?
0 votes
1 answer
5k views

systemd drop-in unit, ExecStartPre as root user, ExecStart as custom user

I have a web service running using systemd, this service runs by its own user, and I would like to execute some ExecStartPre commands but running as root user. So more in detail: i.e /lib/systemd/...
0 votes
1 answer
6k views

Get LDAP to work without rebooting

I am trying to create an automatic/unattended install of Ubuntu 16.04 Desktop suing preseeding and puppet: Install with preseed, include puppet and start puppet on reboot, preseed also changes ...
1 vote
0 answers
2k views

Plex service cannot start

I have tried to install Plex media server on my Ubuntu 18.04 Server edition using this method: https://linuxize.com/post/how-to-install-plex-media-server-on-ubuntu-18-04/ But the command sudo apt ...
0 votes
0 answers
470 views

Can't power off, irqs disabled, daemon service

First of all I m sorry if my problem has been solved somewhere else I didn't notice, please know I tried. So I recently bought the Erazer Crawler E30e, and I want to have Ubuntu 22.04 as my main OS (I ...
4 votes
1 answer
382 views

How can I disable the program unclutter without remove its package?

On my lubuntu 22.04 I have installed the package unclutter by the command: sudo apt-get install unclutter A description of this package is the following: unclutter hides your X mouse cursor when you ...
8 votes
1 answer
4k views

Chrome is not running in background

"Continue running background apps" is checked. There is no Chrome entry in Startup applications. This command didn't work: google-chrome --no-startup-window Everybody is complaining how to disable ...
1 vote
1 answer
5k views

Best way to install a service as part of a debian package

I am creating a Debian package for a software application which gets executed from a service script and could like to know the best way to do this. My current thoughts are for the package to copy the ...
330 votes
5 answers
952k views

How can I configure a service to run at startup

I have a daemon that runs fine if I start it manually with the service command: ricardo@ricardo-laptop:~$ sudo service minidlna start * Starting minidlna minidlna ...
588 votes
10 answers
1.2m views

How to list all enabled services from systemctl?

How can I list all enabled services from systemctl? I know running systemctl command by itself lists all services, but I would like to only get the enabled ones.

1
2 3 4 5
25