Post4VPS Forum | Free VPS Provider
struggling to install ogp agent in vps - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: VPS Support (https://post4vps.com/Forum-VPS-Support)
+--- Thread: struggling to install ogp agent in vps (/Thread-struggling-to-install-ogp-agent-in-vps)



struggling to install ogp agent in vps - Khadeer143 - 10-14-2019

I'm struggling to install ogp agent in vps it showing errors that invalid argument ,type sudo manually etc errors idk weather its maintaince problem or anything else
Link of screenshot : https://imgur.com/S6W71UR


RE: struggling to install ogp agent in vps - deanhills - 10-14-2019

Moved from General Support to VPS Support.


RE: struggling to install ogp agent in vps - Sn1F3rt - 10-14-2019

The problem you're facing is because of your hostname p4v.hostlease.com, the main problem is that it doesn't point anywhere - https://dnschecker.org/#A/p4v.hostlease.com

That's the root cause of all your problems. For solution, either Gregory has to repoint the present hostname to the IP of your VPS, or you gotta use your own domain.

Just FYI, to set hostname, execute this:

Code:
(sudo) systemctl set-hostname <new-hostname>

Enter your domain (or subdomain) in place of the <new-hostname>.

Hope this helps Smile

Regards,


RE: struggling to install ogp agent in vps - tiwil - 10-14-2019

The solution should be straight forward. Have you run that "sudo dpkg --configure -a" per bash request?

The hostname problem is not too important, you still can use APT or DPKG as usual without hostname set correctly.