{"action":"created","issue":{"url":"https://api.github.com/repos/gbook/nidb/issues/10","labels_url":"https://api.github.com/repos/gbook/nidb/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/gbook/nidb/issues/10/comments","events_url":"https://api.github.com/repos/gbook/nidb/issues/10/events","html_url":"https://github.com/gbook/nidb/issues/10","id":77771575,"number":10,"title":"cannot stat ‘dcmrcv’ in setup-centos7.sh","user":{"login":"naegelejd","id":1110252,"avatar_url":"https://avatars.githubusercontent.com/u/1110252?v=3","gravatar_id":"","url":"https://api.github.com/users/naegelejd","html_url":"https://github.com/naegelejd","followers_url":"https://api.github.com/users/naegelejd/followers","following_url":"https://api.github.com/users/naegelejd/following{/other_user}","gists_url":"https://api.github.com/users/naegelejd/gists{/gist_id}","starred_url":"https://api.github.com/users/naegelejd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naegelejd/subscriptions","organizations_url":"https://api.github.com/users/naegelejd/orgs","repos_url":"https://api.github.com/users/naegelejd/repos","events_url":"https://api.github.com/users/naegelejd/events{/privacy}","received_events_url":"https://api.github.com/users/naegelejd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T19:17:12Z","updated_at":"2015-05-18T19:47:29Z","closed_at":"2015-05-18T19:47:29Z","body":"I'm using the `setup-centos7.sh` script and it fails to copy `dcmrcv` near the end. Here's a simple patch:\r\n\r\n```diff\r\ndiff --git a/setup/setup-centos7.sh b/setup/setup-centos7.sh\r\nold mode 100644\r\nnew mode 100755\r\nindex 2cfa0fc..4b4a8bc\r\n--- a/setup/setup-centos7.sh\r\n+++ b/setup/setup-centos7.sh\r\n@@ -221,7 +221,7 @@ echo \"Installing dcm4che receiver to listen on port 8104\"\r\n #read -p \"Press [enter] to continue\"\r\n \r\n # add dcmrcv service at boot\r\n-cp dcmrcv /etc/init.d\r\n+cp ${NIDBROOT}/install/programs/dcmrcv /etc/init.d\r\n chmod 755 /etc/init.d/dcmrcv\r\n chkconfig --add dcmrcv\r\n \r\n```"},"comment":{"url":"https://api.github.com/repos/gbook/nidb/issues/comments/103189252","html_url":"https://github.com/gbook/nidb/issues/10#issuecomment-103189252","issue_url":"https://api.github.com/repos/gbook/nidb/issues/10","id":103189252,"user":{"login":"gbook","id":8302215,"avatar_url":"https://avatars.githubusercontent.com/u/8302215?v=3","gravatar_id":"","url":"https://api.github.com/users/gbook","html_url":"https://github.com/gbook","followers_url":"https://api.github.com/users/gbook/followers","following_url":"https://api.github.com/users/gbook/following{/other_user}","gists_url":"https://api.github.com/users/gbook/gists{/gist_id}","starred_url":"https://api.github.com/users/gbook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbook/subscriptions","organizations_url":"https://api.github.com/users/gbook/orgs","repos_url":"https://api.github.com/users/gbook/repos","events_url":"https://api.github.com/users/gbook/events{/privacy}","received_events_url":"https://api.github.com/users/gbook/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T19:47:29Z","updated_at":"2015-05-18T19:47:29Z","body":"Thanks! I'll change it. I should also mention you may run into other bugs with the setup script as we are still working on migrating to CentOS 7. init is disabled by default in CentOS 7, so the above will not work as scripted. You will need to manually setup the dcmrcv program to start at runtime.\r\n\r\nAlso, some of the cpan (particularly Net::SMTP::TLS) modules will install correctly in the setup script, but the Perl modules will not run, saying the Perl libraries cannot be found.\r\n\r\nWe're working on these setup issues, but keep contributing. Thanks!"}}