#1  
Old 10th November 2005, 08:25
awerner awerner is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installation almost worked :)

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.


So it appears like it thinks it worked correctly (after modifying the clamav compiler options to skip a spurious zlib error).

however, at this point there is no data in the mysql schema and I can't login to my ispconfig as admin / admin .

Is there a way to manually step through the final few steps (i.e. create the schema?)
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2005, 09:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I guess you tried to install more than once from the same sources. This doesn't work!
You have to remove the current ISPConfig installation:
Code:
rm -fr /root/ispconfig
rm -fr /home/admispconfig
Also delete the database you created during the last installation, or use another database name in the next installation.
Then unpack the ISPConfig sources again, and run setup again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th November 2005, 02:39
wizardofoz wizardofoz is offline
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default What is needed

Quote:
Originally Posted by falko
I guess you tried to install more than once from the same sources. This doesn't work!
You have to remove the current ISPConfig installation:
Code:
rm -fr /root/ispconfig
rm -fr /home/admispconfig
Also delete the database you created during the last installation, or use another database name in the next installation.
Then unpack the ISPConfig sources again, and run setup again.
AH..now this is what is needed...a simple how to recover from the last step that failed (and perhaps where it takes you safely back to) in the howto's ... so that we who are new to all this and flung in the deep end have some means to go back a step or 3 without having to do a full reinstall.

Thanks Falko for the great work on what is there...you might just make web hosts out of us yet!
Reply With Quote
  #4  
Old 11th November 2005, 03:10
awerner awerner is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default well - almost a perfect recovery tip

Since the thing that caused me to rerun the whole thing the first time was needing to include a --disable-zlib-vcheck in clamav this is not the complete
answer.

I'm trying to decide now if I am supposed to untar the clamav version in the compile_apps directory, set that flag somewhere (where?), and retar the distro so it will work correctly on my machine.

What is frustrating is I could install all those apps using Yum and be done!

I just installed cacti on another machine - it's amazing that they were able to do the entire install using yum / apt and package dependencies - after which you run a d/b create script. I personally would much rather have all my installed software visible at that level (i.e. part of my rpm list) rather than continuing with the old way of just tar xzf; ./configure ; make install of old so you have no easy way to see what versions of software are installed, and where.

Maybe the right thing to do is set up an rpm repository similar to DAG so users can install that way?
Reply With Quote
  #5  
Old 11th November 2005, 03:19
awerner awerner is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fwiw

I am running CentOS release 4.2 (Final). The zlib was patched with the security fixes, but is not the latest version because of dependencies among all the software components (a common approach in Fedora/Redhat/Centos). That's why the clamav is balking - the version "may" have vulnerabilities based on the version number - it does not.
Reply With Quote
  #6  
Old 11th November 2005, 03:33
awerner awerner is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Most ironic is ...

I actually set up a Spam Filtering Mail Gateway - http://www.howtoforge.com/linux_spam...r_mail_gateway

on a different machine, so I don't even need the clamav that is causing me all these headaches!
Reply With Quote
  #7  
Old 11th November 2005, 09:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by awerner
I'm trying to decide now if I am supposed to untar the clamav version in the compile_apps directory, set that flag somewhere (where?), and retar the distro so it will work correctly on my machine.
You can either set that flag in install_ispconfig/compile_aps/compile, or have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=302

Quote:
Originally Posted by awerner
What is frustrating is I could install all those apps using Yum and be done!
ISPConfig needs these programs with special options so you cannot simply install the packages from your distribution.
The reason why ISPConfig doesn't come as an rpm package is that you must provide some details during installation (IP address, host name, database details, etc.) because otherwise ISConfig would not work.
Nomally, when you install rpm packages, you aren't asked any questions.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Installation: in-putting your website bosei Installation/Configuration 16 20th November 2008 13:35
ISPConfig installation problem. Cannot make OpenSSL BlueStream Installation/Configuration 13 18th October 2005 10:01
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 18:52
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 18:46


All times are GMT +2. The time now is 19:26.


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