ispCP - Board - Support
[ERROR] Unable to found your system hostname! - 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: [ERROR] Unable to found your system hostname! (/thread-12663.html)



[ERROR] Unable to found your system hostname! - Eminos - 01-13-2011 10:53 PM

Hi,

I'm trying to install ispCP 1.0.7 on a Debian Lenny VPS from hosteurope. I've set up a hostname for the machine after their FAQ, a script that runs on boot, and I can see it's set if I run "cat /etc/hostname".

Running the ispcp-setup script I get this error:

Code:
Next you are asked to enter a "fully qualified hostname" (FQHN).
        For more infos read http://en.wikipedia.org/wiki/FQDN.

hostname: Unknown host

        [ERROR] Unable to found your system hostname!


        [FATAL] An error occurred during setup process!
        Correct it and re-run this program.

I've installed ispCP at least 20 times before on hosteuropes VPSs, and never had this problem. How do I solve this?

/E


RE: [ERROR] Unable to found your system hostname! - Eminos - 01-16-2011 07:45 AM

Nobody? Really? No ispCP developer that has a clue about this?
I really need help with this ..

/E


RE: [ERROR] Unable to found your system hostname! - Bas232 - 01-18-2011 08:41 PM

Did you type nslookup hostname (where you give your hostname) and see how it resolves?


RE: [ERROR] Unable to found your system hostname! - motokochan - 01-22-2011 01:18 AM

What about also if you just run the command "hostname"? Does that name resolve?


RE: [ERROR] Unable to found your system hostname! - Tschebel - 02-26-2011 06:54 AM

Hi there,

I've encountered the same issue today

For me that did the trick:

open: engine/setup/ispcp-setup-methods.pl
find the line with following content - should be line 1043:
Code:
chomp($hostname = `$main::cfg{'CMD_HOSTNAME'} -f`);
remove the " -f"

best regards
tschebel