Questions tagged [sysv]
14 questions
6
votes
3 answers
Centos 6.5 auditd fails to start with service or /etc/init.d/audit start
Fail:
# service auditd start
Starting auditd: [FAILED]
Fail:
# /etc/init.d/auditd start
Starting auditd: [FAILED]
And frustatingly - works:
# bash…
Jepper
- 356
- 1
- 4
- 13
3
votes
1 answer
Debian Jessie UpStart / Systemd / SysV no more reboot
I have make some test on a Jessie server with Upstart installation and replace it by SysV and the reverse.
After this I'm not anymore able to reboot.
root@amoo-001:~# reboot
Failed to talk to init daemon.
root@amoo-001:~# systemctl reboot
Failed to…
frbayart
- 327
- 2
- 8
3
votes
2 answers
debian squeeze: where do the logs for sysv init scripts go? (why won't my init script work)
my actual problem is trying to debug a init script to start Resque. It works fine run as root from the command line, but does nothing on boot. It has some proper insserv headers and I've run updaterc.d to create the symlinks, and checked that they…
sbeam
- 177
- 3
- 10
3
votes
3 answers
Linux: user defined daemons/services
I'm looking for a framework/library/environment so an ordinary user can set up it's own server processes. These processes should run under his uid as any other user process.
However the definition of which processes should be started, with arguments…
Felix Schwarz
- 203
- 2
- 11
3
votes
2 answers
How can I make sure an init.d-script runs after network-interfaces received their addresses over DHCP?
I just installed couchdb on a debian5 system and added symlinks to the /etc/init.d/couchdb-script. Unfortunately, this script gets triggered on startup before the network interface received the address over DHCP that the couchdb-server tries to bind…
flitzwald
- 188
- 1
- 8
2
votes
1 answer
Are these two commands to kill a process effectively similar?
I'm looking at some init.d scripts, and a number of them use this what is essentially this command in their "stop)" target:
kill $(pidof ${DAEMON_NAME})
The pidof ${DAEMON_NAME} is actually a script function that checks the status code and calls…
Jamie
- 1,274
- 7
- 22
- 39
1
vote
0 answers
How to make sysv service dependent on a systemd service?
I have installed distribution packages of Redis and Tomcat on Ubuntu 18.04.
I'm trying to start the Tomcat only after a successful start of Redis, but so far no luck.
The tomcat8 package has sysv init script in /etc/init.d/tomcat8 and I see the…
elkarel
- 121
- 5
1
vote
1 answer
SNMP service crashes on reload - Kernel error
My server has a SNMP service (NET-SNMP) started with systemd. It runs well, except that every 3 days, at 3:00 PM, the service crashes.
I notice in the log that there is a reload of the agent. Then it crashes.
The service is reloaded because of a…
jayooin
- 294
- 1
- 8
1
vote
1 answer
init.d script worked OK on Ubuntu 10.10 but not on 11.10 despite LBS header correction
On Ubuntu 11.10, if I run /usr/bin/cserver -c /etc/cserver.conf & it'll work fine.
But if I run service cserver start or /etc/init.d/cserver start as I did on 10.10, it won't. It just says "starting cServer", and that's the last I hear of…
talkingnews
- 67
- 8
0
votes
0 answers
How add create pidfile to old sysv init script on CentOS7?
I have old sysv init script for start tomcat on CentOS7
I know: need create pid file in sysv init script.
Script have code for create pid file.
But pid file not created
How add create pidile to old sysv init script on CentOS7?
#!/bin/bash
#
# tomcat…
Anton Patsev
- 111
- 4
0
votes
0 answers
sysv init scripts -- differentiate between first run (boot) and subsequent runs
Normally sysv init scripts are run at boot time (from /etc/init.d/rcS) with the 'start' argument. However they can also be invoked with the 'start' after boot, for exmaple when a service is stopped and then manually restarted.
Is there a "standard",…
Grodriguez
- 242
- 1
- 2
- 15
0
votes
1 answer
A lot of services do not start on boot
It worked before, but now it does not. A few services (like varnishd, memcached, apache2) get started on boot, but many others do not, like: nginx, php-fpm, vz.
I don't know where to look at. There is no problem in /var/log/messages or in each…
jcisio
- 588
- 1
- 9
- 22
0
votes
3 answers
fedora 13 init.d script, can’t stop
I wrote init.d script that suppose to run java CLI proccess.
The problem is that when i stop it, i get [failed] and the proccess is still running.
thanks
#!/usr/bin/env bash
#
# chkconfig: 345 97 03
#
# processname: quotes-srv
#
#
# source…
fatNjazzy
- 69
- 3
- 11
-1
votes
1 answer
start systemd service as dependancy on SYSV service
I have a SYSV service (rstudio-server) running on CentOS7. After boot, it happens to run prior to mounting of NFS filesystem, which is required by rstudio-server service. How do I specify dependency for rstudio-server, which is a SysV service, given…
Vince
- 371
- 5
- 16