New install help!

99 views
Skip to first unread message

burnoutrevenge001

unread,
Dec 5, 2015, 6:30:36 PM12/5/15
to vFense
I have followed all procedures regarding the instructions posted on github for installing the vFense server(cloning github repository method). installing on ubuntu 12, rethinkdb version is 1.13.0. When i get to the step of initializing the vFense server. this is my ouput: 

starting listener
listener started
Im about to connect to the listener
localhost 9004
I'm connected to the listener
I'm sending the new config file over
new config sent
shutting down listener
listener is down
Rethink is not Running
Rethink instances.d directory removed and cleaned
update-rc.d: warning: /etc/init.d/vFense missing LSB information
 System start/stop links for /etc/init.d/vFense already exist.
patching file /usr/local/lib/python2.7/dist-packages/apscheduler/scheduler.py
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file /usr/local/lib/python2.7/dist-packages/apscheduler/scheduler.py.rej
Sleeping until rethink starts
rethinkdb: vFense: Starting instance. (logging to `/var/lib/rethinkdb/vFense/data/log_file')
Sleeping until rethink starts
Sleeping until rethink starts
Sleeping until rethink starts
Sleeping until rethink starts
^CTraceback (most recent call last):
  File "/opt/TopPatch/tp/src/scripts/initialize_vFense.py", line 340, in <module>
    db_initialized, msg = initialize_db()
  File "/opt/TopPatch/tp/src/scripts/initialize_vFense.py", line 229, in initialize_db
    sleep(2)
KeyboardInterrupt

Sleeping until rethink start will continue forever. I have tried running it multiple times, but I still cannot figure out why it is not completing. It is being run in a user account with root privileges, rethinkdb is not running, I also checked all processes ps -au to ensure that nothing is running in relation to database. vfense user was created as a user and a vfense instance within the rethinkdb during the initialization. rvapi_file.log outputs 
/opt/TopPatch/var/log/rvapi_file.log
KeyError: 2
2015-12-02 22:09:06 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.key already exists
2015-12-02 22:09:06 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.crt already exists
2015-12-02 22:09:06 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.csr already exists
2015-12-02 22:09:06 - rvapi - ERROR - Could not connect to 127.0.0.1:28015. Error: [Errno 111] Connection refused
2015-12-02 22:09:06 - rvapi - ERROR - Could not connect to 127.0.0.1:28015. Error: [Errno 111] Connection refused
2015-12-02 22:09:08 - rvapi - ERROR - Server dropped connection with message: "ERROR: this is the rdb protocol port (bad magic number)"
2015-12-02 22:09:10 - rvapi - ERROR - Server dropped connection with message: "ERROR: this is the rdb protocol port (bad magic number)"
2015-12-02 22:09:12 - rvapi - ERROR - Server dropped connection with message: "ERROR: this is the rdb protocol port (bad magic number)"
2015-12-02 22:09:14 - rvapi - ERROR - Server dropped connection with message: "ERROR: this is the rdb protocol port (bad magic number)"

Then i attempted a different version of rethinkdb 1.13.4 my initialize is the same. and the log file is 


 ip = ifaddresses(iface)[2][0]['addr']
KeyError: 2
2015-12-02 22:41:23 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.key already exists
2015-12-02 22:41:23 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.crt already exists
2015-12-02 22:41:23 - rvapi - WARNING - system_user - File /opt/TopPatch/tp/data/ssl/server.csr already exists
2015-12-02 22:41:23 - rvapi - ERROR - Could not connect to 127.0.0.1:28015. Error: [Errno 111] Connection refused
2015-12-02 22:41:24 - rvapi - ERROR - Could not connect to 127.0.0.1:28015. Error: [Errno 111] Connection refused
2015-12-02 22:41:26 - rvapi - ERROR - Server dropped connection with message: "ERROR: Received an unsupported protocol version. This port is for RethinkDB queries. Does your client driver version not match the server?"
2015-12-02 22:41:28 - rvapi - ERROR - Server dropped connection with message: "ERROR: Received an unsupported protocol version. This port is for RethinkDB queries. Does your client driver version not match the server?"
2015-12-02 22:41:30 - rvapi - ERROR - Server dropped connection with message: "ERROR: Received an unsupported protocol version. This port is for RethinkDB queries. Does your client driver version not match the server?"


I ensured that rethinkdb was running everytime and followed all the steps on github to make sure that all dependencies etc are met. I am still new to linux systems so pardon me if it is an obvious error. But any help would be much appreciated thanks.

Reply all
Reply to author
Forward
0 new messages