Having issues installing Longview Pro on Ubuntu 22.04 LTS
I can't seem to get Longview Pro to install on my Linode. I've done it in the past just fine but for some reason, it isn't working properly. I'm running Ubuntu 22.04 with all updates installed.
I've opened up the Longview tab in the cloud manager and created a new client. I then logged into my Linode as root and pasted in the curl command shown in the cloud manager. It then says mod_status is not installed and whether I want to allow it and I say yes but instead of going to the next screen it just prints out some gibberish every time I press a key so I can't press return on Yes to allow it to change my system. I've restored from a backup and in that mod_status seems to be enabled and working.
Can someone help me out please? This problem is annoying me since it is the last step I need to take before I can start using it. If you need any more information then please let me know.
Thank you for any help.
In an attempt to recreate this I spun up a Linode with the same distro version - Ubuntu 22.04 and I did not run into any issues installing Longview. Just like you stated, I copied and run the curl command on my Linode and I did not see any message about
mod_status not being installed.
Once the installation completed, I run
sudo systemctl status longview to check the status of the agent and as you can see it was inactive.
oot@localhost:~# sudo systemctl status longview ○ longview.service - LSB: Longview Monitoring Agent Loaded: loaded (/etc/init.d/longview; generated) Active: inactive (dead) Docs: man:systemd-sysv-generator(8)
I started the service by running
sudo systemctl start longview and it was up and running. I could also see my metrics being reported to the client in Cloud Manager.
root@localhost:~# sudo systemctl status longview ● longview.service - LSB: Longview Monitoring Agent Loaded: loaded (/etc/init.d/longview; generated) Active: active (running) since Sat 2022-04-30 05:22:56 UTC; 3min 52s ago Docs: man:systemd-sysv-generator(8) Process: 2226 ExecStart=/etc/init.d/longview start (code=exited, status=0/SUCCESS) Tasks: 1 (limit: 1034) Memory: 106.5M CPU: 4.110s CGroup: /system.slice/longview.service └─2231 linode-longview Apr 30 05:22:56 localhost systemd: Starting LSB: Longview Monitoring Agent... Apr 30 05:22:56 localhost longview: * Starting Longview Agent longview Apr 30 05:22:56 localhost longview: ...done. Apr 30 05:22:56 localhost systemd: Started LSB: Longview Monitoring Agent.
If you can, spin up a new Linode with the same Ubuntu version, and try installing Longview client. Our Using Longview to Obtain System Metrics guide has instructions on how to get this done. If you run into any issues you may want to try installing Longview manually.