linode / longview

Linode Longview Agent
Other
334 stars 45 forks source link

Arch linux installation #35

Closed chrissound closed 6 years ago

chrissound commented 7 years ago

Hi there I'm trying to install this on Arch linux

In what format should the /etc/linode/longview.key be in? Just the API key as a text string?

chrissound commented 7 years ago
Feb 15 14:32:42 li1524-158.members.linode.com Longview.pl[25903]: Invalid API key at /opt/linode/longview/Linode/../Linode/Longview/Logger.pm line 32.
Feb 15 14:32:42 li1524-158.members.linode.com systemd[1]: longview.service: Control process exited, code=exited status=255
Feb 15 14:32:42 li1524-158.members.linode.com sudo[25900]: pam_unix(sudo:session): session closed for user root
Feb 15 14:32:42 li1524-158.members.linode.com systemd[1]: Failed to start Longview Agent.

Feb 15 14:32:42 li1524-158.members.linode.com systemd[1]: longview.service: Unit entered failed state.
Feb 15 14:32:42 li1524-158.members.linode.com systemd[1]: longview.service: Failed with result 'exit-code'.
Feb 15 14:32:49 li1524-158.members.linode.com sshd[25953]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.27  user=
Feb 15 14:32:52 li1524-158.members.linode.com sshd[25953]: Failed password for root from 112.85.42.27 port 25524 ssh2
Feb 15 14:32:54 li1524-158.members.linode.com sshd[25953]: Failed password for root from 112.85.42.27 port 25524 ssh2
Feb 15 14:32:57 li1524-158.members.linode.com sshd[25953]: Failed password for root from 112.85.42.27 port 25524 ssh2
Feb 15 14:32:57 li1524-158.members.linode.com sshd[25953]: Received disconnect from 112.85.42.27 port 25524:11:  [preauth]
Feb 15 14:32:57 li1524-158.members.linode.com sshd[25953]: Disconnected from 112.85.42.27 port 25524 [preauth]
Feb 15 14:32:57 li1524-158.members.linode.com sshd[25953]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.27  user=root
yan12125 commented 7 years ago

Yep it's in plain text. I've just set up an Arch linode :)

displague commented 6 years ago

The Longview API key is case sensitive and should be in upper-case. The single line of input may end with a new-line.