On 8/17/2010 10:31 AM, David Milholen wrote:
On 08/16/2010 08:57 AM, Jake Vickers wrote:
On 08/16/2010 09:45 AM, David Milholen wrote:
On 08/15/2010 10:38 AM, Jake Vickers wrote:
On
08/15/2010 12:10 AM, David Milholen wrote:
On 8/14/2010 10:56 PM, Jake Vickers
wrote:
On 08/14/2010 11:42 PM, David
Milholen
wrote:
I dont like answering my self
but
just wanted to post an update on this.
I retried the backup/restore and all seemed to be
restored perfectly
this time.
Accept vqadmin is broke when viewing domains. It will
only see one
which is the most recent one
I submitted.
The other domains have been with us for a while.
I like using vqadmin to manage the domains and be able
to see on the
fly when users have logged in.
This is what I get in the HTTPD error_log
Premature end of script headers: toaster.vqadmin,
referer: http://63.147.8.12/mail/vqadmin/toaster.vqadmin
8.12 is the temp ip this machine has.
Search back in the archives - you need to edit the
database to get
vqadmin to work correctly again. It lists the numebr of
users as
21469839587 or something silly like that, and you need
to change it to
0
I did this and the above was the result.. What is weird
is that only
the most recent domain is fine. The others will return
this error.
If I use qcontrol to view them the one domain is fine but
the rest are
not present.
Ugh.. Ive been at it for a while and dont know where else
to look.
You'll need to look at your database structure to compare it
against
the "working" one and the restored. Something is different
there - I've
used the script to backup/restore 20+ servers without issue.
I fixed the issue with the backup portion and everything
restores but
for some reason the domains when being displayed in vqadmin
will give a
500 error on the page. All except one..
I did some looking at the database and did some comparing and
cannot
find any differences than what you spoke about.
I corrected these and made it look like the working domain but
still
same issue.
Is there is a dump you want me to perform to show the errors
when I try
to display the page?
Seeing some logs will be helpful.
Are you doing anything else not mentioned? Going from an older
version
to a new? From 32-bit to 64-bit?
Does the uid/gid of vpopmail match on both servers?
Ok,
Both machine have similar hardware.
This is the new machine:
# uname -a
Linux ns4 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010
i686
i686 i386 GNU/Linux
This is the Old machine:
uname -a
Linux ns2.wletc.com 2.6.9-89.0.23.ELsmp #1 SMP Wed Mar 17 06:55:21
EDT
2010 i686 i686 i386 GNU/Linux
Both UID/GID are the same at 89.
Here is the httpd.error_log from the new machine. This occurs as
soon
as you attempt to view any domain.
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined index: file in /usr/share/toaster/include/admin.inc.php
on
line 5
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined variable: PHP_SELF in
/usr/share/toaster/htdocs/admin/index.php on line 55
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined index: oldpasswd in
/usr/share/toaster/htdocs/admin/index.php on line 81
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined index: newpasswd in
/usr/share/toaster/htdocs/admin/index.php on line 81
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined index: newpasswd2 in
/usr/share/toaster/htdocs/admin/index.php on line 81
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 10
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined variable: html in
/usr/share/toaster/include/admin.inc.php on
line 93
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Undefined variable: html in
/usr/share/toaster/include/admin.inc.php on
line 138
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
[Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
Notice:
Use of undefined constant r - assumed 'r' in
/usr/share/toaster/include/admin.inc.php on line 137
Thanks
--Dave
--
David Milholen
Project Engineer
501-318-1300
Wireless Etc
Ok, here some related results to this thread.
I find that when I use vqadmin to just display users for a domain
that has this issue all is good.
So for all practical purposes vqadmin is operational except for
viewing inv domain settings.
I am still digging. I will get to the bottom of it.
qcontrol looks impressive but I am not ready to sink money into it
until I can get vqadmin running.
--Dave
|