similar to: File locking with smbd

Displaying 20 results from an estimated 9000 matches similar to: "File locking with smbd"

2005 Mar 12
1
popen() fread() system()
I''ve got a client who''s recently been moved onto a CentOS4 machine from a 3.x and is writing: "It looks like there''s one remaining problem now; at several points in the PHP part of the dating software, C- binaries are called using popen(). The binaries work correct (tested at the command line with the proper arguments) The popen() retrieves the correct command
2007 Jun 15
2
secrets.tdb locking fun!
Hi all, After much grief today, we'd like to support the 'TODO' note in source/lib/util_tdb.c :- /* TODO: If we time out waiting for a lock, it might * be nice to use F_GETLK to get the pid of the * process currently holding the lock and print that * as part of the debugging message. -- mbp */ It could have saved us a whole-sale restart of Samba if we could have more easily
2006 Jan 05
4
Apache2 and popen
I''m running Apache2 on windows and I have a controller that issues a popen. class FileController < ApplicationController def index f = IO.popen("dir") @files = f.readlines end end This works using webbrick but on Apache produces... ---------- Errno::ENOENT in File#index No such file or directory - dir RAILS_ROOT: C:/www/teensymud/public/../config/..
2004 Nov 18
1
Forward from Laurent Julliard
Let''s try that again, without Hotmail''s crappy formatting. Dan, I am one of the developer of the FreeRIDE project (the Ruby IDE) and I''m in charge of the FreeRIDE debugger with which we have had a number of problems on Windows now mostly due to the clunky implementation of IO/Process/Signal stuff on Win32. I recently came across your Win32 utils package and
2018 Jul 13
2
Upgrade to 4.1.1 geo-replication does not work
Hi Kotresh, Yes, all nodes have the same version 4.1.1 both master and slave. All glusterd are crashing on the master side. Will send logs tonight. Thanks, Marcus ################ Marcus Peders?n Systemadministrator Interbull Centre ################ Sent from my phone ################ Den 13 juli 2018 11:28 skrev Kotresh Hiremath Ravishankar <khiremat at redhat.com>: Hi Marcus, Is the
2013 Jan 27
1
Modifying Xen migration
Hello everyone, for research purposes I''m working on Xen 3.0.3 and trying to make some modifications to Xen migration. By looking at the documentation, I''ve learned that the part I''m interesting in are handled by two binaries (xc_save and xc_restore), so I thought about modifying just this two binaries instead of recompiling the whole Xen everytime, so what I do is just
2018 Jan 15
5
glusterfs development library
I want to write a python script and visual interface to manage glusterfs, such as creating and deleting volumes.This can be easier to manage glusterfs? But,now ,I execute the glusterfs command using python's subprocess.popen function?such as subprocess.Popen(GLUSTER_CMD, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)...... But this does not feel like a good program, Because it has
2006 Jul 13
1
Problems With IO.popen
Howdy. I am trying to launch an external shell process from my Rails app using IO.popen. The process runs just fine when I am logged in as the user from the shell but when I run it from Rails, the task doesn''t run properly and the output is too truncated to see any errors. Anything special I need to worry about when running shell tasks this way? I have code like the following:
2002 Sep 19
1
ssh and popen-- broken pipe
Hi, My application uses popen to execute UNIX commands. After I replace rsh with ssh, it stopped working. I have made a test C code to reproduce the problem as attached in this email. In the test program, I called popen for ssh command and then pclose right away. I got the following error: kirk 588$ a.out Write failed flushing stdout buffer. write stdout: Broken pipe Any idea what is
2007 Jan 17
2
Using IO.popen to capture stderr?
Hello, I''m trying to write a utility to run an external process and capture it''s stderr. It seems that IO.popen only lets me read the stdout. Any tips for how to read stderr? Mike snippet of code... def process_file(filename) @filename = filename puts "Processing: " + @filename cmdline = "ffmpeg -i " + @filename ffmpeg =
2018 Jan 15
0
glusterfs development library
Maybe consider extending the functionality of http://docs.ansible.com/ansible/latest/gluster_volume_module.html? Best regards, Marcin On Mon, Jan 15, 2018 at 11:53 AM, ?? <mrchenx at 126.com> wrote: > I want to write a python script and visual interface to manage glusterfs, > such as creating and deleting volumes.This can be easier to manage > glusterfs? > But,now ,I execute
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
This only affects non-HostVG volume groups. rhbz#733578 Signed-off-by: Mike Burns <mburns at redhat.com> --- scripts/storage.py | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/storage.py b/scripts/storage.py index 5f7f0e3..047bcd1 100644 --- a/scripts/storage.py +++ b/scripts/storage.py @@ -90,13 +90,19 @@ class Storage: vg =
2002 Oct 28
1
solaris 7 and cvs samba 3.x build - No locking available. Running Samba would be unsafe solaris
Hello, Getting during configure the infamous error: No locking available. Running Samba would be unsafe solaris I went into tests folder and tried summary.c. It fails with the above error. I tried to make the fcntl_lock manually like it tries and got the following: root@raven:/usr/local/samba/source/tests #gcc -m32 -o fcntl_lock fcntl_lock.c fcntl_lock.c: In function `main':
2005 Jan 06
1
FLAC and ID3
> ID3 support was only dropped in the plugins. libFLAC still can > decode FLAC files that have ID3 tags (v1 or v2). it just ignores > them and there are no plans to change that in the future. OK, that's what I thought, but wanted to be sure. I've been updating some metadata handling routines in our application and heard something about this and was curious. > the spec
2007 Dec 01
1
Metadata block requirements
Hello, I have recently found a number of FLAC files that have a PICTURE block as the first metadata block in the file. From the format documentation, it mentions that the STREAMINFO block must be present as the first block. I'm guessing that someone somewhere is not playing nicely with the format, but I just wanted to confirm that this is incorrect so that I can fix the files if they
2018 Jan 15
0
glusterfs development library
On Mon, Jan 15, 2018 at 2:53 AM, ?? <mrchenx at 126.com> wrote: > I want to write a python script and visual interface to manage glusterfs, > such as creating and deleting volumes.This can be easier to manage > glusterfs? > But,now ,I execute the glusterfs command using python's > subprocess.popen function?such as subprocess.Popen(GLUSTER_CMD, >
2005 Nov 23
8
a question about popen() performance on domU
Dear all, When I compared the performance of some application on both a Xen domU and a standard linux machine (where domU runs on a similar physical mahine), I notice the application runs faster on the domU than on the physical machine. Instrumenting the application code shows the application spends more time on popen() calls on domU than on the physical machine. I wonder if xenlinux does some
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group (http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a problem generating a PDF while using popen and wkhtmltopdf. wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what I''m doing: command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q'' IO.popen(command,
2018 Jan 15
1
glusterfs development library
You should try libgfapi: https://libgfapi-python.readthedocs.io/en/latest/ On Mon, Jan 15, 2018 at 9:01 PM, Marcin Dulak <marcin.dulak at gmail.com> wrote: > Maybe consider extending the functionality of > http://docs.ansible.com/ansible/latest/gluster_volume_module.html? > > Best regards, > > Marcin > > On Mon, Jan 15, 2018 at 11:53 AM, ?? <mrchenx at 126.com>
2008 Oct 17
2
R script from Python
Hi, I'm trying to execute R-script from Python. I'm using R 2.7.2, Python 2.5 and WinXP. I don't won't to use Python/R interface because of nature of project. Python code : import subprocess command = 'c:\\Program Files\\R\\R-2.7.2\\bin\\Rterm.exe --vanilla -q <d:\\test\\run\\geneBank.r> d:\\output.out' subprocess.Popen(command).wait() After that, I get error