View Full Version : Can't start "Named"
Boballoo
03-22-2008, 02:34 AM
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.
pkilam
03-22-2008, 07:17 AM
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.
Boballoo
03-22-2008, 10:24 AM
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?
Boballoo
03-22-2008, 11:12 AM
Still not working: "The service 'named' on server XXXXXXXXXXX is currently down.
tanfwc
03-22-2008, 02:31 PM
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
welch
03-22-2008, 11:18 PM
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.
Boballoo
03-23-2008, 12:04 AM
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.
floyd
03-23-2008, 06:43 AM
The domain ip in named and apache config files do not match.
Boballoo
03-23-2008, 12:17 PM
The domain ip in named and apache config files do not match.How would I open those to compare or correct them? Can I just use a text editor? Where are they located?
floyd
03-23-2008, 12:57 PM
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.
Boballoo
03-23-2008, 01:07 PM
If the problem is with a different domain then if we had that then more information would be forthcoming.Sorry, the problem is with this domain: freetradedomains.com
floyd
03-23-2008, 01:15 PM
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.
Boballoo
03-24-2008, 02:54 PM
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.
Boballoo
03-24-2008, 03:09 PM
And now my server is down and all sites are down! What have I done?
Boballoo
03-26-2008, 02:45 AM
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.
floyd
03-26-2008, 04:35 AM
FTP is working fine. I get prompted for the username and password.
Boballoo
03-26-2008, 09:42 AM
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".
floyd
03-27-2008, 05:00 AM
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.
Boballoo
03-27-2008, 08:45 AM
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.
floyd
03-27-2008, 08:55 AM
What does the log tell you?
Is the account listed in the /etc/proftpd.passwd file?
What is the ftp error message that you get back?
Perhaps this thread helps http://www.directadmin.com/forum/showthread.php?p=79543
Boballoo
03-27-2008, 10:01 AM
What does the log tell you?
If you mean the ftp log I am not sure how to access it. I do not know how to access files via ssh and I am not able to view the logs via DA. (Don't know why)
Is the account listed in the /etc/proftpd.passwd file?
How do I view this file?
What is the ftp error message that you get back?
"530 Login incorrect"
No matter what I do it will not accept the password I create when I set up the FTP account. The thread you pointed me to had some promise but the author of the post never says how he fixed the problem.
floyd
03-27-2008, 10:18 AM
I do not know how to access files via ssh
Then we are at a dead end. You need to hire a system administrator.
Boballoo
03-27-2008, 12:16 PM
Then we are at a dead end. You need to hire a system administrator.
Yes, I know. I have hired several in the past and all have simply been either incompetent or lazy. (Please don't be offended. This does NOT mean all server admins. Just all the ones I have hired.) The most recent experience is why I am now having these problems. This reseller account was created by a server admin who messed things up and thus is no longer my server admin.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.