Displaying 20 results from an estimated 10000 matches similar to: "systemd services and Restart?"
2017 Jun 28
0
systemd services and Restart?
On Wed, Jun 28, 2017 at 12:54:43PM +0000, James Pearson wrote:
> However, I notice that this option is only used in a few OS provided
> service unit files - and was wondering about the wisdom of adding this
> capability to other daemons/services? (e.g. chronyd or ntpd, crond,
> rpcbind, etc, etc) - not that these daemons are likely to crash and need
> restarting that often ...
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]
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
2014 Aug 18
2
need-restart ?
Hi,
today I updated the glibc packages on some CentOS machines. After the
Update I checked which
services/processes I have to restart "yum -C ps" or "needs-restarting"
At the most machines I get no information about necessary restarts, but
at two machines a long listing :
1 : /sbin/init
386 : /sbin/udevd-d
659 : /sbin/udevd-d
999 : /usr/sbin/vmtoolsd
1103 : auditd
1128 :
2015 May 24
3
Systemd
On 5/23/2015 11:22 PM, Luigi Rosa wrote:
> Kirk Bocek wrote on 24/05/2015 04:37:
>> So I've built my first CentOS 7 host and am learning all the new ways
>> of doing
>> things. I setup and enabled ntpd but after a reboot I get:
>
> In CentOS 7 is bettere to use chrony, here's an howto
>
> http://linoxide.com/linux-command/chrony-time-sync/
>
So
2015 May 24
4
Systemd
On 5/24/2015 12:22 PM, Gordon Messmer wrote:
> On 05/24/2015 11:41 AM, Kirk Bocek wrote:
>> to activate your selected daemon. I just used the new systemd commands,
>> thinking that would be enough. So I tried that and rebooted. Nope, same
>> problem:
>
> chronyd and ntpd both use UDP port 123, so each will terminate the
> other when it starts. If both are enabled,
2020 Apr 06
2
CentOS 8.1 cron does not send mail
On 6 Apr 2020, at 12:21, Stephen John Smoogen wrote:
> On Mon, 6 Apr 2020 at 04:16, Tobias Kirchhofer <collect at shift.agency>
> wrote:
>
>> On 5 Apr 2020, at 21:20, Tobias Kirchhofer wrote:
>>
>>>>>> we experience difficulties with crond behaviour sending mail
>>>>>> since
>>>>>> CentOS 8.1. The cron job is the
2019 Nov 21
0
Issue with "ExecStartPost" attribute in systemd daemon faile
Gesti? Servidors wrote:
>
> 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
>
2007 Feb 07
2
Slow clock on CentOS 4.4 in a VMware VM
I'm running a CentOS 4.4 VM on a Windows XP host with VMware Server,
and have the problem that my clock runs too slow (it happens in
VMware Workstation as well). It loses between 30 and 45 seconds
every minute! This is a known problem and can be fixed by adding
"nosmp noapic nolapic" to the boot command according to VMware tech
note ID 1420. However, despite adding these
2013 Feb 26
1
Samba 4.0.3 on CentOS 6.3 as PDC.
Any help here? I have included all of the output of the suggested diags that Thomas said I should run, but I admit that I'm not sure what I'm looking for, as I'm not familiar with RPC functionality on Linux. Something is not working with RPC on my Samba 4.0.3 server. (FWIW, it doesn't work with IPTables stopped either.)
> On Mon, Feb 25, 2013 at 2:21 PM, Mike Stroven wrote:
2018 Jun 13
4
Samba 4.8 RODC not working
On Wed, 13 Jun 2018 10:05:23 +0200 (CEST)
Gaetan SLONGO <gslongo at it-optics.com> wrote:
> Hi Rowland,
>
>
> Same, as said; winbind isn't started :-)
>
>
>
> [root at dmzrodc ~]# ps ax | egrep "ntp|bind|named|samba|?mbd"
> 650 ? Ss 0:00 /usr/sbin/ntpd -u ntp:ntp -g
> 1205 ? Ss 0:00 /usr/sbin/samba -D
> 1225 ? S 0:00 /usr/sbin/samba
2019 Nov 22
0
Issue with "ExecStartPost" attribute in systemd daemon fail
Hi,
it seems there is no difference in "systemctl status crond"
:(
El 22/11/2019 a las 13:00, centos-request at centos.org<mailto:centos-request at centos.org> escribi?:
Message: 3
Date: Thu, 21 Nov 2019 14:41:25 +0100
From: Leon Fauster <leonfauster at googlemail.com><mailto:leonfauster at googlemail.com>
To: centos at centos.org<mailto:centos at centos.org>
2015 Jun 30
6
RPC server not available when windows client attempts to join samba AD
I am installing a new Samba 4.2 Active Directory server on CentOS 7. I
followed the Wiki instructions on how to create the server. I am using
sernet-samba 4.2 binaries. Everything seems to be OK on the Linux side but
I cannot get any windows client to successfully join the domain. Each
attempt returns the following error message "RPC Server in not available".
Below are the config file
2016 Dec 27
2
chronyd configuration as a local ntp server
This is for centos 7 that has chronyd 2.1.1
I am looking into how to use chronyd as my local ntp server.
On my old servers with ntpd I had local access control lines like:
restrict 192.168.128.0 mask 255.255.255.0 nomodify notrap
But in looking for documentation on chronyd I did not find anything on
this at:
https://chrony.tuxfamily.org/doc/2.1/manual.html
In the actual /etc/chronyd.conf
2019 Oct 24
2
chronyd vs ntpd on SambaAD ?
Hi,
As Centos 7 and Fedora defaults to chronyd [2] , should I use ntpd for
some reason [3] ? I based my configurations on [1] which use ntpd ...
but I thinking change for chronyd , change ntp deamons could outage the
samba service and client computers ?
Thanks
[1]
https://negativo17.org/samba-4-active-directory-with-bind-dlz-zones-dynamic-dns-updates-windows-static-rpc-2/
[2]
2016 Dec 27
2
chronyd configuration as a local ntp server
AFAIK the only thing needed to make your host an NTP server using chrony
is to set the allow line to the network address in CIDR format of the
network you want to be served, and uncomment it. The restart chronyd.
You also need to ensure that port 123 (NTP) is open to your internal
network on your filrewall.
I have a CentOS 6 box that is an NTP server for my network. CentOS 7
works the same
2016 Aug 22
1
CentOS 7, memory hungry (2.5GB) without user and heavy services running
Hello,
The last weekend, the VM with CentOS 7
(kernel-3.10.0-327.28.2.el7.x86_64) was running with 2.5GB of used memory,
but without users connected, and heavy services running. Three minutes
after reboot, the o.s. is running with 114MB used. ?Why the 62% of memory
is used if the o.s. does not have an intensive load?
top sorted by memory:
top - 12:55:34 up 8 days, 21:41, 1 user, load
2018 Jun 13
2
Samba 4.8 RODC not working
On Wed, 13 Jun 2018 09:46:03 +0200 (CEST)
Gaetan SLONGO <gslongo at it-optics.com> wrote:
> Hi,
>
> Here is the current process list. We can see missing winbind and *mbd
> processes :
>
>
>
> [root at dmzrodc ~]# netstat -plaunt | egrep "ntp|bind|named|samba|?mbd"
I wouldn't worry about 'winbind' not being in the output of the above
2013 Feb 07
2
Too Many Running Process
Dear List Users Greetings,
i have come across the problem where CentOS 6.3 x64 has more than 700
processes running. i am not sure where to start, what in normal or
abnormal.
[root at jet]# ps -A
PID TTY TIME CMD
1 ? 00:00:03 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 migration/0
6
2012 Apr 24
5
Not Quite Minimal CentOS 6.2
Hi All,
I a working on configuring a not-quite minimal installation of CentOS 6.2. I
tried doing the "minimal" installation available with the installer, but it's
a bit too minimal to be useful. So I'm cutting down from a less minimal
starting place. I'm pretty familiar with 5.x, but what I'm finding in 6.2 is a
lot of new stuff, and a lot of odd behavior. For example,