Questions tagged [service]

A service (also daemon or server) is a programme that constantly runs in the background. It usually services requests. If you are asking about online services, please use a different tag.

A service (also daemon or server) is a programme that constantly runs in the background. It usually services requests. If you are asking about online services, please use a different tag.

1035 questions
0
votes
1 answer

Using Windows Event Logs versus using a text file

I'm porting a Unix server application that writes logs to text file, typically generating about 15MB of logs per day; and the log file is rotated daily by a cron job. The porting is to be a Windows service application. 99% of the logging is…
M.M
  • 101
  • 2
0
votes
1 answer

Why does status says it's dead and subsys locked, but it still running without issue?

Whenever I start Amavisd, the reports starting OK, but a status check says it's dead. $ service amavisd start Starting amavisd: [ OK ] $ service amavisd status amavisd dead but subsys locked But Amavisd…
dandan
  • 158
  • 7
0
votes
1 answer

How do I autostart a program with a "X" second delay after internet connection is established at login (LINUX)

I want to use systemd to configure this, do I have to create a custom target and then custom services on it to make this happen? How do I do that?
daedalus
  • 21
  • 1
  • 2
0
votes
1 answer

How to avoid ExecStop status in systemctl status

systemctl status command shows the ExecStop Failure message. Even though my service is up and running. testDB.service - the testDB service Loaded: loaded (/usr/lib/systemd/system/testDB.service; enabled; vendor preset: disabled) Active: active…
user1631072
  • 1
  • 1
  • 1
0
votes
1 answer

CentOS: How to keep previous service state on reboot

Is there unit setting I can change so a service will stay stopped after reboot if it was stopped before reboot? Currently service starts with OS startup even if it was stopped CentOS9
Boppity Bop
  • 752
  • 3
  • 11
  • 34
0
votes
0 answers

MySQL (MariaDB) Not Starting '/usr/sbin/mariadbd: Shutdown complete - mariadb.service: Failed with result 'exit-code'.'

I'm getting an error when i try to start mariadb.service service: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. systemctl status…
0
votes
0 answers

RHEL 7 systemctl: Combine multiple services into one. start the service independently

I have followed the steps from RedHat to start the multiple services into one service. https://access.redhat.com/solutions/3097871 /etc/systemd/system/myapps.target [Unit] Description=App Service Unit # This collection of apps should be started at…
user1631072
  • 1
  • 1
  • 1
0
votes
3 answers

Windows 11: OpenVPN service failing to stat at boot

I have an OpenVPN profile installed in config-auto directory on my Windows 11 machine, so that it connects to my OpenVPN server at boot. The problem is that sometimes at system startup, it starts failing to connect with: 2022-03-11 09:27:38 [server]…
yeralin
  • 51
  • 3
0
votes
1 answer

How to have Kerberos tickets for services to access NFS share?

I want to externalize my servers storage and to import it via NFS from the storage server. I want to use NFSv4 with Kerberos for security and for not having to match UID/GID between servers. So I configured everything and mounting works as well…
Robome
  • 1
0
votes
2 answers

systemd service definition for SAP (or any other application) start

I have issues to configure a systemd service for starting and stopping SAP (or any other appliaction). I am new to configuring systemd services and please have mercy asking "stupid" questions. What I want/plan: The appliaction in this case SAP is…
Franz
  • 3
  • 2
0
votes
1 answer

Best way to update a binary?

So I'm making a load balancer that compiles to a binary. This will be scaled across multiple servers. To update, the program itself will check a GitHub repo for a new release every 5 minutes, if there is a new release, it downloads it overwriting…
KIVOX
  • 3
  • 1
0
votes
1 answer

restarting tomcat service monit

I have a Tomcat service running that fail sometimes - I did not find the reason yet. In the Catalina log I see the following: Feb 03, 2022 10:54:39 AM org.apache.coyote.AbstractProtocol pause INFO: Pausing ProtocolHandler ["http-bio-80"] Feb 03,…
RD7
  • 51
  • 1
0
votes
1 answer

MySQL impossible suspicious connections

I have a MySQL Community service binded locally to "bind-address=127.0.0.1", bind that suppose no expose it to the internet. I can't connect externally. However i'm receiving constantly on the log this kind of errors: [Server] IP address…
0
votes
1 answer

Multiple instances of systemd unit not writing to log files

I'm trying to create a systemd unit file that will take an argument for a php script. The small php script: Devs are working on the real script. All I…
DevOpsSauce
  • 348
  • 1
  • 5
  • 22
0
votes
0 answers

Systemd service sits in continuous reboot on start but works fine on manual start

We have an application that at one point worked on one of our ubuntu VMs. Recently, it has shut down. I noticed that the application, when i execute systemctl start application, it starts normally, begins the application boot stage properly, then…