Re: [users] vega dns

2008-02-23 Thread Michael Christie
Thank you for responding to me, can you please give an example of what 
you are talking about, do i have to put the full path to wget in to 
update-data.sh ?



Thanks

Michael

Bill Shupp wrote:

On Feb 20, 2008, at 2:26 PM, Scott Muller wrote:


Michael Christie wrote:

Hi all,
I have been useing vegadns for a long time on a freebsd box. I have 
been unable to run update-data.sh from the cron. the updatedata-sh 
will run from the comand line. can any one help solve this.


Michael,

From memory I had to put the full path to wget into the script for it 
to work.




Right.  It might not be in cron's path.  Also make sure the user the 
script runs as has permissions to write to the djbdns data files.


Regards,

Bill




Re: [users] vega dns

2008-02-23 Thread Dimitri P. Alexandris
Enter:

which wget

You will get something like:

/usr/bin/wget

Then edit your update-data.sh file, and change the line

if wget -q -O $TINYDNSDIR/data.srv-$A $VD?state=get_data ; then

to

if /usr/bin/wget -q -O $TINYDNSDIR/data.srv-$A $VD?state=get_data ; then

(use the path you' ve got from the which command)

My update-data.sh works fine _without_ the path. It also works _with_
the path of course.



On Sat, Feb 23, 2008 at 10:58 AM, Michael Christie
[EMAIL PROTECTED] wrote:
 Thank you for responding to me, can you please give an example of what
  you are talking about, do i have to put the full path to wget in to
  update-data.sh ?


  Thanks

  Michael


Re: [users] vega dns

2008-02-23 Thread Bill Shupp

On Feb 23, 2008, at 4:47 PM, Michael Christie wrote:


hi there ,

I have been using vega dns and tiny dns for a long time now and had  
no problem  with the install and set up. I have just set up a new  
server  in the past weeks and  installed  tiny  dns using the data  
file from the old server all works fine. last night i installed vega  
dns on the server all worked well with the installation and web  
access was fine . i set up the new zone and run update-data.sh check  
the data file and did a dig on the zone. I am finding that the zone  
will not respond to dns query's, it is like the server is not  
responding , the new vega dns data file looks the same as the old  
one,  i then copy the old data file back and run make, then dig the  
server all works ok with the old data file. can any one here help  
with this, and advise me what is going on.


You might need to update the IP address of the ns records to work on  
the new system.


Regards,

Bill


Re: [users] vega dns

2008-02-20 Thread Scott Muller

Michael Christie wrote:

Hi all,

I have been useing vegadns for a long time on a freebsd box. I have been 
unable to run update-data.sh from the cron. the updatedata-sh will run 
from the comand line. can any one help solve this.




Michael,

From memory I had to put the full path to wget into the script for it 
to work.






--

Scott Muller


Re: [users] vega dns

2008-02-20 Thread Bill Shupp

On Feb 20, 2008, at 2:26 PM, Scott Muller wrote:


Michael Christie wrote:

Hi all,
I have been useing vegadns for a long time on a freebsd box. I have  
been unable to run update-data.sh from the cron. the updatedata-sh  
will run from the comand line. can any one help solve this.


Michael,

From memory I had to put the full path to wget into the script for  
it to work.




Right.  It might not be in cron's path.  Also make sure the user the  
script runs as has permissions to write to the djbdns data files.


Regards,

Bill