Error message on the xivo web interface
Solved
Andy13b
Posted messages
33
Status
Member
-
Andy13b Posted messages 33 Status Member -
Andy13b Posted messages 33 Status Member -
Hello
I'm currently working on a xivo server.
When I try to connect to the web interface using the IP address of the server, I get an error message.
xivo-confd must be running: Unexpected error: (psycopg2.OperationalError) could not translate host name "localhost" to address: Name or service not known (Background on this error at: https://docs.sqlalchemy.org/en/14/errors.html)
When I do /etc/hosts I get a permission denied message. Yet I am logged in as root because the user I entered at the beginning was root and then the password.
Could you provide some very valuable help?
I'm currently working on a xivo server.
When I try to connect to the web interface using the IP address of the server, I get an error message.
xivo-confd must be running: Unexpected error: (psycopg2.OperationalError) could not translate host name "localhost" to address: Name or service not known (Background on this error at: https://docs.sqlalchemy.org/en/14/errors.html)
When I do /etc/hosts I get a permission denied message. Yet I am logged in as root because the user I entered at the beginning was root and then the password.
Could you provide some very valuable help?
5 answers
-
(Re) hello,
which OS is it installed on?
when you are root, do you have the # at the end of the prompt?
if you just do a cat /etc/hosts?
--
and... Here you go! -
I installed xixo on the official site, which I installed on a desktop PC.
So I think it's on a Debian.
In the end, I do have the # that is present.
The command cat/etc/hosts gives me the response
No such file or directory. -
Hello again.
So I looked in nano /etc/hosts
In the folder, it was only written PC.
I therefore specified the loopback address and the IP address of the xivo server.
I'm restarting now and I will check the result. -
Everything is back to normal, I am super happy.
Thanks again for your help, brupala.
You are the best. :) -
I set my IP address to be static so that it wouldn't change.
In nano /etc/network/interfaces, I changed it like this:
iface eth0 inet static