Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 16th February 2009, 18:39
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are two warnings in /home/admispconfig/ispconfig/ispconfig.log

Quote:
15.02.2009 - 15:13:07 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2102: WARNING: could not groupadd -g 12006 web6_anonftp &> /dev/null
15.02.2009 - 15:13:07 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2103: WARNING: could not useradd -d /var/www/web6/ftp -g web6_anonftp -m -s /bin/false -u 12006 web6_anonftp &> /dev/null
ls -la /root/ispconfig outputs the following

Quote:
total 108
drwxr-xr-x 10 root root 4096 Feb 15 18:29 .
drwxr-x--- 5 root root 4096 Jan 31 13:24 ..
-rwxr-xr-x 1 root root 33074 Dec 31 08:43 cronolog
-rwxr-xr-x 1 root root 9673 Dec 31 08:43 cronosplit
drwxr-xr-x 12 root root 4096 Dec 31 08:36 httpd
drwxr-xr-x 16 root root 4096 Dec 31 08:43 isp
drwxr-xr-x 7 root root 4096 Dec 31 08:36 libmcrypt
-rw-r--r-- 1 root root 8 Feb 15 18:29 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 Dec 31 08:35 openssl
drwxr-xr-x 6 root root 4096 Jan 31 14:01 php
drwxr-xr-x 4 root root 4096 Dec 31 08:43 scripts
drwxr-xr-x 4 root root 4096 Dec 31 08:43 standard_cgis
drwxr-xr-x 2 root root 4096 Dec 31 08:43 sv
-rwx------ 1 root root 9389 Dec 31 08:43 uninstall
Reply With Quote
Sponsored Links
  #12  
Old 17th February 2009, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by marm26 View Post
Ok I seem to have found the problem but I have no idea how to fix it.

I restarted BIND and checked my server logs. BIND is loading the zone file for the first domain on my server but not the zone file for the new domain I wanted to add.

Any ideas on how to fix this?
Is that zone listed in your named.conf? Can you post your named.conf here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 17th February 2009, 15:49
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes this zone is contained in /etc/named.conf

Quote:
options {
pid-file "/var/named/chroot/var/run/named/named.pid";
directory "/var/named";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.root";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};


zone "domain1.com" {
type master;
file "pri.domain.com";
};
zone "mydomain.com" {
type master;
file "pri.mydomain.com";
};



//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
Reply With Quote
  #14  
Old 17th February 2009, 17:25
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also checked the files in /var/named/

The file pri.domain1.com and pri.mydomain.com look the same to me. However the file pri.mydomain.com is shown in green color inside the named folder whereas the file pri.domain1.com is shown in white? Don't know what this is supposed to mean but its about the only thing that looks strange to me here.
Reply With Quote
  #15  
Old 18th February 2009, 20:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
ls -la /var/named/
? Sounds as if the permissions differ...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 19th February 2009, 00:05
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ls -la /var/named/ outputs the following:

Quote:
total 48
drwxr-xr-x 5 root named 4096 Feb 17 07:29 .
drwxr-xr-x 23 root root 4096 Feb 2 11:45 ..
drwxrwxr-x 6 root named 4096 Dec 26 09:12 chroot
drwxrwx--- 2 named named 4096 Jul 11 2008 data
-rw-r--r-- 1 root root 256 Jan 31 07:40 named.local
-rw-r--r-- 1 root root 2516 Jan 31 07:40 named.root
-rw-r--r-- 1 named named 959 Feb 16 09:43 pri.mydomain.com
-rw-r--r-- 1 named named 959 Feb 16 09:43 pri.mydomain.com~
-rw-r--r-- 1 named named 1291 Feb 5 13:53 pri.domain1.com
-rw-r--r-- 1 named named 1253 Feb 5 13:53 pri.domain1.com~
drwxrwx--- 2 named named 4096 Jul 11 2008 slaves
Reply With Quote
  #17  
Old 19th February 2009, 20:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Hm, both zone files have the same permissions...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 23rd February 2009, 05:23
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok the nameserver problem is solved. I hired somebody to solve it. Don't ask me how. I would really like to share but i didn't quite understand what he did.

The thing is now that the domain is resolved correctly there is another problem. I cant point mydomain.com to any IP other then the IP of domain1.com.

Any other domain I choose in ISPconfig will go to the shared ip page and not to the root of mydomain.com. Can't use the Server IP, Can't use a third domain i added, I can only use the IP of domain1.com.(all domains I am talking about here are up and running)

Really I am kind of losing it here. I feel like winning the lottery twice on the same day in a negative way (better make this sitting in a plane crash twice on the same day). Unbelievable how those micro baby steps can fail two work.

Any help with this would be greatly appreciated.

Thanks...
Reply With Quote
  #19  
Old 24th February 2009, 19:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

For the website settings, you must use one of the IP addresses that you see in the output of
Code:
ifconfig
, or you will get the Shared-IP page.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 24th February 2009, 19:14
marm26 marm26 is offline
Member
 
Join Date: Jan 2009
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Sure that's what I did. Still it's not working.

There are three IPs in ifconfig. However It only works if I choose the IP of my nameserver. Using one of the other two IPs gets the shared IP error.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
saslauthd problem: bind: Address already in use fitti70 Server Operation 4 14th May 2007 21:51
BIND problem rvarkevisser Installation/Configuration 1 23rd April 2007 17:37
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 15:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.