Getting an error Like :

(0) Error parsing “-“: ip_hton: Name or service not known

Yes, It was needed to add hostname corresponding
Actually, It happens when we have changed the hostname.
I have fixed it by using following commands
nano /etc/hosts/

then add an entry : myvpsserver

here “myvpsserver” is my hostname

Amanpreet Singh
WHMCS Smarters –
All Customised development for WHMCS