#1  
Old 10th October 2007, 03:13
Endymion Endymion is offline
Junior Member
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Broken installation

My installation of ISPConfig on Ubuntu 6.06 TLS went without a hitch until I reached the 'questionaire' at the end. As I hadn't at that point set any passwords following the MySQL installation I broke the ISPConfig installation to do that, but then couldn't get back into, or find anyway of re-starting, the ISPConfig installation.

So I did a re-install - as though it was an update, but again there doesn't seem to be any way of redoing the config file even though there isn't one for the install to utilise, vis:-
......
cc -o unzipsfx unzipsfx.o crc32.o crctab_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o unix_.o -s
All prerequisites are fulfilled.
Here we go...


Warning: include(config.inc.php): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 665

Warning: include(): Failed opening 'config.inc.php' for inclusion (include_path='.:') in /tmp/install_ispconfig/install.php on line 665
Connected successfully to db

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

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

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 767

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 790

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 807

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 812

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resorce in /tmp/install_ispconfig/install.php on line 822

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 839

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 853

Warning: fopen(/root/ispconfig/httpd/conf/httpd.conf_): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 91

Warning: filesize(): stat failed for /root/ispconfig/httpd/conf/httpd.conf_ in /tmp/install_ispconfig/install.php on line 92

Warning: fclose(): supplied argument is not a valid stream resource in /tmp/install_ispconfig/install.php on line 97

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /tmp/install_ispconfig/install.php on line 1145
cp: cannot stat `users': No such file or directory
cp: cannot stat `adminmail.txt': No such file or directory
chown: cannot access `/home/admispconfig/ispconfig/adminmail.txt': No such file or directory
chmod: cannot access `/home/admispconfig/ispconfig/adminmail.txt': No such file or directory
Restarting some services...
* Stopping Postfix Mail Transport Agent postfix [ ok ]
* Starting Postfix Mail Transport Agent postfix [ ok ]
* Stopping ftp server proftpd [ ok ]
* Starting ftp server proftpd - IPv6 getaddrinfo 'elaine.xxx.net' error: Name or service not known
[ ok ]
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
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.

root@elaine:/tmp/install_ispconfig# ls
root@elaine:/tmp/install_ispconfig#

Despite the 'Congratulations' I can't actually get into ISPConfig as I haven't been able to define the hostnames and access method! As you can see the 'install_ispconfig' directory is now empty.

Is there any way of manually completing a config. file with the required info or starting the config script? Or must I completely erase the failed installation and start again?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2007, 11:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Run:

rm -rf /root/ispconfig
rm -rf /home/admispconfig

and delete the ISPConfig database if it exists, then then try to install again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th October 2007, 05:51
Endymion Endymion is offline
Junior Member
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for that Till, everything went swimmingly this time, installation successfully concluded, as per:

***********************
....
Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
1) HTTPS
2) HTTP
Your Choice: 1

Connected successfully to MySQL server
Restarting some services...
* Stopping Postfix Mail Transport Agent postfix [ ok ]
* Starting Postfix Mail Transport Agent postfix [ ok ]
* Stopping ftp server proftpd [ ok ]
* Starting ftp server proftpd - IPv6 getaddrinfo 'elaine.xxxx.net' error: Name or service not known
[ ok ]
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
FreshClam is already running!
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://elaine.xxxx.net:81

and log in:
Username: admin
Password: admin

root@elaine:/tmp/ispconfig/install_ispconfig#

**************************************

until I try to direct my browser as advised, at which point:

IE6 says it can't connect,
Opera 8 spits the dummy, and
Firefox tells me it "could not establish an encrypted connection because the certificate presented by {ip address} has an invalid signature"

I did a forum search for "invalid signature" but nothing came up which suggests I'm the first to have this problem which probably means I'm an idiot - it makes me feel like one - but any suggestions/advice appreciated.
Reply With Quote
  #4  
Old 11th October 2007, 12:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Looks as if your SSL cert is broken. maynbe you entered invalid values during setup. To recreate the SSL certificate, have a look here:

http://www.howtoforge.com/forums/sho...58&postcount=4
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th October 2007, 09:42
Endymion Endymion is offline
Junior Member
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks, thanks, thanks Till. Advice actioned and ISPConfig fully functional in ten minutes.

Spent the next ten hours reading up on what I did and why.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ispconfig installation errors kcmohan Installation/Configuration 1 9th April 2007 20:14
Flash PLayer 9 Installation robertpolson Installation/Configuration 1 18th January 2007 09:15
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51
ISPC install stops str2etboy Installation/Configuration 19 28th January 2006 07:18
Installation on PPC Linux brent.stephens Installation/Configuration 5 30th November 2005 23:45


All times are GMT +2. The time now is 20:48.


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