Can't store Default Hostname

Reported by: Ignas
Created: 11 days ago
Last reply: 4 days ago
Views: 134


I just cant get TinyCP to remember default hostname (, but not getting any error tho.

How can I troubleshoot that?

Other than this, I think its a great system. Made for professionals by professionals. Thank You for a big job You did.

So I keep getting errors on mail service

2019-04-11 11:08:32  [2]	postfix/sendmail	fatal: bad string length 0 < 1: myhostname =	  
2019-04-11 11:04:10  [4]	postmulti	fatal: bad string length 0 < 1: myhostname =	  
2019-04-11 11:03:58  [30]	postfix/postmap	fatal: bad string length 0 < 1: myhostname =


My settings:
Write in default hostname, and press "Update" button.

System update, and my log analyzer page blank.
It does not work properly?


Nore sure where is 'system update', but log analyzer doesn't give any errors on saving.

Field is empty after save and sometimes mail service stops working, so I have to come backs here and enter hostname again and save.


I am unable to set my hostname from within TinyCP as well. The support, from the community and developer, are fairly poor from what I have noticed. I have been using TinyCP for around 2 months now and it's not bad; however, it is missing some functionally that I would very much miss from other panels. I am thinking about moving away from it and using something like VestaCP again. 


I would feel the same way, however, please consider that this project is still on startup, there is not much you can expect for yet in terms of support. 
What I suggest, try Ubuntu 14 instead, this should not give you much headache. 



It would be great if you could provide us more details about what exactly OS + version are you using, is it behind some kind of virtualization (important if it is a VPS, some providers block hostname changing via commands and must be done through their website)?

Also - post here

1. Output from this command:

hostname -A

2. Content of /etc/hosts (you can mask the IP addresses)


hostname -A returns empty. It is Debian 9.8 (Stretch) on XCP-NG (XEN based) virtualisation (not sure if that matter).

user@ferma:~$ hostname

user@ferma:~$ hostname -A

user@ferma:~$ cat /etc/hosts       localhost ferma
# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Write a reply Edit a reply