HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Installation Troubles (http://www.howtoforge.com/forums/showthread.php?t=14337)

bswinnerton 29th July 2007 00:25

Installation Troubles
 
Hi everyone, i'm having one heck of a time trying to get this going. The installation takes a good half an hour, and for some reason something is wrong with the mysql (which i don't know much about).

So originally i installed it, and it asked me all of these questions:

Please enter your MySQL server: E.G. localhost
Please enter your MySQL user: E.G. root
Please enter your MySQL password: Your MySQL password
Please enter a name for the ISPConfig database: E.g. ispconfigdb
Please enter the IP address of the ISPConfig web: E.g. 192.168.0.1
Please enter the host name: E.g. www
Please enter the domain: E.g. xyz.de
Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system: If you want to use your control panel with SSL, select 1. You can then access it under https://www.xyz.de:81. If you want to access it under http://www.xyz.de:81, choose 2.

and i typed them in, but i think something was wrong because nothing was in the database when i looked at it.. and in turn couldn't log in. So i just ran the installation again and now i am getting the following errors:

Connected successfully to db ispconfig

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/administrator/Desktop/install_ispconfig/install.php on line 692

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/administrator/Desktop/install_ispconfig/install.php on line 717

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/administrator/Desktop/install_ispconfig/install.php on line 767
mysqldump: Got error: 1049: Unknown database 'ispconfig' when selecting the database

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800

Warning: in_array(): Wrong datatype for second argument in /home/administrator/Desktop/install_ispconfig/install.php on line 800
Restarting some services...
./setup2: line 1135: [: ==: unary operator expected
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
Syntax error on line 1072 of /root/ispconfig/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname of the server
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
No results found!ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.


Can someone please help me? I assume that all it is, is removing all of the pre-installed directories, but i have no clue. Thanks for your help.

ddavout 29th July 2007 01:32

linux and french version :
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
fopen: No such file or directory
ispconfig_httpd: could not open document config file /root/ispconfig/httpd/conf/httpd.conf
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
Could not open input file: /root/ispconfig/scripts/shell/firewall.php
ISPConfig system is now up and running!
Felicitations! Votre systeme ISPConfig est maintenant installe. Si vous devez installer le paquet quota, merci de suivre les etapes inscrites dans le manuel d'installation. Sinon votre systeme est maintenant accessible sans redemarrer.

as in /root/ispconfig/httpd/conf/ I renamed httpd.conf.default into httpd.conf, I'm a little be happier hhtpd started

Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
Could not open input file: /root/ispconfig/scripts/shell/firewall.php
FreshClam is already running!
ISPConfig system is now up and running!

till 29th July 2007 13:28

The above output looks as ISPConfig is trying to update a installation and not to install a new one. If you executed the ISPConfig installer more then once, please make sure that you delete the directories /home/admispconfig and /root/ispconfig as well as the ispconfig database before you run the installer again. You must use the mysql root user to install ispconfig and the database that you want to use for ispconfig should not exist before you run the installer.

Please uninstall and reinstall ISPConfig.

ddavout 29th July 2007 13:38

You are right, that is exactly what I have done ! and after a clean (re)install, every things looks fine (and on the whole impressive)

bswinnerton 29th July 2007 17:56

Same here, after deleting and re-installing everything works.


All times are GMT +2. The time now is 03:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.