{"action":"created","issue":{"url":"https://api.github.com/repos/cms-dev/cms/issues/410","labels_url":"https://api.github.com/repos/cms-dev/cms/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/cms-dev/cms/issues/410/comments","events_url":"https://api.github.com/repos/cms-dev/cms/issues/410/events","html_url":"https://github.com/cms-dev/cms/issues/410","id":59192018,"number":410,"title":"Build Issue","user":{"login":"praveingk","id":9940568,"avatar_url":"https://avatars.githubusercontent.com/u/9940568?v=3","gravatar_id":"","url":"https://api.github.com/users/praveingk","html_url":"https://github.com/praveingk","followers_url":"https://api.github.com/users/praveingk/followers","following_url":"https://api.github.com/users/praveingk/following{/other_user}","gists_url":"https://api.github.com/users/praveingk/gists{/gist_id}","starred_url":"https://api.github.com/users/praveingk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveingk/subscriptions","organizations_url":"https://api.github.com/users/praveingk/orgs","repos_url":"https://api.github.com/users/praveingk/repos","events_url":"https://api.github.com/users/praveingk/events{/privacy}","received_events_url":"https://api.github.com/users/praveingk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-27T05:25:16Z","updated_at":"2015-06-14T10:15:55Z","closed_at":"2015-03-09T17:43:49Z","body":"Hi,\r\n\r\nI just pulled the latest CMS. I installed all the build essentials, and did following :: \r\n\r\n1) ./setup.py build    --  Was successful.\r\n\r\n2) sudo ./setup.py install -- it stopped with the following error :+1: \r\nInstalling cmsImporter script to /usr/local/bin\r\n\r\nInstalled /usr/local/lib/python2.7/dist-packages/cms-1.3.0pre-py2.7.egg\r\nProcessing dependencies for cms==1.3.0pre\r\nFinished processing dependencies for cms==1.3.0pre\r\ncreating user and group cmsuser.\r\ncopying isolate to /usr/local/bin/.\r\nTraceback (most recent call last):\r\n  File \"./setup.py\", line 344, in <module>\r\n    install()\r\n  File \"./setup.py\", line 286, in install\r\n    root, 04750, group=cmsuser_grp)\r\n  File \"./setup.py\", line 194, in copyfile\r\n    shutil.copy(src, dest)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 119, in copy\r\n    copyfile(src, dst)\r\n  File \"/usr/lib/python2.7/shutil.py\", line 82, in copyfile\r\n    with open(src, 'rb') as fsrc:\r\nIOError: [Errno 2] No such file or directory: './isolate/isolate'\r\n\r\nCan someone please help me resolve this? Tried this on two machines, but ended up with the sam failure.\r\n\r\nThanks,\r\nPravein."},"comment":{"url":"https://api.github.com/repos/cms-dev/cms/issues/comments/111809591","html_url":"https://github.com/cms-dev/cms/issues/410#issuecomment-111809591","issue_url":"https://api.github.com/repos/cms-dev/cms/issues/410","id":111809591,"user":{"login":"wil93","id":1285361,"avatar_url":"https://avatars.githubusercontent.com/u/1285361?v=3","gravatar_id":"","url":"https://api.github.com/users/wil93","html_url":"https://github.com/wil93","followers_url":"https://api.github.com/users/wil93/followers","following_url":"https://api.github.com/users/wil93/following{/other_user}","gists_url":"https://api.github.com/users/wil93/gists{/gist_id}","starred_url":"https://api.github.com/users/wil93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wil93/subscriptions","organizations_url":"https://api.github.com/users/wil93/orgs","repos_url":"https://api.github.com/users/wil93/repos","events_url":"https://api.github.com/users/wil93/events{/privacy}","received_events_url":"https://api.github.com/users/wil93/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T10:15:54Z","updated_at":"2015-06-14T10:15:54Z","body":"For now, CMS will search for configuration files in `/usr/local/etc/` first. If no configuration files are found, then it will search them also in `/etc/`. So:\r\n\r\n1) Make sure that you are working with the same configuration files that CMS is reading. When you start a CMS command (e.g. `cmsLogService`) you can see which configuration file is reading:\r\n\r\n```\r\n2015/06/14 12:03:49 - INFO [None] Using configuration file /etc/cms.conf.\r\n2015/06/14 12:03:49 - INFO [LogService,0] LogService 0 up and running!\r\n```\r\n\r\n2) Once you are sure that you're working with the correct config file, make sure that the connection string is correct:\r\n\r\n```\r\n    \"_help\": \"Connection string for the database.\",\r\n    \"database\": \"postgresql+psycopg2://your_username:your_password@localhost/your_database\",\r\n```\r\n\r\nWhere `your_username`, `your_password`, `your_database` were decided during [this phase](http://cms.readthedocs.org/en/v1.2/Running%20CMS.html#configuring-the-db) (if you left the documentation commands unchanged, then you'll have the username `cmsuser` and database name `database`).\r\n\r\n3) Make sure that the postgres daemon is running. If you have systemd (ubuntu >= 15.04, archlinux) you can check with `systemctl status postgresql`. If you have ubuntu < 15.04 I think you can do `service postgresql status`. If the daemon is not running, repeat the command with `start` instead of `status` and use sudo."}}