PDA

View Full Version : ISPConfig On Ubuntu 6.10 Install Error


The Savage Killer
5th January 2007, 14:15
Hi there, im new to the forums and following the perfect guide for a Ubuntu 6.10 server, i got a problem with ISPConfig

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 860: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your syste m! The installation routine stops here!
root@localhost:~/install_ispconfig#

I Think The Error Is In Configuring Apache, Since What I Understood From The Code In The Compile File, Its Set To Remove All Files On An Error

echo "ERROR: $1"
if [ -d ${INSTALL_ROOT} ]
then
rm -fr ${INSTALL_ROOT}
fi
if [ -d ${INSTALL_ROOT_TMP} ]
then
rm -fr ${INSTALL_ROOT_TMP}
fi
cd ${COMPILE_DIR}
rm -fr ${OPENSSL}
rm -fr ${APACHE}
rm -fr ${MOD_SSL}
rm -fr ${PHP}
rm -fr ${CLAMAV}
rm -fr ${CLAMASSASSIN}
rm -fr ${SPAMASSASSIN}
rm -fr ${UUDEVIEW}
rm -fr ${CRONOLOG}
rm -fr ${ZIP}
rm -fr ${UNZIP}
exit 1
}


Dont Take My Word For It, Im New To Linux, I Cant Survive Without A GUI :D

Any Help Appreciated, Thanks In Advance.

The Savage Killer
5th January 2007, 14:52
ive seen many posts about people having that problem with versions after the 2.7 release, so i just downloaded it and..i got the same error

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 849: 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!


:(

jnsc
5th January 2007, 15:05
have a look at this thread http://howtoforge.com/forums/showthread.php?t=7716

martinfst
5th January 2007, 15:08
The following could be the cause of this, as I did the same installation and have no problems installing ISPConfig on my Ubuntu 6.10.
Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.

You can remove the /bin/sh and create a new link using:
rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
ln -s /bin/bash /bin/sh

The Savage Killer
5th January 2007, 15:11
Thanks, that worked! :D

mlz
5th January 2007, 17:33
Really, if a shell script requires bash, it shouldn't be referring to #!/bin/sh but #!/bin/bash JMHO...

martinfst
5th January 2007, 18:45
No it requires /bin/sh. Based on how it's invoked, you'll get different options. It's only Ubuntu that made this change, which I think they should not have done. But hey, who am I? (no need to reply to this last question:D )

kcmohan
9th April 2007, 23:08
Thanks for your reply. Now, I am getting the following error message.

configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
ERROR: Could not configure PHP
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 860: 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!
root@SBM1:/home/mohan/install_ispconfig#

I installed php5. Is this not compatible with ispconfig ?

How do I install the mysql header files in under /usr?

Will appreciate your help!!

till
9th April 2007, 23:46
The mysql header files are a package from your linux distribution. Please have a look at the perfect setup guides that you find on the ISPConfig documentation page, it is all described there in detail for several linux distributions.

kcmohan
10th April 2007, 07:20
Thank you, Till. I followed the perfect setup and this time it worked. Much appreciate your prompt and timely help.
Cheers.
Kcmohan