Serverside tests fail

The forum for help and support with FreeNATS as well as any useful hints and tips
Post Reply
dman
Posts: 4
Joined: Tue Dec 14, 2010 4:01 pm

Serverside tests fail

Post by dman » Thu Mar 10, 2011 7:58 pm

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.

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: Serverside tests fail

Post by dave » Thu Mar 10, 2011 8:13 pm

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.

dman
Posts: 4
Joined: Tue Dec 14, 2010 4:01 pm

Re: Serverside tests fail

Post by dman » Thu Mar 10, 2011 8:41 pm

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.

dave
Site Admin
Posts: 260
Joined: Fri May 30, 2008 9:09 pm
Location: UK
Contact:

Re: Serverside tests fail

Post by dave » Thu Mar 10, 2011 8:49 pm

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.

Post Reply