{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1461","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1461/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1461/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1461/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1461","id":56120894,"number":1461,"title":"ZNC Install Fails on DS215j without some tinkering","user":{"login":"TriggerAu","id":3683611,"avatar_url":"https://avatars.githubusercontent.com/u/3683611?v=3","gravatar_id":"","url":"https://api.github.com/users/TriggerAu","html_url":"https://github.com/TriggerAu","followers_url":"https://api.github.com/users/TriggerAu/followers","following_url":"https://api.github.com/users/TriggerAu/following{/other_user}","gists_url":"https://api.github.com/users/TriggerAu/gists{/gist_id}","starred_url":"https://api.github.com/users/TriggerAu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TriggerAu/subscriptions","organizations_url":"https://api.github.com/users/TriggerAu/orgs","repos_url":"https://api.github.com/users/TriggerAu/repos","events_url":"https://api.github.com/users/TriggerAu/events{/privacy}","received_events_url":"https://api.github.com/users/TriggerAu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-31T10:37:36Z","updated_at":"2015-01-31T10:40:18Z","closed_at":"2015-01-31T10:40:18Z","body":"I followed the default instructions and basically found that it would not start the package on the NAS. Hopefully this is the right place to throw this, I couldn't find a forum as such to place it specifcally\r\n\r\nDS215j with DSM 5.1-5022 Update 1\r\n\r\nThe below steps are the ones I used to get it working\r\n\r\n### 1. Install from web console\r\n```\r\n> tail /var/log/synopkg.log\r\n2015/01/31 21:00:02     install znc 1.4-9: run postinst  ret=[0]\r\n2015/01/31 21:00:02     znc stderr:     su: can't run /sbin/nologin: No such file or directory\r\n\r\n2015/01/31 21:00:02     install znc 1.4-9 successfully\r\n```\r\n\r\n### 2. Start it from web console\r\n```\r\n> tail /var/log/synopkg.log\r\n2015/01/31 21:04:23     start znc: begin to start version 1.4-9\r\n2015/01/31 21:04:23     stop znc: begin to stop version 1.4-9\r\n2015/01/31 21:04:23     stop znc: stop version 1.4-9 successfully, result 0\r\n2015/01/31 21:04:23     start znc: start version 1.4-9 failed, result 263\r\n```\r\n\r\n### 3. Run from Shell as root\r\n```\r\n> /var/packages/znc/scripts/start-stop-status start\r\nStarting ZNC ...\r\nsu: can't run /sbin/nologin: No such file or directory\r\n```\r\n\r\n### 4. Change /etc/passwd to have znc user using /bin/sh shell\r\nI'm not a linux guy so I wasnt sure how to install /sbin/nologin to the system\r\n\r\n### 5. Run from web console\r\n````\r\n> tail /var/log/synopkg.log\r\n2015/01/31 21:19:25     start znc: begin to start version 1.4-9\r\n2015/01/31 21:19:26     stop znc: begin to stop version 1.4-9\r\n2015/01/31 21:19:26     stop znc: stop version 1.4-9 successfully, result 0\r\n2015/01/31 21:19:26     start znc: start version 1.4-9 failed, result 263\r\n````\r\n\r\n### 6. Run from Shell as root\r\n```\r\n> /var/packages/znc/scripts/start-stop-status start\r\nStarting ZNC ...\r\n[ .. ] Checking for list of available modules...\r\n[ >> ] ok\r\n[ .. ] Opening config [/usr/local/znc/var/configs/znc.conf]...\r\n[ >> ] ok\r\n[ ** ] Found old config from ZNC < 0.203. Saving a backup of it.\r\n[ .. ] Creating a config backup...\r\n[ !! ] File exists\r\n[ .. ] Loading global module [webadmin]...\r\n[ >> ] [/usr/local/znc/lib/znc/webadmin.so]\r\n[ .. ] Binding to port [8250]...\r\n[ >> ] ok\r\n[ .. ] Binding to port [+8251]...\r\n[ !! ] Unable to locate pem file: [/usr/local/znc/var/znc.pem]\r\n[ ?? ] Would you like to create a new pem file? (yes/no) [yes]: yes\r\n[ .. ] Writing Pem file [/usr/local/znc/var/znc.pem]...\r\n[ >> ] ok\r\n[ .. ] Binding to port [+8251]...\r\n[ >> ] ok\r\n[ ** ] Loading user [zncadmin]\r\n[ .. ] Forking into the background...\r\n[ >> ] [pid: 27193]\r\n[ .. ] Writing pid file [/usr/local/znc/var/znc.pid]...\r\n[ >> ] ok\r\n[ ** ] ZNC 1.4 - http://znc.in\r\n```\r\n\r\n### 7. Run from web console\r\n```\r\n> tail /var/log/synopkg.log\r\n2015/01/31 21:21:24     start znc: begin to start version 1.4-9\r\n2015/01/31 21:21:24     start znc: start version 1.4-9 successfully, result 0\r\n```"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/72312867","html_url":"https://github.com/SynoCommunity/spksrc/issues/1461#issuecomment-72312867","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1461","id":72312867,"user":{"login":"Dr-Bean","id":1538260,"avatar_url":"https://avatars.githubusercontent.com/u/1538260?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Bean","html_url":"https://github.com/Dr-Bean","followers_url":"https://api.github.com/users/Dr-Bean/followers","following_url":"https://api.github.com/users/Dr-Bean/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Bean/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Bean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Bean/subscriptions","organizations_url":"https://api.github.com/users/Dr-Bean/orgs","repos_url":"https://api.github.com/users/Dr-Bean/repos","events_url":"https://api.github.com/users/Dr-Bean/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Bean/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T10:40:18Z","updated_at":"2015-01-31T10:40:18Z","body":"Please check open issues first, #1427. I'll probably release an updated package in the next day or so."}}