Hi
May I propose the following changes? I just fiddled around for half an
hour until I saw the message "Can't create cache file" with ngrep as my
Mozilla browser didn't show it and I didn't figured out which frame it
was in, it just showed an empty page. (An openlog would be fine but it's
ok this way, too)
Apart from that, tough, I have no clue, what
sqwebmail: Can't create cache file |./tmp/1035301685.11847_db.mail3b|:
No locks available
could mean. The same NFS partition (mountet rw) is ok for another sqwebmail
host. grmpf..
bye,
-chrisitan-
--- courier-0.37.3.orig/webmail/maildir.c Wed Dec 5 13:47:06 2001
+++ courier-0.37.3/webmail/maildir.c Tue Oct 22 17:47:52 2002
@@ -13,6 +13,7 @@
#include <ctype.h>
#include <fcntl.h>
#include <errno.h>
+#include <syslog.h>
#include "config.h"
#include "sqwebmail.h"
#include "maildir.h"
@@ -1769,9 +1770,11 @@
{
int rc=maildir_try_create(maildir, "db", 0, &tptr, &nptr);
- if (rc < 0)
+ if (rc < 0) {
+ syslog(LOG_ERR, "Can't create cache file |%s|%s|%s|: %d\n",
+maildir, tptr, nptr, rc);
error("Can't create cache file.");
-
+ }
+
if (rc == 0)
{
save_tmpdbname=tptr;
@@ -1783,8 +1786,10 @@
dbobj_init(&tmpdb);
- if (dbobj_open(&tmpdb, save_tmpdbname, "N"))
+ if (dbobj_open(&tmpdb, save_tmpdbname, "N")) {
+ syslog(LOG_ERR, "Can't create cache file |%s|: %s\n", save_tmpdbname,
+strerror(errno));
error("Can't create cache file.");
+ }
save_cnt=0;
savenew_cnt=0;
--
Christian Hammers WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet & Security for Professionals Fax 0241/911879
WESTEND ist CISCO Systems Partner - Authorized Reseller