[BlueOnyx:09767] Re: openwebmail error - Fixed

Adam Lepp a at netqb.com
Fri Mar 9 10:47:08 -05 2012


Thanks Michael.
The fix has appeared to have worked on my servers.
On one of them, execution of:

/home/solarspeed/openwebmail/cgi-bin/openwebmail/openwebmail-tool.pl
--alluser --index
...was going along fine,
until it produced:

db /home/.sites/XX/YY/.users/ZZ/[username]/.openwebmail/db/virus-mail verify
& updated ok
dm-2: write failed, user block limit reached.
gdbm fatal: write error

and then went back to the command prompt.

I went ahead and ran:

/home/solarspeed/openwebmail/cgi-bin/openwebmail/openwebmail-tool.pl --init

And openwebmail worked.

Should I be concerned about this error message?
This user is not over his disk quota, nor is this site.

--Adam


-----Original Message-----
From: blueonyx-bounces at mail.blueonyx.it
[mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Michael Stauber
Sent: Friday, March 09, 2012 5:56 AM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:09762] Re: openwebmail error - Fixed

Hi Matthew,

> I also started getting this after today's massive yum update ... related?
> 
> First thing I did was to check the quota for the user in question, but 
> that looked fine for both the user and site.
> 
> I'm also getting reports from other folks as well. No quota issues to be 
> found.

Yeah, I just did run into a box which had the same problem, so that I could 
troubleshoot it.

So far the problem only exists on 5106R and it was indeed caused by the 
CentOS-5.8 perl perl-suidperl updates. These changed a few behaviours of
Perl 
around, so things that OpenWebmail used fine in the past now started to
break. 
\o/

Part of the problem is the Perl file locking and the dbm.conf of
OpenWebmail. 
That one configures which file locking mechanism to use. File locking is
used 
to prevent that multiple processes try to write to the same file at the same

time.

To fix the problem in OpenWebmail, both instances of dbm.conf must be
changed 
to this:

dbm_ext                 .pag
dbmopen_ext             none
dbmopen_haslock         yes

For the Solarspeed.net OpenWebmail that's in this two files:

/home/solarspeed/openwebmail/cgi-bin/openwebmail/etc/dbm.conf
/home/solarspeed/openwebmail/cgi-bin/openwebmail/etc/defaults/dbm.conf

Afterwards this script should be run:

/home/solarspeed/openwebmail/cgi-bin/openwebmail/openwebmail-tool.pl
--alluser 
--index

It rebuilds the indexes and fixes any OpenWebmail database issues.

I just published an updated "solarspeed-base-gui" RPM out to the YUM 
repositories for 5106R, 5107R and 5108R that will apply these fixes 
automatically.

-- 
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list