Current time: 11-17-2024, 04:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
configuration: is not valid domain name!
Author Message
GioMBG Offline


Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #1
configuration: is not valid domain name!
- 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
(This post was last modified: 07-09-2011 09:16 AM by GioMBG.)
07-09-2011 07:45 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: configuration: is not valid domain name!
fully qualified domain name == minimum three levels (hostname.domain.ltd).
07-09-2011 05:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
GioMBG Offline


Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #3
RE: configuration: is not valid domain name!
(07-09-2011 05:37 PM)kilburn Wrote:  fully qualified domain name == minimum three levels (hostname.domain.ltd).

understand
thx
GioMBG
07-09-2011 06:40 PM
Find all posts by this user Quote this message in a reply
GioMBG Offline


Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #4
RE: configuration: is not valid domain name!
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
07-22-2011 06:56 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: configuration: is not valid domain name!
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
07-22-2011 08:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
GioMBG Offline


Posts: 4
Joined: Jul 2011
Reputation: 0
Post: #6
RE: configuration: is not valid domain name!
(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
07-22-2011 09:47 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: configuration: is not valid domain name!
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
07-23-2011 04:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)