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)
-   -   install fails, debian etch 4.0 (http://www.howtoforge.com/forums/showthread.php?t=12217)

edo660 20th April 2007 21:15

install fails, debian etch 4.0
 
Hi there, been using these how-to's for ages now with great success...until now.

trying to get ISPconfig working on my friends VPS, using debian etch. i follow the debian etch guide to the T, but when it gets pretty far into the install process it fails with this being the last few lines.

./setup2: line 862: 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!

last i tried ispconfig was about a year ago with debian sarge, and it worked perfectly back then so not too sure what the problem is here... any help greatly appreciated.

Edo

falko 21st April 2007 13:18

Did you see nay error message prior to the one you posted?
From which directory did you try to install ISPConfig?
What's the output of
Code:

df -h
?

edo660 21st April 2007 15:03

Quote:

Originally Posted by falko
Did you see nay error message prior to the one you posted?
From which directory did you try to install ISPConfig?
What's the output of
Code:

df -h
?

there are a few error's relating to not being able to find binaries of spamassin and clamav i think (though its not apparently needed i thought?) . and there is plenty of free disk space, around 5.5gb to be exact. it's a fresh install, with just debian minimal and then followed the usual guide

installing it from /root/ , should it be somewhere else?

these are some errors
Code:

mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory


edo660 21st April 2007 20:45

hmmm i installed it from another users directory, and it has worked...they should really mention something about that in the install doc's (and maybe in the how-to from here itself?)

falko 22nd April 2007 23:13

You can install ISPConfig from any directory except /root/ispconfig and /home/admispconfig. :)

Joffar 23rd April 2007 04:22

I have the same problem... I tried to upgrade from the same directory as I installed ver 2.2.3 (/root/) and got the php error. I tried again from another dir /ISP/ but with the same result. Here is the error during the install:

Not sure why it is trying to configure Apache 1.3.37, when Apache2 is installed on the previous version...
Code:

Configuring mod_ssl/2.8.28 for Apache/1.3.37
 + Apache location: ../apache_1.3.37 (Version 1.3.37)
 + OpenSSL location: /root/ispconfig/openssl
 + Auxiliary patch tool: ./etc/patch/patch (local)
 + Applying packages to Apache source tree:
  o Extended API (EAPI)
  o Distribution Documents
  o SSL Module Source
  o SSL Support
  o SSL Configuration Additions
  o SSL Module Documentation
  o Addons
Done: source extension and patches successfully applied.

Configuring for Apache, Version 1.3.37
 + Warning: Your 'echo' command is slightly broken.
 + It interprets escape sequences per default. We already
 + tried 'echo -E' but had no real success. If errors occur
 + please set the SEO variable in 'configure' manually to
 + the required 'echo' options, i.e. those which force your
 + 'echo' to not interpret escape sequences per default.
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Syntax error --- The configuration file is used only to
define the list of included modules or to set Makefile in src
options or Configure rules, and I don't see that at all:
/root/ispconfig/openssl
yes
default
no
no
no
 `$(SRCDIR)/apaci`
no
default
default
no
no
no
yes
no
default
no
default
default

./configure:Error: APACI failed
ERROR: Could not configure Apache
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 862: 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!


Here is the outpu from df -h:
Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/Root-root
                      25G  4.1G  20G  18% /
varrun                78M  148K  78M  1% /var/run
varlock                78M  4.0K  78M  1% /var/lock
procbususb            78M  112K  78M  1% /proc/bus/usb
udev                  78M  112K  78M  1% /dev
devshm                78M    0  78M  0% /dev/shm
lrm                    78M  34M  44M  44% /lib/modules/2.6.20-15-386/volatile
/dev/mapper/hda5      228M  147M  70M  68% /boot
/dev/mapper/Root-home
                      18G  199M  17G  2% /home
/dev/mapper/Root-var  105G  9.2G  90G  10% /var


till 23rd April 2007 09:24

You can not install ISPConfig from within the /root/ispconfig directory. Please unpack the installer in /tmp and run it from there.

Joffar 23rd April 2007 11:50

Quote:

Originally Posted by till
You can not install ISPConfig from within the /root/ispconfig directory. Please unpack the installer in /tmp and run it from there.

I have tried from several locations /tmp /var/tmp I even created a own /ISP but they all end up with the same error as listed in my previous post.

Any ideas why this happens?

I had been using 2.2.3 for some time now, and wanted to upgrade... seems the upgrade didnt go so well. Will I have to redo all the setup (mysql, websites etc.) once I get the complete install to work?

I am also unable to start apache2 at this point. Something about no pid file i suspect.

Please help....

edo660 24th April 2007 07:45

Quote:

Originally Posted by falko
You can install ISPConfig from any directory except /root/ispconfig and /home/admispconfig. :)

well thats weird because it failed from /root and /tmp but worked from /home/adminispconfig...

till 24th April 2007 11:14

Quote:

Originally Posted by edo660
well thats weird because it failed from /root and /tmp but worked from /home/adminispconfig...

A quick note to everyone who reads this thread. Do not install ISPConfig from within the /home/adminispconfig/ directory, you will get most likely errors as ISPConfig overwrites this directory during setup and the setup might be incomplete or files are missing / corrupted.


All times are GMT +2. The time now is 09:35.

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