I Have cassandra server running on a VM and I'm trying to configure this server as a backend for Freeradius server. I'm using cassandra 2.0.15. The server is running normally. I can connect to it locally by just typing cqlsh. Now when freeradius looking to joint the cassandra server it's complaining that no host is found. I suspect that the problem is related to the cpp driver. Below the errors. If they're familiar to you, plz let me know how I can fix them.
Thanks in advance,
Sara
rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used
rlm_sql_cassandra: Connecting to Cassandra cluster
rlm_sql_cassandra: At 1434545218197ms, in file src/session.cpp, function virtual void cass::Session::on_run(), line 388: Creating 1 IO worker threads
rlm_sql_cassandra: At 1434545218198ms, in file src/connection.cpp, function void cass::Connection::notify_error(const string&), line 651: Host 127.0.0.1 had the following error on startup: 'Connection timeout'
rlm_sql_cassandra: At 1434545218198ms, in file src/control_connection.cpp, function virtual void cass::ControlConnection::on_close(cass::Connection*), line 203: Lost connection on host 127.0.0.1
rlm_sql_cassandra: Unable to connect: [100000a] No hosts available for the control connection
rlm_sql_cassandra: Socket destructor called, closing socket
rlm_sql (sql): Opening connection failed (0)
rlm_sql (sql): Removing connection pool
/usr/local/etc/raddb/mods-enabled/sql[1]: Instantiation failed for module "sql"
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-driver-us...@lists.datastax.com.
I'm seeing the same thing, latest versino of cassandra, and latest versin of the cpp driver.
In a network trace, I can see that the connection is being established, but the client never sends its protocol version
I am having the same issue, i am lead to believe it is the driver myself because i am able to connect from my local machine, but not vm to vm...if you found an answer please let me know. Thanks
Josh can you connect from 1 vm to the other using cqlsh?
{:> alex :<}
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-driver-us...@lists.datastax.com.
Josh Cooper | Software Engineer txtwire technologies P: 208-227-7706 | O: 877-652-0030 F: 208-247-9309 | Text "cooper" to "91011"