roman_m
Verified User
No, guys, sorry, didn't have much time for now to do this feature.
I can still confirm that on CentOS it is working fine.
Any news about multi-user?
Regards
ricardo, is the ability to have multiple user with different password so you can user different login credential for different linked directadmin server.
[root@ridgway namedb]# /usr/local/directslave/bin/directslave
"rearrange_header" is not exported by the CGI::Util module
Can't continue after import errors at /usr/local/directslave/bin/../lib//CGI.pm line 28
BEGIN failed--compilation aborted at /usr/local/directslave/bin/../lib//CGI.pm line 28.
Compilation failed in require at /usr/local/directslave/bin/directslave line 7.
BEGIN failed--compilation aborted at /usr/local/directslave/bin/directslave line 7.
i got this from non-DA server (centos 5.8) as slave:
Code:[root@ridgway namedb]# /usr/local/directslave/bin/directslave "rearrange_header" is not exported by the CGI::Util module Can't continue after import errors at /usr/local/directslave/bin/../lib//CGI.pm line 28 BEGIN failed--compilation aborted at /usr/local/directslave/bin/../lib//CGI.pm line 28. Compilation failed in require at /usr/local/directslave/bin/directslave line 7. BEGIN failed--compilation aborted at /usr/local/directslave/bin/directslave line 7.
please tell how to fix it, thank you
On Ubuntu Precise Pangolin 12.04 (64-bit) I got this error
Can't locate Config/Auto.pm in @INC (@INC contains: /usr/local/directslave/bin/../lib/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./directslave line 10.
BEGIN failed--compilation aborted at ./directslave line 10.
please help
Hello
Now i have got the script up and communicate well with Direct Admin, it gets synchronized zone files fine. But the reload not zones.
I run Ubuntu Linux 11.04
I got this error in debug mode
flock() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 178.
print() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 179.
Check paths for existence and access rights on paths described in directslave.conf
named_workdir /etc/namedb/secondary
named_conf /etc/namedb/directslave.conf
uid bind
gid bind
pid /usr/local/directslave/run/directslave.pid
access_log /usr/local/directslave/log/access.log
error_log /usr/local/directslave/log/error.log
action_log /usr/local/directslave/log/action.log
mode master
named_workdir /etc/bind/secondary
named_conf /etc/bind/secondary/named.conf
retry_time 1200
rndc_path /usr/sbin/rndc
Are you guys interested in that? It's a perl daemon I created and used near a month. Not faced any troubles in test period.
http://mazur.net.ua/download/directslave-1.2.tar.gz
Benefits:
+ listen to tcp 2222 and imitates DirectAdmin /CMD_API_DNS_ADMIN (port can be changed in config)
+ acts as daemon with given uid/gid (bind (53), for example) for security & access to named.conf reason (named.conf is not system named.conf, just include from it)
+ no need for rsh/rsync
+ configurable via single config file (uid gid logs and many other things)
+ can serve parallel requests from about 10 servers (I wasn't tested a high-load, because I don't have so many DA servers
+ acts as master or slave mode (slave = just write named.conf entry for zone, master = writes named.conf entry & zone.db itself)
Limitations:
- no rc.d file (correct this in nearest time
- still old good perl, needs for CPAN-installed modules
Do not forget to read README.
I realize this is a very old thread but im wondering, why would i need to use this if DA already has Multi server setup?
Is this for servers that do not run DA? If so, where would this software be installed? On a DA server or non DA server?
The folder "/etc/bind/secondary" is owned by the bind user and group, but is the bind user alowed to run the "/usr/sbin/rndc" or its only the root user ?
any news for multiple user/pass access?