Displaying 20 results from an estimated 3000 matches similar to: "solaris 7 and cvs samba 3.x build - No locking available. Running Samba would be unsafe solaris"
2001 Dec 15
0
smbsh error
I am having a problem with smbsh. I get the following error after I enter my
username and password:
ERROR: can't get smbw shared lock (Invalid argument)
I am running linux 7.2 with samba 2.2.2.
The error message is produced from the function lockit(void) in
smbwrapper/shared.c.
The error originates in file lib/util.c in function:
fcntl_lock(shared_fd,SMB_F_SETLKW,0,1,F_WRLCK)
fcntl_lock
1999 Aug 26
0
smbsh always segfaults
Version 2.0.5a (same prob w/2.0.4b, though). smbsh segfaults after I
enter my password. As root, it just seg faults. As my login user, it
dumps core.
Attached is a script of an strace of it.
Running RH 6.0, kernel 2.2.10, AMD K6-2/350, 64M RAM. Configure options
were:
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{pref} --libdir=/etc \
--with-lockdir=/var/lock/samba
2008 Nov 21
0
FW: Closing sessions and smbstatus
Perhaps I can ask a slightly different question? Is there some kind of
test I can do on a hung process so I can determine whether it's active
or not, in a script? The output of strace is below but it doesn't mean
much to me I'm afraid. Is there a straight forward difference between
strace for a "real" connection and one of my hung ones that I can use to
manually kill them?
2014 Dec 16
1
Fwd: samba & Oracle ACFS Issues
Hi Volker and many thanks for your response
According to your questions
>Please remove the SO_RCVBUF and SO_SNDBUF entries.
>Oh, that's ancient. Do you have any possibility to move to
>"security=user"?
The smb.conf file was inherited from HP-UX system. Ok,
I'll remove them
>Did you try "posix locking = no"? That is mostly criticial
>if
2004 Nov 16
1
Samba 3.0.4 and DOS 6.2.2 - MSDOS Copy problem
Hello, I am having a problem with Samba 3.0.4 and DOS clients. The
MSDOS COPY command will not work on mapped directories. When I try to
run the COPY command I get an "File not found" error message. This only
happens on DOS, all other OS's work fine.
I have noticed that someone else on this list has also run into this
problem, but no answer/work-around is posted.
Here is my
2013 Sep 25
3
Dovecot extremely slow!
Please help,
Dovecot is running extremely slow for the last couple of weeks and it
seems to be getting worse (or my patience running short).
I attach the 10-master configuration and the log file after running
strace according to: http://wiki.dovecot.org/Debugging/ProcessTracing
I can click on an email and wait for a minute or more before receiving a
connection dropped or no error at all. I
2016 Jul 18
0
how to disable 'pcap cache not loaded' messages?
Dear All,
We're running smbd "Version 4.3.9-Ubuntu", and it populates our log
files with these two lines per every connect:
===
[2016/07/18 18:42:31.544726, 1]
../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2016/07/18 18:42:31.544780, 1]
../source3/smbd/server_reload.c:69(delete_and_reload_printers)
pcap cache not loaded
2002 Oct 29
1
strange locks
Hi,
I added these lines to smb.conf:
kernel op locks = false
op locks = false
strict locking = true
so I could see some locks from the unix level.
It worked sorta, I see the locks for big files
(but not the locks I was expecting), but for little
files it shows nothing:
# ./lock_list /opt/testsambashare/mattest.doc
# ./lock_list /opt/testsambashare/contents.doc
0 22086 W
2006 May 22
1
Samba client file locking
Hello,
I am trying to work out the file locking mechanism on our Samba server when
connecting from Linux clients. I am getting some strange behaviour in a
mixed Linux/Windows environment when multiple clients open/lock the same
file for writing. Everything seems fine when a Windows client creates the
lock, but if a Linux client creates the lock, we get either two or more
Linux clients being able
2007 Jan 22
0
checking a locked file
I've been trying to determine if a file is locked by samba from unix. Is
there some magic incantation to find this? E.g. if someone is copying a file
in from a windows system via samba.
I'm using the default locking parameters on 3.0.10 with a 2.6 kernel. I've
tried checking posix byte ranges, posix locking, and kernel op locks.
Here is my test program:
#include <sys/types.h>
2002 Feb 26
0
Samba lock X Unix fcntl() lock
Hi
I look at list archives and at samba docs but I did not found ...
please can some one help me?
I have to write a unix program that need to check if it can write to a file and place the apropriate locks before write. Those files are in a Samba share. I intend to use fcntl() function to check and set the locks.
I wrote a test program to see if the fcntl() function can see the samba locks
2004 Jan 23
1
NFS re-export 64bit / 32bit locking issue?
Hi all,
I've got kind of strange setup, wherein all of my data is on a big NFS
server (RH linux 8.0 running the 2.4.18 kernel and nfs-utils 1.0.1-2.80)
and my Samba 3.0.0 PDC server (RH linux 7.3 w/ 2.4.18 kernel, nfs-utils
0.3.3-6.73) mounts the NFS export with the following options:
rw,vers=3,wsize=8192,rsize=8192,hard,intr
This mounted partition is then re-exported to the windows users
2013 Mar 05
1
Maildir or Mdbox and expunge messages.
Hello.
I tested dovecot's work with expunge messages on Mdbox over strace (see
at tail of message). As I can see dovecot process opens old storage m.*
file, reads it content, opens new temporary file, writes in this one
content and rename this new one to m.(*+1).
How fast this algorithm works on system with about 10000 users and 5Tb
data? I will use mdbox_rotate_interval for delayed expunge
2008 May 20
1
The specified network name is no longer available 3.0.25 RHEL4
I have a reproducible intermittent error large site - "The specified network name is no longer available".
This happens when copying large files. Below is part of log level 10 output & strace. Sorry for the long posting. I will probably need to put the loglevel 10 attached to a bugzilla - but thought I would try the lists initially.
RHEL4
samba-3.0.25b-1.el4_6.4
2004 Feb 12
3
More Info: Mac permission problems after Debian update
There seems to be a few people having this problem, but not much response.
I've dug into the logs, and while I don't know exactly what I am looking
at, I think I may have found something that may make sense to someone.
A short recap. Samba was working fine, until I did a Debian security
update, which upgraded my Samba to 2.2.8a. Now, I can create files on a
mounted Samba share in a
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
The latest version that Western Digital has shipped with the My cloud devices accesses the disk
about twice a minute. The access to /dev/sda2 is causing the system to keep the disk from going
into standby mode. I don't understand the call to quotactl every minute when no one is trying to access the share.
An strace of one of the processes shows the following:
poll([{fd=13,
2003 Dec 02
1
fcntl lock failed at large offset: pretty urgent
Debian Woody with security updates
Linux kernel 2.2.25
Samba 3.0.0
libc6 2.2.5
The problem I have is with a windows application that uses samba. This
application is crucial for the organization, so if this is not fixed,
and soon, we will have to ditch Samba and move to a windows server.
I *really* don't want to do this, as Samba has been working so well for
years now and billg is rich enough
2002 Sep 25
2
smbd process with high cpu utilization.
One of my smbd processes used 100% cpu. I straced the process and the
output follows:
washington:~# strace -p 3416
fcntl64(13, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=404, len=1},
0xbfffefa0) = 0
sendto(12, "\3\0X\r\0\0&\0\0\0\0\0\0\0\'\374\f\0\0\0\0\0\16\0\0\0", 26, 0,
{sin_family=AF_INET, sin_port=htons(41373),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 26
2014 Aug 20
6
Full MVCC in Brass
I'm one of the developers of Notmuch, an email client that makes
extensive use of Xapian. For some time, full multi-version
concurrency control (MVCC) has been on our wish list. Olly mentioned
that brass now uses free lists---a key step toward full MVCC---and I
offered to pitch in on putting the other pieces into place.
Before I wade too deep into this, I wanted to propose my plan.
Full
2004 Oct 21
0
update: samba causing high load
We have experienced some trouble with samba lately. The servers load going
from 5 to 20 causing everything to go very slow, but when I use top to
check which process could be the cause of the trouble nothing uses CPU
cycles. We have about 90% idle CPU usage, but load from 5-20.
When I kill samba (service smb stop) the root-smb process still hangs and
when I kill it (kill -9) the load goes