PDA

View Full Version : No database


bswinnerton
5th August 2007, 01:46
Alright, i'm having lots of trouble. I had to re-install and now after i try to install i am getting the following errors (i'm not very good in any other languages besides english) and there is nothing being written to the database.

All prerequisites are fulfilled.
Here we go...
Please enter your MySQL server:localhost
OK
Please enter your MySQL user:root
Please enter your MySQL password:
OK
Please enter a name for the ISPConfig database (e.g. db_ispconfig):ispconfigdb
Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):10.0.0.2
OK
Please enter the host name (e.g. www):www
Please enter the domain (e.g. xyz.de):mysite.com
OK
Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
1) HTTPS
2) HTTP
Your Choice: 1


Warning: touch(): Unable to create file /var/spool/mail/admispconfig because No such file or directory in /home/administrator/Desktop/install_ispconfig/install.php on line 647
chmod: cannot access `/var/spool/mail/admispconfig': No such file or directory
Connected successfully to MySQL server
Es ist schon eine Datenbank mit dem Namen ispconfigdb vorhanden!
Restarting some services...
httpd not running, trying to start
* Stopping Postfix Mail Transport Agent postfix
...done.
* Starting Postfix Mail Transport Agent postfix
...done.
* Stopping ftp server proftpd
...done.
* Starting ftp server proftpd
- IPv6 getaddrinfo 'ubuntuserver.gateway.2wire.net' error: No address associated with hostname
...done.
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
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.
Please direct your browser to

https://www.mysite.com:81

Someone please help

till
5th August 2007, 10:17
If this is a new installation:

The problem is that there is already a database with the name "ispconfigdb", so ISPConfig was not able to create it. Please delete the datbase ispconfigdb and the directories /root/ispconfig and /home/admispconfig and install ispconfig again.

If this is a update:

You started the ISPConfig installer more then once without restoring the /root/ispconfig directory. Please run:

mkdir /root/ispconfig

and unpack and run the ISPConfig installer again.

bswinnerton
5th August 2007, 16:28
This is a new installation, it has been installed on the computer before however. And when you say delete ispconfigdb you mean through phpmyadmin right? Because i have done that, and it did not work. I suppose that i will try again however. Thank you.

bswinnerton
5th August 2007, 16:45
Also, when should i create the databse? During the installation? Before it? Or not at all, does the installer do that?

till
5th August 2007, 19:40
Delete the database by running:

rm -rf /var/lib/mysql/ispconfigdb

and make sure that you do not ceate a mysql database with the name ispconfigdb manually, the ispconfig installer will do this for you.

bswinnerton
6th August 2007, 02:30
That would explain why it isn't working.

Thank you once again Till!