search for: mainpid

Displaying 20 results from an estimated 98 matches for "mainpid".

2016 Jul 12
6
Option configure
...Description=Samba AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/run/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/samba $SAMBAOPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Am 12.07.2016 um 20:53 schrieb Sonic: > On Tue, Jul 12, 2016 at 10:09 AM, Sonic <sonicsmith at gmail.com> wrote: >> Mine use Type=forking, I had some issues with Type=notify > Further testing seems to verify that either type works for start...
2016 Jul 12
1
Option configure
...>> >> Type=notify >> >> NotifyAccess=all >> >> PIDFile=/run/samba.pid >> >> LimitNOFILE=16384 >> >> EnvironmentFile=-/etc/default/samba >> >> ExecStart=/usr/sbin/samba $SAMBAOPTIONS >> >> ExecReload=/bin/kill -HUP $MAINPID >> >> [Install] >> >> WantedBy=multi-user.target >> >> > > that is basically what init scripts do, i.e if fileserver start the > nmbd, smbd and winbindd binaries, if AD DC just start the samba > binary, but is this what Sonic is doing ? > > Ro...
2015 Apr 04
4
systemctl (again)
...# systemctl status timidity >> timidity.service - timidity daemon >> Loaded: loaded (/etc/systemd/system/timidity.service; >enabled) >> Active: failed (Result: exit-code) since Sat ... >> Process: 955 ExecStop=/bin/kill -s TERM $MAINPID >(code=exited, >> status=1/FAILURE) >> Process: 790 ExecStart=/usr/bin/timidity -iAD (code=exited, >> status=0/SUCCESS) >> Main PID: 790 (code=exited, status=0/SUCCESS) >> > ><snip> > >The process exited, so systemd thinks the se...
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
...s: # /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] 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"...
2018 Jun 09
3
Problem with named.service
...eley Internet Name Domain (DNS)   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)   Active: active (running) since Sat 2018-06-09 07:12:50 AST; 1min 17s ago  Process: 2822 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)  Process: 2863 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)  Process: 2859 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF&quot...
2018 Jun 21
3
hosts allow option is not applaying without restart smbd
On Thu, 21 Jun 2018 19:17:14 +0700 Vladimir Eltsov via samba <samba at lists.samba.org> wrote: > Hello. > > I have read man smbcontrol. > > I wrote in start message: > > > I have tried: > > systemctl reload smbd.service > > killall -1 smbd > > pkill -HUP smbd Forget 'systemctl reload' Forget 'killall' Forget 'pkill' >
2015 Apr 04
0
systemctl (again)
...us timidity >>> timidity.service - timidity daemon >>> Loaded: loaded (/etc/systemd/system/timidity.service; >>enabled) >>> Active: failed (Result: exit-code) since Sat ... >>> Process: 955 ExecStop=/bin/kill -s TERM $MAINPID >>(code=exited, >>> status=1/FAILURE) >>> Process: 790 ExecStart=/usr/bin/timidity -iAD (code=exited, >>> status=0/SUCCESS) >>> Main PID: 790 (code=exited, status=0/SUCCESS) >>> >> >><snip> >> >>The...
2018 Jun 21
1
hosts allow option is not applaying without restart smbd
Hai, As Harald showed, this is a known thing, this did hit samba, after the multi threaded support. See also : systemctl cat smbd.service For what works what not. For a reload the kill -HUP MAINPID is, as i know, the only thing that works atm. Is this a AD DC or a member? ( sorry didnt follow the complet thread ) this catch my eye just now. Imo, for a member it should work, but i've not tried it. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-...
2017 Nov 23
7
Compiling Samba 4.7 with systemd support on Fedora 26
...emd unit file looks like as follows: [Unit] Description=Winbindd Service After=syslog.target network.target [Service] Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba Type=notify NotifyAccess=all PIDFile=/var/run/samba/ ExecStart=/usr/local/samba/sbin/winbindd -D ExecReload=/usr/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] @Rowland I am not blaming samba at all, certainly is some sort of systemd+samba issue. I will try increasing the log verbosity and see if I see anything else. Installing samba from rpm works fine, so it would seem fedora package maintainers must be doing something,...
2015 Apr 04
2
systemctl (again)
...an systemctl daemon-reload and rebooted. It is still failing though: # systemctl status timidity timidity.service - timidity daemon Loaded: loaded (/etc/systemd/system/timidity.service; enabled) Active: failed (Result: exit-code) since Sat ... Process: 955 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=1/FAILURE) Process: 790 ExecStart=/usr/bin/timidity -iAD (code=exited, status=0/SUCCESS) Main PID: 790 (code=exited, status=0/SUCCESS) CGroup: /system.slice/timidity.service ...systemd[1]: Started timidity daemon. ...kill[955]: Usage: ...kill[955]: kill [options] &...
2018 Jun 09
0
Problem with named.service
...rkeley Internet Name Domain (DNS)    Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)    Active: active (running) since Sat 2018-06-09 10:00:53 AST; 27s ago   Process: 1821 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)   Process: 2022 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)   Process: 2018 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF&qu...
2017 Sep 25
1
A lot of zombie processes on Debian 9
Can you try with this systemd unit file. Restarting does not close all prosesses with that one. ( you need : ExecReload=/bin/kill -HUP $MAINPID ) Jessie used probely sysv and not systemd, which should explain why there are so many zombies. [Unit] Description=Samba AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/server/samba/bin/var/run/samba.pid Exe...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...mon Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) After=network.target nmbd.service winbind.service [Service] Type=notify NotifyAccess=all PIDFile=/var/run/samba/smbd.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/smbd $SMBDOPTIONS ExecReload=/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] WantedBy=multi-user.target Jeremy Allison via samba kirjoitti 9.1.2018 klo 21:47: > On Tue, Jan 09, 2018 at 07:57:41AM +0200, John Doe via samba wrote: >> I added one testshare /home/testijako and connected to it with the same >> credentials as I would...
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
...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 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.s...
2015 Apr 02
2
systemctl (again)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been trying to get the timidity system running as a daemon. I wrote the following init script: #!/bin/sh # # timidity # ### BEGIN INIT INFO # Provides: timidity # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Add and remove timidity # Description: ### END INIT INFO .
2019 Apr 25
3
Managing samba ad dc with systemd
...-ad-dc.service file with the following content: [Unit] Description=Samba Active Directory Domain Controller After=network.target remote-fs.target nss-lookup.target [Service] Type=forking ExecStart=/usr/local/samba/sbin/samba -D PIDFile=/usr/local/samba/var/run/samba.pid ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target I've created a mask to smbd, nmbd and winbind and I've disabled them following this command: # systemctl mask smbd nmbd winbind # systemctl disable smbd nmbd winbind. But, when I've use systemctl stop samba-ad-dc to stop samba, the status shown is...
2017 Sep 12
0
bind named fails after logrotate
...ernet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Di 2017-09-12 14:27:57 CEST; 2s ago Process: 20714 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE) Process: 20684 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 14496 (code=killed, signal=ABRT) Any suggestions or hints or is that a known problem? logrotate-3.8.6 bind...
2018 Jun 08
1
Problem with named.service
...rkeley Internet Name Domain (DNS)   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)   Active: active (running) since Thu 2018-06-07 21:15:06 AST; 10min ago  Process: 12495 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)  Process: 12824 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)  Process: 12820 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF&qu...
2017 Jun 20
1
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
...mon Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) After=network.target nmbd.service winbind.service [Service] Type=notify NotifyAccess=all PIDFile=/var/run/samba/smbd.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/smbd $SMBDOPTIONS ExecReload=/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] WantedBy=multi-user.target ------------------ cat /lib/systemd/system/nmbd.service [Unit] Description=Samba NMB Daemon Documentation=man:nmbd(8) man:samba(7) man:smb.conf(5) After=network-online.target Wants=network-online.target [Service] Type=notify NotifyAccess=al...
2020 Sep 22
1
starting stoping samba 4.11
...> Description=Samba SMB Daemon > After=network-up.service > Requires=network-online.target network-up.service > > [Service] > Type=notify > NotifyAccess=all > LimitNOFILE=32768 > ExecStart=/usr/sbin/smbd --foreground --no-process-group > ExecReload=/usr/bin/kill -HUP $MAINPID > PermissionsStartOnly=true > Restart=always > RestartSec=1 > Nice=19 > > PrivateTmp=yes > PrivateDevices=yes > ProtectKernelTunables=yes > ProtectKernelModules=yes > ProtectControlGroups=yes > MemoryDenyWriteExecute=yes > CapabilityBoundingSet=CAP_CHOWN CAP_SETG...