<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Recovering_from_a_blown_upgrade</id>
	<title>Recovering from a blown upgrade - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=Recovering_from_a_blown_upgrade"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Recovering_from_a_blown_upgrade&amp;action=history"/>
	<updated>2026-04-29T12:40:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=Recovering_from_a_blown_upgrade&amp;diff=164&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;===Recovering from a blown upgrade=== A few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working.  He was getting the message &quot;451 qq write error or disk full (#4.3.0)&quot;  I had this same problem happen today.  While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes.  Again, this is just a suspicion.  The tangibl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=Recovering_from_a_blown_upgrade&amp;diff=164&amp;oldid=prev"/>
		<updated>2024-03-16T16:55:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Recovering from a blown upgrade=== A few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working.  He was getting the message &amp;quot;451 qq write error or disk full (#4.3.0)&amp;quot;  I had this same problem happen today.  While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes.  Again, this is just a suspicion.  The tangibl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Recovering from a blown upgrade===&lt;br /&gt;
A few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working.  He was getting the message&lt;br /&gt;
&amp;quot;451 qq write error or disk full (#4.3.0)&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I had this same problem happen today.  While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes.  Again, this is just a suspicion.&lt;br /&gt;
&lt;br /&gt;
The tangible results of this upgrade failure was that many files and folders throughout the qmail installation ended up being owned by named:named.&lt;br /&gt;
&lt;br /&gt;
One thing you should know about my system is that /home/vpopmail is a softlink to /var/qmail.  This allows me to have less directories to back up and to follow a scheme that I used on earlier (pre-toaster) setups. So when I refer to the /var/qmail/domains directory, it is likely to be /home/vpopmail/domains for you if you do not have your schema set up as do I,&lt;br /&gt;
&lt;br /&gt;
What needs to be done to revive the system is to do a lot of ownership changes and some mode changes.&lt;br /&gt;
&lt;br /&gt;
First I ran queue_repair.py -r.  I do not know that it actually did a lot of good because things it said that it did, when I checked it did not, but I include it here for thoroughness.&lt;br /&gt;
&lt;br /&gt;
Here are the changes I had to make:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown root:root /usr/sbin/httpd&lt;br /&gt;
cd /var/qmail ; chown -R qmaill:qmail supervise&lt;br /&gt;
cd /var/qmail/bin; chown root:qmail qmail-clean qmail-lspawn qmail-rspawn qmail-send qmail-smtpd&lt;br /&gt;
cd /var/qmail/domains ; chown -R vpopmail:vchkpw *&lt;br /&gt;
cd /var/qmail/etc ; chown vpopmail:vchkpw vpopmail.mysql*&lt;br /&gt;
cd /var/log/qmail ; chown -R qmaill:qmail *&lt;br /&gt;
cd /var/qmail/queue ; chown -R qmailq:qmail todo&lt;br /&gt;
cd /var/qmail/queue/todo ; chmod 644 *&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have no idea of how apache (httpd) got changed, but it had monit sending me alerts, so that was what I had changed first.&lt;br /&gt;
&lt;br /&gt;
So that&amp;#039;s my list of things that needed to be fixed to get a messed-up toaster upgrade back to working condition.  Hopefully it will save someone the half hour of work it took me to figure it all out.&lt;br /&gt;
&lt;br /&gt;
==[[User Tips &amp;amp; Tricks]]==&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>