Narsil
Posts: 1
Joined: Sun May 19, 2019 2:42 pm

sudo hostname problem

Sun May 19, 2019 2:50 pm

Hi folks,

Hope you read french enough to point the problem ;)) :

Code: Select all

[email protected]:~ $ sudo pkill deluge-web
sudo: impossible de déterminer le nom de l'hôte raspberrypi
[email protected]:~ $ cat /etc/hosts
127.0.0.1	localhost
::1		localhost ip6-localhost ip6-loopback
ff02::1		ip6-allnodes
ff02::2		ip6-allrouters

127.0.1.1	RaspberryDeluge
[email protected]:~ $ cat /etc/hostname
RaspberryDeluge
Suggestion ?

THX

epoch1970
Posts: 2761
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: sudo hostname problem

Sun May 19, 2019 7:31 pm

If you just changed the host name you need to reboot for the change to be fully taken into account.

Traditionally a unix/linux hostname is written entirely in lowercase. CamelCase should work ok as well.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Troubleshooting”