Forums / Installing on a Linux/Unix Server / Server Move - Admin Login loads for 10 minutes and no mail

Server Move - Admin Login loads for 10 minutes and no mail

Views: 1,447

Results 1 to 7 of 7
23 Jul 2013, 9:10 AM
#1
rocketsites avatar

rocketsites

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
41
Plugin Contributions:
4

Server Move - Admin Login loads for 10 minutes and no mail

Hi all.

We've moved a large ZC from one hosting provider to another (new is a VPS).

Reconfigured, and front-end working great.

Initially, admin worked as normal too. But after around an hour, something changed - when logging in to admin, the page now loads for 10 or 15 minutes, before finally logging in. Once in, admin behaviour is normal. Nothing was changed in any files or the DB to cause this. Everything is exactly the same as it was when the admin was working as normal. Cookies/cache cleared.

Update check is DISABLED in both configuration and in /admin-dir/includes/local/skip_version_check.ini

Also, the site is not sending any mail to customers. Tried all mail settings to no avail. Another ZC on the same box (albeit 1.5) is sending using sendmail without issue. On the problematic one, /admin-dir/mail.php can't be accessed either - just doesn't load.

Any ideas?

Many thanks.

23 Jul 2013, 9:14 AM
#2
rocketsites avatar

rocketsites

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
41
Plugin Contributions:
4

Re: Server Move - Admin Login loads for 10 minutes and no mail

Update - after the admin login loading for 10 minutes, this time I got a 500 error. Refresh the page, and admin index.php appears and all works OK.

So strange!

23 Jul 2013, 9:19 AM
#3
rocketsites avatar

rocketsites

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
41
Plugin Contributions:
4

Re: Server Move - Admin Login loads for 10 minutes and no mail

Mail sorted - Setting 'Emails must send from known domain?' to Yes rectified it.

23 Jul 2013, 9:21 AM
#4
rocketsites avatar

rocketsites

New Zenner

Join Date:
Jun 2013
Location:
United Kingdom
Posts:
41
Plugin Contributions:
4

Re: Server Move - Admin Login loads for 10 minutes and no mail

Aaaaand finally...admin has resolved itself too!

I wonder if this was something caused by DNS propagation? Or maybe something with mail is checked on login, so now that that's OK then login is OK?

23 Jul 2013, 5:21 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Server Move - Admin Login loads for 10 minutes and no mail

RocketSites:

Or maybe something with mail is checked on login, so now that that's OK then login is OK?
There is no "mail" getting "checked" during login.

Login has no relationship to email in your old v1.3.8.
In v1.5.0+ an email is sent only when multiple password login attempts fail ... and you'll know about the failures because it will show an error message on-screen.

So, no, it has nothing to do with mail.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Jul 2013, 7:05 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Server Move - Admin Login loads for 10 minutes and no mail

RocketSites:

We've moved a large ZC from one hosting provider to another (new is a VPS).

I don't wish to worry you, but......

RocketSites:

Reconfigured, and front-end working great.

Initially, admin worked as normal too. But after around an hour, something changed - when logging in to admin, the page now loads for 10 or 15 minutes, before finally logging in. Once in, admin behaviour is normal. Nothing was changed in any files or the DB to cause this. Everything is exactly the same as it was when the admin was working as normal.
<snip>
Any ideas?

...... This is a classic symptom of the server running out of memory and/or a software crash . How much memory does your new VPS have?

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

24 Jul 2013, 7:10 AM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Server Move - Admin Login loads for 10 minutes and no mail

RocketSites:

I wonder if this was something caused by DNS propagation?

It can't be ruled out. Time will tell.

If you simply changed the 'A' or 'NS' records in the DNS the updates usually only take a matter of minutes/hours.
If you performed a redelegation (changed registrars) it can take hours/days for the changes to propagate.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.