Displaying 20 results from an estimated 3000 matches similar to: "How rc-local.service works?"
2017 Mar 12
0
How rc-local.service works?
> Let me cite the service file here:
>
> [Unit]
> Description=/etc/rc.d/rc.local Compatibility
> ConditionFileIsExecutable=/etc/rc.d/rc.local
> After=network.target
>
> [Service]
> Type=forking
> ExecStart=/etc/rc.d/rc.local start
> TimeoutSec=0
> RemainAfterExit=yes
>
> I basically don't understand two things here:
>
> 1. What makes it run?
2019 Feb 07
2
systemd
Hi All - I have a systemd service file to start my application.
Part of my service file is:
[Service]
Type=forking
ExecStart=/path to start
ExecStop=/path to stop
RemainAfterExit=yes
This works fine "normally".
However - when I do a "yum update; and reboot" my script detects a kernel
change and now does a number of "recompiling" steps for drivers and such
before
2016 Sep 07
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
2016-09-06 17:48 GMT+02:00 Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> On Tue, Sep 06, 2016 at 06:37:52AM -0600, George Joseph wrote:
> > On Tue, Sep 6, 2016 at 1:55 AM, Olivier <oza.4h07 at gmail.com> wrote:
>
> > > Where should core file be created when Asterisk is run as a daemon by
> > > asterisk user and group ?
> > > Is there a setting I
2016 Sep 08
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
I think were getting closer:
I did:
- I edited /etc/default/asterisk to include :
AST_USER="root"
AST_GROUP="root"
# systemctl daemon-reload
# systemctl start asterisk
# ps aux | grep asterisk
root 3602 7.1 2.5 60332 26012 ? Ssl 16:00 0:03
/usr/sbin/asterisk -U root -G root -g
# rasterisk
# pkill -SEGV asterisk
Then console showed:
Segmentation error (core
2018 Jan 05
4
VM migration upon shutdown in centos 7
Hi,
I have CentOS 7, two node system which allows live VM migration between
them. Live migration triggered from virsh is happily happening. I am using
GlusterFS for replicating VM disk files.
Now I want to automatically do the live migration at the time of
reboot/shutdown/halt of the host node and for this I have written a systemd
service unit [vPreShutdownHook.service] and placed the live
2016 Aug 04
3
centos 7- boot doesn't wait for startup script to complete
thank you for the feedback.? I tried using Before=systemd-user-sessions.service.? At first glance it seems to work, but then the oracle DB shuts down.? Note that myservices starts oracle and then does a few things for our application.
When I remove that entry, it goes right to the login as I originally described, but the oracle DB does not shut down.? maybe I have the wrong combination of timeout
2018 Feb 02
2
Problem with CentOS package for 2.3.0 and old dependency in systemd with clean install
Hi,
you definitely have a problem with the packages out of your own repo for
version 2.3.0 and CentOS.
And this is only if you do a clean install, meaning there was no lower
dovecot version ever running on the system.
If you want to 'systemctl start dovecot' it breaks with a dependency
error which comes from dovecot-init.service.
dovecot-init.service :
[Unit]
Description=One-time
2016 Apr 17
5
Bug#821254: systemd[1]: xendomains.service start operation timed out.
Package: xen-utils-common
Version: 4.4.1-9+deb8u4
Severity: normal
Dear Maintainer,
I have a server with a large number of domUs set to auto-start. For the
first time I have booted it with all of them needing to start from cold,
but the xendomains service only got part way through.
syslog showed nothing notable about the domains starting?
Apr 16 14:57:45 snaps xendomains[4631]: Starting
2011 Jul 25
0
[PATCH node] Drop F15 build recipes
Due to a critical dracut bug, and a strong dev focus on F16, we're
dropping all F15 recipes.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
recipe/ovirt15-install.ks | 1 -
recipe/ovirt15-minimizer.ks | 1 -
recipe/ovirt15-pkgs.ks | 2 -
recipe/ovirt15-post.ks | 145 ------------------------------------------
recipe/ovirt16-install.ks | 2 +-
2016 Aug 09
1
centos 7- boot doesn't wait for startup script to complete
I am taking a step back.? I have a normal rc?script that is installed with our product.? All of the CentOS 7 documentation says the script should work on startup/shutdown.?? But it doesn't.?? If I run the script manually it works as it should of course.
When I restart the server, nothing happens or starts up.? So my question is should it be working as it was without me changing anything?
The
2018 Feb 14
1
Problem with CentOS package for 2.3.0 and old dependency in systemd with clean install
Hi,
are there any news on this?
Or do we have to go the way install old dovecot/remove it or upgrade
instead of clean install?
Because as the ssl-params executab?e is missing in 2.3.0 I don't know
how else I should create it. If this file isn't even needed for 2.3.0
can it be a file with any content eg 'touch
/var/lib/dovecot/ssl-parameters.dat' so that the file is just there and
2016 Aug 02
2
centos 7- boot doesn't wait for startup script to complete
Hi All,I have a general question.? I have an old rc type startup script that I am still using on CentOS 7.? I got it to run by creating the systemd service file... a simple one as shown below, for Myservices.
# used to set up the Myservices onstartup[Unit]Description=Start and stop Myservices[Service]Type=oneshotExecStart=/etc/init.d/Myservices startExecStop=/etc/init.d/Myservices
2018 Feb 15
1
Problem with CentOS package for 2.3.0 and old dependency in systemd with clean install
Ok thanks, for the moment : can I just delete the lines in the
dovecot-init.service file or what is proposed here? It's no problem for
me to make the necessary changes I just need to know which of them
because I don't know if you just need this fiel internally or not.
Thanks
Am 14.02.2018 um 21:28 schrieb Aki Tuomi:
> We are planning to fix this for 2.3.1 release.
>
>
>
2015 Jan 16
4
shutdown -h doesn't
I've got a fresh CentOS 7 test machine, fully patched. The command:
shutdown -h now
surprisingly does not halt the machine. Instead it reboots it. WTF?
I found the following Debian discussion which seems to be the same
issue: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766338>
However, removing kexec-tools in this case did not solve the problem.
Nor does
2014 Sep 26
2
systemd startup on centos 7
Ok I created my script this morning
[Unit]
Description=Connections
After=network.target
[Service]
Type=notify
ExecStart=/home/silentm/bin/mystart
[Install]
WantedBy=multi-user.target
I put it in the correct directory, I rebooted and I see that
my mystart script runs- programs start up but then
they are killed with signal 15...
Is there something else that allows them to continue to run?
the
2014 Aug 10
3
Centos 7 - iptables service failed to start
Hello all:
I did a fresh install of CentOS 7 on a new machine.
I wrote /usr/local/bin/firewall.stop to remove all the firewall rules.
It contains this code:
# Flush the rules
/usr/sbin/iptables -F
# Set the default policies to accept
/usr/sbin/iptables -P INPUT ACCEPT
/usr/sbin/iptables -P OUTPUT ACCEPT
/usr/sbin/iptables -P FORWARD ACCEPT
I wrote /usr/local/bin/firewall.start to set the
2014 Jul 17
2
More systemd-ness: unit file
Ok, I did read
www.freedesktop.org/software/systemd/man/systemd.unit.html and am
still confused. What is it? If it helps, let' suse a real application:
I create in /etc/systemd/system/ the home-ducker.{,auto}mount files.
Where does this unit file go with respect to them? Is it one of them?
2016 Feb 04
3
A question about Samba logging
Hi
May I ask for help with this again please?
I’m trying to ensure that Samba writes its wins.dat file to tmpfs.
I have added these mount commands to /etc/init.d/samba:
case $1 in
start)
mount -t tmpfs tmpfs /var/run/samba
mount -t tmpfs tmpfs /var/cache/samba
/etc/init.d/nmbd start
/etc/init.d/smbd start
2020 Sep 12
3
Server entering Emergency Shell, but continues fine after pressing Enter
On 9/11/20 5:29 PM, Quinn Comendant wrote:
> Those have always reported success (even before I removed the OnFailure option):
In that case, I'd revert the change you made, unlock the root account so
that you can use the emergency shell, let the system boot to an
emergency shell, and collect the output of "systemctl status
initrd-parse-etc.service" and "journalctl -b
2017 May 15
1
centos 7- boot doesn't wait for startup script to complete
Hello,Nothing I have found has solved this issue.? the service starts on boot, but the booting process continues.? When I log in my startup script is still running and finishes up.? that is good at least, but I'd still like to know how to make it wait.
Any feedback is appreciated. Thanks in advance.KM
From: KM <info4km at yahoo.com>
To: CentOS mailing list <centos at