If the RPC API tells you {“error”:”noNetwork”,”error_code”:12,”error_message”:”Network not available.”} and the log is busy repeating messsage like this:
2013-Dec-16 04:45:33 ResourceManager:NFO Charging 184.73.57.84:51235 for useless data ($5) 2013-Dec-16 04:45:16 Peer:NFO No new transactions until synchronized
You might not have defined validators and a validation_quorum in rippled.cfg, which the template doesn’t make clear you both need. You could use, for example:
[validators_site] ripple.com [validation_quorum] 3
See also What is causing “Network not available” error in rippled RPC call and how to fix it?.