RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
Sorry, I forgot to mention that all packages seem to be correctly
installed...

[EMAIL PROTECTED] config]# rpm -qa | grep toaster
vpopmail-toaster-5.4.13-1.3.1
qmail-toaster-1.03-1.3.5
autorespond-toaster-2.0.4-1.3.1
qmailadmin-toaster-1.2.9-1.3.1
isoqlog-toaster-2.1-1.3.1
clamav-toaster-0.88.3-1.3.2
libdomainkeys-toaster-0.68-1.3.1
send-emails-toaster-0.5-1.2.9
ucspi-tcp-toaster-0.88-1.3.1
qmail-pop3d-toaster-1.03-1.3.5
courier-imap-toaster-4.1.1-1.3.2
control-panel-toaster-0.5-1.3.1
ezmlm-cgi-toaster-0.53.324-1.3.1
qmailmrtg-toaster-4.2-1.3.1
maildrop-toaster-devel-2.0.2-1.3.1
vqadmin-toaster-2.3.4-1.3.1
spamassassin-toaster-3.1.3-1.3.1
ripmime-toaster-1.4.0.6-1.3.1
daemontools-toaster-0.76-1.3.1
courier-authlib-toaster-0.58-1.3.1
ezmlm-toaster-0.53.324-1.3.1
maildrop-toaster-2.0.2-1.3.1
squirrelmail-toaster-1.4.7-1.3.2
simscan-toaster-1.2-1.3.1
[EMAIL PROTECTED] config]#


Thanks again.

 

-Original Message-
From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 7:12 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

Hi,
After an upgrade failure*, I decide to do a fresh install on a new
server to get this working before the morning.  All config files,
databases and maildir has been saved andrestored on the new server.
But no mail account can be shown on mailadministration or admin-
toaster page.

There are the files that I backup and replace:

/home/vpopmail/domains
/etc/tcprules.d
/var/qmail/control
/var/lib/mysql

Did I miss something?


*This is the error that I get after upgrade:

(This is on Squirrelmail)
ERROR:
Requested action aborted: error in processing
Server replied: 451 qq write error or disk full (#4.3.0)

(Disk space is fine, permission on queue are correct)

I read something about this on mailing list archive... I tried
something without success.

Help!

Thanks in advance!

Regards,
Kaven G.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
Hi again,
I got new information's about my situation.  All incoming
mailseem to be considered as spam.  There is a 5.0.0 Service
unavailable message too.


This is a copy of the error message that I receive:

The original message was received at Fri, 25 Aug 2006
07:20:15 -  0400 from ns1.showbizz.net [206.162.187.253]

  - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
 (reason: 554 Your email is considered spam (7.00 spam-hits))

 - Transcript of session follows - ... while talking to
mail.sb3w.net.:
 DATA
 554 Your email is considered spam (7.00 spam-hits)
554 5.0.0 Service unavailable


On MS Outlook, an Unable to download folder (IMAP) appear on Send/Receive
action, but I can read mail without problems.

 
I hope this help.




-Original Message-
From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 7:16 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

Sorry, I forgot to mention that all packages seem to be correctly
installed...

[EMAIL PROTECTED] config]# rpm -qa | grep toaster
vpopmail-toaster-5.4.13-1.3.1
qmail-toaster-1.03-1.3.5
autorespond-toaster-2.0.4-1.3.1
qmailadmin-toaster-1.2.9-1.3.1
isoqlog-toaster-2.1-1.3.1
clamav-toaster-0.88.3-1.3.2
libdomainkeys-toaster-0.68-1.3.1
send-emails-toaster-0.5-1.2.9
ucspi-tcp-toaster-0.88-1.3.1
qmail-pop3d-toaster-1.03-1.3.5
courier-imap-toaster-4.1.1-1.3.2
control-panel-toaster-0.5-1.3.1
ezmlm-cgi-toaster-0.53.324-1.3.1
qmailmrtg-toaster-4.2-1.3.1
maildrop-toaster-devel-2.0.2-1.3.1
vqadmin-toaster-2.3.4-1.3.1
spamassassin-toaster-3.1.3-1.3.1
ripmime-toaster-1.4.0.6-1.3.1
daemontools-toaster-0.76-1.3.1
courier-authlib-toaster-0.58-1.3.1
ezmlm-toaster-0.53.324-1.3.1
maildrop-toaster-2.0.2-1.3.1
squirrelmail-toaster-1.4.7-1.3.2
simscan-toaster-1.2-1.3.1
[EMAIL PROTECTED] config]#


