Displaying 20 results from an estimated 8000 matches similar to: "systemd startup on centos 7"
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
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 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 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
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
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
2018 Aug 21
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
Latest Oracle Linux (7.5) and openssh 7.4 is bundled as an rpm. this runs
fine. if I download openssh 7.6 or 7.7, compile it with the flags
--with-pam and --with-pid-dir=/var/run and install it to /usr/local, modify
the sshd.service file to point to /usr/local/sbin/sshd, the start hangs.
The sshd.service files looks like this:
[Unit]
Description=OpenSSH server daemon
Documentation=man:sshd(8)
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
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
Hello,
I'm trying to configure a daemon (I'm doing tests with "crond" daemon) to send me an email after daemon restart. My "crond.service" file is:
# /etc/systemd/system/crond.service
[Unit]
Description=Command Scheduler
After=auditd.service systemd-user-sessions.service time-sync.target
#OnFailure=crond-notify-email@%i.service
[Service]
2020 Nov 18
3
Help with VirtualBox on CentOS 7
Any Virtualbox on CentOS guru's out there?
I only have 1 VM on my linux host. in the update process to virtualbox
6.1.16 my config was lost. When I run Virtualbox my VM does not show. So I
desire to add it back.
My structure is this.
ls -l /home/silentm/vmware/CentOS\ 64-bit\ LSI/
-rw------- 1 silentm silentm 8684 Aug 13 08:31 CentOS 64-bit LSI.nvram
-rw-r--r-- 1 silentm silentm 0 Feb 27
2014 Oct 27
1
tinydns exceeds "holdoff time" on startup under CentOS 7
Hello listmates,
Somehow or other my DNS services that are part of
the ndjbdns-1.06-1.el7.x86_64 package would not start properly at startup.
When I then start them up using systemctl:
systemctl start dnscache
systemctl start tinydns
they start just fine.
>From the log I got the following for tinydns:
Oct 24 15:01:43 ns99 tinydns[1867]: tinydns: version 1.06: starting: Oct-24
2014 15:01:43
2008 Apr 11
1
odd error compiling zaptel-1.4.10
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/vpmadt032.o
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/GpakApi.o
CC [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/../voicebus.o
LD [M]
/home/silentm/MessageNet/digium/zaptel-1.4.10/kernel/wcte12xp/wcte12xp.o
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
Hellos,
Yes, I did some tests with "OnFailure" attribute, but the result was the same: system didn't sent any mail.
Daemon and script files were:
* crond.service:
* [Unit]
Description=Command Scheduler
After=auditd.service systemd-user-sessions.service time-sync.target
OnFailure=crond-notify-email.service
[Service]
EnvironmentFile=/etc/sysconfig/crond
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
2014 Oct 23
2
httpd on centos 7
I have read the info on apache 2.4...
I added to the bottom of httpd.conf these lines (and restarted httpd)
-------------------------
<Directory /var/www/html>
# old 2.2 config
# Order Allow,Deny
# Allow from all
AllowOverride None
Require all granted
</Directory>
<Directory /home/silentm/public_html/gifs>
AllowOverride None
Require all granted
</Directory>
2008 Mar 31
2
alsa 1.016 compile error on latest kernel centos 5.1
Hi all,
I need to compile alsa-project 1.0.16 on the latest centos 5.1 kernel.
I am getting this error. What to do... ?
CC
[M] /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/sound_oss.o
CC
[M] /home/silentm/MessageNet/alsa-project/alsa-driver-1.0.16/acore/info_oss.o
In file included
from
2017 Mar 14
3
Relaiable ssh tunnel via systemd
We try to run a reliable ssh tunnel vis systemd.
This is the unit configuration file:
{{{
[Unit]
Description=Tunnel For %i
After=network.target
[Service]
User=autossh
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N -R 40443:installserver:40443 -R
8080:installserver:8080
ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u
2005 Sep 02
6
question on cut
I am trying to use cut to tell me the suffix of a file.
for example: echo /home/silentm/log/file.machine.log | cut -d . -f 1-
I was expecting to get .log or log but I get the entire string echoed back.
doing the opposite gave me what I expected:
echo /home/silentm/log/file.machine.log | cut -d . -f 1
gives me
/home/silentm/log/file
I am trying to find a way to test if the file ends in .log?
2012 Oct 24
1
Getting 8139cp (1.3) and 8139too (0.9.28) on Centos 5.8
Subject says it all.
How can I get the 1.3 version and 0.9.28
to compile on CentOS 5.8 ???
When I compile the two as modules I get errors.
My Makefile is:
obj-m += 8139cp.o 8139too.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
The errors I get are:
Entering directory
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