Can't start "Named"

Boballoo

Verified User
Joined
Aug 31, 2005
Messages
62
After finding this message: "This IP is being shared among many domains. To view the domain you are looking for, simply enter the domain name in the location bar of your web browser." on one of my domains too long (3 days) and having tried many things, I finally read here that I should try to restart "http" and "named". I did that with both, but "named" would not restart/start/reload. Now I am stumped. Your help would be appreciated.
 
How did you restart named? through the Directadmin panel or from ssh command line?

Try to restart named in ssh command line so that you can see any error message when you restart named.
 
How did you restart named? through the Directadmin panel or from ssh command line?

Try to restart named in ssh command line so that you can see any error message when you restart named.
I tried from DA CP. What is the command to restart "named" via ssh?
 
Still not working: "The service 'named' on server XXXXXXXXXXX is currently down.
 
It seems that you got some dns error.

dns_master_load: /var/named/contactsjapan.com.db:32: webmail.contactsjapan.com: CNAME and other data
zone contactsjapan.com/IN: loading master file /var/named/contactsjapan.com.db: CNAME and other data
_default/contactsjapan.com/IN: CNAME and other data
 
Please check the file /var/named/contactsjapan.com.db

vim /var/anemd/contactsjapan.com.db

Make sure that after your cname record of webmail.contactsjapan.com.db
you have the trailing period .

webmail IN CNAME contactsjapan.com.
 
Please check the file /var/named/contactsjapan.com.db

vim /var/anemd/contactsjapan.com.db

Make sure that after your cname record of webmail.contactsjapan.com.db
you have the trailing period .

webmail IN CNAME contactsjapan.com.
That did it. It was not the missing period on contactsjapan.com but you were pointing in the right direction, it was the CNAME but I use google apps to process my mail so it was google.com that was missing the period. Thanks for your help. That problem is solved but the original problem: "This IP is being shared among many domains. To view the domain you are looking for, simply enter the domain name in the location bar of your web browser." is still there. Can't figure out what the previous server admin did but I cannot get into this domain and cannot get rid of this. Checked all the name server settings and they seem to be correct.
 
Last edited:
The domain ip in named and apache config files do not match.
 
All the named files are in /var/named

All the httpd files for the different users are in /usr/local/directadmin/data/users/username


The server itself is responding to the domain on one ip but apache is listening for it on another.

Also the problem could be that you just changed the ip's for that user and your isp has cached the old ip address. In that case you can either wait for your isp to clear its cache or change the nameservers in your own network settings on your computer.

These two things will cause the symptoms you are experiencing but may not be all the things that may cause this. But at least it is a start.

Since I can see contactsjapan.com just fine then I would suggest that the problem is with you and your isp caching the old ip address.

If the problem is with a different domain then if we had that then more information would be forthcoming.
 
I am seeing the same thing for freetradedomains.com

It means the problem is very probably the two configuration files not matching the ip address.
 
All the named files are in /var/named

All the httpd files for the different users are in /usr/local/directadmin/data/users/username
I still can't figure out how to edit these files or even how to locate them. When I use the file manager in DA it just times out every time. A previous server admin changed the skin so that I cannot change it back from the admin area and this skin is very very slow. In Fact, I am not even able to access the DA CP anymore. Times out every time.
 
Last edited:
OK, I have fixed the problem with the IP addresses being different in the named file and the apache config file and the site now displays the standard DA logo. However, I am not able to use the FTP for this site and cannot figure out why. It is the same if I use the IP address or the domain name. I get the error "The remote host cannot be found" After w week dealing with this any help is appreciated.
 
FTP is working fine. I get prompted for the username and password.
 
FTP is working fine. I get prompted for the username and password.
Yes, so do I, but when I create a new account and enter the username and password I get the error above OR I get "login Incorrect".
 
Yes, so do I

No, no. You said:

I get the error "The remote host cannot be found"

If you get a login prompt then the hostname IS found. Now you just have a simple username and password problem. If you don't remember the password then reset it from DA.
 
No, no. You said:



If you get a login prompt then the hostname IS found. Now you just have a simple username and password problem. If you don't remember the password then reset it from DA.
OK, Floyd, thank you for your help and your patience. That was then. Things have changed. Here is the situation as it stands now. I am now able to access the domain via the browser and I can use the main FTP account (the one automatically created when the site is set up in DA). But, when I create a new FTP account, the user names and passwords do not work. I have tried restarting proftpd and creating the account again several times but have never been able to to get it to work. I have never had a problem like this before on any of the 119 sites I have set up on my server. However, this account is set up as a reseller which is new for me. I don't know why that would make a difference except that the account is accessed from a different tab.
 
Back
Top