Unfortunately one of my co-workers removed the VM that was running FreeNATS. I've had to reinstall from source code.
Everything went well but the serverside tests are not running. I followed the steps in the installation instruction (http://www.purplepixie.org/freenats/wik ... duled_Jobs). Steps I've done so far:
- I had to create the folder cron.minute.
- Created the freenats-tester per the installation instructions.
- The file freenats-tester is set as an executable file.
- The folder and file have the appropriate permissions.
- I set the cron up as it is in the installation notes.
- I have the nodes (currently 316 nodes) enabled and ping as the test.
- I've ran the test as root manually /opt/freenats/server/bin/test-threaded.sh and it runs fine.
What did I miss?
This is installed on Ubuntu 10.04 server.
Serverside tests fail
Re: Serverside tests fail
Hi,
Sorry to hear you're having problems and that your VM got deleted!
Ok it's either the cron job not running or some problem with the script (obviously).
I suggest you try the following:
- Run the script yourself in cron.minute as root and see if it runs
- Check your syslog/messages and see if the cron.minute is firing and if the script is running
- Alter the pipe in the cron.minute script to direct the output to something like /tmp/freenats-cron
- Check if this file is getting created and/or what's in it
Regards,
Dave.
Sorry to hear you're having problems and that your VM got deleted!
Ok it's either the cron job not running or some problem with the script (obviously).
I suggest you try the following:
- Run the script yourself in cron.minute as root and see if it runs
- Check your syslog/messages and see if the cron.minute is firing and if the script is running
- Alter the pipe in the cron.minute script to direct the output to something like /tmp/freenats-cron
- Check if this file is getting created and/or what's in it
Regards,
Dave.
Re: Serverside tests fail
The crontab wasn't running. It seems that the /etc/crontab can't guess at my intentions through a typo. It seems that I had a few letters reversed in the crontab file. Sometimes you can even read dyslexic after writing it.
Excellent product. Thank you for you quick response.
Excellent product. Thank you for you quick response.
Re: Serverside tests fail
Hi,
When the computers can cope with our typos it's only a matter of time before Skynet wipes us all out.
Glad it's working for you now and you're finding the system useful.
Regards,
Dave.
When the computers can cope with our typos it's only a matter of time before Skynet wipes us all out.
Glad it's working for you now and you're finding the system useful.
Regards,
Dave.