Web Hosting Talk







View Full Version : Another CPanel issue


Tazzman
09-22-2002, 08:51 AM
First of all, thanks to Webdude for helping me clean out my apache config files. This has corrected the issue of apache not rebooting from withing WHM.

I am still getting errors on the sites I transferred over from another server though, but I have narrowed the error down. It seems these sites are still somehow pointing to the IP of the old server they were on, instead of the IP of the new server. On the 'list accounts' page the IP is listed as beeing that of the new server and also the IP listed in in httpd.conf is correct, yet you'll see what I mean if you have a little look at the below screenshots...

Screenshot 1 (http://www.section5.net/error1.JPG)
Screenshot 2 (http://www.section5.net/error2.JPG)
Screenshot 3 (http://www.section5.net/error3.JPG)

Hope somebody has had this problem and can point me towards a solution. I'd contact CPanel directly, only I don't know whether they're there during the weekend.

Thanks for your time.

coight
09-22-2002, 09:44 AM
In WHM click "Change Site's Ip Address " It's under account functions and select the servers IP.

Tazzman
09-22-2002, 09:49 AM
Thanks for the reply Myacen, but I've tried that a few times. It says the IP has been changed, but when you go and edit something on the account in question (say add extra mySQL databases or anything like that) the old IP is listed in the summary. I have no idea where it is keeping the old IP, but it is pointing the URL to it.

Craig
09-22-2002, 09:58 AM
Are the Ip's correct in /etc/domainips ?

Craig

Tazzman
09-22-2002, 10:46 AM
/etc/domainips only has 4 or 5 entries in it (which are also correct). Is this normal when a server has about 100 sites on it for domainips only to list a few of them?

Craig
09-22-2002, 11:58 AM
Which sites are having problems? ones on the eth0 ip or dedicated IP ones?

Are DNS dbs all correct? Proftpd.conf?

Craig
09-22-2002, 12:01 PM
Are the accounts listed in /var/cpanel/resellers-name.accts correct?

insiderhosting
09-22-2002, 12:39 PM
check out the zone files for the sites in questions as well as /var/named/domain.com.db

-Steven

Techark
09-23-2002, 07:57 PM
This just happend to me also. This could be a bad bug for cpanel looks like it is using whois info when setting up an account.

It has used an IP that is not on my server not even the same data center. One of my resellers set an account up and it is using the accounts old IP address.

This means you cannot create an account that is already hosted.

Tazzman
09-23-2002, 08:41 PM
Weird thing is that it isn't happening to all accounts. This is the only one I've caught it on on all the accounts I moved over from my FDCservers box.

Techark
09-23-2002, 08:57 PM
Don't ask me this has been a strange day so far. Something ate my httpd.conf file Apache crashed on one of my servers about the same time I get a help desk report on this and I pico httpd.conf and there are only about 20 lines in the whole file.
So restore it form my backup.
Now I am having to restore accounts that were set up since last nights back up.

One of those days. :bawling:

michaeln
09-23-2002, 10:32 PM
Well I get a page not found error for your screenshots so I assume everything is fine now.

However,
(1) Did you give the DNS time to change. Don't forget your ISP generally caches IP addresses of domains. So a domain that you had visited just before the move may still be comeing off of your old server for the next day or so depending on your ISP..

(2) Did you remember to update the IP addresses on your nameservers assuming you use your own nameservers.

Regards,
Michael

phantasywork
09-24-2002, 12:14 AM
Yes we also are having this problem , I moved a user last week to a new server and it was still trying to use the old servers ip , to check mail and everything else .

michaeln
09-24-2002, 12:15 AM
You upgraded the nameservr IPs those users domains use, or if you have all of your DNS on one servre did you remember to update the DNS there?