Longview unable to start up

I'm having some issues getting longview to work. I have installed longview, but it won't start up. I fixed another issue previously (localhost/server-status wasn't working) but now I can hit localhost/server-status no problem, but I get the following in longview.log when I restart it. What network is unreachable? I am able to wget localhost now, so I'm fairly sure that's correct.. what am I missing?

$ cat /var/log/linode/longview.log

[…snip…]

09/19 09:05:30 INFO Longview[13354] - Starting Longview Agent version 1.1.5

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Disk.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Memory.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/CPU.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Network.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Processes.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/SysInfo.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Ports.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Applications/Nginx.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Applications/MySQL.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Applications/Apache.pm

09/19 09:05:30 INFO Longview[13355] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Packages/APT.pm

09/19 09:05:30 INFO Longview[13355] - Start up complete

09/19 09:06:39 INFO Longview[13355] - 500 read failed: Network is unreachable

09/19 09:06:39 INFO Longview[13355] - read failed: Network is unreachable at /usr/share/perl5/LWP/Protocol/http.pm line 371.

09/19 09:08:41 LOGDIE Longview[13355] - Server has requested this API Key stop sending data

09/19 09:08:41 WARN Longview[13355] - Server has requested this API Key stop sending data at /opt/linode/longview/Linode/../Linode/Longview/Logger.pm line 32.

2 Replies

Make sure the contents of /etc/linode/longview.key match what is displayed on the settings tab of the longview client in the Linode Manager. That last error message is usually caused by an old key.

Aha! That was my problem. It works now. Thanks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct