Displaying 14 results from an estimated 14 matches for "lock_path".
2018 Jun 13
1
2.3.1 Replication is throwing scary errors
...t;
bool created;
int ret;
@@ -437,8 +438,21 @@ dsync_brain_lock(struct dsync_brain *brain, const char *remote_hostname)
if (brain->verbose_proctitle)
process_title_set(dsync_brain_get_proctitle_full(brain, DSYNC_BRAIN_TITLE_LOCKING));
- brain->lock_path = p_strconcat(brain->pool, home,
- "/"DSYNC_LOCK_FILENAME, NULL);
+
+ /* if homedir does not yet exist, create lock under tmpdir */
+ if (stat(home, &st) < 0) {
+ if (errno != ENOENT) {
+ i_erro...
2018 Jun 06
7
2.3.1 Replication is throwing scary errors
Should be fixed by https://github.com/dovecot/core/commit/a952e178943a5944255cb7c053d970f8e6d49336 <https://github.com/dovecot/core/commit/a952e178943a5944255cb7c053d970f8e6d49336>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180606/996cfe38/attachment.html>
2002 Jun 26
4
nmbd causing very high CPU utilization
Does anyone have any idea what can cause nmbd to begin gobbling CPU?
We are running Samba 2.2.4 on HP-UX 10.20, having upgraded from Samba
2.0.10 about a month ago. Our clients are a mixture of NT 4.0 and Win2K.
Today, we have begun to see widespread client drive disconnections, and
nmbd is averaging 60%+ CPU usage with peaks up to 100%. We have heard
reports of network problems at our site
2006 Dec 15
2
Solaris NFS woes
I am using dovecot 1.0.rc15 (a similar problem occurred in rc10) on
Solaris 9 (sparc). When working with a user who's home dir is on a
local disk everything seems fine. But when that home is on an
NFS-mounted disk things are very badly awry.
Both the indices and the subscriptions file are being destroyed and
what is left behind are files with names of the form .nfs72C034 etc.
These files are
2004 May 10
1
Failed to initialize group mapping
...2:13, 0] groupdb/mapping.c:get_group_from_gid(655)
May 10 09:42:13 smb smbd[850]: failed to initialize group mappingget_alias_user_groups: gid of user flavio.ribeiro doesn't exist. Check your /etc/passwd and /etc/group files
i have looked into mapping.c and found this:
tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (!tdb) {
DEBUG(0,("Failed to open group mapping database\n"));
return False;
tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);...
2006 Jun 01
2
Help! Uidlist files are gone and won't come back; imap keeps coredumping!
Folks -
Some time ago as I migrated to dovecot 1.0, I ran into all sorts of problems with file locks, and I tried various solutions. Apparently, in the process, I got a bit careless and removed all my dovecot-uidlist files. They're gone.
My understanding, however, is that they should come back, but this doesn't happen.
I've been forced to run with index=MEMORY in 1.0 for
2019 Apr 19
1
winbind offline login - NT_STATUS_NO_SUCH_USER (0xc0000064)
...can be safely placed on volatile storage' within 4.10.
Don't think this is a Samba problem, after a quick check, I take that
back ;-)
If you check the source for gencache.c you will find this:
- cache_fname = cache_path(talloc_tos(), "gencache.tdb");
+ cache_fname = lock_path(talloc_tos(), "gencache.tdb");
> Never the less I am of course interested into getting this fixed on
> long term :)
> So how should I proceed?
> Create a bug fix (since as proven this does not seem to be a
> configuration error by me)?
> If yes where should I create it...
2003 Dec 09
1
samba server crash and locking.tdb
Hi all,
Please excuse me if this question is not appropriate for this forum:
Lets assume that samba server crashed or was shut down abnormally, while
users where holding open files in the server.
In this case, I've noticed that locking.tdb is not being cleaned when
samba is restarting.
I was wondering why shouldn't it be cleaned.
Thanks,
Nir
2006 Dec 14
2
604995471 7500 routers / upgrade issue
Hi Benjamin:
I think that the following link will give you an idea for what you need to
know:
http://www.cisco.com/warp/customer/620/roadmap_b.shtml
This is for the naming:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a0080101cda.shtml
In this case 11.1CC goes to 12.0T and 12.0T migrate to 12.1 mainline. Do not
you worry you will not loose anything with the new
2016 May 29
4
fts lucene crashes in 2.2.24
...nused
= 0}
ns = 0x55555580f6c0
#2 0x00007ffff489b700 in lucene_settings_check (index=0x555555822e20) at
lucene-wrapper.cc:429
set_checksum = <optimized out>
ret = <optimized out>
#3 lucene_index_build_init (index=0x555555822e20) at lucene-wrapper.cc:448
lock_path = 0x5555557dd320
"/srv/dovecot/anmesse/maildir/lucene-indexes/write.lock"
st = {st_dev = 93823560581121, st_ino = 0, st_nlink =
140737344007992, st_mode = 4150696184, st_uid = 32767, st_gid = 5, __pad0 =
0, st_rdev = 93824995156880, st_size = 93824995175648,
st_blksize =...
2007 Jan 25
1
X-UID gaps cause Dovecot/IMAP to hang
...1 0x7f965fe0 in close () from /usr/lib/libaio.so.1
No symbol table info available.
#2 0x7cdc0 in file_dotlock_create (set=0x1,
path=0xdd2a0 "/home4/bhowell/Mail/Inbox.inbtest", flags=0,
dotlock_r=0xdd230) at file-dotlock.c:514
dotlock = (struct dotlock *) 0xeaf58
lock_path = 0x10d7d0 "/home4/bhowell/Mail/Inbox.inbtest.lock"
st = {st_dev = 0, st_pad1 = {5594600, 33152, 1},
st_ino = 216350387601509, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0,
st_rdev = 0, st_pad2 = {-4263120, 0}, st_size = 0, st_atim = {tv_sec = 0,
tv_nsec = 0}, st_mtim...
2012 Jun 15
3
doveadm backup panic
using latest auto build didn't help.
this happens only with a specific account.
# doveadm -o imapc_user=----- at domain.com -o imapc_password=---- backup
-u =----- at domain.com -R imapc:
dsync(---- at domain.com): Panic: pool_data_stack_realloc(): stack frame
changed
dsync(---- at domain.com): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x4209a) [0xb762b09a] ->
2001 Dec 12
1
MacOS X Server samba diffs
...B")) != EOF) {
switch (c) {
case 'b':
brief = 1;
@@ -285,9 +282,6 @@
case 'P':
profile_only = 1;
break;
- case 'r':
- raw = 1;
- break;
case 'S':
shares_only = 1;
break;
@@ -318,12 +312,9 @@
tdb = tdb_open_log(lock_path("connections.tdb"), 0, 0, O_RDONLY, 0);
if (!tdb) {
- if (!raw)
- {
- printf("connections.tdb not initialised\n");
- if (!lp_status(-1))
- printf("You need to have status=yes in your smb config file\n");
- }
+ printf("connections.tdb not initialised\...
2019 Apr 19
4
winbind offline login - NT_STATUS_NO_SUCH_USER (0xc0000064)
On Fri, 19 Apr 2019 07:50:28 +0200
Martin Krämer via samba <samba at lists.samba.org> wrote:
> Hi All,
>
> I tried multiple topics and did some further analyzing regarding this.
> I found that described error below only appears if I restart the
> device when connecting from "online" to "offline".
> If I keep my device running winbind caches the users