Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nickfennell

Pages: [1]
1
CentOS 7 Problems / Unexpected end of file when starting cwpsrv.service
« on: August 10, 2017, 12:54:12 AM »
Have tried to install cwp on centos 7.3 but having some issues at the end of the process.

sh cwp-el7-latest installs and reports as installed but on attempting to start cwpsrv.service

Code: [Select]
### /var/log/messages
Aug 10 01:49:38 dark systemd: Starting CentOS Web Panel service (daemon)...
Aug 10 01:49:38 dark cwpsrv: cwpsrv: [emerg] nexpected end of file, expecting ";" or "}" in /usr/local/cwpsrv/conf.d/cwp-ssl.conf:9
Aug 10 01:49:38 dark cwpsrv: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
Aug 10 01:49:38 dark systemd: cwpsrv.service: control process exited, code=exited status=1
Aug 10 01:49:38 dark systemd: Failed to start CentOS Web Panel service (daemon).
Aug 10 01:49:38 dark systemd: Unit cwpsrv.service entered failed state.
Aug 10 01:49:38 dark systemd: cwpsrv.service failed.

If I comment out the line 'include /usr/local/cwpsrv/conf.d/*.conf;' from cwpsrv.conf the service starts but the web interface is not functional (missing MySQL_connect function as well as other things).

If anything more than 'empty.conf' is included - cwpsrv bombs out with the error above at the end of whatever file is included..

Code: [Select]
Aug 10 01:54:52 dark systemd: Starting CentOS Web Panel service (daemon)...
Aug 10 01:54:52 dark cwpsrv: cwpsrv: [emerg] nexpected end of file, expecting ";" or "}" in /usr/local/cwpsrv/conf.d/php.conf:3
Aug 10 01:54:52 dark cwpsrv: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
Aug 10 01:54:52 dark systemd: cwpsrv.service: control process exited, code=exited status=1
Aug 10 01:54:52 dark systemd: Failed to start CentOS Web Panel service (daemon).
Aug 10 01:54:52 dark systemd: Unit cwpsrv.service entered failed state.
Aug 10 01:54:52 dark systemd: cwpsrv.service failed.

Anyone have any insight into what the issue might be?

Pages: [1]