Forums Sign Up Reply Search Statistics
Power Toys GraFX Software Solutions - Forum / Power Toys /

Alias problem

 
Author sunmacet
Forums Member
#1 Posted: 16 Mar 2008 04:46:22
Reply 
Just found out that Alias feature may some serious problems. Alias domain seems to work just fine, but unalias doesn't delete the domain as it should.

With unalias atleast /var/named/run-root/etc/psaptzone.files is untouched.

That means that if you have the domain aliased with Plesk's own Alias feature and you have aliased the same with Power Toys your named will endup failing in starting up because there is duplicate config for that alias at /etc/named.conf and /var/named/run-root/etc/psaptzone.files.

So how to replicate:
1. Create (your users may do this) alias test.domain.com from Plesk
2. Create alias test.domain.com from Power Toys
3. Unalias test.domain.com from Power Toys
4. Restart named and you will have fail with following error:
---
Starting named:
Error in named configuration:
/etc/named.conf:1639: zone 'test.domain.com': already exists previous definition : /etc/psaptzone.files:2 [FAILED]
---

This leads to problems because the problem might not reveal it self before you notice that new domains won't resolve (luckily Power Toys have feature to check that). :)
Author software
Admin
#2 Posted: 23 Mar 2008 05:49:51
Reply 
We will add this to bugtracker, BUt if you have 8.2 or newer plesk, use their alias, we suggest this in earlier versions only.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.