What does the apache log say?
On 2/15/08, Emilio Muno <[EMAIL PROTECTED]> wrote:
> :(
>
> look:
>
>
> # type wget
> wget is /usr/local/bin/wget
> # type axfr-get
> axfr-get is /usr/local/bin/axfr-get
>
>
> # grep axfr-get *
> axfr_get.php:$command = "/usr/local/bin/tcpclient
> '".escapeshellcmd($hostname)."' 53 /usr/local/bin/axfr-get
> '".escapeshellcmd($domain)."' $file $file.tmp 2>&1";
>
> domains.php: $smarty->assign('message', "<span
> class=\"error\">Error: could not do axfr-get for
> $domain:<br>".$out_array[0]."</span>");
>
>
> # grep wget *
> update-data.sh: if /usr/local/bin/wget -q -O
> "$TINYDNSDIR/root/data.srv-$A" $VD?state=get_data ; then
> update-data.sh: echo "ERROR: wget did not return 0 when
> accessing $VD?state=get_data" 1>&2
>
>
> domains.php: $command = "/usr/local/bin/wget -q -O -
> '$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'
> 2>&1";
>
>
>
> Very Strange problem!!!
>
> I d'ont know how to solve this....
>
> tks
>
> emilio
>
>
> 2008/2/15, Mohammad Shami Al-Shami <[EMAIL PROTECTED]>:
> > VegaDNS uses wget to download a page from the web server
> >
> > 1) Either you don't have wget installed (it isn't installed on FreeBSD
> > by default for example)
> > 2) Apache can't find wget or axfr-get, try looking at the code and
> > using the full path instead
> >
> >
> > On 2/15/08, Emilio Muno <[EMAIL PROTECTED]> wrote:
> > > This works very smoothly! :(((
> > >
> > > something in apache configuration?
> > >
> > > tks
> > >
> > > 2008/2/15, Mohammad Shami Al-Shami <[EMAIL PROTECTED]>:
> > > > Try doing this for one of the zones
> > > >
> > > > tcpclient IP2 53 axfr-get "$ZONE" "$ZONE" "$ZONE".tmp
> > > >
> > > > If it works then your problem is in apache
> > > >
> > > >
> > > > On 2/15/08, Emilio Muno <[EMAIL PROTECTED]> wrote:
> > > > > It doesn't work!
> > > > >
> > > > > My files:
> > > > >
> > > > > more named.conf:
> > > > >
> > > > > acl internal { ip.ip.0.0/17; };
> > > > >
> > > > > options {
> > > > > directory "/home/emilio/GR/dns"; // Working directory
> > > > > pid-file "/usr/local/bind/named.pid"; // Put pid
> > file in worki
> > > > > auth-nxdomain no;
> > > > > allow-query { internal; }; // This is the default
> > > > > allow-transfer { IP1; IP2; 127.0.0.1; };
> > > > > allow-recursion { internal; };
> > > > > allow-notify { internal; };
> > > > > provide-ixfr no ;
> > > > > listen-on { IP2; };
> > > > > query-source address IP2 port 53;
> > > > >
> > > > > };
> > > > >
> > > > >
> > > > > .
> > > > > .
> > > > > .
> > > > >
> > > > > ------------------------
> > > > >
> > > > > ps -ef | grep named
> > > > > root 5004 1 0 17:36:17 ? 0:00 /usr/local/sbin/named
> > > > > -c /home/emilio/GR/dns/named.conf
> > > > >
> > > > > --------------------------
> > > > >
> > > > > I removed the file php.ini and restarted the apache server, but
> > nothing!!!!
> > > > >
> > > > > :(
> > > > >
> > > > > Any sugestions??
> > > > >
> > > > > Tks
> > > > >
> > > > > emilio
> > > > >
> > > > > 2008/2/15, Mohammad Shami Al-Shami <[EMAIL PROTECTED]>:
> > > > > > This happened to me a few days ago.
> > > > > >
> > > > > > 1) Check if named allows zone transfers to the vegadns IP.
> > > > > > 2) Check that bind is installed
> > > > > > 3) Check your PHP settings, when this happened to me I removed
> > > > > > php.ini, restarted apache and then the transfer was working
> > smoothly
> > > > > >
> > > > > > Hope that helps
> > > > > >
> > > > > >
> > > > > > On 2/15/08, Emilio Muno <[EMAIL PROTECTED]> wrote:
> > > > > > > I have a djbdns working with a lot of domains. I need to
> > import more
> > > > > > > 30 domains. When I try to import with vegadns interface, i
> > receive the
> > > > > > > message:
> > > > > > >
> > > > > > > Error: could not do axfr-get for domainxxx.com.br
> > > > > > >
> > > > > > >
> > > > > > > I'm importing from a bind server running in another address in
> > same computer.
> > > > > > >
> > > > > > > djbdns: ip1
> > > > > > > vegadns: ip2
> > > > > > >
> > > > > > > named: ip2
> > > > > > >
> > > > > > >
> > > > > > > what's going on?
> > > > > > >
> > > > > > > thanks in advance,
> > > > > > >
> > > > > > >
> > > > > > > emilio
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Mohammad Al-Shami
> > > > > > Linux Administrator
> > > > > > http://blog.al-shami.net
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Mohammad Al-Shami
> > > > Linux Administrator
> > > > http://blog.al-shami.net
> > > >
> > >
> >
> >
> >
> > --
> >
> > Mohammad Al-Shami
> > Linux Administrator
> > http://blog.al-shami.net
> >
>
--
Mohammad Al-Shami
Linux Administrator
http://blog.al-shami.net