Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Znc Fails to start DSM6 #dsm6 #2294

Closed
rp4k opened this issue May 1, 2016 · 4 comments
Closed

Znc Fails to start DSM6 #dsm6 #2294

rp4k opened this issue May 1, 2016 · 4 comments
Labels

Comments

@rp4k
Copy link

rp4k commented May 1, 2016

DSM6.0-7321 Update 4
machine : DS716+

ZNC :

2016/05/02 03:36:18 install znc 1.6.0-11:
End: postinst ret=[0]
2016/05/02 03:36:18 install znc 1.6.0-11:
Begin: /bin/rm -rf /volume1/@tmp/pkginstall
2016/05/02 03:36:18 install znc 1.6.0-11:
End: /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2016/05/02 03:36:18 install znc 1.6.0-11 successfully
2016/05/02 03:41:19 start znc: begin to start version 1.6.0-11
2016/05/02 03:41:21 stop znc: begin to stop version 1.6.0-11
2016/05/02 03:41:21 stop znc: stop version 1.6.0-11 successfully, result 0
2016/05/02 03:41:26 start znc: start version 1.6.0-11 failed, result 272
May 2 03:59:47 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21188]: service_start.c:74 synoservice: [pkgctl-znc] starting ...
May 2 03:59:49 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21188]: service_start.c:180 synoservice: [pkgctl-znc] start failed.[0xD900 manager .cpp:204]
May 2 03:59:49 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21188]: service_stop.c:23 synoservice: [pkgctl-znc] stopping ...
May 2 03:59:49 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21188]: service_stop.c:38 synoservice: [pkgctl-znc] is already stopped.
May 2 03:59:49 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21188]: service_stop.c:86 synoservice: [pkgctl-znc] stopped.

seems to fail on start and idk what result 272 is.
i was able to get it to install . but only after i created the group "ZNC"

@Dr-Bean
Copy link
Contributor

Dr-Bean commented May 9, 2016

Ref #2216.

@Safihre
Copy link
Contributor

Safihre commented Jun 24, 2018

Further DSM6 compatibility in #2977.

@ph4r05
Copy link

ph4r05 commented Nov 16, 2018

Just note, quickfix to start ZNC on DSM6 while adduser bug is fixed:

I had to change the start script in the following way:

/var/packages/znc/scripts/start-stop-status:

# Originally:
#su ${USER} -c "${ZNC} -d ${INSTALL_DIR}/var"

# Now:
sudo -u ${USER} -EH -i -- sh -c "${ZNC} -d ${INSTALL_DIR}/var"

@rjsproxy
Copy link

Thanks ph4r05. I had to run znc once manually to create /usr/local/znc/var/znc.pem (afaict), but after that start-stop-status script seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants