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)
-   -   Ubuntu Installation Fails - ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=2883)

mateo107 5th March 2006 00:46

Ubuntu Installation Fails - ISPConfig
 
Hi...

I'm trying to run ISPConfig Installation for Ubuntu 5.1.0. I've run through the "installation script", following it percisely. The only problem is, I'm not getting an error when it gets to the PHP/Apache section of the installer, and it gives me an error that it won't work with my version of PHP.

How do I completely remove the Apache/PHP support and then reinstall?

falko 5th March 2006 16:02

Quote:

Originally Posted by mateo107
How do I completely remove the Apache/PHP support and then reinstall?

First of all the errors you see refer to the Apache and PHP that come with ISPconfig, not to your main Apache and PHP. ISPConfig comes with its own Apache and PHP that serve the ISPConfig web interface on port 81 - it has nothing to do with your main Apache and PHP, and you must not remove them as they are requirements for ISPConfig!

Can you post the exact error messages you get?

mateo107 8th March 2006 21:37

Error
 
1 Attachment(s)
the error appears to be stemming from this line:
Quote:

./setup2: line 777: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
I've trapped as much of the installation errors that occur up to this point, where it then fails out, into the attached TXT file. Also, this occurs AFTER steps 6,7,8, where I appear to successfully create the RSA security certificates/keys.

I'm VERY new to UBUNTU and Unix/Linux... so any/all suggestions would be greatly appreciated!

falko 8th March 2006 22:27

Code:

checking lex output file root... ./configure: line 3246: lex: command not found
configure: error: cannot find output from lex; giving up

Please install flex (yes, with an f at the beginning):
Code:

apt-get install flex
and try again.

mateo107 9th March 2006 00:28

I get this error when I try to run the flex install :(

Quote:

root@server1:/home/admin# apt-get install flex
Reading package lists... Done
Building dependency tree... Done
Package flex is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_main_bin ary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_restrict ed_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_universe _binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-updates/main Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-updates/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory)W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-backports/main Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-backports_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-backports/restricted Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-backports_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-backports/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-backports_universe_binary-i386_Packages) - stat (2 No such file or directory)W: Couldn't stat source package list http://us.archive.ubuntu.com breezy-backports/multiverse Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy-backports_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com breezy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package flex has no installation candidate
root@server1:/home/admin#
Any ideas how to fix this?

till 9th March 2006 08:54

This looks like a nameserver problem.

Please try to run:

apt-get update

If you get similar errors, please check if your network connection to the internet is working and if the nameservers in /etc/resolv.conf are correct and reachable from your server.


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

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