search for: killmode

Displaying 20 results from an estimated 24 matches for "killmode".

Did you mean: dialmode
2014 Aug 15
2
systemd and httpd
...7 server httpd stops running after about two minutes or so. strace shows me the process is asking for a password, and failing to get one, times out. In reading the docs I see an option to systemd: --no-ask-password. Can anyone tell me where and how to set this? As a workaround, I added "KillMode=none" to httpd.service, but I'd rather use the option to just not ask for a password. Thanks, Jack
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
...c/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] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=10s ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" [Install] WantedBy=multi-user.target My "test.sh" is very simple: #!/bin/sh echo "CROND is restarting" | /usr/bin/mailx -s "crond failure notification" myemailad...
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
...ere: * 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 ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target * crond-notify-email.service: * [Unit] Description=crond failure email notification After=crond.service Requires=crond.service [Service] Type=oneshot ExecStart=/etc/systemd/system/mail-notification.sh *...
2016 Sep 07
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
...get systemd-journald-dev-log.socket nss-lookup.target local-fs.target remote-fs.target dahdi.service misdn.service lcr.service wanrouter.service mysql.service postgresql.service Wants=network-online.target Conflicts=shutdown.target [Service] Type=forking Restart=no TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SysVStartPriority=2 ExecStart=/etc/init.d/asterisk start ExecStop=/etc/init.d/asterisk stop ExecReload=/etc/init.d/asterisk reload My /etc/init.d/asterisk file is sourcing my /etc/default/asterisk which includes an (uncommented) line COREDUMP=yes. I als...
2019 Aug 31
1
CVE-2019-11500: Critical vulnerability in Dovecot and Pigeonhole
Daniel, thanks so much for the detailed pointers. So it turns out to be both the evil that is systemd and an overzealous upgrade script. Apollon, should I raise a Debian bug for this? As for reasons, how do 50k proxy session on the proxy servers and 25k imap processes on the mailbox servers sound? Even on a server with just 6k users and 7k imap processes that causes a massive load spike and a
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
...scription=Command Scheduler > After=auditd.service systemd-user-sessions.service time-sync.target > #OnFailure=crond-notify-email@%i.service > > [Service] > EnvironmentFile=/etc/sysconfig/crond > ExecStart=/usr/sbin/crond -n $CRONDARGS > ExecReload=/bin/kill -HUP $MAINPID > KillMode=process > Restart=on-failure > RestartSec=10s > ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" > > [Install] > WantedBy=multi-user.target > My "test.sh" is very simple: > #!/bin/sh > echo "CROND is restarting" | /usr/bin/mailx -s &qu...
2019 Nov 22
0
Issue with "ExecStartPost" attribute in systemd daemon fail
...c/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] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=10s ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" [Install] WantedBy=multi-user.target My "test.sh" is very simple: #!/bin/sh echo "CROND is restarting" | /usr/bin/mailx -s "crond failure notification" myemailad...
2020 Mar 03
1
start/stop ctdb
# tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check Database integrity is OK and has 18 records. Guess no? Am 03.03.2020 um 10:42 schrieb Ralph Boehme: > tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check
2020 Apr 06
0
CentOS 8.1 cron does not send mail
...tting a custome crond.service in /etc/systemd/system with [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target sssd.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=30s [Install] WantedBy=multi-user.target # ==== would fix the race. My apologies for not being clearer. > It is a kind of race condition which takes place only in the beginning > when sssd is set. Usually crond is in this use case already running,...
2018 Aug 21
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
...ption=OpenSSH server daemon Documentation=man:sshd(8) man:sshd_config(5) After=network.target sshd-keygen.service Wants=sshd-keygen.service [Service] Type=notify PIDFile=/var/run/sshd.pid EnvironmentFile=/etc/sysconfig/sshd ExecStart=/usr/local/sbin/sshd $OPTIONS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=42s [Install] WantedBy=multi-user.target OPTIONS get's picked up from /etc/sysconfig/sshd and has "-D -4" as the options. systemctl start sshd hangs and it seems like openssh isn't notifying systemd that it's started. For awhile, it se...
2016 Sep 08
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
...hdi.service >> misdn.service lcr.service wanrouter.service mysql.service postgresql.service >> Wants=network-online.target >> Conflicts=shutdown.target >> >> [Service] >> Type=forking >> Restart=no >> TimeoutSec=5min >> IgnoreSIGPIPE=no >> KillMode=process >> GuessMainPID=no >> RemainAfterExit=yes >> SysVStartPriority=2 >> ExecStart=/etc/init.d/asterisk start >> ExecStop=/etc/init.d/asterisk stop >> ExecReload=/etc/init.d/asterisk reload >> >> >> My /etc/init.d/asterisk file is sourcing my...
2020 Apr 06
2
CentOS 8.1 cron does not send mail
...with > > [Unit] > Description=Command Scheduler > After=auditd.service systemd-user-sessions.service time-sync.target > sssd.service > > [Service] > EnvironmentFile=/etc/sysconfig/crond > ExecStart=/usr/sbin/crond -n $CRONDARGS > ExecReload=/bin/kill -HUP $MAINPID > KillMode=process > Restart=on-failure > RestartSec=30s > > [Install] > WantedBy=multi-user.target > > # ==== > > would fix the race. My apologies for not being clearer. Just wondering here, if the system crond.service file is being modified/fixed with an update by rpm package, wi...
2017 Aug 01
0
Gluster operations speed limit
Adding Mohit who is experimenting with cgroups has found some way to restrict glustershd's CPU usage using cgroups. Mohit maybe you want to share the steps we need to follow to apply cgroups only to glustershd. Thanks. Ravi On 08/01/2017 03:46 PM, Alexey Zakurin wrote: > Hi, community > > I have a large distributed-replicated Glusterfs volume, that contains > few hundreds
2015 Oct 30
3
asterisk 13 systemd
hi, is there somebody using systemd start script on fedora/centos7 + asterisk 13 in production? i have strange problem with high cpu usage when asterisk is started via systemd thanks for feedback p.s. systemd script is not in vanilla asterisk. only in fedora package info https://reviewboard.asterisk.org/r/2730/ -- --------------------------------------- Marek Cervenka
2020 Mar 03
2
start/stop ctdb
...mpty=/usr/local/samba/etc/ctdb/nodes [Service] Environment=PATH=$PATH:/usr/local/samba/bin:/bin Type=forking LimitCORE=infinity LimitNOFILE=1048576 PIDFile=/usr/local/samba/var/run/ctdb/ctdbd.pid ExecStart=/usr/local/samba/sbin/ctdbd_wrapper start ExecStop=/usr/local/samba/sbin/ctdbd_wrapper stop KillMode=control-group Restart=no [Install] WantedBy=multi-user.target ---- The errors has gone, but still throwing: Mar? 3 10:31:52 ctdb1 systemd[1]: Starting CTDB... Mar? 3 10:31:52 ctdb1 ctdbd[1375]: CTDB starting on node Mar? 3 10:31:52 ctdb1 ctdbd[1385]: Starting CTDBD (Version 4.11.6) as PID: 138...
2017 Aug 01
3
Gluster operations speed limit
Hi, community I have a large distributed-replicated Glusterfs volume, that contains few hundreds VM's images. Between servers 20Gb/sec link. When I start some operations like healing or removing, storage performance becomes too low for a few days and server load becomes like this: 13:06:32 up 13 days, 20:02, 3 users, load average: 43.62, 31.75, 23.53. Is it possible to set limit on
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
2020 Mar 03
5
start/stop ctdb
Hi, i updated the variables for my scenario. But CTDB wont start: Mar? 3 09:50:50 ctdb1 systemd[1]: Starting CTDB... Mar? 3 09:50:50 ctdb1 ctdbd[24663]: CTDB starting on node Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Starting CTDBD (Version 4.11.6) as PID: 24667 Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Created PID file /usr/local/samba/var/run/ctdb/ctdbd.pid Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Removed
2016 Jun 14
3
shutdown_clients has no effect on doveadm stop
I try to restart dovecot 2.2.24 (for changing limits) without killing all IMAP and POP3 sessions. dovecot(1) tells me: When shutdown_clients is set to no, existing sessions will continue to use the old settings, after a dovecot reload. Also all sessions will keep alive after a dovecot stop. By default all active sessions will be shut down. According to my