error with the hostname

EroTeamSpeak

New Member
Feb 27, 2009
5
0
1
Bonjour,

je vous contacte car j'ai un petit souci avec mes VPS lorsque je creer un VPS je lui donne un nom exemple vps2.euroteamspeak.com et lorsque je le redemmare j'ai vps2 comme nom pouvez vous s'il vous plait m'aider a corrigé cette erreur

Cordialement.

Hello,

I contacted you because I have a small problem with my VPS when I create a VPS I give him a name such vps2.euroteamspeak.com and when I vps2 reboots I can name you please help me corrected this error

Best regards​
 
Bonjour,

je vous contacte car j'ai un petit souci avec mes VPS lorsque je creer un VPS je lui donne un nom exemple vps2.euroteamspeak.com et lorsque je le redemmare j'ai vps2 comme nom pouvez vous s'il vous plait m'aider a corrigé cette erreur

Cordialement.

Hello,

I contacted you because I have a small problem with my VPS when I create a VPS I give him a name such vps2.euroteamspeak.com and when I vps2 reboots I can name you please help me corrected this error

Best regards​

I do not clearly understand your issue, can explain it again? And post only in English.
 
I have a problem with my VPS. When I create a VPS, I give a specific name (for exemple, vps2.euroteamspeak.com). When I reboot the VPS, I only have the name of vps2 on ssh which gives me a problem with cPanel or Direct Admin.
Can you please help me fixing this problem ?

 
I have a problem with my VPS. When I create a VPS, I give a specific name (for exemple, vps2.euroteamspeak.com). When I reboot the VPS, I only have the name of vps2 on ssh which gives me a problem with cPanel or Direct Admin.
Can you please help me fixing this problem ?


when you create the container you should provide the hostname (not hostname.domain.com).

what template do you use and what problem do you have with cPanel or Direct Admin?

if you use our centos-5-standard_5.2-1_i386.tar.gz template you get:

Code:
[root@cpanel ~]# hostname
cpanel
[root@cpanel ~]# hostname -f
cpanel.domain.com
[root@cpanel ~]#
 
Hello Sir,

I use this vesrion CentOS-5-i386-afull.tar.gz, I'm going to reinstall all of our VPS on your vession and I tested if there is still this problem I will contact you again.
thank you
Best regards​
 
invalid HELO due to hostname

we are seeing this as well - strange

in short - when we do hostname - it reports the hostname but not the full hostname -

when we do hostname -f we see the full hostname such has

sub.hostname.com

everyone however fails to see the full sub.hostname.com
cPanel builds the HELO from the hostname - so not sure what to do here
 
cron

I setup a cron to reset the proper hostname every 15 minutes
works like a charm - go figure



we are seeing this as well - strange

in short - when we do hostname - it reports the hostname but not the full hostname -

when we do hostname -f we see the full hostname such has

sub.hostname.com

everyone however fails to see the full sub.hostname.com
cPanel builds the HELO from the hostname - so not sure what to do here
 
understood but ...

hostname may not include a domain name!

I understand - however since this is the cPanel world we are having the issue with - this work around works

go figure

i know - drives me batty as well having to do something wrong to make something work

:rolleyes:
 
Re: invalid HELO due to hostname

hello,

we install proxmox in one server for test and we see the same issue, this is no good when you install cpanel

when you install cpanel, cpanel only see cpanel instead of cpanel.domain.com, how fix this ?
 
Re: invalid HELO due to hostname

when you install cpanel, cpanel only see cpanel instead of cpanel.domain.com, how fix this ?

First, report a bug to cpannel support.

As a temporary workaround you can try to modify

/etc/vz/dists/scripts/redhat-set_hostname.sh (comment line val=...)

Code:
function set_hostname()
{
        local cfgfile="$1"
        local var=$2
        local val=$3
        [ -z "${val}" ] && return 0
#       val=${val%%.*}
        put_param "${cfgfile}" "${var}" "${val}"
        hostname "${val}"
}

Does that help?
 
Re: invalid HELO due to hostname

First, report a bug to cpannel support.

hello,

this is no a cpanel bug,

i create a empty VPS and when you put hostname no show the hostname complete,

i resolve the problem adding the # you recommend.

now we continue whit the test thanks
 
It is by sure 100% a cpannel bug.

Hostname should be a name without domain. The following behaviour is correct:

Code:
# hostname
test
 
# hostname -f
text.example.com


I consider everything else as wrong.

cpannel should use gethostbyaddr() instead of expecting 'hostname' to be a FQDN.

- Dietmar.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!