#1  
Old 27th January 2008, 21:49
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
Default Migration problems

1) ProFTPD will not start.
Code:
[root@65 mod_auth_pam]# /etc/init.d/proftpd start
Starting proftpd:  - Fatal: unknown configuration directive 'AuthPAMConfig' on line 20 of '/etc/proftpd.conf'
[FAILED]
[root@65 mod_auth_pam]#

Last edited by crypted; 27th January 2008 at 22:27.
Reply With Quote
Sponsored Links
  #2  
Old 28th January 2008, 10:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

Please post the complete proftpd.conf file.

1) Which linux distribution do you use?
2) Is this a proftpd pacake from the distribution or did you compile it manually?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th January 2008, 21:48
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
Default

CENTOS 5.1 and I believe it was an RPM installed through the Perfect Installation notes on the website.


Also, NAMED doesn't seem to be working right on the new box. I can't get domains to resolve. (the IP is 65.110.53.130 and some domains are inter5.org, kissland.com, areyouliberal.com, and schlechthatchery.com)

named 20254 0.1 0.3 37736 3820 ? Ssl 09:11 0:26 /usr/sbin/named -u named -t /var/named/chroot

The setup configuration on ISPCONFIG's web interface for DNS has this:
named.conf - /etc/named.conf
zonefiles dir - /home/admispconfig/ispconfig/web/multidoc/edit


NAMED.CONF starts out as:
Code:
options {
        pid-file "/var/named/chroot/var/run/named/named.pid";
        directory "/home/admispconfig/ispconfig/web/multidoc/edit";
        auth-nxdomain no;
};
zone "." {
        type hint;
        file "named.root";
};

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

zone "53.110.65.in-addr.arpa" {
        type master;
        file "pri.53.110.65.in-addr.arpa";
};
zone "163.150.207.in-addr.arpa" {
        type master;
        file "pri.163.150.207.in-addr.arpa";
};

zone "kissland.com" {
        type master;
        file "pri.kissland.com";
};
zone "der
...........................
Also, there are tons of messages in /var/log/messages pertaining to all of the domains. Here's a sample:
Code:
Jan 28 15:40:31 inter5 named[20254]: lame server resolving 'andovermeat.com' (in 'andovermeat.com'?): 65.110.53.138#53
Jan 28 15:40:31 inter5 named[20254]: lame server resolving 'andovermeat.com' (in 'andovermeat.com'?): 65.110.53.131#53
Jan 28 15:40:31 inter5 named[20254]: lame server resolving 'andovermeat.com' (in 'andovermeat.com'?): 65.110.53.138#53
Jan 28 15:40:31 inter5 named[20254]: lame server resolving 'andovermeat.com' (in 'andovermeat.com'?): 65.110.53.130#53
Jan 28 15:40:31 inter5 named[20254]: lame server resolving
It appears as though NAMED isn't taking an authoritative stance. I changed /etc/resolv.conf to have only my IPs in there, still no fix. I also added some information to the named.conf and still no go...

Code:
include "/etc/rndc.key";

controls {
        inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};

acl trusted { 127.0.0.1; 66.111.32.57; 66.111.32.58; };

options {
        allow-recursion {trusted;};
        allow-transfer {trusted;};
};

options {
        pid-file "/var/named/chroot/var/run/named/named.pid";
        directory "/home/admispconfig/ispconfig/web/multidoc/edit";
        auth-nxdomain no;
};
Code:
 dig inter5.org
;; Warning: ID mismatch: expected ID 17899, got 30893
;; Warning: ID mismatch: expected ID 17899, got 30893
;; Warning: ID mismatch: expected ID 17899, got 30893

; <<>> DiG 9.3.3rc2 <<>> inter5.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17899
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;inter5.org.                    IN      A

;; Query time: 1369 msec
;; SERVER: 65.110.53.130#53(65.110.53.130)
;; WHEN: Mon Jan 28 19:08:55 2008
;; MSG SIZE  rcvd: 28

Last edited by crypted; 29th January 2008 at 01:09.
Reply With Quote
  #4  
Old 29th January 2008, 02:04
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
Default

I got it working by doing removing the CHROOT from the named server.
This means I have to execute it manually by typing

Code:
/sbin/named -u named
Is there a way to get this to work in a CHROOT environment? Is the CHROOT environment required?
Reply With Quote
  #5  
Old 29th January 2008, 10:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

Quote:
Is there a way to get this to work in a CHROOT environment?
Yes.

Quote:
Is the CHROOT environment required?
No, but recommended.

Your problem is that the permissions of your bind config directories are wrong.

1) Change the permissions of the bind config directories as described in the perfect setup guide.
2) Set the correct path to the bind config file directory in ispconfig under management > server > settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 29th January 2008, 16:58
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
Default

I redid all of the steps just in case from the Perfect Setup, there were no errors in doing so. I also verified the correct path to the zone files. Everything is setup correctly and NAMED still will not work in the CHROOTed environment. Ideas?
Reply With Quote
  #7  
Old 30th January 2008, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
Default

Are you absolutely sure you've used the exact commands from the Perfect Setup? Maybe you've made a typo or something...
__________________
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
  #8  
Old 7th February 2008, 00:18
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
Default

Yes I did the exact commands. The way to fix it was to move the /etc/named.conf to the /var/named/chroot/etc/ directory. After doing so it functioned properly.
Reply With Quote
  #9  
Old 7th February 2008, 11:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

After you moved the file, you should make a symlink from /etc/named.conf to /var/named/chroot/etc/named.conf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 8th February 2008, 00:12
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 13 Times in 5 Posts
 
Default

It's working fine as is, but just incase, I will make that symlink Till. Thanks a lot guys! Great job with ISPConfig!
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
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Problems with network on debian etch Kap Server Operation 3 29th December 2007 14:29
Problems with freezing and kernel error anebi Server Operation 2 19th August 2007 14:06
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14


All times are GMT +2. The time now is 14:16.


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