Thanks again.

 

-Original Message-
From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 7:12 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

Hi,
After an upgrade failure*, I decide to do a fresh install on a new
server to get this working before the morning.  All config files,
databases and maildir has been saved andrestored on the new server.
But no mail account can be shown on mailadministration or admin-
toaster page.

There are the files that I backup and replace:

/home/vpopmail/domains
/etc/tcprules.d
/var/qmail/control
/var/lib/mysql

Did I miss something?


*This is the error that I get after upgrade:

(This is on Squirrelmail)
ERROR:
Requested action aborted: error in processing
Server replied: 451 qq write error or disk full (#4.3.0)

(Disk space is fine, permission on queue are correct)

I read something about this on mailing list archive... I tried
something without success.

Help!

Thanks in advance!

Regards,
Kaven G.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Jake Vickers

Kaven Gagnon wrote:

Sorry, I forgot to mention that all packages seem to be correctly
installed...

  
You're in a real mess. There are a lot of variables that could have been 
missed, so this might not be a quick fix.
You say that the permissions are all correct  Is the vpopmail user 
uid/gid 89:89?
The error your getting can be a few different things. I got it once when 
my /var partition was full (couldn't write logs... ) It actually had a 
couple megs free, but QMT still didn't like it until I cleared some space.
Did you perform the upgrade on the production machine? You may want to 
look at my backup/restore script (http://v2gnu.com/qmail) and see if you 
missed anything obvious.
Also, would it possible to see some of the logs that are generated while 
it's giving the disk full message?



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Jake Vickers

Kaven Gagnon wrote:

Hi,
Yes, vpopmail/vchkpw are uid 89.  About the disk space, the system
is  very comfortable:

[EMAIL PROTECTED] vpopmail]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/md1  3.9G  223M  3.5G   6% /
/dev/md0  190M   17M  164M  10% /boot
none 1013M 0 1013M   0% /dev/shm
/dev/md4   95G   17G   73G  19% /home
/dev/md6  251M   11M  228M   5% /tmp
/dev/md3  7.3G  1.3G  5.6G  19% /usr
/dev/md5  3.5G  570M  2.8G  17% /var
[EMAIL PROTECTED] vpopmail]#


Yes, this is a production machine unfortunately :(  The worst of it is that
I do it successfully on my dev machine before proceed with the real server.
I really don't know what I've missed.  (Maybe a bad package... I had a weird
problem since a few months with one package of the toaster and I download it
again and the problem was solved.)


Unfortunately, there is no suspect log message in log file.  The only
message I had is the one (from Squirrelmail) I post on my previous mail.

ERROR:
Requested action aborted: error in processing
Server replied: 451 qq write error or disk full (#4.3.0)

For sure I will take a look at you're script.  If I can't get the server
working in a few hours, I will try to re-install the old package before the
upgrade (on mailing list archive, some one do that and solve his problem).

Thanks for you're help. 
  
Hopefully you still have the dev machine. Worst case is you can put the 
dev machine up in place of the production machine, or at least do a 
backup from the dev machine to the production so you don't have to 
manually recreate your email accounts and what not.
The logs aren't showing anything? They should at least show (smtp log) 
that the message is coming in. Does your messages log have anything 
interesting in it?


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
I can't use the dev machine; this is a VMware install on my laptop :(  But I
take no chance this night and start to build a new server.  The server is up
and running and files are restored, but I can't see any domain/user on web
administration page, like if mysql database is empty.  Using mysqladmin, I
can select database and show tables etc... 


The smtp log is like usually:

@400044eef2371589b1dc tcpserver: status: 1/100
@400044eef2373207461c tcpserver: status: 2/100
@400044eef23732074dec tcpserver: pid 25001 from 65.54.246.171
@400044eef237320751d4 tcpserver: ok 25001
mail1.genexcommunications.com:206.162.187.241:25 :65.54.246.171::23716
@400044eef2380a0b115c CHKUSER accepted sender: from
[EMAIL PROTECTED]:: remote
bay0-omc2-s35.bay0.hotmail.com:unknown:65.54.246.171 rcpt  : sender
accepted
@400044eef2380fd3a4b4 CHKUSER accepted rcpt: from
[EMAIL PROTECTED]:: remote
bay0-omc2-s35.bay0.hotmail.com:unknown:65.54.246.171 rcpt
[EMAIL PROTECTED] : found existing recipient
@400044eef23820a65c3c simscan:[25001]:CLEAN
(0.00/12.00):0.1886s:pedo:65.54.246.171:[EMAIL PROTECTED]:[EMAIL PROTECTED]
ox.com
@400044eef238269a6c64 tcpserver: end 25001 status 0

By the way, I used the script for the update on you're web site (I took it
on qmailtoaster site).

 Thanks.


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 8:40 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

Kaven Gagnon wrote:
 Hi,
   Yes, vpopmail/vchkpw are uid 89.  About the disk space, the system
 isvery comfortable:
   
   [EMAIL PROTECTED] vpopmail]# df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/md1  3.9G  223M  3.5G   6% /
 /dev/md0  190M   17M  164M  10% /boot
 none 1013M 0 1013M   0% /dev/shm
 /dev/md4   95G   17G   73G  19% /home
 /dev/md6  251M   11M  228M   5% /tmp
 /dev/md3  7.3G  1.3G  5.6G  19% /usr
 /dev/md5  3.5G  570M  2.8G  17% /var
 [EMAIL PROTECTED] vpopmail]#


 Yes, this is a production machine unfortunately :(  The worst of it is
that
 I do it successfully on my dev machine before proceed with the real
server.
 I really don't know what I've missed.  (Maybe a bad package... I had a
weird
 problem since a few months with one package of the toaster and I download
it
 again and the problem was solved.)


 Unfortunately, there is no suspect log message in log file.  The only
 message I had is the one (from Squirrelmail) I post on my previous mail.

 ERROR:
   Requested action aborted: error in processing
   Server replied: 451 qq write error or disk full (#4.3.0)

 For sure I will take a look at you're script.  If I can't get the server
 working in a few hours, I will try to re-install the old package before
the
 upgrade (on mailing list archive, some one do that and solve his problem).

 Thanks for you're help. 
   
Hopefully you still have the dev machine. Worst case is you can put the 
dev machine up in place of the production machine, or at least do a 
backup from the dev machine to the production so you don't have to 
manually recreate your email accounts and what not.
The logs aren't showing anything? They should at least show (smtp log) 
that the message is coming in. Does your messages log have anything 
interesting in it?

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Jake Vickers

Kaven Gagnon wrote:

I can't use the dev machine; this is a VMware install on my laptop :(  But I
take no chance this night and start to build a new server.  The server is up
and running and files are restored, but I can't see any domain/user on web
administration page, like if mysql database is empty.  Using mysqladmin, I
can select database and show tables etc... 

  
Hmm. Do any errors show in your httpd log as to why it's not reading the 
db? Would probably show as a PHP error. Also, you do have all the files 
in /home/vpopmail/etc right?
When you say you backed up mysql/lib, did you just copy the directory, 
or did you export the DB and then import it on the new machine. Might 
want to make sure the permissions on the DB are correct (vpopmail has 
full rights).


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
Yes, I got PHP error in my httpd logs, but I had this error before upgrade:

[client 206.162.187.253] PHP Notice:  Undefined variable:  html in
/usr/share/toaster/include/admin.inc.php on line 138, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[Fri Aug 25 08:07:09 2006] [error] [client 206.162.187.253] user admin:
authentication failure for /mail/vqadmin/toaster.vqadmin: Password
Mismatch, referer:
https://mail1.genexcommunications.com/admin-toaster/index.php
[client 206.162.187.253] PHP Notice:  Undefined offset:  1 in
/usr/share/squirrelmail/plugins/quota_usage/functions.php on line 466,
referer: https://mail1.genexcommunications.com/webmail/src/webmail.php

Most of my users are using Outlook and get an error when they performing
Send/receive task.  One of my user noticed my that she receive a batch of
mail since one hour ago (and it's no longer working for this person).  I
check his maildir permission and they are the same as all other maildir.

Thanks.



Yes, all files a present in /home/vpopmail/etc
[EMAIL PROTECTED] etc]# ls
inc_deps  lib_deps  vlimits.default  vpopmail.mysql  vpopmail.mysql.dist


About the BD, I copy the whole /var/lib/mysql directory (when MySQL was
stopped).
 


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 9:12 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

Kaven Gagnon wrote:
 I can't use the dev machine; this is a VMware install on my laptop :(  But
I
 take no chance this night and start to build a new server.  The server is
up
 and running and files are restored, but I can't see any domain/user on web
 administration page, like if mysql database is empty.  Using mysqladmin, I
 can select database and show tables etc... 

   
Hmm. Do any errors show in your httpd log as to why it's not reading the 
db? Would probably show as a PHP error. Also, you do have all the files 
in /home/vpopmail/etc right?
When you say you backed up mysql/lib, did you just copy the directory, 
or did you export the DB and then import it on the new machine. Might 
want to make sure the permissions on the DB are correct (vpopmail has 
full rights).

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
I found something new in qmail send log:

@400044eef2220e3250c4 starting delivery 1: msg 350458 to local
[EMAIL PROTECTED]
@400044eef2220e325894 status: local 1/10 remote 0/60
@400044eef2220f0a2a94 delivery 1: deferral:
qmail-inject:_fatal:_unable_to_exec_qq_(#4.3.0)/system_error/
@400044eef2220f0a3264 status: local 0/10 remote 0/60
@400044eef26d0e7e3e44 warning: trouble injecting bounce message, will
try later
@400044eef26d0e9d6ea4 warning: trouble injecting bounce message, will
try later
@400044eef2e90d9efa04 warning: trouble injecting bounce message, will
try later

 


-Original Message-
From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 9:38 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

Yes, I got PHP error in my httpd logs, but I had this error before upgrade:

[client 206.162.187.253] PHP Notice:  Undefined variable:  html in
/usr/share/toaster/include/admin.inc.php on line 138, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[client 206.162.187.253] PHP Notice:  Use of undefined constant r - assumed
'r' in /usr/share/toaster/include/admin.inc.php on line 137, referer:
https://mail1.genexcommunications.com/admin-toaster/
[Fri Aug 25 08:07:09 2006] [error] [client 206.162.187.253] user admin:
authentication failure for /mail/vqadmin/toaster.vqadmin: Password
Mismatch, referer:
https://mail1.genexcommunications.com/admin-toaster/index.php
[client 206.162.187.253] PHP Notice:  Undefined offset:  1 in
/usr/share/squirrelmail/plugins/quota_usage/functions.php on line 466,
referer: https://mail1.genexcommunications.com/webmail/src/webmail.php

Most of my users are using Outlook and get an error when they performing
Send/receive task.  One of my user noticed my that she receive a batch of
mail since one hour ago (and it's no longer working for this person).  I
check his maildir permission and they are the same as all other maildir.

Thanks.



Yes, all files a present in /home/vpopmail/etc
[EMAIL PROTECTED] etc]# ls
inc_deps  lib_deps  vlimits.default  vpopmail.mysql  vpopmail.mysql.dist


About the BD, I copy the whole /var/lib/mysql directory (when MySQL was
stopped).
 


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 9:12 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

Kaven Gagnon wrote:
 I can't use the dev machine; this is a VMware install on my laptop :(  But
I
 take no chance this night and start to build a new server.  The server is
up
 and running and files are restored, but I can't see any domain/user on web
 administration page, like if mysql database is empty.  Using mysqladmin, I
 can select database and show tables etc... 

   
Hmm. Do any errors show in your httpd log as to why it's not reading the 
db? Would probably show as a PHP error. Also, you do have all the files 
in /home/vpopmail/etc right?
When you say you backed up mysql/lib, did you just copy the directory, 
or did you export the DB and then import it on the new machine. Might 
want to make sure the permissions on the DB are correct (vpopmail has 
full rights).

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Ray Van Dolson
On Fri, Aug 25, 2006 at 09:50:25AM -0400, Kaven Gagnon wrote:
 I found something new in qmail send log:
 
 @400044eef2220e3250c4 starting delivery 1: msg 350458 to local
 [EMAIL PROTECTED]
 @400044eef2220e325894 status: local 1/10 remote 0/60
 @400044eef2220f0a2a94 delivery 1: deferral:
 qmail-inject:_fatal:_unable_to_exec_qq_(#4.3.0)/system_error/
 @400044eef2220f0a3264 status: local 0/10 remote 0/60
 @400044eef26d0e7e3e44 warning: trouble injecting bounce message, will
 try later
 @400044eef26d0e9d6ea4 warning: trouble injecting bounce message, will
 try later
 @400044eef2e90d9efa04 warning: trouble injecting bounce message, will
 try later

This has got to be a permissions problem... 

ls -ltaFR on /var/qmail/queue

And ls -l /var/qmail/bin/qmail-queue

Ray

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
Thanks for you're reply, but I already try this without success.  I'm really
struck... I've check every file one by one for permissions, settings... the
whole kit!


At this point, I think to forget about this server and try to make it work
with the new one that I build last night.  My only problem is that no domain
and user can be shown in the Web admin panel.  I tried to create a test
domain with a test user... it work well; I can see it in the Web panel.  I
double check for difference between this table (new test domain) and tables
of other domains... they are identical.

Anyone knows how to make my old db appear in Qmail administration site?

Thanks!

Regards,
Kaven G.
 


-Original Message-
From: Ray Van Dolson [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 11:31 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

On Fri, Aug 25, 2006 at 09:50:25AM -0400, Kaven Gagnon wrote:
 I found something new in qmail send log:
 
 @400044eef2220e3250c4 starting delivery 1: msg 350458 to local
 [EMAIL PROTECTED]
 @400044eef2220e325894 status: local 1/10 remote 0/60
 @400044eef2220f0a2a94 delivery 1: deferral:
 qmail-inject:_fatal:_unable_to_exec_qq_(#4.3.0)/system_error/
 @400044eef2220f0a3264 status: local 0/10 remote 0/60
 @400044eef26d0e7e3e44 warning: trouble injecting bounce message, will
 try later
 @400044eef26d0e9d6ea4 warning: trouble injecting bounce message, will
 try later
 @400044eef2e90d9efa04 warning: trouble injecting bounce message, will
 try later

This has got to be a permissions problem... 

ls -ltaFR on /var/qmail/queue

And ls -l /var/qmail/bin/qmail-queue

Ray

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Ray Van Dolson
On Fri, Aug 25, 2006 at 11:51:24AM -0400, Kaven Gagnon wrote:
 Thanks for you're reply, but I already try this without success.  I'm really
 struck... I've check every file one by one for permissions, settings... the
 whole kit!

Well, if you still want to try one more thing on the old server, try
disabling SELinux.  Wonder if it could be causing problems...

 
 At this point, I think to forget about this server and try to make it work
 with the new one that I build last night.  My only problem is that no domain
 and user can be shown in the Web admin panel.  I tried to create a test
 domain with a test user... it work well; I can see it in the Web panel.  I
 double check for difference between this table (new test domain) and tables
 of other domains... they are identical.
 
 Anyone knows how to make my old db appear in Qmail administration site?
 

Could be a number of problems causing this.  Probably what I'd do (not
knowing the internals of qmailadmin) is enable MySQL query logging and
determine what query it runs against your DB to get the list of domains.

Edit /etc/my.cnf, should look something like this when query logging is
enabled:

[mysqld]
log=/var/log/mysql/query.log

Then, mkdir -p /var/log/mysql and chown mysql.mysql /var/log/mysql and
restart MySQLd.

Try and view your qmail admin, then look at the /var/log/mysql/query.log
file.  You should be able to determine a) what user qmailadmin uses to
connect ot the database with (ensure this user exists and can read the
correct tables), b) what database the user is connecting to (confirm it
exists and user has access to it) and c) what queries are being run.

I'd probably end up running those queries manually from a mysql command
shell to see if they return anything.

Post output of your query log here if you like...

Also make sure /var/lib/mysql/dbname that you copied over is owned by the
MySQL user.  Check /var/lib/mysql/*.err to see if there were problems
opening this database when you started MySQL up...

If you connect to MySQL from the command line (as root user) can you do a
USE dbname and SHOW TABLES?

Some things to try.

Ray

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Jake Vickers

Kaven Gagnon wrote:

Thanks for you're reply, but I already try this without success.  I'm really
struck... I've check every file one by one for permissions, settings... the
whole kit!


At this point, I think to forget about this server and try to make it work
with the new one that I build last night.  My only problem is that no domain
and user can be shown in the Web admin panel.  I tried to create a test
domain with a test user... it work well; I can see it in the Web panel.  I
double check for difference between this table (new test domain) and tables
of other domains... they are identical.

Anyone knows how to make my old db appear in Qmail administration site?

  

Try refreshing and reloading mysql:
mysqladmin -u root -p refresh
mysqladmin -u root -p reload
And then maybe a reboot.

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Eric \Shubes\

What distro/version was the old machine, new machine?
What version of toaster were you upgrading from?

Kaven Gagnon wrote:

Sorry, I forgot to mention that all packages seem to be correctly
installed...

[EMAIL PROTECTED] config]# rpm -qa | grep toaster
vpopmail-toaster-5.4.13-1.3.1
qmail-toaster-1.03-1.3.5
autorespond-toaster-2.0.4-1.3.1
qmailadmin-toaster-1.2.9-1.3.1
isoqlog-toaster-2.1-1.3.1
clamav-toaster-0.88.3-1.3.2
libdomainkeys-toaster-0.68-1.3.1
send-emails-toaster-0.5-1.2.9
ucspi-tcp-toaster-0.88-1.3.1
qmail-pop3d-toaster-1.03-1.3.5
courier-imap-toaster-4.1.1-1.3.2
control-panel-toaster-0.5-1.3.1
ezmlm-cgi-toaster-0.53.324-1.3.1
qmailmrtg-toaster-4.2-1.3.1
maildrop-toaster-devel-2.0.2-1.3.1
vqadmin-toaster-2.3.4-1.3.1
spamassassin-toaster-3.1.3-1.3.1
ripmime-toaster-1.4.0.6-1.3.1
daemontools-toaster-0.76-1.3.1
courier-authlib-toaster-0.58-1.3.1
ezmlm-toaster-0.53.324-1.3.1
maildrop-toaster-2.0.2-1.3.1
squirrelmail-toaster-1.4.7-1.3.2
simscan-toaster-1.2-1.3.1
[EMAIL PROTECTED] config]#


Thanks again.

 


-Original Message-
From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 7:12 AM

To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

Hi,
After an upgrade failure*, I decide to do a fresh install on a new
server to get this working before the morning.  All config files,
databases and maildir has been saved andrestored on the new server.
But no mail account can be shown on mailadministration or admin-
toaster page.

There are the files that I backup and replace:

/home/vpopmail/domains
/etc/tcprules.d
/var/qmail/control
/var/lib/mysql

Did I miss something?


*This is the error that I get after upgrade:

(This is on Squirrelmail)
ERROR:
Requested action aborted: error in processing
Server replied: 451 qq write error or disk full (#4.3.0)

(Disk space is fine, permission on queue are correct)

I read something about this on mailing list archive... I tried
something without success.

Help!

Thanks in advance!

Regards,
Kaven G.





--
-Eric 'shubes'

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
The old and new machines are running CentOS 4.3.


I am upgrading from these packages:

autorespond-toaster-2.0.4-1.2.9.src.rpm
ezmlm-toaster-0.53.324-1.2.11.src.rpm
simscan-toaster-1.2-1.2.8.src.rpm
clamav-toaster-0.88.2-1.2.15.src.rpm
spamassassin-toaster-3.1.1-1.2.14.src.rpm
isoqlog-toaster-2.1-1.2.10.src.rpm
squirrelmail-toaster-1.4.6-1.2.15.src.rpm
libdomainkeys-0.68-1.0.1.src.rpm
ucspi-tcp-toaster-0.88-1.2.11.src.rpm
maildrop-toaster-1.8.1-1.2.11.src.rpm
vpopmail-toaster-5.4.13-1.2.12.src.rpm
qmailadmin-toaster-1.2.9-1.2.13.src.rpm
vqadmin-toaster-2.3.4-1.2.13.src.rpm
control-panel-toaster-0.5-1.2.9.src.rpm
qmailmrtg-toaster-4.2-1.2.11.src.rpm
zlib-1.2.3-1.0.3.src.rpm
courier-imap-toaster-3.0.8-1.2.10.src.rpm
qmail-toaster-1.03-1.3.2.src.rpm
daemontools-toaster-0.76-1.2.11.src.rpm
ripmime-toaster-1.4.0.6-1.0.1.src.rpm


Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 12:07 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

What distro/version was the old machine, new machine?
What version of toaster were you upgrading from?

Kaven Gagnon wrote:
 Sorry, I forgot to mention that all packages seem to be correctly
 installed...
 
 [EMAIL PROTECTED] config]# rpm -qa | grep toaster
 vpopmail-toaster-5.4.13-1.3.1
 qmail-toaster-1.03-1.3.5
 autorespond-toaster-2.0.4-1.3.1
 qmailadmin-toaster-1.2.9-1.3.1
 isoqlog-toaster-2.1-1.3.1
 clamav-toaster-0.88.3-1.3.2
 libdomainkeys-toaster-0.68-1.3.1
 send-emails-toaster-0.5-1.2.9
 ucspi-tcp-toaster-0.88-1.3.1
 qmail-pop3d-toaster-1.03-1.3.5
 courier-imap-toaster-4.1.1-1.3.2
 control-panel-toaster-0.5-1.3.1
 ezmlm-cgi-toaster-0.53.324-1.3.1
 qmailmrtg-toaster-4.2-1.3.1
 maildrop-toaster-devel-2.0.2-1.3.1
 vqadmin-toaster-2.3.4-1.3.1
 spamassassin-toaster-3.1.3-1.3.1
 ripmime-toaster-1.4.0.6-1.3.1
 daemontools-toaster-0.76-1.3.1
 courier-authlib-toaster-0.58-1.3.1
 ezmlm-toaster-0.53.324-1.3.1
 maildrop-toaster-2.0.2-1.3.1
 squirrelmail-toaster-1.4.7-1.3.2
 simscan-toaster-1.2-1.3.1
 [EMAIL PROTECTED] config]#
 
 
 Thanks again.
 
  
 
 -Original Message-
 From: Kaven Gagnon [mailto:[EMAIL PROTECTED] 
 Sent: August 25, 2006 7:12 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.
 
 Hi,
   After an upgrade failure*, I decide to do a fresh install on a new
 server to get this working before the morning.  All config files,
 databases and maildir has been saved and  restored on the new server.
 But no mail account can be shown on mail  administration or admin-
 toaster page.
 
   There are the files that I backup and replace:
 
   /home/vpopmail/domains
   /etc/tcprules.d
   /var/qmail/control
   /var/lib/mysql
 
   Did I miss something?
 
 
   *This is the error that I get after upgrade:
   
   (This is on Squirrelmail)
   ERROR:
   Requested action aborted: error in processing
   Server replied: 451 qq write error or disk full (#4.3.0)
 
   (Disk space is fine, permission on queue are correct)
 
   I read something about this on mailing list archive... I tried
 something without success.
 
   Help!
 
   Thanks in advance!
 
   Regards,
   Kaven G.
 



-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Erik Espinoza

What does your /var/qmail/users/assign look like?

Erik

On 8/25/06, Kaven Gagnon [EMAIL PROTECTED] wrote:

The old and new machines are running CentOS 4.3.


I am upgrading from these packages:

autorespond-toaster-2.0.4-1.2.9.src.rpm
ezmlm-toaster-0.53.324-1.2.11.src.rpm
simscan-toaster-1.2-1.2.8.src.rpm
clamav-toaster-0.88.2-1.2.15.src.rpm
spamassassin-toaster-3.1.1-1.2.14.src.rpm
isoqlog-toaster-2.1-1.2.10.src.rpm
squirrelmail-toaster-1.4.6-1.2.15.src.rpm
libdomainkeys-0.68-1.0.1.src.rpm
ucspi-tcp-toaster-0.88-1.2.11.src.rpm
maildrop-toaster-1.8.1-1.2.11.src.rpm
vpopmail-toaster-5.4.13-1.2.12.src.rpm
qmailadmin-toaster-1.2.9-1.2.13.src.rpm
vqadmin-toaster-2.3.4-1.2.13.src.rpm
control-panel-toaster-0.5-1.2.9.src.rpm
qmailmrtg-toaster-4.2-1.2.11.src.rpm
zlib-1.2.3-1.0.3.src.rpm
courier-imap-toaster-3.0.8-1.2.10.src.rpm
qmail-toaster-1.03-1.3.2.src.rpm
daemontools-toaster-0.76-1.2.11.src.rpm
ripmime-toaster-1.4.0.6-1.0.1.src.rpm


Thanks.


-Original Message-
From: Eric Shubes [mailto:[EMAIL PROTECTED]
Sent: August 25, 2006 12:07 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

What distro/version was the old machine, new machine?
What version of toaster were you upgrading from?

Kaven Gagnon wrote:
 Sorry, I forgot to mention that all packages seem to be correctly
 installed...

 [EMAIL PROTECTED] config]# rpm -qa | grep toaster
 vpopmail-toaster-5.4.13-1.3.1
 qmail-toaster-1.03-1.3.5
 autorespond-toaster-2.0.4-1.3.1
 qmailadmin-toaster-1.2.9-1.3.1
 isoqlog-toaster-2.1-1.3.1
 clamav-toaster-0.88.3-1.3.2
 libdomainkeys-toaster-0.68-1.3.1
 send-emails-toaster-0.5-1.2.9
 ucspi-tcp-toaster-0.88-1.3.1
 qmail-pop3d-toaster-1.03-1.3.5
 courier-imap-toaster-4.1.1-1.3.2
 control-panel-toaster-0.5-1.3.1
 ezmlm-cgi-toaster-0.53.324-1.3.1
 qmailmrtg-toaster-4.2-1.3.1
 maildrop-toaster-devel-2.0.2-1.3.1
 vqadmin-toaster-2.3.4-1.3.1
 spamassassin-toaster-3.1.3-1.3.1
 ripmime-toaster-1.4.0.6-1.3.1
 daemontools-toaster-0.76-1.3.1
 courier-authlib-toaster-0.58-1.3.1
 ezmlm-toaster-0.53.324-1.3.1
 maildrop-toaster-2.0.2-1.3.1
 squirrelmail-toaster-1.4.7-1.3.2
 simscan-toaster-1.2-1.3.1
 [EMAIL PROTECTED] config]#


 Thanks again.



 -Original Message-
 From: Kaven Gagnon [mailto:[EMAIL PROTECTED]
 Sent: August 25, 2006 7:12 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

 Hi,
   After an upgrade failure*, I decide to do a fresh install on a new
 server to get this working before the morning.  All config files,
 databases and maildir has been saved and  restored on the new server.
 But no mail account can be shown on mail  administration or admin-
 toaster page.

   There are the files that I backup and replace:

   /home/vpopmail/domains
   /etc/tcprules.d
   /var/qmail/control
   /var/lib/mysql

   Did I miss something?


   *This is the error that I get after upgrade:

   (This is on Squirrelmail)
   ERROR:
   Requested action aborted: error in processing
   Server replied: 451 qq write error or disk full (#4.3.0)

   (Disk space is fine, permission on queue are correct)

   I read something about this on mailing list archive... I tried
 something without success.

   Help!

   Thanks in advance!

   Regards,
   Kaven G.




--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new server.

2006-08-25 Thread Kaven Gagnon
Hi,
About my previous post, I find a solution for my new server.  The
situation was that I copy all maildir, databases and config files onthe
new server and no mailbox can be shown on the Web Admin pannel and  of
course, no user/domain was valid for login.

After a few hours of testing, I discover that
/var/qmail/control/virtualdomains and /var/qmail/users/assign file  were
empty.  After setup these files correctly and update cdb files, all
domains/users appear on Web admin panel and users can log on.   (Maybe I
forgot to tell something, I didn't sleep since 37 hours ago to solve
this...)Let me know if you need more precisions about   the
solution.  About my update problem on my old server, if someone
wants root access tolookup for a solution to help   others people of
just for personal   knowledge, feel free to ask ;)  I got so
much trouble with this  problem; if it could help someone   else in the
same mess I will be glad!

The only one problem I have now is that I can't receive mail from
outside.  I can send mail to myself with Squirrelmail and can send  mail
to myself from my second mail server.  I tried using Hotmailwithout
success.


Sincerely, thank you for all you're support!

Regards,
Kaven G.

 


-Original Message-
From: Ray Van Dolson [mailto:[EMAIL PROTECTED] 
Sent: August 25, 2006 12:00 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] (URGENT) Upgrade failure/migrate on a new
server.

On Fri, Aug 25, 2006 at 11:51:24AM -0400, Kaven Gagnon wrote:
 Thanks for you're reply, but I already try this without success.  I'm
really
 struck... I've check every file one by one for permissions, settings...
the
 whole kit!

Well, if you still want to try one more thing on the old server, try
disabling SELinux.  Wonder if it could be causing problems...

 
 At this point, I think to forget about this server and try to make it work
 with the new one that I build last night.  My only problem is that no
domain
 and user can be shown in the Web admin panel.  I tried to create a test
 domain with a test user... it work well; I can see it in the Web panel.  I
 double check for difference between this table (new test domain) and
tables
 of other domains... they are identical.
 
 Anyone knows how to make my old db appear in Qmail administration site?
 

Could be a number of problems causing this.  Probably what I'd do (not
knowing the internals of qmailadmin) is enable MySQL query logging and
determine what query it runs against your DB to get the list of domains.

Edit /etc/my.cnf, should look something like this when query logging is
enabled:

[mysqld]
log=/var/log/mysql/query.log

Then, mkdir -p /var/log/mysql and chown mysql.mysql /var/log/mysql and
restart MySQLd.

Try and view your qmail admin, then look at the /var/log/mysql/query.log
file.  You should be able to determine a) what user qmailadmin uses to
connect ot the database with (ensure this user exists and can read the
correct tables), b) what database the user is connecting to (confirm it
exists and user has access to it) and c) what queries are being run.

I'd probably end up running those queries manually from a mysql command
shell to see if they return anything.

Post output of your query log here if you like...

Also make sure /var/lib/mysql/dbname that you copied over is owned by the
MySQL user.  Check /var/lib/mysql/*.err to see if there were problems
opening this database when you started MySQL up...

If you connect to MySQL from the command line (as root user) can you do a
USE dbname and SHOW TABLES?

Some things to try.

Ray

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]