{"action":"created","issue":{"url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/1","labels_url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/1/comments","events_url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/1/events","html_url":"https://github.com/Stratio/stratio-connector-mongodb/issues/1","id":96027579,"number":1,"title":"unable to build mongodb connector","user":{"login":"zborisha","id":1408109,"avatar_url":"https://avatars.githubusercontent.com/u/1408109?v=3","gravatar_id":"","url":"https://api.github.com/users/zborisha","html_url":"https://github.com/zborisha","followers_url":"https://api.github.com/users/zborisha/followers","following_url":"https://api.github.com/users/zborisha/following{/other_user}","gists_url":"https://api.github.com/users/zborisha/gists{/gist_id}","starred_url":"https://api.github.com/users/zborisha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zborisha/subscriptions","organizations_url":"https://api.github.com/users/zborisha/orgs","repos_url":"https://api.github.com/users/zborisha/repos","events_url":"https://api.github.com/users/zborisha/events{/privacy}","received_events_url":"https://api.github.com/users/zborisha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pmadrigal","id":10169151,"avatar_url":"https://avatars.githubusercontent.com/u/10169151?v=3","gravatar_id":"","url":"https://api.github.com/users/pmadrigal","html_url":"https://github.com/pmadrigal","followers_url":"https://api.github.com/users/pmadrigal/followers","following_url":"https://api.github.com/users/pmadrigal/following{/other_user}","gists_url":"https://api.github.com/users/pmadrigal/gists{/gist_id}","starred_url":"https://api.github.com/users/pmadrigal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmadrigal/subscriptions","organizations_url":"https://api.github.com/users/pmadrigal/orgs","repos_url":"https://api.github.com/users/pmadrigal/repos","events_url":"https://api.github.com/users/pmadrigal/events{/privacy}","received_events_url":"https://api.github.com/users/pmadrigal/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-20T09:51:09Z","updated_at":"2015-07-22T09:17:51Z","closed_at":null,"body":"I tried to build and install MongodB connector from Github (it would be great if there was one built already and available to be used with crossdata)\r\n\r\nDocumentation is not correct https://github.com/Stratio/stratio-connector-mongodb/blob/master/doc/src/site/sphinx/about.rst\r\n\r\nThis file talks about non-existent file that should be created during package target/stratio-connector-mongodb-[VERSION]/bin/stratio-connector-mongodb-core[VERSION] start\r\n\r\nManaged to create rpm and tried to install it into running crossdata vagrant machine but for some reason it does not install correctly.\r\n\r\n[root@crossdata vagrant]# rpm -i stratio-connector-mongodb-0.5.0_SNAPSHOT.noarch.rpm \r\ncp: cannot stat `/opt/sds/stratio-connector-mongodb/template/MongoDBConnector': No such file or directory\r\nwarning: %post(stratio-connector-mongodb-0.5.0-0.1.20150718.222944.noarch) scriptlet failed, exit status 1\r\n\r\n\r\nParts were installed but it looks like not everything. I tried to execute\r\n\r\n[root@crossdata vagrant]# service stratio-connector-mongodb start\r\nstratio-connector-mongodb: unrecognized service\r\n\r\n\r\nIt looks like documentation is wrong - the service name is connector-mongodb\r\n\r\n[root@crossdata vagrant]#  service connector-mongodb start\r\nenv: /etc/init.d/connector-mongodb: Permission denied\r\n\r\n\r\nAfter fixing permissions looks like this script is referencing file that does not exist\r\n\r\n[root@crossdata init.d]#  service connector-mongodb start\r\n/etc/init.d/connector-mongodb: line 1: /opt/sds/stratio-connector-mongodb/bin/stratio-connector-mongodb: No such file or directory\r\n/etc/init.d/connector-mongodb: line 1: exec: /opt/sds/stratio-connector-mongodb/bin/stratio-connector-mongodb: cannot execute: No such file or directory"},"comment":{"url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/comments/123634111","html_url":"https://github.com/Stratio/stratio-connector-mongodb/issues/1#issuecomment-123634111","issue_url":"https://api.github.com/repos/Stratio/stratio-connector-mongodb/issues/1","id":123634111,"user":{"login":"josegom","id":1228543,"avatar_url":"https://avatars.githubusercontent.com/u/1228543?v=3","gravatar_id":"","url":"https://api.github.com/users/josegom","html_url":"https://github.com/josegom","followers_url":"https://api.github.com/users/josegom/followers","following_url":"https://api.github.com/users/josegom/following{/other_user}","gists_url":"https://api.github.com/users/josegom/gists{/gist_id}","starred_url":"https://api.github.com/users/josegom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegom/subscriptions","organizations_url":"https://api.github.com/users/josegom/orgs","repos_url":"https://api.github.com/users/josegom/repos","events_url":"https://api.github.com/users/josegom/events{/privacy}","received_events_url":"https://api.github.com/users/josegom/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T09:17:51Z","updated_at":"2015-07-22T09:17:51Z","body":"Hello,\r\n\r\nWe have fixed the release 0.4 documentation  https://github.com/Stratio/stratio-connector-mongodb/tree/branch-0.4. We have explained better how to compile and execute the connector.\r\n\r\nNow we are working to improve the master branch documentation and rpm generation.\r\n\r\nThanks for the feedback."}}