search for: pkill

Displaying 20 results from an estimated 109 matches for "pkill".

Did you mean: kill
2017 May 29
2
Proper way to start multiple icecast services through bash script?
...ly handles SIGTERM. > On Mon, May 29, 2017 at 5:27 PM, Walter York <walteryork at hotmail.com> wrote: > >>> #Kill all processes with the name icecast > >>> ps -ef | grep icecast | grep -v grep | awk '{print $2}' | xargs -r > >>> kill -9 use pkill here. That is portable. It has a lot options to select the correct process. Also avoid using signal numbers. they're not portable and bad style. SIGTERM is the default for pkill. with best regards, -- Philipp. (Rah of PH2)
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' > > smbcontrol smbd reload-config This is the one that should work, this should make smbd reload smb.conf You could try 'smbcontrol all reload-config' You should also note, that this will pr...
2002 Jun 20
2
Could see the share
...Now edit /etc/inetd.conf and add the following three lines to the end of the file: netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat 3) pkill -HUP inetd 4) launch http://localhost:901 <http://localhost:901> 5) make the configuration as the following: # Global parameters [global] workgroup = CHAIN-US netbios name = PVCSSHARE wins server = 10.4.34.20 wins support = Yes hosts allo...
2018 Jun 21
2
hosts allow option is not applaying without restart smbd
...ers), differnt versions (4.4.4, 4.6.2...). > >> > >> I have found that changes hosts allow option are not applaying > >> without restart smbd. > >> > >> I have tried: > >> systemctl reload smbd.service > >> killall -1 smbd > >> pkill -HUP smbd > >> smbcontrol smbd reload-config > >> > >> but client I have added does not have access. > >> > >> I see strange messages in system log: > >> > >> Jun 20 15:50:20 nvkzsrv smbd[29943]: [2018/06/20 15:50:20.705223, > >&g...
2016 Sep 05
2
[SOLVED] Re: Feature Request: what about "core stop panic" ?
...ses ? >> >> 1. To my knowledge, no tool exists for this. Is it correct ? >> 2. If such tool do not exist, what would you say about something like >> "core stop panic", "core stop segfault" or whatever ? >> > > > How about just running "pkill -SEGV -f /usr/sbin/asterisk" from the shell? > It seems to comply to what I'm after. Thank you very for sharing this here. > Works for me. > > > >> >> Best Regards >> >> >> >> -- >> ______________________________________________...
2016 Sep 06
5
[SOLVED] Re: Feature Request: what about "core stop panic" ?
On Tue, Sep 6, 2016 at 1:55 AM, Olivier <oza.4h07 at gmail.com> wrote: > Hello, > > After testing "pkill -SEGV -f /usr/sbin/asterisk" on Debian Jessie > platform, I've got several questions : > > > 1. When I issue a "cd /tmp; asterisk -cvvvvvvvvvvvg -U asterisk -G > asterisk" command, and then issue a "pkill -SEGV asterisk" command, > I can read on Aster...
2017 May 29
0
Proper way to start multiple icecast services through bash script?
Philipp, I replaced: ps -ef | grep icecast | grep -v grep | awk '{print $2}' | xargs -r kill -9 with: pkill icecast This works. I did try "pkill -HUP icecast" but it didn't seem to have intended effect of refreshing certificate. ________________________________ From: Icecast <icecast-bounces at xiph.org> on behalf of Philipp Schafft <lion at lion.leolix.org> Sent: Monday,...
2005 Feb 28
1
Samba 3.0.11 port and install issue to solaris 8
...o "Starting smbd..." /usr/local/samba/sbin/smbd -D echo "Starting nmbd..." /usr/local/samba/sbin/nmbd -D ;; 'stop') echo "Stopping smbd and nmbd..." /usr/bin/pkill -x -u 0 smbd /usr/bin/pkill -x -u 0 nmbd rm -f /usr/local/samba/var/locks/smbd.pid rm -f /usr/local/samba/var/locks/nmbd.pid ;; *) echo "usage: smb {start|stop}" ;; esac The accompanyi...
2017 Feb 17
6
Turn on SIP debugging from DialPlan
I have some troublesome numbers that I would like to capture the SIP dialogue when I am calling them. When I am about to dial the number, is there any way to turn on SIP debugging in the dial plan before I make the call? (and turn it off after the call is completed?) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Apr 26
2
libsmb/nmblib.c:receive_packet(1018)
Received the following messages ( scrolling ) in the log.smbd: users could not access the samba server. had to stop the samba daemons. ran a ps -ef | grep smb found many smbd processes running. had to pkill the process, and then re-start samba to make the shares available. Running 3.012 Can't find anything anywhere. Any help would be appreciated. [2005/04/26 16:02:21, 0] libsmb/nmblib.c:receive_packet(1018) select returned -1, errno = Invalid argument (22) [2005/04/26 16:02:21, 0] libsmb/nm...
2017 Mar 14
3
Having problem getting Asterisk to work on CentOS 7
...) = -1 ECHILD (No child processes) rt_sigreturn() = 0 rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f1a0245b250}, {SIG_IGN, [], SA_RESTORER, 0x7f1a0245b250}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 stat("/bin/pkill", {st_mode=S_IFREG|0755, st_size=28336, ...}) = 0 stat("/bin/pkill", {st_mode=S_IFREG|0755, st_size=28336, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid()...
2018 Jun 20
2
hosts allow option is not applaying without restart smbd
Hello. I have a lot of servers with CentOS 7 and samba 4 (classic domain controllers), differnt versions (4.4.4, 4.6.2...). I have found that changes hosts allow option are not applaying without restart smbd. I have tried: systemctl reload smbd.service killall -1 smbd pkill -HUP smbd smbcontrol smbd reload-config but client I have added does not have access. I see strange messages in system log: Jun 20 15:50:20 nvkzsrv smbd[29943]: [2018/06/20 15:50:20.705223,  0] ../source3/lib/access.c:338(allow_access) Jun 20 15:50:20 nvkzsrv smbd[29943]:  Denied connection from...
2012 Jun 13
1
wine client error:0: version mismatch 432/431
Can someone tell me why, despite using a completely clean tree, I keep getting this on a Wine64 build? Code: wine client error:0: version mismatch 432/431. Your wine binary was not upgraded correctly, or you have an older one somewhere in your PATH. Or maybe the wrong wineserver is still running? It's getting on my bloody nerves! TIA
2008 Sep 16
3
iscsi target problems on snv_97
...ccording to netstat -an | grep 3260) to the Windows box through the reboot and for a long time afterwards. The initiator starts a second connection, but it seems that the target doesn''t let go of the old one. Or something. At this point, every time I reboot the Windows system I have to `pkill iscsitgtd` The Solaris system is running S10 Update 4. Every once in a while (twice today, and not correlated with the pkill''s above) the system reports that all of the iscsi disks are unavailable. Nothing I''ve tried short of a reboot of the whole host brings them back. All of...
2016 Mar 08
2
CentOS 7, ctrl-alt-bksp
...quot; MatchIsKeyboard "yes" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection Also, at least with the more minimalist window managers (I usually use either Openbox or dwm) one can also use ctl+alt+F<whatever>, get to a console and do sudo pkill X. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
2018 Jan 23
8
Sending Signal to remote process
I want ssh to forward the SIGTERM signal to the remote command. Example: ssh root at localhost /root/print-signal.py Get PID of ssh: ps aux| grep print-signal Kill the matching ssh process: kill pid-of-ssh Unfortunately only the ssh process itself gets the signal, not the remote command (print-signal.py). The remote command does not terminate :-( How can I make ssh
2018 Jun 21
2
hosts allow option is not applaying without restart smbd
...lot of servers with CentOS 7 and samba 4 (classic domain > controllers), differnt versions (4.4.4, 4.6.2...). > > I have found that changes hosts allow option are not applaying without > restart smbd. > > I have tried: > systemctl reload smbd.service > killall -1 smbd > pkill -HUP smbd > smbcontrol smbd reload-config > > but client I have added does not have access. > > I see strange messages in system log: > > Jun 20 15:50:20 nvkzsrv smbd[29943]: [2018/06/20 15:50:20.705223, 0] > ../source3/lib/access.c:338(allow_access) > Jun 20 15:50:20...
2000 Mar 29
3
Samba 2.0.6 Interfaces
We're had some recurring problems with nmbd's on Solaris 2.7 and Irix 6.5 failing to renew their WINS registrations in a timely manner causing the records to become tombstoned. While we've solved it by issuing "pkill" and "killall", respectively, of nmbd nightly from root's crontab, I wanted to alert the authors and other administrators to the problem so similar workarounds can be implemented where appropriate and, hopefully, a fix can be implemented into 2.0.7 before its release. I've b...
2017 May 01
2
logrotate failed ... (CentOS 6.9)
...ror running non-shared postrotate script for /var/log/clamd.clamsmtp/clamsmtpd.log of '/var/log/clamd.clamsmtp/clamsmtpd.log ' </mail> content of /etc/logrotate.d/clamsmtp /var/log/clamd.clamsmtp/clamsmtpd.log { monthly notifempty missingok postrotate pkill -SIGHUP -f clamd.clamsmtp >/dev/null 2>&1 || : endscript } when looking at ls: <ls -al /var/log/clamd.clamsmtp/> total 572 drwxr-xr-x. 2 clamsmtp mail 4096 May 1 03:15 . drwxr-xr-x. 6 root root 4096 May 1 03:15 .. -rw-r-----. 1 clamsmtp mail 953 May 1 08:43 cla...
2017 May 02
1
logrotate failed ... (CentOS 6.9)
...gt; > Hello, I found your hint several time ago, this didn't solve it ... I don't understand this - killall -HUP clamd.<SERVICE> 2>/dev/null || : + killall -HUP clamd.<SERVICE> > /dev/null 2>&1 || true in the patch as the file has this pkill -SIGHUP -f clamd.clamsmtp >/dev/null 2>&1 || : in comparison /etc/logrotate.d/clamav has this killall -HUP clamd >/dev/null 2>&1 || :