Longview Installation Error with nginx 1.1.19
The following NEW packages will be installed:
linode-longview
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/23.6 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Preconfiguring packages ...
Checking Nginx configuration...
Checking MySQL configuration...
Successfully connected to MySQL
Selecting previously unselected package linode-longview.
(Reading database ... 60673 files and directories currently installed.)
Unpacking linode-longview (from .../linode-longview_1.1.0.2_all.deb) ...
Processing triggers for ureadahead ...
Setting up linode-longview (1.1.0.2) ...
Checking Nginx configuration...
Checking MySQL configuration...
Successfully connected to MySQL
Restarting nginx: nginx.
Finished configuring nginx, writing new configuration to /etc/linode/longview.d/Nginx.conf
egrep: /etc/linode/longview.d/Nginx.conf: No such file or directory
tail: cannot open `/etc/linode/longview.d/Nginx.conf' for reading: No such file or directory
invoke-rc.d: unknown initscript, /etc/init.d/longview not found.
update-rc.d: /etc/init.d/longview: file does not exist
dpkg: error processing linode-longview (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linode-longview
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$
…but /etc/linode/longview.d/Nginx.conf exists:
-rw-r--r-- 1 root root 40 Nov 4 18:49 /etc/linode/longview.d/Nginx.conf
If I now run "sudo apt-get install -y linode-longview" I get past the missing Nginx.conf error, but the install still fails because /etc/init.d/longview is missing:
:~$ sudo apt-get install -y linode-longview
Reading package lists... Done
Building dependency tree
Reading state information... Done
linode-longview is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linode-longview (1.1.0.2) ...
Checking Nginx configuration...
Found nginx status page at http://127.0.0.2/nginx_status specified in /etc/linode/longview.d/Nginx.conf
Checking MySQL configuration...
Successfully connected to MySQL
invoke-rc.d: unknown initscript, /etc/init.d/longview not found.
update-rc.d: /etc/init.d/longview: file does not exist
dpkg: error processing linode-longview (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linode-longview
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~$
Shouldn't /etc/init.d/longview be installed as part of the package? How can I get Longview installed?