ispCP - Board - Support
configuration: is not valid domain name! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: configuration: is not valid domain name! (/thread-14348.html)



configuration: is not valid domain name! - GioMBG - 07-09-2011 07:45 AM

- OS-type (32/64-bit) Debian Squeeze 64
- ISPCP version and revision 1.0.7
- All modifications to your system/ISPCP none
- Root or vServer (if vServer, post vendor) hetzner

Hi ALL,
respect 4 the project!
I start to configure ispcp after digit:
perl ./ispcp-setup:
Please enter a fully qualified hostname [mydomain.eu]:
here I've input my dns
and I've recived:
The hostname is not a valid domain name!
but sure is pingable, if I input onto browser my dns I receive:
It works!
suggestion?
GioMBG

probably for the same reason?
check_host_system() | Starting...
check_sql_connection() | Starting...
check_sql_connection() | Checking MySQL server connection with the following DSN: DBI:mysql::localhost root
doSQL() | Starting...
doSQL() | [ERROR] Unable to connect SQL server with current DSN: DBI:mysql::localhost root

suggestions?
thx
GioMBG


RE: configuration: is not valid domain name! - kilburn - 07-09-2011 05:37 PM

fully qualified domain name == minimum three levels (hostname.domain.ltd).


RE: configuration: is not valid domain name! - GioMBG - 07-09-2011 06:40 PM

(07-09-2011 05:37 PM)kilburn Wrote:  fully qualified domain name == minimum three levels (hostname.domain.ltd).

understand
thx
GioMBG


RE: configuration: is not valid domain name! - GioMBG - 07-22-2011 06:56 AM

Hi Staff,
sorry I've set admin.mysite.eu
note that mysite.eu working and is recognizable

System checks
* Mysql server connection: Failed ]
[FATAL] An error occurred during setup process!
Correct it and re-run this program.
Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum

check_sql_connection() | Checking MySQL server connection with the following DSN: DBI:mysql::localhost root
doSQL() | Starting...
doSQL() | [ERROR] Unable to connect SQL server with current DSN: DBI:mysql::localhost root

another note I call my debian installation as mysite.eu

suggestions?
thx


RE: configuration: is not valid domain name! - joximu - 07-22-2011 08:43 AM

To the first thing about names:

we had it *really often* here that people give a domain name to their servers... instead of a hostname which - together with the domain - makes the FQDN (or FQHN)...

Maybe it's because people name their friends "Smith" even if his name is "John Smith"... I don't know....

Servername (FQDN/FQHN) = Hostname + Domain + TLD....


And to the MySQL problem: try connecting to mysql with the given credentials....

/J


RE: configuration: is not valid domain name! - GioMBG - 07-22-2011 09:47 AM

(07-22-2011 08:43 AM)joximu Wrote:  To the first thing about names:

we had it *really often* here that people give a domain name to their servers... instead of a hostname which - together with the domain - makes the FQDN (or FQHN)...

Maybe it's because people name their friends "Smith" even if his name is "John Smith"... I don't know....

Servername (FQDN/FQHN) = Hostname + Domain + TLD....

And to the MySQL problem: try connecting to mysql with the given credentials....

/J

sorry I don't understand,
I'm newbie about these configurations
can U explain what I have to do to make this three levels domain?
I have to do admin.mysite.eu OR not?
where I have to config?
thx
GioMBG


RE: configuration: is not valid domain name! - joximu - 07-23-2011 04:38 AM

1st: you should give the server a name - eg. "john" or "server1" or "srv01abc" - whatever name you like (only a..z). Together with the domain name this is the Full-Qualified-Host-Name
eg. "john.domain.tld".

2nd: during ispcp setup you give this FQHN name when asked. And later you have to enter the URL you wish, the adminpanel should be available - there the default is "admin."+FQHN - admin.john.domain.tld - this you can change and enter maybe "admin.domain.tld"... (of course the DNS entry for this have to exist... also for the FQHN!)

So the FQHN is *only* used for internal (shell etc) - you never are forced to tell this name to anyone...

man hostname

cat /etc/hostname
cat /etc/hosts

/J