search for: pidfil

Displaying 20 results from an estimated 925 matches for "pidfil".

Did you mean: pidfile
2015 Jun 02
3
daemon in /etc/init.d/functions creates no pifile?
Hi, we started using centos7 to run kvm+libvirt. For novnc to virtual machines I like to start websockify as a daemon by libvirt (as a hook) Under Debian I used the line: # start-stop-daemon --start --chuid $RUNUSER --make-pidfile --pidfile $PIDFILE --startas $PROGRAM -- $OPTIONS which creates a nice pidfile. In Centos I figured out, to include /etc/init.d/functions and I tried: # daemon --user $RUNUSER --pidfile=$PIDFILE $PROGRAM $OPTIONS But this seems not to create a pidfile at all. It checks only if a pidile exist al...
2017 May 12
3
samba-ad restart fails occasionally
...ION_REFUSED) - LDAP queries to that dc fail with query error: Transport endpoint is not connected Rebooting the DC solves everything, but scheduling a reboot every morning is not an elegant solution. :-) Here is the part of the sernet-samba-ad script where the restart occurs: > PID=$(cat ${PIDFILE}) > > if ! (readlink /proc/${PID}/exe | grep -q "^${BINARY}") ; then > log_warning_msg "Warning: ${BINARY} not running with PID=${PID} from ${PIDFILE} ! " > exit 0 > fi > > kill -15 ${PID} > for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1...
2009 Sep 05
5
[tftpd PATCH 0/5] pidfile option and syslog fix
...em independently. The bottom one was needed for a successful build here; the top one contains all the modifications you requested on IRC, and more. Meanwhile I hit one of the four stray TABs in tftpd.c, and decided to get rid of them. Comments welcome. --- Ferenc Wagner (5): Implement the --pidfile option Untabify tftpd.c Fix comment typo Ensure that the log socket is available for the child Locase datarootdir, so mandir et al. find their defaults MCONFIG.in | 2 +- tftpd/tftpd.8.in | 5 ++++ tftpd/tftpd.c | 68 +++++++++++++++++++++++++++++++++++++...
2003 Jun 26
7
[Bug 606] sshd [-t] should warn when cannot create pid file
http://bugzilla.mindrot.org/show_bug.cgi?id=606 Summary: sshd [-t] should warn when cannot create pid file Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org
2015 Jun 02
1
daemon in /etc/init.d/functions creates no pifile?
...te: >> Hi, >> >> we started using centos7 to run kvm+libvirt. >> For novnc to virtual machines I like to start >> websockify as a daemon by libvirt (as a hook) >> >> Under Debian I used the line: >> # start-stop-daemon --start --chuid $RUNUSER --make-pidfile --pidfile >> $PIDFILE --startas $PROGRAM -- $OPTIONS >> which creates a nice pidfile. >> >> In Centos I figured out, to include /etc/init.d/functions and I tried: >> # daemon --user $RUNUSER --pidfile=$PIDFILE $PROGRAM $OPTIONS <snip> Sorry I missed the beginn...
2005 Jan 28
2
pidfile disabled
The pidfile is not being created on the server I am running icecast2 on (FreeBSD 4.11). The changelog in the source directory says the pidfile was disabled. How was it disabled, why was it disabled, and is there any reason I shouldn't re-enable it? Joe
2018 Sep 13
2
Re: [PATCH v2 nbdkit 5/5] tests: Add a helper function which waits for nbdkit to start up.
...looking at functions.sh. > > There is one additional change: In the test-memory*.sh tests, nbdkit > used to run in the foreground, but that seems to be a consequence of > some left over debugging. I changed it so they work like the other > tests. > --- > +# start_nbdkit -P pidfile args... > +# > +# Run nbdkit with args and wait for it to start up. If it fails to > +# start up, exit with an error message. Also a cleanup handler is > +# installed automatically which kills nbdkit on exit. > +start_nbdkit () > +{ > + # -P <pidfile> must be the fi...
2019 Sep 12
1
[libnbd PATCH] nbdsh: Add test of handling globals in -c
...ng with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +# Test interaction with nbdkit, and for correct global handling over -c. +nbdkit --exit-with-parent --version || exit 77 + +sock=`mktemp -u /tmp/nbdsh.XXXXXX` +pidfile=test-dump.pid +trap 'status=$?; rm -f $sock $pidfile; exit $status' INT QUIT TERM EXIT ERR +nbdkit -v -P $pidfile --exit-with-parent -U $sock pattern size=1m & + +# Wait for the pidfile to appear. +for i in {1..60}; do + if test -f "$pidfile"; then + break + fi + sle...
2016 Jul 12
2
Option configure
Funny current debian service files use a wrong PIDFile path (should be /var/run/amba/samba.pid). If I use Type=forking and an wrong PIDFile systemctl start samba must be CTRL-C'ed. Type=notify works with or without an proper PIDFile. Am 12.07.2016 um 22:47 schrieb Sonic: > On Tue, Jul 12, 2016 at 4:29 PM, Achim Gottinger <achim at ag-w...
2008 Jul 24
4
DO NOT REPLY [Bug 5633] New: --pidfile option for rsync daemon
https://bugzilla.samba.org/show_bug.cgi?id=5633 Summary: --pidfile option for rsync daemon Product: rsync Version: 3.0.3 Platform: Other OS/Version: Linux Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: arekm@mav...
2014 Nov 21
3
Bug#770456: Please start a qemu process in domain 0.
...1e23a1395f1fe4a5da47287a4 Author: Ian Campbell <ijc at debian.org> Date: Fri Nov 21 11:27:45 2014 +0000 Start a qemu process in dom0 to service the toolstacks loopback disk attaches. This is used to e.g. run pygrub on a VM with a qcow2 disk image. Also, remove correct pidfile when stopping xenconsoled. diff --git a/debian/changelog b/debian/changelog index 484583f..ff48d6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +xen (4.4.1-4) UNRELEASED; urgency=medium + + [ Ian Campbell ] + * Start a qemu process in dom0 to service the toolstacks loop...
2014 Nov 27
0
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...an Campbell <ijc at debian.org> > Date: Fri Nov 21 11:27:45 2014 +0000 > > Start a qemu process in dom0 to service the toolstacks loopback disk attaches. > > This is used to e.g. run pygrub on a VM with a qcow2 disk image. > > Also, remove correct pidfile when stopping xenconsoled. > > diff --git a/debian/changelog b/debian/changelog > index 484583f..ff48d6a 100644 > --- a/debian/changelog > +++ b/debian/changelog > @@ -1,3 +1,12 @@ > +xen (4.4.1-4) UNRELEASED; urgency=medium > + > + [ Ian Campbell ] > + * Start a q...
2007 Sep 28
2
DO NOT REPLY [Bug 4998] New: [PATCH] rsync returns from fork before a valid pidfile is created
https://bugzilla.samba.org/show_bug.cgi?id=4998 Summary: [PATCH] rsync returns from fork before a valid pidfile is created Product: rsync Version: 2.6.9 Platform: Other URL: http://bugs.gentoo.org/show_bug.cgi?id=192075 OS/Version: FreeBSD Status: NEW Severity: normal Priority: P3 Component: c...
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
Hi, I''ve installed puppet gem on freebsd 6.1 and wrote a simple startup script for puppetmasterd. It starts fine, but doesn''t create the pidfile, so I can''t stop it. Here is my script: #!/bin/sh utility_enable=${utility_enable-"NO"} utility_flags=${utility_flags-""} utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"} . /etc/rc.subr name="puppetmasterd" rcvar=`set_rcvar` co...
2018 Sep 11
2
Re: [PATCH nbdkit 4/4] tests: Add a helper function which waits for nbdkit to start up.
...F THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > # SUCH DAMAGE. > > +# start_nbdkit args... > +# > +# Run nbdkit with args and wait for it to start up. If it fails > +# to start up, exit with an error message. > +start_nbdkit () > +{ > + # Find the -P <pidfile> argument. > + pidfile= > + for i in `seq 1 $#`; do Is seq universally available, even on BSD? It's not in POSIX. Since you're already using bashisms, you could instead do for (( i=1; i <= $#; i++)); do or even: for i in {1..$#}; do and drop the need for seq or ev...
2006 Sep 01
2
Making Mongrel play well with Monit
...th 6 mongrels in it. I want to monitor them individually for process hangs (and then restart them) and this is the solution I came up with: Here''s my configuration file for monit (/usr/local/etc/monitrc): [snipped relevant bits] ------ #check lighttpd process check process lighttpd with pidfile /var/run/lighttpd.pid start program = "/usr/local/etc/rc.d/lighttpd.sh start" stop program = "/usr/local/etc/rc.d/lighttpd.sh stop" if totalmem > 200.0 MB for 5 cycles then restart group server #check pound process check process pound with pidfile /var/run/...
2005 Aug 05
1
starting asterisk with nice -5
...ebegin "Starting asterisk PBX (as root)" fi start-stop-daemon --start --exec /usr/sbin/asterisk \ ${OPTS} -- ${ASTERISK_OPTS} eend $? } stop() { ebegin "Stopping asterisk PBX" start-stop-daemon --stop --pidfile /var/run/asterisk/asterisk.pid eend $? } ====================== I was under impression that modifying the line: start-stop-daemon --start --exec /usr/sbin/asterisk \ to: start-stop-daemon --start --exec /usr/bin/nice -n -5 /usr/sbin/asterisk \ would to the trick but it doesn't. If...
2005 Jan 26
3
crahsing app
...ly crashing again. ---------------------------------------------- ---------------------------------------------- CRASH: Tue Jan 25 17:23:58 EST 2005 Start Line: ./hlds_i686 -game cstrike -debug +ip 192.168.0.201 +port 27015 +maxplayers 11 -autoupdate +map cs_tiki -steamuser ***** -steampass ***** -pidfile hlds.1560.pid Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `./hlds_i686 -game cstrike -debug +ip 192.168.0.201 +port 27015 +maxplayers 11 -'. Program terminated with signal 11, Segmentation fault. #0 0xb3aaaaab in ?? () #0 0xb3aaaaab in ?? ()...
2017 Nov 23
7
Compiling Samba 4.7 with systemd support on Fedora 26
The systemd 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. Instal...
2014 Nov 27
3
Bug#770456: Bug#770456: Please start a qemu process in domain 0.
...t; > > Date: Fri Nov 21 11:27:45 2014 +0000 > > > > Start a qemu process in dom0 to service the toolstacks loopback disk attaches. > > > > This is used to e.g. run pygrub on a VM with a qcow2 disk image. > > > > Also, remove correct pidfile when stopping xenconsoled. > > > > diff --git a/debian/changelog b/debian/changelog > > index 484583f..ff48d6a 100644 > > --- a/debian/changelog > > +++ b/debian/changelog > > @@ -1,3 +1,12 @@ > > +xen (4.4.1-4) UNRELEASED; urgency=medium > > + >...